Better HN
topnewbestaskshowjobs
Log inSign up

rkallos

144 karma · joined Dec 27, 2013 (12y ago) · 56 submissions

https://rkallos.com

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

Submissions

comment 3mo ago · link · parent

They can be when they are converted into nitrosamines, which appears to happen in the absence of plants. In the presence of phytonutrients, nitrates are converted to nitrites, which have several health benefits. In the absence of phytonutrients, nitrates can be converted into nitrosamines, which are a potent carcinogen.

See: https://nutritionfacts.org/topics/nitrates/

comment 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

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 2y ago · link · parent

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 2y ago · link · parent

For what it's worth, Grindr's chat hasn't been powered by XMPP since April 2024.

comment 2y ago · link · parent

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 2y ago · link · parent

> 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 2y ago · link · parent

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 3y ago · link · parent

Here is Grindr's unionization website: https://grindrunited.org/

comment 4y ago · link · parent

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 4y ago · link · parent

The Stoics had plenty to say on what constitutes a good life. They might have also cautioned that a 'joyful' life may not be the same thing as a 'good' life, if that joy is derived from vice or a lack of virtue.

https://en.wikipedia.org/wiki/Eudaimonia#The_Stoics

comment 4y ago · link · parent

> 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 4y ago · link · parent

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 4y ago · link · parent

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.

comment 4y ago · link · parent

Chiming in with 6 years of professional Erlang experience. I'm somewhat familiar with Elixir, having worked on some Elixir codebases for a few months.

> The notion that to learn a language you also need to learn a second one is not great. [...] It's just bizarre.

I disagree. I don't think it's bizarre. I expect to sometimes have to poke around in C code when writing Erlang or Python. It's also fairly common for C/C++ developers to look at the assembly output of some piece of code using https://godbolt.org/.

> Reading the code is NOT an answer.

Again, I disagree, and I think this perspective is harmful to career development. Knowing how things work on a deep(er) level is a superpower. When you're writing Elixir, do you never open up a .ex file in the standard library to see how something is implemented? Are you not at all interested in what powers things like Phoenix.PubSub?

> I don't know what a solution is, but perhaps a concerted effort to create a documentation and library ecosystem that never links back to Erlang would help.

I suspect that a library ecosystem that doesn't require Erlang would be a huge effort to implement and test, and would wind up pulling in all of the ideas from Erlang that you haven't learned/mastered yet. A better alternative would be to accept the fact that Elixir builds on top of Erlang, and understand that a deeper knowledge of Erlang is going to help you improve as an Elixir developer.

> And where there are critical systems that use an Erlang library, perhaps rebuilding it in Elixir is in order?

I'm definitely biased, but I would be much less trusting of an Elixir copy of a 'critical' Erlang library. Many of the selling points of Elixir that lead to very concise code (read: macros, 'using', and others) are things that make it difficult for me to develop a deep understanding of a library. It's cool to use DSLs like Ecto and Plug, but I have a much harder time understanding those libraries as a result. Erlang's unambiguous syntax and its basic text-substitution-based macro system are much easier for me to understand, and while it takes more effort to write APIs and code that are as concise as what's available in Elixir, I know that I can open up an Erlang file and trust that much less is hidden from me.

comment 4y ago · link · parent

It sounds to me like you might enjoy SML or OCaml.

comment 4y ago · link · parent

Grindr's response to this article: https://blog.grindr.com/blog/the-wsjs-old-news

> What the WSJ describes would not be possible with our privacy practices today, practices we proactively implemented two years ago

> Grindr takes the privacy of its users extremely seriously, and we have put privacy before profit

> Grindr does not share users’ precise location, we do not share user profile information, and we do not share even industry standard data like age or gender

comment 4y ago · link · parent

I implemented and deployed a state synchronization protocol based on CRDTs at my last job. It replaced a protocol that needed a fully connected mesh to function properly, and the entire cluster would suffer a grey failure if a connection was broken or slow. The new protocol was much more resilient, and was able to take advantage of the transitive property of state-based CRDT operations.

My solution for garbage collection was pretty boring. Occasionally, a JSON file was rsynced to each service node with the 'true' state of the system at some time in the past, and the CRDT maintained the new state on top of that JSON file, until the next file got rsynced.

comment 4y ago · link · parent

That's very resourceful! Your system also comes with a bunch of quotes and advice.

comment 5y ago · link · parent

Why did you stop?

comment 5y ago · link · parent

Definitely a tricky problem for CRDTs. A possible solution is outlined in the OpSets paper; https://arxiv.org/abs/1805.04263

I hope that there are existing implementations of OpSets that perform well. I find the solution laid out in that paper to be really elegant and beautiful.

comment 5y ago · link · parent

To my knowledge, the author co-authored interval tree clocks as well as dotted version vectors. He also co-authored a lot of the literature on CRDTs.

comment 6y ago · link · parent

Yes there is! https://www.youtube.com/watch?v=_0m0_qtfzLs

comment 6y ago · link · parent

I had the opposite experience to you. I found Pony much easier to learn than Rust.

Reference types are probably the trickiest bit to learn, especially in how they relate to Pony's generics. Everyone is different, but I found learning the 6 reference capabilities to be a lot easier than trying to understand borrowing and lifetimes in Rust.

I readily accept other reasons not to pursue Pony; it's library ecosystem is budding, the runtime is still a bit unstable, and there is limited support for non-x86_64 architectures. However, I invite anyone reading this comment to form their own opinion of the language. I feel I've benefited greatly from learning it.

Also, Pony has a pretty active community on Zulip, where you will find people who will jump at the chance to help you get unstuck while you're writing Pony. https://ponylang.zulipchat.com/

comment 6y ago · link · parent

I have something resembling a Zettelkasten using Tiddlywiki with the Stroll plugin. I'm loving it. I feel like this system is taking me from being someone who hoards notes and never looks at them to someone who actively learns and remembers by making connections between newly-added notes and pre-existing ones in my Tiddlywiki.

https://tiddlywiki.com

https://giffmex.org/stroll/stroll.html

comment 6y ago · link · parent

The Lamy Safari was the pen that started my addiction to fountain pens. It holds a special place in my heart.

comment 6y ago · link · parent

I used to use Emacs and Org Mode, but, like many other commenters here, I noticed that I never went back and reviewed my notes.

Now I'm experimenting with TiddlyWiki, and I've been having a lot of fun with it. With a small modification, I made it so that tiddlers/pages displayed a list of all other tiddlers/pages that backlink to them. This made it very easy to start connecting ideas together, which is something I never succeeded at with my notes in Org files.

comment 7y ago · link · parent

I've been managing my personal finances with Beancount since the summer. I've been enjoying it a lot. I also use Fava to explore the data.

comment 7y ago · link · parent

I was curious about this too, so I read a few more posts on their website.

The article is about the latest prototype for a device that accumulates plastic for disposal. The idea behind it is to create U-shaped artificial coastlines that slowly glide through the Great Pacific Garbage Patch and accumulate plastic for easier collection and disposal. Their first prototype had some defects, but this iteration seems to be off to a better start, and appears to be successfully capturing plastic.

This isn't a large scale operation (yet). It's a promising prototype. I'm excited to read about it, though!

12