HackerTrans
TopNewTrendsCommentsPastAskShowJobs

_slyo

no profile record

comments

_slyo
·5 वर्ष पहले·discuss
The conventional wisdom of "buy equities regardless of price" doesn't make much sense to me. I can temporarily convince myself it's the smart thing to do, but the thought of putting my money into stocks just makes me sick for some reason. I can't do it.

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.
_slyo
·5 वर्ष पहले·discuss
I really like FreeBSD. I would very much like to run it on one of my laptops, but wireless NIC driver support has been an issue, so I'm currently running OpenBSD on one instead. Next time I buy a laptop, I'll probably buy one that can run FreeBSD.
_slyo
·5 वर्ष पहले·discuss
I once posted a nascent open-source project to reddit and it got shredded, but someone pointed me to some prior art. I studied the suggested materials, and thanks to that feedback my project was eventually successful. Now even CERN uses it in some LHCb software.

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.
_slyo
·5 वर्ष पहले·discuss
Did you watch through to the end of the video? They show an example of using a different dataset, and it looks much less like a dashcam. I'm amazed by the results.
_slyo
·5 वर्ष पहले·discuss
Boost.STLInterfaces provides a more modern alternative to iterator_facade.

https://www.boost.org/doc/libs/1_75_0/doc/html/stl_interface...
_slyo
·5 वर्ष पहले·discuss
Wow, this is the first time I've seen the computed goto extension. Delightfully gross!

https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html
_slyo
·5 वर्ष पहले·discuss
I agree that CNN and Fox are both disgustingly biased.

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.
_slyo
·6 वर्ष पहले·discuss
jQuery is fantastic. I am not a web programmer by trade, but I can always get busy with jQuery and just a couple of Google searches.

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!
_slyo
·6 वर्ष पहले·discuss
Templates are the killer feature of C++. They add incredible power to the language, but also dramatically increase its complexity. Templates are only superficially similar to generics in C#/Java. They are essentially a type-safe, Turing-complete, syntactically-constrained macro system deeply embedded into the grammar of the language.

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.
_slyo
·6 वर्ष पहले·discuss
> You'll have to search very long to find a C++ game code-base that uses boost, game devs are not that stupid ;)

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.
_slyo
·6 वर्ष पहले·discuss
Are you aware of std::reference_wrapper? https://en.cppreference.com/w/cpp/utility/functional/referen...
_slyo
·6 वर्ष पहले·discuss
Hey, this sounds awesome! Thanks for sharing. Please consider putting all this info in the GitHub readme, it's useful for anyone who wants to pick up the project. Also please consider posting this on relevant mailing lists.

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.