HN user

NotCamelCase

103 karma
Posts0
Comments77
View on HN
No posts found.

Lovely article with a happy ending!

One thing that I am glad to have been taught early on in my career when it comes to debugging, especially anything involving HW, is to `make no assumptions'. Bugs can be anywhere and everywhere.

I wonder if they had meetings or 'design committees' to find the most optimal shape with respect to the ease of killing prey eventually.

One possibility on origin (totally made up by me) could be that there were large stones lying around already as debris from e.g. earthquakes, celestial events and such and some groups took advantage of this and later people iterated upon it.

As a supporting point, I think it's connected not only with mental functions, but also our senses.

I have a weak memory in general, but I always remember the most mundane things in my life that I had no idea I still contained in my brain, triggered by a specific smell.

Another example is that when I moved to a new street, while crossing one road, I stumbled upon the edge of tram road and almost fell. Two years and counting, my brain always brings this memory up while passing the same point on the road..

The ROI of Exercise 11 months ago

I was adamant on using one of those health/exercise tracking devices, mainly out of distaste of our modern habit to be constantly in the know of everything, but I gotta say, since I've started using one, it's just so satisfying seeing the accumulated numbers over N months or even years!

VS (ctrl+,) takes several seconds and intermixes search results for files and file contents, when I'm only interested in files.

I hate this a lot. It's gotten so bad the last couple of releases to the point that I try and use VS Code more in lieue of VS except debugging.

How they could let such fundamental functionality get broken is beyond me.

Unrelated to the article, but related to the topic, the compliment that gives me the most dopamine is when somebody I respect and is above my level of knowledge tells me “that’s a great question”. It just makes me realize that I’m closer to their level if I’m asking questions that stumped them or that they are already thinking of but surprised I asked.

I don't know this for a fact, but, I'm thinking there must be a lot of books on public speaking that tout this "trick".

Once, I noticed that an exec started constantly prefixing her every answer with "Yeah that's a great question" and I said to myself, huh she must have just finished some leadership book!

Of course, it quickly becomes pretentious, if used on every mundane question.

I recently started using one of these. The other day, I was working out on a rowing machine and received an alert (twice!) that my heart rate was extremely high. I was surprised because I wasn't even pushing myself that hard, and I am a fit person in general.

Upon research and asking around, I understood that it's more of a false positive. A more paranoid person may have reacted differently in such a scenario. So, consistency alone may not always suffice.

My parents and their generation suffers a lot from this, I feel. They grew up in a time (and in a country, I guess) where any information that they'd digest on TVs, newspapers, etc. came vetted officially or professionally. So, they kind of presume that everything they see online must be true because it's out there.

It's not like there was no garbage output before, but it's the scale at which it can be done nowadays that is the key, I think.

Is it really that much different than e.g. a cook preparing carrots while onions are being cooked? Nobody needed to invent this as far as my knowledge of history goes; so, maybe there really is nothing new under the sun :)

Joking aside, of course, the ingenuity lies in finding a fitting solution to problem at hand, as well as knowing how to apply it.

My concern is slightly different; it's the ease of debugging. And I don't mean debugging the code that I (or sb else) wrote, but the ability to freely modify the code to kick some ideas around and see what sticks, etc. which I frequently need to do, given my field.

As an example, consider a pointer to a const object as a function param in C++: I can cast it away in a second and modify it as I go on my experiments.

Any thoughts on this? How much of an extra friction would you say is introduced in Rust?

That was a lengthy, but nice article/review about someone that I didn't know of before.

Not strictly similar, but this brings to my mind Graham Greene's masterpiece, The Power and the Glory, and his 'whisky priest'. Easily one of the best novels that I've ever read, so highly recommended to give it a look.

So, you needed to rewind the tape to the beginning if you wanted to return it after having partially watched it i.e. at 40%? Now I wonder, did the store owners check each tape on return for this? I hope it was a quick process..

Rewinding to the beginning of VHS tapes was honestly so long that nobody really forgot.

Hmm, if it took so long, wouldn't it have caused the reverse effect? That people would ignore it out of laziness? Maybe I'm too spoiled! :D

Funny that you bring this up -- I feel exactly the same way and I even had more math background than average SW person.

Being on the engineering side of things without much knowledge/focus on programming languages theory and the mathematical nature of computation, one feels as if all the niceties we have in popular PLs are just laws of nature that we just had to discover, whereas in reality they too had to be derived, tried, improved first. But then you study something like this and expect to be able to finally connect the dots and yet, it's still not immediately obvious how we arrived here!

I'd say it's first and foremost a political tool. Pseudo dictators especially love it.

Let's say you're a mayor who needs to increase the price of a public utility by 10%, what do you do? You announce that this price will be increased by 30%. People get furious, protests ensue (sometimes, it's even desirable if riots start) against such an outrageous increase! What to do? You should be as invisible as possible during this turbulent period and let others take all the heat, only to come out at the end announcing that yes, the people have spoken, and as a result the increase will be limited to 10%. Now, the people are happy; it's democracy in action, they have the power! The mayor is happy; he's got his increase happen. Happy ending.

*Your link misses a 'g' of .org

C++ Papercuts 3 years ago

This looks like the worse of both worlds to me -- more typing, less readability and you'd still need to manually change the return type, if need be.

C++ Papercuts 3 years ago

What's the rationale for auto return type deduction and -> declaration at the same time?

It's also difficult for both SW teams' and HW teams' visions to converge, even under the same company, such that the product can be put to use to maximize performance and programmability WRT another, already-established product.

Different constraints and challenges on both sides of the aisle give rise to compromises which end up with lowered performance or lowered ease of use. This is one area where great authority over the entire stack lends you lots of leeways, e.g. Apple designing Metal API and the HW for it.