HNHacker News
TopNewBestAskShowJobs

shric

1,489 karma · joined November 6, 2012

submissionscomments
shric··on It takes $420k per year to run Lichess
I do run a computer analysis on maybe 10% of games, but I also participate in fishnet (explained elsewhere in this thread) on a local machine so that hopefully offsets it
shric··on It takes $420k per year to run Lichess
If you look at the cost breakdown, that includes several people's salaries and other things than just hosting.

As for scale they do almost 100 million games per month and keep every game available for download and online access.

I suspect donations ~= costs, which is why the salaries are quite modest to say the least.

shric··on It takes $420k per year to run Lichess
That's good to know. I've played 12,316 games on lichess so almost $3 worth. Might donate $10 or so soon.
shric··on It takes $420k per year to run Lichess
Donations
shric··on Zendesk pretends to be open source?
Archive link before it was removed:

https://web.archive.org/web/20220114223428/https://www.zende...

shric··on IRC technology news from the second half of 2021
In 2008 a Google talent sourcer (their terminology) reached out to me via IRC. As far as he knew he was the only one using IRC for that purpose at Google at the time.

I often use that as an excuse to justify "wasting" countless months of my life on it.

shric··on Venmo, PayPal, Cash App must report payments of $600 or more to IRS
In Australia it's free to transfer money between individuals via your bank instantly, and most banks don't charge monthly account fees.
shric··on Beej's Guide to Unix IPC (2015)
I really want to like Beej, and I get that he wants to make things easy for people to understand, but his guides are full of unnecessary shortcuts which are actually wrong.

For example, he doesn't seem to understand the difference between arrays and pointers -- at [1] he says:

You can’t [get the length of an array] ish. C doesn’t record this information [footnote 50]. You have to manage it separately in another variable.

[footnote 50] says "Since arrays are just pointers to the first element of the array under the hood, there’s no additional information recording the length"

And then later he says:

There is a trick to get the number of elements in an array in the scope in which an array is declared. But, generally speaking, this won’t work the way you want if you pass the array to a function [footnote 51]

[footnote 51] says "Because when you pass an array to a function, you’re actually just passing a pointer to the first element of that array, not the “entire” array."

Footnote 51 is correct, and contradicts footnote 50.

There is a simple, and correct, way to explain this:

Arrays and pointers are distinct types in C but arrays are converted to a pointer to their first element, except when it is the operand of the sizeof operator, the _Alignof operator, or the unary & operator, or is a string literal used to initialize an array.

Yes, it's more wordy, but it's what's actually going on. Arrays aren't pointers, but he insists on claiming they are throughout. Footnote 51 shouldn't be a footnote, it should be prominent in the text.

[1] https://beej.us/guide/bgc/html/split/arrays.html#fnref50

P.S. Not going to go into it here, but his "unix" network programming guides used to be full of linux-specific things (without pointing this out), but I think it's improved over the last 10 or so years.

shric··on Just 39% of Americans could pay for a $1000 emergency expense
6 months of cash isn't enough for it to matter to me.
shric··on Just 39% of Americans could pay for a $1000 emergency expense
Unless I need to, I don't like converting investments into cash due to capital gains tax (it's quite high here in Australia while earning at the highest tax bracket), so I keep about 6 months in cash
shric··on Summary of Atomic Habits
I'd rather not promote a business model of bloating 10-20 pages of information into 200-300 pages to justify selling a book.
shric··on Poll: Did you spend New Years' alone or with other people?
What about non-human, non-mammals, you insensitive clod :p
shric··on Poll: Did you know that HN allows you to make polls?
Looks like it lets you vote for both options
shric··on After 10 years, HTTPS is truly everywhere
The only relatively mainstream site I can think of that doesn't use https is the Australian Bureau of Meteorology [1]. The weather isn't exactly sensitive info but I don't see any excuse not to just set this up.

[1] https://www.bom.gov.au/

shric··on Systems Software Research is Irrelevant (2000) [pdf]
He did, but he retired a few months ago.
shric··on Conversation-Based Pricing
WhatsApp is huge in many countries. You and I may have the tech skill and privacy concerns to move to something like signal but 99% of users either don't care or aren't aware of the difference.
shric··on Fastest Programming Language to Learn?
I love C, but strongly disagree with the "learn C" part. It's not a suitable language for interviews even if you're an expert. C is by far my strongest language but I wouldn't dream of using it in any generic FAANG like interview, I'd chose something like Python which has plenty of built in things like appendable lists, dictionaries, garbage collection, et cetera.

Agree with the psuedocode part though.

shric··on Why don't governments mind that companies are explicitly trying to make AGIs?
Because they prefer the British spelling, presumably?
shric··on We check our node_modules folder into source control
I remember an article a few years ago about Google's 86TB google3 source code repo. Someone on HN asked "I know Google is big but how on earth do they have 86TB?". Someone then quipped "someone accidentally checked in node_modules"
shric··on Essential security for Linux servers (2013)
One thing I'd update for today is use Ed25519 keys instead of RSA
shric··on Half a Billion in Bitcoin, Lost in the Dump
Cash also fairly rapidly depreciates
shric··on Who is the most accurate world chess champion?
Yes, but the cheat detection isn't.
shric··on Satya Nadella Sells Half of His Shares in Microsoft
Ask yourself "if I was given the equivalent in cash instead of equity (e.g. a bonus or just an increased base), would I buy shares in my employers' company?"

If the answer is no, then it makes sense to sell immediately.

shric··on Forcing a file's CRC to any value (2018)
What would be really clever is if it could alter, say, source code or natural language prose of sufficient length to force a specific CRC preserving the semantics of the program/prose e.g. by reordering or changing words and/or identifiers. (changing 4 bytes to arbitrary values in a comment is against the spirit of this)
shric··on CBA sued after sacking of staffer who discussed pay
If you have paywall issues try disabling JavaScript or https://12ft.io/proxy?q=https%3A%2F%2Fwww.afr.com%2Fwork-and...
shric··on Facebook employees are now more willing to leave, tech recruiters say
Is it really a screening tool for the company? It more likely just says something about that particular interviewer. It's not like a company has a policy of telling interviewers to scrutinize past job appointments. That can be done by the recruiter if desired.
shric··on Man left shocked as his house is 'stolen'
Really close to https://youtu.be/CS9ptA3Ya9E (satire from Mitchell and Webb)
shric··on Get started making music
Previously:

2017: https://news.ycombinator.com/item?id=14299628

2019: https://news.ycombinator.com/item?id=20965386

shric··on Deleting an S3 Bucket Costs Money
A common pattern is to dump log files or to use as a dead letter queue for failed event processing. These things typically are arbitrarily named by e.g. a prefix and a unix timestamp
shric··on HN 15 Years ago
You're off by a factor of 100. It's 0.016% or approximately 1 in 6000 people.
← PreviousPage 14 of 19Next →