_slyo
I've missed out on a great deal of money hoarding cash instead of stocks, but I have peace of mind. The cost of inflation is worth that to me. I have felt that a crash -- a real crash, i.e. a change in public opinion about the equity markets -- has been just around the corner since 2016. I'm much less worried about the prospect of a dollar crash, even with today's inflation.
This is not investment advice and is only my personal opinion.
ShowHN needs comments like Paul's. Tact and expertise never come equally in the same package. We should appreciate this and grow some thicker skin in the meantime.
https://www.boost.org/doc/libs/1_75_0/doc/html/stl_interface...
I appreciate BBC's journalistic standards, but I think they are the exception rather than the norm. I think Poland's case is more typical:
https://www.npr.org/2021/01/04/951063118/polands-government-...
Whether privately or publicly owned, the mitigation of media bias requires constant effort, education, and integrity.
Last weekend I was trying to find new car dealerships in my region that carried a particular model of car that I'm interested in. They had a dealer search page that could return all dealerships within 250 miles, and they had an inventory search page that had hardcoded the 3 nearest dealership IDs into the URL. But they had no GUI to search all the cars for all the dealers in my region.
I poked around at the elements on the dealership search page, cobbled together a jQuery one-liner to dump all the dealership IDs in my region, and pasted those into the URL to finally see every individual car in my region of the model I wanted. The page took quite a while to load, so probably have have some DoS vulnerabilities to deal with, but at least I was happy.
Vanilla javascript would have been so much more cumbersome!
Few other programming languages offer a similar feature. C++ pulled it off with an ISO standard and multiple conformant implementations.
Templates are loved by many, but they are a contender (along with UB) for the most hated C++ feature due to complexity.
Boost has over 160 libraries and counting. I wouldn't recommend every one of them (some have wacky interfaces, slow compile times, and/or experimental designs), but many of them are excellent, and I don't think it's very difficult to tell them apart.
Regardless, I find your insinuation that Boost users are "stupid" to be extraordinarily uncharitable to library users and developers.
I updated my PopOS packages today. My touchpad accel changed, my two-finger scroll broke, and I am left with a bunch of debugging to do and an urge to switch to Guix full-time. I came back to this HN thread and was delighted to find your post.
It didn't take me long to get a bootable USB with proprietary drivers and mainline kernel, even though I thought this would be much more difficult.
To a computer, what's the difference? Instructions are instructions.
1. Change living/non-living distinction of food to two different dimensions, shared by living and non living food alike: * Composition - arbitrary bits to match against a consuming organism's diet * Defense - arbitrary bits to match against consuming organism's capabilities, might be a function of energy level for living food
2. Organisms leave behind waste as part of eating and/or moving. Waste left behind is food for other organisms
This might allow for the rise of symbiosis and multicellular organisms
> The list of people who can write C/C++ correctly, under pressure, and then keep it correct under maintenance, is very short.
I see this assertion with increasing frequency lately. What if this list is not really as short as you think it is? People have been writing and maintaining massive C and C++ codebases all over the world for decades. These are wildly _successful_ languages.
Rust is a great language, and I'm happy to witness its rise in popularity.
If I'm being completely honest with myself, I love C++ for its razor's edge. Every piece of code can be _interesting_ (but normally shouldn't be, of course). The line between brilliance and insanity is fine, and exhilarating.
Is good software necessarily boring? Probably. Would the world be a better place if C++ were replaced with Rust tomorrow? Probably.
If I'm already competent in the exciting language, and there are plenty of places willing to pay me to write it, why should I switch to the boring language? Am I the only one who feels this way?
Maybe I should go learn Perl.
Haskell sounds amazing. I would be thrilled to learn it, and I hope the ecosystem flourishes. I hope there will eventually be millions of jobs to write code in the language. I'm a little bit envious of those who speak fluently about monads and set theory, and I've learned a lot from brushing shoulders with those people.
Meanwhile, I'll continue solving real-world, extremely stateful problems in an as-purely-functional-as-I-deem-convenient manner with the tools I already have under my belt. You can pry my precious semicolons from my cold, dead, carpal-tunnelled hands.
Learning git was painful. It felt like an obstacle that periodically stood between me and getting my work done. Gradually, I fell in love with the tool, but until now I never really stopped to think about how my git workflow has evolved. Turns out, it still has room for improvement.
I use use a debugger fairly regularly when I'm writing tests. Debuggers are for moments of incredulity. When a test doesn't behave as I expect, I go back and look at my code. I'll look back and forth, and if I still don't see the root cause, then I'll fire go up gdb instead of adding print statements. Debugging a unit test is often way faster than recompiling.
I wasted a large chunk of my life on Counterstrike, Arma 3, DayZ Mod, PUBG, and countless console games. _Thousands_ of hours in total. For me, games were more than an escape or simply a way to unwind. For me, they were a well-hidden addiction. They were an obstacle to reaching my potential. I can't see myself going back to games again and still being as happy as I am now.
I miss games sometimes -- I still occasionally watch them on Twitch or YouTube -- but quitting cold turkey over a year ago has been one of the best decisions I ever made. That I didn't give them up 10 years earlier is a source of great regret.
I'm probably not going to ban my children from playing games they buy with their own money, but I'll definitely have plenty of long talks with them about the dangers of gaming.