1,724 karma · joined Dec 19, 2017 (8y ago) · 732 submissions
comment 5y ago · link · parent
So, while I agree with OP about the qualities of 'product-minded engineers' (they're good qualities), I believe they should be part of the default skillset of any senior engineer, and especially so since 'product' can be a library shipped internally, and doesn't have to be the final product shipped to clients outside the company.
comment 5y ago · link · parent
comment 5y ago · link · parent
I have found that I can't work with git with a different mental model (diffs). Every time things get messy, the diff model is not enough, whereas snapshots + commit graph + names/pointers make things natural.
Interestingly enough, when migrating people from svn to git, explaining the actual model makes the transition much smoother, so it would seem I'm not the only one.
comment 5y ago · link · parent
I also discovered signed/unsigned integers at this time : give yourself too much money in the save file, it overflows, and you end up with negative money in the game...
comment 5y ago · link · parent
Years later, when I got a more powerful box, I tried playing it again, but the game speed was proportional to cpu speed I think so it was unplayable...
I should give it another go in dosbox!
comment 5y ago · link · parent
https://en.m.wikipedia.org/wiki/Classe_pr%C3%A9paratoire_aux...
It's brutally efficient at selecting the best math students (including the ones who actually want to study engineering, since the entrance exams are about maths and physics ) , and the sheer amount of work you put in two years is absolutely staggering.
It's obviously not perfect, and people regularly talk about getting rid of this system, but it works well for the students who survive.
comment 5y ago · link · parent
Basically, you get a tiny view of what your code is doing, and have to slowly build a mental model of what's going on through time. I have found that prints and code reading (in a good IDE which is able to track variable references!) are often enough, and usually faster,for the kind of software I write.
Now, things are getting better: mozilla's RR is a game changer(reverse debugging on actual, large projects ), and more recently, pernosco (built on RR but very close to science-fiction) has at long last made me like debuggers again.
comment 5y ago · link · parent
https://www.springer.com/gp/book/9783642008566
Containing beautiful proofs (from The Book, as Erdos would have said) of sometimes elementary results.
comment 5y ago · link · parent
A full time job and small children for example don't leave much space for extended coding sessions on side projects, unless you're lucky enough to need little sleep.
I've worked around this by learning at my day job : read books/papers at home (this is relaxing), and look for opportunities to apply this knowledge at the office. Unfortunately, it stays at the office though, and can't be shown as proof of your skills outside of the company.
comment 5y ago · link · parent
I have seen too many people working on laptops ans getting hurt (hands, back, shoulders, etc). I'd start with a foldable keyboard which expands into something big and comfortable (I have RSI!), and a detachable screen which can be set higher on the desk.
comment 5y ago · link · parent
In the US, African Americans vote overwhelmingly for democrats for example. Skin color therefore becomes a very good predictor of political orientation. You can probably extend this to states being populated from various migration waves, say 'people who look like Danes vote for republicans because state X was populated by Danes and votes Republican' . Carry this across generations/education, and you may have an explanation.
comment 5y ago · link · parent
The author is mixing up physics (dimensional analysis) and maths, and trying to give the multiplicand a special role (I didn't even know there was a distinction between the two terms - to me they are both factors). This might be true in the physical world, but in the world of numbers, I think the distinction is irrelevant.
Furthermore, being able to compute/define multiplication through repeated addition doesn't prevent you from looking at the special properties of this new operator.
comment 5y ago · link · parent
If you're curious about the kind of surreal scandals which happened 25 years ago, the helicopter affair is my favorite one (you'll have to scroll down to the 'controversial' section) : https://en.wikipedia.org/wiki/Jacques_Toubon?wprov=sfla1
It's no surprise in this context that it took forever to sentence Jacques Chirac!
Things have been slowly changing over the past 10 years though, with popular opinion being less tolerant.
comment 5y ago · link · parent
It also makes investigating difficult bugs extremely difficult (staging tends to be slightly different from prod, smaller as well, different hardware, network, etc) since you can't reproduce them, and your prod team can't help you much, since what you need is actual full box access to poke around.
I agree with you on the compliance point.
comment 5y ago · link · parent
Furthermore, by allowing full WFH, you also expand your recruitment pool to people outside your immediate geographical area.
That being said, I miss the office quite badly : real, physical interactions, can't be replaced with video conferences.
comment 5y ago · link · parent
Furthermore, its very likely that the languages people 'cherry pick' are actually languages they use everyday. So they just compare 'new everyday language' to 'previous everyday languages', and just tell you whether they're happier or not when they write code. The point is not really about the language theoretical properties and merits, but how people experience the language in real life.
comment 5y ago · link · parent
I eventually settled on a kinesis ergo edge, which I really like.
comment 5y ago · link · parent
News outlet therefore assume that it's unfair, since they don't get the corresponding advertising revenues, and Facebook does instead.
comment 5y ago · link · parent
In other words, we tend to focus on positive results, but negative ones ('don't do this or.. !') can be equally interesting and useful.
comment 5y ago · link · parent
Other than that, I also think that even when outdated, computing history is worth reading anyway, since it gives you a natural understanding of _why_ we do what we do these days. In your day job, it also gives you a different appreciation for what people did and why they did it, and why 'this horrible code' may have made sense at the time.
Furthermore, performance engineering is fundamentally about opposing code and hardware limitations. If hardware limitations are different, you'll get different code, but the principles remain the same.
If you're curious, write a basic emulator for older hardware (the NES is a great choice) , it's both fun and eye-opening!
Edit: the NES emulator will answer 'how do you fit super mario bros in 32k, and how can it run on such limited hardware?'
comment 5y ago · link · parent
However, after initially intensely disliking the language, I found out that I was surprisingly productive, and that the lack of abstractions made for very readable code. The toolchain and standard library are also very good (coverage, race detector, cross compiler, etc).
Compared to python, I get fewer bugs (no surprises, and compile time instead of runtime) and faster code, and compared to rust, I get readable code. It's strictly better than C / C++ (lack of generics aside until now) , unless you have strong performance constraints (and I'd probably use rust these days anyway).
In the end it's good at some things, not great in any way, not highly appealing but curiously effective.
I think I like it just because it works surprisingly well, even though it initially went against my gut feeling.
comment 5y ago · link · parent
This is an honest question, since I don't game much (witcher 3, death stranding and a few point and click) , and regular 1080 doesn't bother me, so I'm genuinely curious.