rkallos

Joined 13 years ago

Karma
144
Submissions
56
Member since
Dec 27
https://rkallos.com

[ my public key: https://keybase.io/rkallos; my proof: https://keybase.io/rkallos/sigs/565QFnkCacj8cqAgFHTgmjiKSi6-m_zOTWy2YXmRqz4 ]

View on Hacker News

Recent submissions

Comment · 2 months ago
Comment · 1 year ago
Dr. Michael Greger's books (and website: https://nutritionfacts.org) boast an astonishing amount of citations of medical studies. He readily acknowledges the vast volume of literature around nutrition, with more and more studies being published every year. He and his volunteers have taken on the mission of wading through it and making sense of it.

His books, in order of publication:

- How Not to Die (2k citations) - How Not to Diet (5k citations) - How Not to Age (13k citations)

Comment · 1 year ago
I experienced a similar change (more energy and steadier energy levels throughout the day) after switching to a plant-based diet, which has been shown to change one's gut microbiome over a few weeks.
Comment · 1 year ago
I find it very intuitive, but maybe it's because of a missing link or two.

Boolean arithmetic sometimes uses + for OR and * for AND. When considering only zero and non-zero values, the semantics are the same. 1 + 1 + 0 is non-zero, 1 * 1 * 0 is zero. Substitute + for OR and * for AND, and you wind up with the "same" result.

From the linked article:

> one is „and data“, the other is „or data“.

Structs/records/product types fit the description of "and data", because it's a compound value comprised of this type AND that type AND that other type, etc.

Unions/sum types fit the description of "or data" because it's either this type OR that type OR that other type.

Comment · 2 years ago
They switched to microservices written in Kotlin, resembling the rest of their backend stack. They had an easier time hiring and retaining Kotlin developers than Erlang/Elixir developers.
Comment · 2 years ago
For what it's worth, Grindr's chat hasn't been powered by XMPP since April 2024.
Comment · 2 years ago
Woolly mammoths were a geoengineer species that have no living proxy. Bringing them back is definitely a controversial project, but there's a case to be made that de-extincting the woolly mammoth could help prevent permafrost from melting.
Comment · 2 years ago
> I look at the reddest part of the chart, I look at the peaks

Neither of these are really the places I look at when examining flame graphs. I tend to look at the bottom, and work my way up.

The key thing (imo) to look for are wide pieces that are not a core part of what the code you're profiling is supposed to do.

In the first example of your first link, you have a flame graph of code that seems to draw an image. There are a bunch of functions like 'CopyPixels' and 'RasterizeEdges'. Those seem to be a core part of drawing an image. In contrast, there's a 'KiPageFault' function that's pretty wide that does not seem to be important to the code's overall goal. I think a bit more context is needed to arrive at the author's conclusion, though.

I think flame graphs, like all graphs, are more helpful when the reader has a lot of context about what's supposed to happen, or some intuition about how the chart is supposed to look.

Comment · 2 years ago
These properties are explained in great detail in volume 1 of Christopher Alexander's The Nature of Order.

Reading about these with accompanying images of spaces or objects demonstrating the presence or absence of these properties is what made it stick for me.

Comment · 3 years ago
Comment · 4 years ago
Marcus Aurelius's Meditations is a wonderful guide on how to apply various principles of Stoicism, especially principles around cultivating resilience in the face of circumstances beyond one's control.

However, to read only Meditations and go on to make claims about the philosophy as a whole is a bad idea that ignores hundreds of years worth of philosophers who also contributed to Stoicism.

For those interested in a more broad treatment of Stoicism, a wonderful follow-up to Meditations is Donald J. Robertson's Stoicism and the Art of Happiness

Comment · 4 years ago
Comment · 4 years ago
> Dense cities don't really matter that much

Are you sure? My understanding is that people who live in dense cities rely less on automobiles, have their waste treated more efficiently, and consume less energy per capita in order to enjoy clean air and water. Those factors are more important than the land mass required to feed someone.

Comment · 4 years ago
I, too, was disappointed using Leightturm notebooks with fountain pens. They're nice notebooks, but you're right; the paper isn't very good.

I'm no expert, but my understanding is that more denser of paper (80 g/m^2 and up) take much better to fountain pen inks.

I swear by Clairefontaine and Rhodia notebooks and paper.

Comment · 4 years ago
The current SCOTUS seems to be fine with coaches coercing teenage athletes into public prayer sessions, overturning a previous SCOTUS ruling.

Meanwhile, I find it ironic that the same state enacting this "intellectual diversity" law has specifically banned teaching critical race theory in public schools.

A voluntary survey invites participation bias; respondents will likely skew heavily toward the "I feel I am being indoctrinated/I feel uncomfortable voicing my beliefs". The spirit of the law aside, this law looks like a lever to pull funding from universities where the median Floridian, who votes Republican, would feel like their views are being challenged.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton