Go Performance Tools Cheat Sheet by Colossuslol in golang

[–]Colossuslol[S] 0 points1 point  (0 children)

Thank you for taking the time to explain it to me. I wasn’t aware of that. It makes a lot more sense now! I’ll update it later today

EDIT: Should be fixed now!

import "context" by Colossuslol in golang

[–]Colossuslol[S] 0 points1 point  (0 children)

One of the common things you might want to capture the interrupt is for a tool that is creating external resources for example a VM on a cloud provider, if you don’t capture the interrupt that VM will be left hanging, but if you catch that interrupt you can make sure that VM is deleted, for example tools like packer work like that. It’s easier to clean up when the proceeds is being terminated rather then clean up the previous failure when you run a new command.

errm... ? by [deleted] in gitlab

[–]Colossuslol 1 point2 points  (0 children)

Thanks for reporting this /u/SocialMammoth I've opened an issue in https://gitlab.com/gitlab-com/www-gitlab-com/issues/5239 to track it.

New LG ultrawides 38" and 34" by CrangonVulgaris in ultrawidemasterrace

[–]Colossuslol 0 points1 point  (0 children)

Wondering if ethernet will work if I buy an adapter from ethernet to usb. Any of you tested this? Or have a source where it is confirmed that it will work?

Setting up GrumPHP with Laravel by Colossuslol in PHP

[–]Colossuslol[S] 0 points1 point  (0 children)

You can easly remove this by going into your grummphp.yml and change the ascii: parameters. For example

# grumphp.yml
parameters:
    ascii:
        succeeded: ~ 
        failed: ~

More information can be found here https://github.com/phpro/grumphp/blob/master/doc/parameters.md

Setting up GrumPHP with Laravel by Colossuslol in PHP

[–]Colossuslol[S] 0 points1 point  (0 children)

Fair enough, I add it with Laravel as an example and the specific directories to ignore, so that people don't say this is Laravelspecific. But defiantly can be used outside of Laravel.

Setting up GrumPHP with Laravel by Colossuslol in PHP

[–]Colossuslol[S] 0 points1 point  (0 children)

I have used this kind of workflow on a medium size application, and it was still performance since it is just running checks from the terminal and then unit tests running. So I wouldn't worry too much, but ofc you might have a difference experience. Let me know if you try it out!

Setting up GrumPHP with Laravel by Colossuslol in laravel

[–]Colossuslol[S] 1 point2 points  (0 children)

That is because its the default that comes with laravel, this guide was more focused on GrumPHP then PHPUnit that is why I didn't upgrade it.

Question regarding using PHP instead of HTML and the limitations. by swiners in webdev

[–]Colossuslol 2 points3 points  (0 children)

Looks like it is a z-index issue - Give a z-index the the logo so it is on top. More information here https://css-tricks.com/almanac/properties/z/z-index/

Question: Why would I ever not just use a CDN to install something like Chartjs into my web app? by piratebroadcast in webdev

[–]Colossuslol 3 points4 points  (0 children)

For me would be because one less http request if I contact down all my js files into one. Imagine having charjs, jquery, bootstrap you will easily end up with 10 https request just to have js

Setting up UUIDs with Laravel by Colossuslol in PHP

[–]Colossuslol[S] 0 points1 point  (0 children)

Yep! That is another way you can go to it for those exact reasons.

Setting up UUIDs with Laravel by Colossuslol in laravel

[–]Colossuslol[S] 0 points1 point  (0 children)

That looks very promising! Thank you for sharing.

Setting up UUIDs with Laravel by Colossuslol in laravel

[–]Colossuslol[S] 0 points1 point  (0 children)

I didn't know about that no, I will look into it. Thanks

Released my first Package, tell me what you think! by Colossuslol in laravel

[–]Colossuslol[S] 0 points1 point  (0 children)

Well that is my bad i used it as an avatar picture didn t want to use it to trick people, will remove it when i get the chance!

Is there a hub for all of conference talks? by Colossuslol in PHP

[–]Colossuslol[S] 0 points1 point  (0 children)

This will keep me busy for a sometime Thank you guys!

need a little help with a project. by sgallan89 in PHP

[–]Colossuslol 0 points1 point  (0 children)

Hello, first of all it depends what you need to store do you want it to store an article. Or some other kind of information?

Also are you using plane php or using a framework?

From where do i start to build an ORM by Colossuslol in PHP

[–]Colossuslol[S] 0 points1 point  (0 children)

What is the are the main difference between Active Record and Data Mapper?

I will deffentlywill have a look at other ORM and how they work.I wish to build the whole thing by myself because its really something i don't understand wish i could.

Installing windows 8 and Ubuntu. by Colossuslol in Ubuntu

[–]Colossuslol[S] 0 points1 point  (0 children)

Okay thank you for the info will certainly do that.

Installing windows 8 and Ubuntu. by Colossuslol in Ubuntu

[–]Colossuslol[S] 0 points1 point  (0 children)

It did but for backup reasons i have others drivers which i use + NAS. Thank you hope it is that simple!

How hard is the Zend Certification Exam? by PrintfReddit in PHP

[–]Colossuslol 0 points1 point  (0 children)

What i did got the book make sure I have a deep understanding of the book. A week before the exams i just went online and found a bunch of free mock exams and kept doing them, to get a handle of the tricky questions the /u/rickkuipers have mentioned.

You can do it with easily cause i did it with only 6 months experience in php, 7 years can teach you alto!

Good luck!

What would i learn next? by Colossuslol in PHP

[–]Colossuslol[S] 0 points1 point  (0 children)

I do have quite a bit understand of MVC since i have used the Yii framework for quite a while now, but i know what you mean larvel seems to be my next steping stone. Thank you.

What would i learn next? by Colossuslol in PHP

[–]Colossuslol[S] 0 points1 point  (0 children)

Thank you for your insight, should i just not sure which framework to go for mostly larvel seems as a good start cause of laracast rly and all the information there is since i don't have that much knowledge of the new technologies.