HNHacker News
TopNewBestAskShowJobs

rational_indian

150 karma · joined May 5, 2012

submissionscomments
rational_indian··on What every developer should know about GPU computing
You need to try it and see if it is any faster. NVIDIA has a drop-in replacement for numpy: https://developer.nvidia.com/cunumeric.
rational_indian··on Zig is now also a Windows resource compiler
I wish linux had a comparable system for systematically embedding assets in binaries.
rational_indian··on A literary history of fake texts in Apple's marketing materials
Case in point: countries with high levels of gun violence. You never know when an unhinged person might unload into you.
rational_indian··on Can’t send email more than 500 miles (2002)
It was a geostatistician. It is what they do.
rational_indian··on How the Mac didn’t bring programming to the people
Apple is an appliance maker. It does not make computers.
rational_indian··on Japanese typography: Kilograms of sinograms
I'd say good riddance. Why saddle yourself with this abomination?
rational_indian··on [dead]
Isn't this obvious?

As a child I was always shocked to see ordinary citizens duelling in westerns and just shooting each other. I chalked it up to artistic license. The thought never crossed my mind that it was a depiction of reality in an alien world.

rational_indian··on Fight to Repair
I had to share this. This is awesome!
rational_indian··on Speed of Rust vs. C
> As an observation, performance optimized code is almost always effectively single-threaded these days, even when using all the cores on a CPU to very efficiently process workloads.

Why?

Edit: Thanks for all the replies. It seems this applies to data-parallel workloads only. I'd use a GPU for this. An RTX 3090 has around ~10000 CUDA cores (10000 simultaneous operations) v/s just ~10 for CPUs.

rational_indian··on Mitigating Memory Safety Issues in Open Source Software
No true Scotsman huh?

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

Also can you link to an example of this purported memory safe C++ compiler? Please note for an apples to apples comparison it must reject all memory unsafe non-modern C++ constructs.

rational_indian··on Judge: Citibank isn't entitled to $500M it sent to various creditors last August
This has not been my experience. Most people don't bother with these things. Memory safety / undefined behavior is a non issue for them.
rational_indian··on Judge: Citibank isn't entitled to $500M it sent to various creditors last August
LOL.
rational_indian··on Judge: Citibank isn't entitled to $500M it sent to various creditors last August
> At scale, human errors are a certainty, while documentation and training is far from useless, no amount of it can change that fact. It's therefore a critical responsibility of systems designers to design their systems to be resilient to mistakes.

If only the people who insist on using unsafe languages understood this. Their position is that you should get better at not making mistakes.

rational_indian··on Mitigating Memory Safety Issues in Open Source Software
> would call C++ a memory safe language

LOL.

rational_indian··on Mitigating Memory Safety Issues in Open Source Software
>Anyone who’s tried to deploy their own complex Maven project knows that it’s a true nightmare.

Maven != Cargo

> C++, on the other hand, has a variety of choices for build systems.

None of which even remotely approach the ease of use and maintainability of the Cargo build system.

> once you need to build something that the default build system doesn’t support, you’re in big trouble.

Cargo can build arbitrary dependencies using the build.rs build mechanism.

rational_indian··on Military seizes control in Myanmar
> We have democracy, social policies (even universal healthcare, which is comically bad anyway but we do have that), freedom of speech, free press, yadda yadda

Most middle-eastern countries do not have this either...

> but Myanmar is still richer than us.

but I am willing to bet they are richer than both Nepal and Myanmar. It seems what Myanmar has over Nepal is natural resources, (just like the middle eastern countries). This is nothing to be proud of.

rational_indian··on Python's Type Checking Renaissance
Better late than never.
rational_indian··on Firefox 85 cracks down on supercookies
I have noticed it to be slower, and with more broken websites. I still prefer it over chrome.
rational_indian··on Trump Twitter ban 'raises regulation questions' – UK govt minister
Link to Aether?
rational_indian··on iMac G3 – The Mac that saved Apple
Let's not forget this lesson when it comes to Microsoft.
rational_indian··on How a British Covid-19 vaccine went from pole position to troubled start
Typical British reporting.
rational_indian··on Solving Algorithmic Problems in Python with Pytest (2019)
Thanks, that explains it.
rational_indian··on Bash 5.1
So Apple does not show the GPLv3+ banner?
rational_indian··on Solving Algorithmic Problems in Python with Pytest (2019)
Why do you need the minimum == 0 test in the following chunk of code ...

  if i > 0 and (minimum == 0 or i < minimum):
      minimum = i
rational_indian··on Stalking her daughter’s killers across Mexico, one by one
This is going to backfire spectacularly. There is no filter which can isolate the good from the bad. If you let the flood gates open the scum will come in too.
rational_indian··on Electric Monarch tractor can plow a field without a driver and run for ten hours
> Safari

> Don’t support these shitty companies

Then start by changing your phone.

rational_indian··on How to Escape a Sinking Ship
Hair raising. Thoroughly enjoyed reading the article. Now someone needs to make this into a game :)
rational_indian··on With Proton and Steam Play, many Windows games now work on Linux
I have installed Windows in a dual boot configuration with Linux. I now have a better time separating work and play, win-win!
rational_indian··on ZaReason Linux PC Vendor Closes After 10 Years Selling Linux Hardware
> ...sickness and parts shortage...
rational_indian··on Radicle: A peer-to-peer alternative to GitHub
Isn't git peer-to-peer already? Why would anyone need this?
← PreviousPage 3 of 6Next →