Better HN
topnewbestaskshowjobs
Log inSign up

devnullbrain

1,889 karma · joined Nov 25, 2022 (4y ago) · 747 submissions

Submissions

comment 3y ago · link · parent

This appears to be an unduly inflammatory headline.

comment 3y ago · link · parent

>fixing the lifetime of temporaries in range-for loops

Could anyone expand on how this was broken?

comment 3y ago · link · parent

The way you've described it is almost verbatim with how Google's C++ style guide puts it:

https://google.github.io/styleguide/cppguide.html#Vertical_W...

comment 3y ago · link · parent

>On the other hand, never describe the code. Assume the person reading the code knows Python (though not what you’re trying to do) better than you do.

># BAD COMMENT: Now go through the b array and make sure whenever i occurs

># the next element is i+1

In practice style guides will usually advise against the kind of comment you're blaming them for.

comment 3y ago · link · parent

There's no deleting beyond a time limit on HN

comment 3y ago · link · parent

If I attended a social club and my comments from 10 years ago were permanently engraved on the walls, I'd be much less honest and open.

comment 3y ago · link · parent

>While Reddit also suggests that updating passwords every couple of months is a good idea, as well as using a password manager, that's not advice most security professionals would currently condone. Changing passwords regularly, that is, not password manager usage.

What inelegant phrasing.

Another option is to treat online accounts as throwaway wherever possible. As much as Reddit would like to sell you gizmos for your profile, there's no benefit to the user to have an old account with lots of karma. Just keep re-rolling with strong random passwords and you have nothing to lose.

comment 3y ago · link · parent

>Theoretically most unix tools could be implemented in very few lines of code.

So do it?

comment 3y ago · link · parent

>Closing the market gives participants time to do various kinds of admin related to trading.

Trading firms can restart their software to fix the memory leaks.

comment 3y ago · link · parent

Every time some new generation starts to create its own identity, some proportion of the previous dominant generation reacts defensively by attacking it with wilful ignorance and disdain. It's a tragic way to age. Worse than a ponytail and a motorbike.

If you find yourself finding smug, try looking at an old Reddit rage comic/4chan greentext/usenet flamewar, depending on your age.

comment 3y ago · link · parent

Exactly, it's old fashioned - if you've only ever used a phone keyboard with a dedicated emoji keyboard button, it's conspicuous. This doesn't apply to the emoji version but that has the bad luck of unfortunate, cold representations in most emoji fonts.

comment 3y ago · link · parent

Your username has improper capitalization.

comment 3y ago · link · parent

I always call myself a software engineer, hoping to bait someone like you so I can reveal I actually do have an engineering degree.

comment 3y ago · link · parent

This feels like an ad invoking Cunningham's Law. There's a link to the job board at the bottom after paragraphs stroking the egos of oh-so-clever C++ developers and reminding them how well finance pays.

comment 3y ago · link · parent

It sounds like you simply don't know RAII.

comment 3y ago · link · parent

Modernes C++ & Scott Meyers' 'Effective Modern C++' are excellent.

comment 3y ago · link · parent

I do the same as you on my work Mac Pro, with if pinned to the left of the screen. On the other hand, for my personal Air the screen size is small enough that having it hidden means I often accidentally hover over it. The constant unintentional popping-in becomes more frustrating than having the reduced screen space.

On the Air I only use max-size windows & on the Pro I use tiles and panes.

comment 3y ago · link · parent

This is very self-congratulatory and fails to account for the many times where winning a debate can have greater implications than navel gazing. If the author has never encountered these, he's either very lucky or has no meaningful views against the mainstream anyway.

comment 3y ago · link · parent

This illustrates the difference between 'explanation' and 'justification'.

comment 3y ago · link · parent

Obscurity is security, as the saying goes.

comment 3y ago · link · parent

Some others:

Δ

・・・・・・・・・

!!!

†‡†

comment 3y ago · link · parent

Reminds me of when ARM cut salaries by a flat amount during the attempted NVIDIA acquisition.

comment 3y ago · link · parent

What does leisure look like to you? To me it's highly technological and expensive. Computing, transport, comfort, energy, food. The things I do for leisure now are sometimes only possible because of the rich society I live in - a product of high productivity.

comment 3y ago · link · parent

A quirk of human psychology is that we value ongoing storylines as if they were finished storylines. When we watch a Lost or read a Song Of Ice And Fire, we relate the twists and turns to finished stories we already know - or even to real life. We take it as a given that the plot thread spun in episode 3 will, somewhere, have a satisfying conclusion. The method that put the gun on the wall must satisfy physical and logical laws. So we become invested.

As a result, writers are incentivised to write convoluted, twisting, mysterious threads.

They're not required to finish them.

comment 3y ago · link · parent

It's a pretty useless quality for a gaming PC.

comment 3y ago · link · parent

I'll give you two of those.

comment 3y ago · link · parent

This would actually make the situation in TFA worse. The new hires would assume that foober foos when actually it's being used to bar. Either way there's a need to memorise - without cute names you gain the additional problem of close but dangerously wrong assumptions.

Reading documentation is not a bad expectation of a developer.

comment 3y ago · link · parent

The mirror to this argument is that company names should also be descriptive. Goodbye Amazon, hello OnlineBookStore.

comment 3y ago · link · parent

This logic also explains the disparity in pricing of sending money abroad via conventional methods vs. via crypto.

comment 3y ago · link · parent

Yes, I have read :help.
1
2122232425