News for hackers. Stuff that matters.

fatso83

Re:Stepping down as Mockito maintainer after 10 years on Wednesday December 31, 2025 @05:36AM (#46443027)
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...

Re:Postgres tips for the average and power user on Tuesday July 30, 2019 @08:53AM (#20564337)
Wow, that is a great tip. Auto-completion and color coding.
Build tool. Not app code. How is security relevant here?
Re:Simple React Patterns on Saturday November 11, 2017 @05:43AM (#15675794)
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).
Swoosh
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.
Re:Report: Ageism in the Tech Industry on Friday October 20, 2017 @05:38PM (#15519291)
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.
Re:Software Engineer, Machine Learning on Friday September 15, 2017 @03:35PM (#15260083)
Some people don't care about people.
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.
Re:John Carmack on Functional Programming (2013) [video] on Thursday August 17, 2017 @06:04PM (#15041465)
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?
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.
Re:About This Googler's Manifesto on Sunday August 06, 2017 @08:14PM (#14944462)
Finally some meat to the discussion. This thread is one of the few to actually dig into the matter. Kudos.
Re:About This Googler's Manifesto on Sunday August 06, 2017 @07:58PM (#14944418)
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.

Re:About This Googler's Manifesto on Sunday August 06, 2017 @07:53PM (#14944401)
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.

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.
Re:How do you make programmers work 60-80 hours per week? on Monday April 10, 2017 @01:40AM (#14076335)
I think you mean employee (arbetar), not employer (arbetsgivare).
Re:How do you make programmers work 60-80 hours per week? on Monday April 10, 2017 @01:31AM (#14076302)
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.
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.

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.
Re:The Fastest Blog in the World on Tuesday August 04, 2015 @04:22AM (#10002213)
> 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.

Re:Death of a Programmer, Life of a Farmer on Tuesday May 05, 2015 @09:33AM (#9492352)
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 :)