Better HN
topnewbestaskshowjobs
Log inSign up

fatso83

25 karma · joined Mar 3, 2014 (12y ago) · 23 submissions

Submissions

comment 10mo ago · link · parent

I get what you are saying, but you can have your cake and eat it too. Fast, comprehensive tests that cover most of your codebase. Test through the domain, employ Fakes at the boundaries.

https://asgaut.com/use-of-fakes-for-domain-driven-design-and...

comment 7y ago · link · parent

Wow, that is a great tip. Auto-completion and color coding.

comment 8y ago · link · parent

Build tool. Not app code. How is security relevant here?

comment 9y ago · link · parent

That's not a static car on the class. It's on the instance! A static class property would entail something like `Foo.unmounted = true` (a bad idea).

comment 9y ago · link · parent

Swoosh

comment 9y ago · link · parent

You are probably on to something. Most Norwegians are so used to being protected as consumers so a lot of the time they are taken by surprise when acting as professionals.

comment 9y ago · link · parent

That's perhaps in Poland, the Baltics and the former Soviet Block. France, Germany, Norway, etc will promptly put 100+K€ on the table for an experienced consultant in some niche.

comment 9y ago · link · parent

Some people don't care about people.

comment 9y ago · link · parent

Why on earth would it not apply to programmers? We accumulate just as much cruft, if not much more, than the usual person. I have old 8086s, Atari's, tons of computer peripherals for ports I no longer have, etc. Most of it chucked away in some attic (somewhere). We gather stuff that obsoletes fast than anything, besides food. And we as a industry produce it too: I had a Nokia 3110 for close to a decade. Now my phones seldom last me two years.

comment 9y ago · link · parent

Really interested in hearing if the ideas on how to transform game programming into a more productive form panned out. Did you end up using the ideas in a later product?

comment 9y ago · link · parent

This is known for decades. If you drop too fast over too long period of time your metabolism changes base burn rate and you will have a hard time losing fat/staying the same weight once your normalize your diet. There is a reason diets like PSMF at restricted to 1-2 weeks. Not healthy over time.

comment 9y ago · link · parent

Finally some meat to the discussion. This thread is one of the few to actually dig into the matter. Kudos.

comment 9y ago · link · parent

Where does he say that?

There are lots to say/critique on that manifest, but Yonatan's commentary piece is pure dishonest bile. Ironically it also strengthens the claim of an authoritarian regime at Google and its "our way or the highway" policy when facing discussions.

The piece is simply garbage. It was an ad hominem that attacks viewpoints the original author never presented, such as "... how women and men are intrinsically different and we should stop trying to make it possible for women to be engineers". Quite the opposite.

comment 9y ago · link · parent

You fail to see the difference between attention and actual debate. Very few of the opposing views actually try to dissect his statements, but choose to rant away. Yonatan's piece being a prime example of an ad hominem that attacks views he never once wrote in favour of.

It's also quite dishonest of you to liken a reasonably well written, source referenced piece with the rants from the clown in the oval office. The manifest was to start a debate, not chants of MAGA.

Instead of general statements about outlandish remarks, attack what he actually said.

comment 9y ago · link · parent

Modern IDEs can do many of the refactorings required when modifying code, yes. But you still need to know where to find seams or how to create them. Refactorings are just tools for getting there. It doesn't seem like you have read the book.

comment 9y ago · link · parent

I think you mean employee (arbetar), not employer (arbetsgivare).

comment 9y ago · link · parent

Because "voluntary" is only just that as long as you have many other options and can easily get away from such a place. In most industries that kind of job security/market fluidity that just isn't the case. Workplace standards are there to protect workers from being exploited. In much of Western Europe the work week is standardized to 40h/w.You can work overtime, but only within certain boundaries for shorter and longer aggregated periods to avoid every day being crunch time.

comment 9y ago · link · parent

You advise to use an abondoned tech (Angular 1), that was full of unstable plugins and hard to use setups while it was active, instead of a simple to use view layer like React?

The api surface of Angular is way too big to invest in, compared to the alternatives, of which there are many. ReactJS is vastly more popular for a reason, even though it arrived at a time when Angular already had a big following and huge momentum.

If you have a super simple front-end with few variables you don't need a framework anyway. Vanilla JS is fine. But React+Redux is killer once it starts to grow into a big SPA.

comment 9y ago · link · parent

Ditto. Have used LAMP, JEE, Rails, Grails, ASP.NET MVC, Meteor ande Express.js. ASP.NET MVC is _fine_ and has decent performance. ASP.NET on .NET Core blows pretty much everything else out of the water performance wise, but there's more to life than performance. ASP.NET Core being open-source and running fine on Linux and Mac helps, though.

comment 11y ago · link · parent

> I’m sure I can do better still, for instance the CSS block is still quite large (too many rules, not minified yet)

You could try out Addy Osmani's tool, Critical, for extracting and inlining critical path css. That only leaves out the css in actual use. If you actually want all css in use (also below the fold), then just specify a bigger window size.

comment 11y ago · link · parent

He liked programming. It was the entire life style that came with it that got to him. Like it gets to a lot of us. I am feeling much of the same pain, but I think I would rather just quit the office job, and start consulting on my own.

Then you can set your own terms, possibly livable ones :)