Better HN
topnewbestaskshowjobs
Log inSign up

Agingcoder

1,724 karma · joined Dec 19, 2017 (8y ago) · 732 submissions

Submissions

comment 4y ago · link · parent

Your wish has been granted : https://en.wikipedia.org/wiki/TRAPPIST-1

comment 4y ago · link · parent

Basically you have a model of your program, but the model breaks down, so you need to check that what you hold true is actually true.

Another approach is to use tools (system stats, logging, debuggers like rr/pernosco, etc).

Learn as much as you can about the system and tools you're using.

Reduce the size of the problem (reduce code, isolate, etc).

Read the code, and try to break it. Build scenarios 'this thing I see in the log can only happen if...'

Finally, there's no shame in rubber ducking a problem with a colleague!

comment 4y ago · link · parent

A speculoos is a belgian biscuit. Someone had fun coming up with a backronym I think!

https://en.wikipedia.org/wiki/Speculoos

comment 4y ago · link · parent

Well, I grew up with 8 and 16 bit machines, and dall-E and most sophisticated machine learning stuff looks very science fiction to me.

I understand how it works, but I can't help thinking 'woah...' every time I see it!

comment 4y ago · link · parent

Interesting question.

No, I don't find movies slow. The rhythm of a film is the one that was decided by the filmmaker, so it's part of the experience(at least for fiction).

For fiction books, since the book is written, I expect to be able to read it at my own pace, and since I am a very fast reader, I usually end up 'waiting' in an audiobook, without getting anything extra in compensation. In other words, I'm frustrated by the fact that I could read much faster, but can't. I can understand from the previous answers that there are audiobooks/dramas with high production value though. I'll look into this. In such a case, I guess I should view the audiobook as a different object, i.e some kind of adaptation, much like books are turned into films.

Non fiction is completely different - I very much dislike anything audio/video. I need a book, since I want to be able to jump around non linearly (go back , skip, stop, explore this bit/ask a question , etc).

comment 4y ago · link · parent

Tangential question (and a serious one, since I'm pretty much baffled by the whole thing) : I don't use audiobooks, since I find them 'slow'.

Why do people listen to them instead of reading books? Is it because, say, listening to one while driving is better than not being able to read since you have no time to do so? Or is there a specific pleasure in listening to a book read by someone else?

comment 4y ago · link · parent

That was funny! Thanks.

comment 4y ago · link · parent

No grace hopper the computer scientist

comment 4y ago · link · parent

The Linux programming interface, by Michael Kerrisk, is an excellent modern update.

comment 4y ago · link · parent

I think I still haven't found a message/phone/video app that works.

Skype is extremely buggy (crashes, freezes, regular ui bugs, loses conversations, etc). Teams is a resource hog, and is hard to search. Symphony is great for chat, but unpleasant for phone calls.

I'm a bit surprised, since I'd expect it to be a solved problem.

Any suggestions?

comment 4y ago · link · parent

Make friends with folks on the business side, and ask questions, as many as you can, including 'I didn't understand what this meeting was about, could you please explain? ' and 'who is this guy and what is his role?'

This has practical implications for you beyond corporate meetings : it will allow you to prioritize what's important in a much better way, will allow you to prevent bad things happening later on because you'll know when to say no early in the process , and will allow you to make better technical decisions because you'll know the business implications or what you're working on.

It takes time (I've been there), and the key is essentially to learn your environment, and what the people outside your bubble do. You won't find the answer in books, so you'll have to ask.

comment 4y ago · link · parent

Thanks, this made made laugh :-)

comment 4y ago · link · parent

Laurent Schwartz (former fields medallist) states in his autobiography (which I do recommend) that he was particularly slow - however being slow doesn't mean you're bad. It just means that you're slow, but this has no implication as to how far you'll go!

comment 4y ago · link · parent

I didn't read it as bashing, but as a joke

comment 4y ago · link · parent

The exact same thing happened to me, and this is how I discovered algorithmic complexity. Sorting my triangles took forever (I saw it in the profile, taking a whopping 90% of the time ) and I eventually figured there might be a proper sorting algorithms out there.

I was at the same time happily churning out assembly code, talking to the vga card, writing a dos extender, etc.

You can actually do quite a few things without formal education!

comment 4y ago · link · parent

Don't forget the question mark at the end of the clue, it's quite significant!

comment 4y ago · link · parent

You just need to ask someone /read guides about solving cryptic crosswords. Once you get used to it, it makes sense, but there can a surprising amount of 'unofficial' knowledge (abbreviations, 'common' crossword answers, etc), or things which are uk-specific and are not straightforward if you're not from the uk.

Some compilers are also easier than others / will make more sense to you (I like brendan, nutmeg, vulcan, and philistine).

comment 4y ago · link · parent

In practice for you. Where I am, things are very different! Buffer overflows and memory corruptions, threading issues, uninitialized variables, etc appear on a very regular basis, and end up being very difficult to debug, mostly because the moment where you corrupt memory and the moment it triggers a bug can be very far apart.

comment 4y ago · link · parent

This is utterly insane, and absolutely amazing.

comment 4y ago · link · parent

I don't. Days are short, and I'd rather spend time with my kids while they're still around.

If I want to learn something, I read about it (at work or at home), then look for a way to apply it at work (it has to be useful though!).

comment 4y ago · link · parent

The 'design system differently' is a very good point, especially for distributed systems. Basically you have to build correctness and debuggability into the development process, and these are actually difficult problems on their own for these kind of systems.

comment 4y ago · link · parent

I very much agree with this (and I tend to fall into the debugger tunnel vision trap!). I therefore start by reading the logs and code, and if this doesn't work (it often does with a little practice), I use print statements.

I have found that reverse debuggers (rr, pernosco) fix the tunnel vision issue by forcing you to identify something wrong ('no, this shouldn't happen') and then letting you work your way up, constantly asking questions ('ok, where is the next thing that doesn't make sense') instead of passively hitting F8.

Basically, debugging is an active process, which requires a proper strategy, and print, code reading, and reverse debuggers all force you to have/design a strategy. Regular forward debugging doesn't in many cases, especially when you are not familiar with the code or the usual strategies you apply don't work in your slightly devious particular case.

comment 4y ago · link · parent

The title got me confused - I thought it was about the raytracer!

comment 4y ago · link · parent

I second this. Pernosco is just unbelievable.

comment 4y ago · link · parent

Chaos mode works quite well in my experience, definitely worth trying if you don't want to wait for days.

I had a heisenbug which would appear once a week, and that I couldn't trigger on my workstation. Chaos mode did the trick.

comment 4y ago · link · parent

Why not consider all gun homicides, not just mass killings?

According to this, the current gun homicide rate is actually lower than at the end of the 80s.

https://www.pewresearch.org/fact-tank/2022/02/03/what-the-da...

comment 4y ago · link · parent

I don't know about the immediate part. Some works of art I saw didn't trigger anything, until I realized the next day that I kept thinking about them (films or contemporary art usually). It also seems like these specific works tend to have had a more profound effect on me than the immediate ones.

In the end, they maybe triggered some kind of immediate subconscious reaction, but the actual communication was delayed.

Still, I like your definition very much.

comment 4y ago · link · parent

This reminds me of bacigalupi's excellent novel, 'the water knife'.
1
181920
25