Better HN
topnewbestaskshowjobs
Log inSign up

waibelp

64 karma · joined Mar 12, 2017 (9y ago) · 71 submissions

Submissions

comment 7y ago · link · parent

I'm using vagrant to work on our legacy system which is not fully migrated to docker, yet.

comment 7y ago · link · parent

It's possible to write bad code in every language.

comment 7y ago · link · parent

Symfony 4 is much more lightweight than previous versions. If you create a new symfony 4 project with composer you just get an empty project with just a hand full of dependencies. First time I tried out the v4 (coming from 2.x & 3.x) I thought that the installation did not work properly because stuff like twig (for templating) and other things were missing.

The whole integration in composer with the symfony flex component makes developing even easier than before: https://symfony.com/doc/current/setup/flex.html

comment 8y ago · link · parent

Great logo!

comment 8y ago · link · parent

Instead of including the vendor folder into projects you may use satis [0] to "mirror" all of your dependencies. That means you will not have any broken stuff if packagist is down or any of your dependencies are missing.

[0]: https://github.com/composer/satis

comment 8y ago · link · parent

I know some php devs from munich in germany which started at 64k per year. Others earn 70k+ per year. In agencies (wordpress i.e.) jobs start at 48k.

comment 8y ago · link · parent

Layout is broken on mobile

comment 8y ago · link · parent

Nice article.

Worst thing I've ever seen was a class which inherited another just to keep the lines of code short (<2500). That said it wasn't just one time inheritance... It was up to four times. There was no logical split of the inheritance. It looked like someone simply split one huge file into some smaller ones.

We called that kind of inheritance "code sharding" and we had a lot of headache at that time.

comment 8y ago · link · parent

This library is a great example of clean and beautiful php code out in the wild!

comment 8y ago · link · parent

It's called German precision.

comment 8y ago · link · parent

I'm a little bit disappointed as the story just looks for new ways to get rid of the plastic problem. Why not produce and use less plastic? In the EU some countries ban plastic bags, others introduced or increased prices for bags. On the other hand more paper bags are available and prices for them dropped, too, resulting in more people using paper bags or starting to use cotton-bags.

comment 8y ago · link · parent

Nothing to add.

comment 8y ago · link · parent

One suggestion: I'd like to see some screenshots of the interface without signing up. Possible?

comment 9y ago · link · parent

Weight is lost in the kitchen.

comment 9y ago · link · parent

Fullstack web developer (php + devops), 7 years working (coding for 20 years), ~ 74k$, Germany, no bonus

+ doing some freelancing part time @ 100€/h

comment 9y ago · link · parent

Google sheep view :-)

comment 9y ago · link · parent

This! As we use JIRA for ticketing we thought Confluence would be the best way. But like you said the problem is not that the information is not there. The problem is that the information is not findable and the search is in my opinion really poor.

To solve that problem we started with a "doc" directory in each repository holding multiple markdown files for each topic. That way all of our developers are able to find the information they need (even without an internet connection).

comment 9y ago · link · parent

For all new projects I always use internationalization. Instead of writing something like

<button>Sign Up</button>

I simply write

<button>{{ 'Sign Up'|trans }}</button>

That way I don't need translation files (EN is default). If translation is not found the "key" is returned which is fine. Once the app is ready I call a command to create my language files and simply translate them.

comment 9y ago · link · parent

Sweet landingpage!

comment 9y ago · link · parent

Website does not load. Same as https://github.com/vuejs-templates/pwa for react?

comment 9y ago · link · parent

Thank you for "vagrant global-status". There's still a lot of boxes I don't even remember.

comment 9y ago · link · parent

Why are most people using huge hero-graphics (495kb?!) for short blog postings nowadays?

On topic: Testing gets worse if the codebase which needs to be tested is garbage. My experience with other developers who learn testing don't need to learn how testing works - they need to learn basic development rules: Components, loose coupling, dependency injection, ...

comment 9y ago · link · parent

Would be useful but not allowed (not legally safe) in Germany. You may record for private purposes but if you have an accident and you try to use the records you offend against data protection resulting in fees up to 300k €.

comment 9y ago · link · parent

Am I the only one getting fake amazon popups on that page?

comment 9y ago · link · parent

TypeError: Cannot read property 'isLoading' of undefined at t.value (SummaryShow.js:92) at f (react-dom.production.min.js:3)

Google Chrome 61.0.3

comment 9y ago · link · parent

Sure, try to deal with anything government related in Germany and they almost always ask for faxes. They may use email, too, but the addresses are like an onion address and it's not possible to correctly remember/write down such an email address when hearing it over the wire...

comment 9y ago · link · parent

Nice clean and short landingpage! Well done!

comment 9y ago · link · parent

Not for cooking but for streaming tv while washing dishes. ;-)

The problem in my opinion with recipes is that there are too much and most of them are not good. A lot of times I started to cook anything by recipe just to throw it away after some minutes and "freestyling" the meal...

comment 9y ago · link · parent

No demo?

comment 9y ago · link · parent

Great work! Your clean code is really enjoyable to read and learn from!
123