HNHacker News
TopNewBestAskShowJobs

pygy_

6,423 karma · joined February 23, 2010

hn.py@py.gy

https://bsky.app/profile/py.gy

submissionscomments
pygy_··on Slack’s free plan change is causing an exodus
Digg vs Reddit also comes to mind.

https://www.reddit.com/r/business/comments/d78wi/digg_loses_...

https://trends.google.com/trends/explore?date=2005-01-01%202...

https://mashable.com/archive/reddit-digg-traffic

pygy_··on Why do arrays start at 0?
Well well well...

https://news.ycombinator.com/item?id=5888459 (quoted here for convenience)

—————

Formally, ordinals start at zero too :-) [0]. We owe their latest definition to Von Neumann, but AFAIK, the former definitions were similar. [...snip...]

--

[0] This is meta-meta-contrarianism.

- The layman counts from 1

- The uptight programmer counts from zero, because Dijkstra said so (or so he thinks).

- The meta-contrarian (I used to be one) says fuck it, ordinals start at one.

- The meta-meta-contrarian reads Wikipedia[1], realizes he was formally wrong, and goes one step further in pedanticity, back to zero [0].

That being said, my brain prefers 1-indexing programming languages like Lua, Julia, R and Matlab...

[1] http://en.wikipedia.org/wiki/Ordinal_number

[0] Help! I'm stuck in a Boolean algebra[1][0]!

[1] http://en.wikipedia.org/wiki/Boolean_algebras_canonically_de...

[0] ... where xor is an addition that wraps around ...

pygy_··on Why do arrays start at 0?
Anecdotally, I taught my children numbers starting from zero with a similar routine, based on cardinality. They immediately got it.

My kids' school also uses zero-based tables.

"Natural" is a very loaded and ambiguous term, best avoided if you hope to have sane discussions.

pygy_··on Things people blamed on bicycles
What about mamils?

Middle-aged men in lycra

pygy_··on Class action against Oracle’s worldwide surveillance machine
I didn't know FB had been actively involved in the process, I thought they had just been criminally negligent regarding the amount of data third parties were allowed to gather.

> the average person doesn't seem to care about all of these invasive data privacy issues.

I know, anecdotally, I became half a pariah in my family for refusing to register and share pics of my kids on WhatsApp. That was after the FB purchase, but before they changed the terms of service. I didn't trust FB, and was ultimately proven right.

pygy_··on Class action against Oracle’s worldwide surveillance machine
It may have influenced the result of the 2016 US presidential election.

IIRC, the Trump used that data set to send targeted ads to ~90M independent and republican voters. Independents got ads attacking Clinton and emphasizing prominent Trump supporters. Republicans got turnout-oriented ads.

Provided he won by less than 100k votes (and lost the popular vote), the cost to the median US citizen was likely quite large.

I didn’t know the same demographic markers had been baked into the platform. This is very concerning.

pygy_··on Class action against Oracle’s worldwide surveillance machine
There’s the Cambridge Analytica scandal.

It is very concrete, but that would automatically alienate quite a few people...

pygy_··on Backyard hens’ eggs contain 40 times more lead on average than shop eggs
I suppose you're getting downvotes because of the snark, but you're right.

Young kids will put anything in their mouths. Eating dirt is not an uncommon behavior.

pygy_··on General belief in a just world is associated with dishonest behavior (2017)
:-)

From my understanding of the scriptures, they're supposed to be ultimately punished...

pygy_··on General belief in a just world is associated with dishonest behavior (2017)
FWIW I don't have any systematized metaphysical beliefs. This is how I perceive the psyche of people who believe in fate.
pygy_··on General belief in a just world is associated with dishonest behavior (2017)
> I'm doing well because I deserve it

... and therefore I behave in unethical ways. It's not my fault, it's destiny.

pygy_··on General belief in a just world is associated with dishonest behavior (2017)
Well, it's probably both, feeding one another.
pygy_··on General belief in a just world is associated with dishonest behavior (2017)
In other words, "might makes right".
pygy_··on General belief in a just world is associated with dishonest behavior (2017)
Your last and penultimate paragraphs are almost identical, likely an editing error
pygy_··on General belief in a just world is associated with dishonest behavior (2017)
This has nothing to do with utopia.

It is about believing that people deserve their fate, however hard life has been to them.

pygy_··on General belief in a just world is associated with dishonest behavior (2017)
Destiny is the metaphysical expression of narcissism, the cosmic projection of the navel.
pygy_··on ElementInternals
I may be late to the party, but I just discovered this...

It is basically HTML’s WASM moment.

WebKit is the last browser not to have it, but it is about to land too...

https://github.com/WebKit/WebKit/pull/2690

pygy_··on Million: less than 1kb virtual DOM that is fast
My point is that this feature is unrelated to vDOM, it happens to be implemented by a major vDOM lib.

But... I actually read your comment too quickly, you were not making that point :-)

pygy_··on Million: less than 1kb virtual DOM that is fast
Slicing big updates and prioritizing some of them could also be achieved by tweaking the reactive core of Solid or Svelte.
pygy_··on TIFU by using Stripe as a payment processor for my small business
Zulip is pretty good for this.

By default, you have a linear, IM-like UX, but it is trivial to fork conversations on specific topics.

pygy_··on Diet and its effects on the gut biome in the pathophysiology of mental disorders
Plucking from Google scholar you can check

this https://www.pnas.org/doi/full/10.1073/pnas.222658699

and this https://onlinelibrary.wiley.com/doi/am-pdf/10.1002/eat.22531

among many others...

https://scholar.google.com/scholar?hl=en&as_sdt=7%2C39&q=ser...

A key point is that the same anomalies are seen in anorexia, binge eating and bulimia.

pygy_··on The Global Cost of Corrosion
I have a song about this (in French) sung from the vantage point of near future robots.

https://soundcloud.com/user-876103472/lennui-cest-loxyge-ne

Long story short: screw the meatbags, let's get rid of atmospheric oxygen...

pygy_··on Diet and its effects on the gut biome in the pathophysiology of mental disorders
In the first table the "eating disorders" entry makes references to "Kleinman et al. 2015" and to "Morita et al. 2015". Neither can be found in the bibiography. I couldn't find a paper by some Kleinman on the topic between 2014 and 2016 (https://scholar.google.com/scholar?start=0&q=author:kleinman...). Morita wrote this (https://journals.plos.org/plosone/article?id=10.1371/journal...).

Neither the linked article nor Morita's mention Serguei Fetissov's pioneering work on the topic though, which is disappointing, given that he and his colleagues have long documented the link between E. Coli, the immune system and eating disorders.

The gist is that E. Coli produces a protein (CLBP) that mimics a feeding-related hormone (IIRC melanocortin). That protein ends up in the blood stream and can bind the corresponding receptors. It can also generate an immune response, and these antibodies are cross-reactive, causing autoimmunity and complicating the story.

pygy_··on Prior Omicron infection protects against BA.4 and BA.5 variants
> Vaccines don't work stop the spread of the virus

They did stop the spread of the historic and alpha variant in Israel, with a 55-60% rate of vaccination (I mistakenly thought it was 70%, it was even lower). Before the onset of the delta wave, the virus was about to go extinct there.

You can check the graphs. May 11 2021, there were 4.66 new cases per million inhabitants. By June 9 it was down to 1.5. Compare with the surrounding countries, where the alpha wave lasted much longer, and was still lingering when the delta variant came around.

https://ourworldindata.org/explorers/coronavirus-data-explor...

June 9 coincides with the point where the delta share crossed the 50% threshold.

https://ourworldindata.org/explorers/coronavirus-data-explor...

But the global vaccine rollout was criminally slow.

I don't know how hospitals devise their COVID policy in the US... In France you need a "Sanitary pass" to access healthcare facilities. You must either provide a negative test taken in the last 24 hours, or a proof of some level of immunity (either up to date vaccination, or a COVID recovery certificate from less than 4 months).

pygy_··on Prior Omicron infection protects against BA.4 and BA.5 variants
Compare the evolution of the alpha wave in Israel, France and Lebanon. Israel, had also drastically cut down on community measures like lockdowns, curfews and closure of non-necessary businesses.
pygy_··on Prior Omicron infection protects against BA.4 and BA.5 variants
> You keep thinking that the loss of immunity is due to new variants.

This is our first interaction, not sure why you think I keep thinking something I never thought.

There might have been a need for boosters, it would have been possible to contain the epidemic had we not let covid mutate into more faster, more contagious and evasive variants. And the variants were much more likely to spring up as we let the epidemic go rampant.

pygy_··on Prior Omicron infection protects against BA.4 and BA.5 variants
Talking in absolutes like this ("the vaccine failed, it doesn't prevent infection, it doesn't prevent transmission") is very counterproductive.

No vaccine is 100% effective.

The vaccines were sufficiently effective to let Israel skip the alpha wave altogether with ~70% of the population covered. At the lowest point in June 2021 they were down to less than 20 new cases per day. Then the delta variant came out of the bush (from India which had much less coverage at the time, the more infections, the higher the mutation risk). It's R0 was higher than alpha's and the epidemic kicked back up.

Had there been an initial, aggressive push to vaccinate globally we might have been done with the virus by the summer of 2021.

It should also be noted that COVID has cumulative effects. The all around risk of complications is about twice as high for the second infection (I don't think there's data for more than two, so we don't know if the trend is additive, multiplicative, a combination thereof, or if it peaks there). Among other things, it culls the naive lymphocyte population weakening your immunity to bugs you haven't met yet.

pygy_··on Imaginary numbers are real
> up to the octave

... well, up to the thirteenth, at least... I suppose one could continue to name diatonic intervals above that for really convoluted chords.

Without the off-by one error, one could do interval arithmetics in a way that intuitively makes sense... It's really weird such a bad convention caught on to begin with.

Edit: going down the rabbit hole... It looks like the off-by-one error for diatonic intervals goes back to the greek antiquity. The Romans named the fourth and fifth diatessaon and diapente, which have greek roots, but their chromatic intervals start a zero (tonus, ditonus, tritonus which gave the (semi-)tone and the tritone). The "semi" prefix means "subtract half a tone", not divide by two... https://en.wikipedia.org/wiki/Interval_(music)#Latin_nomencl...

Neither the Greeks nor the Romans had a concept of zero, so it starts to make sense as to why we started with a crooked convention. Inertia and habbit made it stick around.

There's another rabbit hole for microtonal interval names... https://en.wikipedia.org/wiki/List_of_pitch_intervals#List

pygy_··on Imaginary numbers are real
Adding to the other replies, there's an off by one error in the interval names.

The unison is an interval of zero notes, the second an interval of one note, etc...

pygy_··on Imaginary numbers are real
"Ti"?

Nonsense.

Everyone knows it’s "si"!

Edit, also B is also sometimes notated as H. In that case B means what is usually Bb.

Edit 2: also, I just discovered that Eb was sometimes called S. What a mess :-)

← PreviousPage 5 of 34Next →