HNHacker News
TopNewBestAskShowJobs

shric

1,489 karma · joined November 6, 2012

submissionscomments
shric··on On Desktop GUI Minimalism
I'd probably agree with the "useful" but I find higher resolution more aesthetically pleasing, especially text.
shric··on Julia and Mojo Mandelbrot Benchmark
It would have been more appropriate to render a Julia set in Julia.
shric··on Decoded: GNU Coreutils (2018)
rm doesn't actually modify the file. It does an unlink which removes the link from the filename to the file.

Essentially, a file can have 0 or more names linked to it. As long as a file has at least one name or at least one process with it open, it will persevere.

By contrast, shred actually writes to the underlying file.

shric··on John McCarthy’s collection of numerical facts for use in elisp programs
Some of the constants have changed over the years.

> (setq avogadro 6.0221367e23) ; Avogadro number

This is now standardized to exactly 6.02214076e23

shric··on A currently maintained fork of SSHFS
Not the GP, but I assume it's just because the ssh swssion is no longer needed -- it was only required to locate the file.
shric··on Shorts risks cannibalising core YouTube business, say senior staff
It might be neat if there was a top level domain that required no ads or paywalled content.

i.e. anyone can register a domain, but if an ad or paywall is found on a site there's a warning -> suspension -> domain unregistered. Only donation links accepted but they cannot provide extra content.

Hobbyist/amateur sites would thrive there as there would be attraction due to visitors being confident they won't be met with ads or paywalls.

It would be awesome until the registrar inevitably caves and gradually bends the rules to increase revenue.

shric··on Declining fertility ideals? Young people more often prefer having no children
Why is buying a house a prerequisite? Renting is perfectly reasonable. Billions of people happily have kids never being able to afford to buy a house.
shric··on If 50% of people choose blue pill, everyone lives, otherwise blue pills die
> Basically the scenario was not as well constructed as the asker probably wished.

I think it was perfectly constructed, it showed that 65% of the poll answerers are either illogical or liars.

shric··on AI bots are now better than humans at decoding CAPTCHAs
> The bots’ accuracy ranges from 85-100%, with the majority above 96%. This substantially exceeds the human accuracy range we observed (50-85%),” the research paper read.

Wait, did they use humans or computers to measure the accuracy of the solutions?

shric··on My (Herb Sutter's) C++ Now 2023 talk is online: “A TypeScript for C++”
CMake doesn't fetch your dependencies for you and ensure they're the version that your code is compatible with.

I've cloned 5 year old C++ repos that use cmake and it's quite an effort to build them, mostly due to finding all the dependencies correctly versioed.

shric··on Australians fight for the right to work from home permanently
Indeed, after 25 years of work (15 in Australia, 5 in Singapore, 5 in Malaysia) I've never driven to work except during work trips to the US where I had to rent a car.

At various times it's been train, bus, cycling, walking.

shric··on All foster kids in California can now attend any state college for free
> Prisoners: our responsibility, their fault.

What percentage (approximately) of prisoners in the United States would you categorize as "their fault" and not some product of their upbringing/situation?

shric··on 2,500 continuous runtime hours on a 4.77Mhz DOS web server
Are you referring to the CPU used for the site? If so, how did you arrive at one hour? I'd put it closer to a second.
shric··on Recession canceled? U.S. stock market 'frothy' after S&P 500's strong first half
> You want to dollar cost average into the market fine, but I wouldn't take out any margin loans for at least the next year.

Six months ago I borrowed 3 years of my gross income (principal and interest, not margin) to buy more low cost index funds. The loan period is 10 years which was the max available. I fully intend to pay it off over 10 years, no faster. Wish me luck!

shric··on Case study: Algorithmic trading with Go
My understanding was that HFTs make the most profits during periods of highest volatility. Why do they pull out?
shric··on Researcher discovers new isotope of astatine
If there was a computer that performed one operation per nanosecond and it would take 100 years to do a particular problem, then that same problem would be solved in approximately 3 microseconds on a machine that could perform the operation every yoctosecond.
shric··on A brief, incomplete, and mostly wrong history of programming languages (2009)
Indeed, even 11 years ago people were commenting on how many times it had been posted with substantial amounts of comments and upvotes:

https://news.ycombinator.com/item?id=3505201

shric··on A regular expression to check for prime numbers (2007)
(2007)

Previous discussions (with >25 comments):

2015: https://news.ycombinator.com/item?id=9039537 (67 comments)

2022: https://news.ycombinator.com/item?id=30564287 (121 comments)

shric··on Mapping pedestrian traffic light timing in Sydney, Australia
I've lived in the Sydney CBD (Haymarket) for 10 years. I don't own a car because I don't need one. I jaywalk at every opportunity many times every day. I've never been fined for jaywalking.

One time I was crossing the street with my wife near Town Hall against a red pedestrian light and I was smiling because of the conversation. We were walking toward two uniformed NSW Police officers whom I failed to notice as I was looking out for traffic when crossing the street. One of them, in her twenties, snapped at me like I was a naughty child (I'm around 50) with "you have the nerve to smile while illegally crossing? I could fine you you know". I didn't want a fine so stopped smiling and apologised and continued on my way.

That said occasionally there is a coordinated session where they hang out at specific intersections waiting to fine people but they don't try to hide themselves (usually there's a parked police motorcycle on one corner of the intersection, etc.)

shric··on Linux tool to show progress for cp, mv, dd
Newer versions of Linux dd support status=progress.

iirc, dd on *BSD will show progress on ^T because it sends a SIGUSR1

shric··on Stop Saying C/C++
There is legal C that is illegal C++

There is legal C that is legal C++ but has different observable behaviour

And if you're "writing C in C++" then you're not really using C++ as it was intended, might as well just write C and use a C compiler.

shric··on The Rimac Nevera Just Shattered Pretty Much Every Acceleration Record
Maybe the GP assumed 410km/sec instead of 410kph.
shric··on The grid isn’t ready for 300M EVs by 2030
Your areas are off by a factor of 1,000.
shric··on GPT-4 Can’t Replace Striking TV Writers, but Studios Are Going to Try
I know you were joking but "As of Apr 8, 2023, the average annual pay for a TV Writer in the United States is $62,837 a year." -- somehow eliminating writers isn't going to make much difference to the cost of a typical TV series.
shric··on James Webb Space Telescope detects water vapor around alien planet
"The confirmed exoplanet with the shortest orbit is K2-137b, which orbits its host star, K2-137b once every 4 hours, 18 minutes. The planet is 0.89±0.09 times the mass of Earth, and orbits its host star at just 0.0058 times the distance of Earth from the sun."
shric··on James Webb Space Telescope detects water vapor around alien planet
Not when it's 0.01734 AU from its star, and therefore 1.7% of the distance compared to the earth to its star.
shric··on Is Go an object-oriented programming language?
I didn't say, or mean to imply, he was automatically right, just pointing out yet another interpretation
shric··on Is Go an object-oriented programming language?
And Alan Kay (first user of the term "object oriented programming") said:

"OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. It can be done in Smalltalk and in LISP. There are possibly other systems in which this is possible, but I'm not aware of them."

shric··on Maybe you should store passwords in plaintext
“You don’t get rewarded for being extra. You don’t get any money when you save costs. You’re going to get a raise below inflation. You’re stupid for caring the way that you do. The business’ downside risk is not yours, and it’s profits are not yours either.”

Except when you're granted RSUs or participate in some private company's profit sharing scheme. So if that's important to you, find such a place. The smaller the company, the more impact you can have on their profits.

shric··on Ask HN: How to get into OS/systems programming in 2023?
I would highly recommend C Programming: A Modern Approach by K.N. King as an alternative and replacement for K&R.

http://knking.com/books/c2/index.html

← PreviousPage 9 of 19Next →