HNHacker News
TopNewBestAskShowJobs

dmitrybrant

2,221 karma · joined February 11, 2017

me@dmitrybrant.com
submissionscomments
dmitrybrant··on Non-ECC memory corrupted my hard drive image [video]
Hang on... to go from "System32" to "System33" is one bit flip, but to go from "System33" to "System34" is three bit flips at once. Doesn't that seem astronomically more likely to be a malicious program than bad RAM?
dmitrybrant··on Ask HN: Do you feel bad when devices aren't utilized to the extreme?
Yes, definitely. I feel a profound sense of despair when we purchase a mobile device with the most cutting-edge CPU and insane amount of memory, and proceed to saddle it with a bloated VM that's designed to guardrail and protect the device from even more bloated, leaky, crashy, unresponsive apps.

And when we purchase a new desktop workstation, equipped with even more staggering horsepower, we're totally OK with installing software that makes itself comfortable by consuming large fractions of this horsepower without any apparent need, all because the amazing hardware is able to mask the awfulness of the software.

dmitrybrant··on Twitter at 1am on a Friday
Exactly. I can admit that it would be sort of cool to be around Elon for a bit, just to have a good story for parties, even if it means staying past 1am at the office. But let's not pretend they're building something earth-shattering that actually merits being there at 1am. They're there to feed Elon's ego and make him believe he understands the inner workings of twitter, which for some reason would help him make executive decisions that are less arbitrary than he's already made?
dmitrybrant··on Twitter at 1am on a Friday
And what exactly is the vision? Elon keeps changing it by the day.

Twitter itself has already been built. What new thing would they be building? A slightly different content moderation system? Slightly tweaked steps for verifying accounts? I'm not sure I see anything hardcore about any of this.

dmitrybrant··on Ask HN: Advice that changed your life?
> Plumbing is easier than you think. Learn to do it yourself.

Yep, same with electrical work around the house. Obviously not for everyone, but once you get past the initial hurdle of getting comfortable and safe with electricity, there's great pleasure to be had from knowing that you can fix any issue, with minimal cost.

dmitrybrant··on A rash of nearly lethal mushroom poisonings in Ohio
Using that rule of thumb, you would successfully avoid Amanita virosa (destroying angel), but you could still get poisoned by Amanita phalloides (death cap) which has a pale-green cap.

I don't endorse any rules-of-thumb for foraging, but a much better differentiator for beginners is whether the mushroom has pores vs. gills under the cap. There are virtually no deadly varieties that have pores.

dmitrybrant··on A rash of nearly lethal mushroom poisonings in Ohio
It's cultural knowledge passed down through generations. Mushroom foraging is super popular in Russia and other Slavic countries, and my grandmother taught me most of the fundamentals before we immigrated to the US, and I continued to study field guide books on my own.

When you get to know the specific bits of anatomy of the mushroom body, the trees with which they're symbiotic, the seasons in which they occur, etc., then identifying different varieties becomes as clear as identifying a baseball vs. a tennis ball.

dmitrybrant··on A rash of nearly lethal mushroom poisonings in Ohio
To be honest I don't recall the last time I've ever accidentally picked up a poisonous specimen along with the good ones I was intending to pick. At this point it's such second-nature that telling apart an edible vs. poisonous mushroom is like telling a bottle of milk from a bottle of Drano. And yet I still examine each one at home before putting it in the pot.

The other thing is that the truly deadly varieties, such as the subject of this article - Amanita phalloides, are really not that hard to avoid. When you're a novice forager, there are plenty of varieties that don't look remotely like Amanita, and are much easier to differentiate.

There are some hardcore foragers who even consume certain varieties of Amanita (some of which are edible!), but to me this would be too much of a hassle, since it would involve spore prints and maybe even microscopy of the spores to be absolutely sure.

dmitrybrant··on A rash of nearly lethal mushroom poisonings in Ohio
I've been foraging mushrooms for 30+ years, and I triple-check every single specimen before cooking it. The idea of a novice forager using an app to identify mushrooms is... unconscionable! Like... breathtakingly stupid.

I've commented on this before, but it continues to baffle me how poorly-educated our public is about wild plants, berries, and mushrooms. And stories like this just perpetuate the fear (and stigma?) around foraging, when in fact there's a whole universe of flavors and textures to be had from wild mushrooms that are simply better, and more fun, than the grocery store.

dmitrybrant··on The origin of the strong form of superconductivity
I assume this is already being done, but I've had the following idea kicking around for a while:

Create a simulation, down to the quantum states, of a lattice of molecules at a certain simulated temperature (say, room temperature), and induce a simulated current through the lattice, and see if it superconducts. Proceed by iterating through billions of permutations of compounds in the simulated lattice, until the simulation finds a room-temperature superconductor.

Assuming this is feasible, does anyone know of organizations that are doing this?

dmitrybrant··on Ask HN: What's happening with Gmail spam filtering?
I have similar issue, but with a different flavor:

About 10 times per day I receive a blank email from an obviously throwaway spam account (e.g. vishal382190130 at gmail dot com)

For the life of me I cannot understand the purpose or goal of these emails, from the spammers' point of view. I've heard the theory that spammers will send "test" emails to check if a destination account is active... But every day? All the time? Is it possible somehow to assure the spammers that my account is active, and to start sending me actual spam, instead of empty messages?

dmitrybrant··on Dick the Birthday Boy: The Legacy Continues [video]
This is possible only in very specific and controlled cases. We would need the original uncompressed footage, before Mike encoded it and published it as compressed video. It would also need to have been 16 bits per sample or greater, to provide enough precision for a good deconvolution. And we would need to know the blur radius that was used.

If we don't have all those things, it would be like asking: If the average of two numbers is 10, what were the original numbers?

dmitrybrant··on Leak ruins NASA moon rocket launch bid; next try weeks away
I'm afraid this might actually keep fueling moon-landing denial conspiracy theories: "Look how hard it is to get to the moon in 2022! How can we have possibly done it in 1969?"
dmitrybrant··on Build Android apps without an Android SDK using PicoLisp
> So just a Lisp interpreter for Android?

A Lisp interpreter for a single specific ABI of Android, with which you communicate through a local web server. That's... one way to build an app!

dmitrybrant··on 640by480: Instagram Clone for Vintage Digital Cameras
Needs to be 16-colors though, with that distinctive dithering effect.
dmitrybrant··on CudaText: Open-source, cross-platform text editor, written in Lazarus
It's from the Serbian word "čuda", which is pronounced "chuda". It means "miracles", and also occurs in many other Slavic languages (Russian "чуда", etc)
dmitrybrant··on What happens when society collapses (2021)
I would never say that it's "impossible" for the U.S. to end up like Bosnia, but is rather unlikely, and I don't see many indicators for such a scenario within our lifetime.

Knowing a bit about human nature, however, I'm aware that we all have a perverse hidden desire to see the world end, which is why doomsday predictions occur so often in religious myths, why doomsday movies are so profitable, and why some people wish to convince you that it'll happen tomorrow, and even try to hurry it along.

And while I agree that basic "survival" skills are valuable, and that you should keep some supplies in case of an emergency, the majority of our energy should be spent working better as a group, towards a more effective society that is itself more resilient against disasters, natural or artificial.

dmitrybrant··on What happens when society collapses (2021)
The author's experience during the Bosnian conflict was no doubt horrific, but translating it directly into an American context doesn't quite have the same effect. In the US, a lot of very different things would have to go wrong simultaneously for the same kind of collapse to occur.

These kinds of articles border on fetishizing the doomsaying, and end up promoting the worst kind of fear-driven consumerism, including consumerism of guns and ammunition. The ads sprinkled between every paragraph are a nice touch, too.

dmitrybrant··on Ask HN: What makes you optimistic about the future?
I'm not denying climate change, but that's... a bit hyperbolic, with a bunch of silly absolutes. Mass death everywhere? Wildlife is thriving in the Chernobyl exclusion zone.[1] The world has been getting greener with more plant life because of the increased CO2 in the atmosphere.[2]

Total ecosystem collapse? Which ecosystem? Why? Again, I'm not denying any of the human impact to our climate, and I agree that many ecosystems will change, and it will be our fault, but I don't think it's productive or healthy to think of it with such bleakness.

[1] https://www.nationalgeographic.com/animals/article/060418-ch... [2] https://phys.org/news/2020-01-planet-greener-global.html

dmitrybrant··on Ask HN: What makes you optimistic about the future?
I have a mostly Pinkerian view of the modern world, which is to say that by nearly all metrics, the world is better today than it has ever been, and is continuing to improve.

Will we go through local minima while on the path towards absolute upward progress? Of course we will. Right now we might be in a local minimum. Maybe we haven't reached the bottom of the current local minimum yet. Maybe we won't reach it during this generation. But we will get through it.

The other thing is that we simply can't predict societal progress simply by pointing to current trends and extrapolating to the next 5, 10, etc years. Think about the following:

70 years ago, there wasn't a single artificial satellite in the sky. 50 years ago, there wasn't a single personal computer in anyone's home. And 20 years ago, there wasn't a single smartphone in anyone's pocket. All of the above happened within a single human lifetime. I'm saying that it's taking shorter and shorter intervals of time for society to completely transform itself, and we simply can't know what the next transformation will be. For me, that's a prospect worthy of excitement instead of dread.

dmitrybrant··on Deepest infrared image of universe
Yes, that's generally true. Galaxies that are redshifted are moving very fast relative to us. But the only reason for them to be moving so fast is due to the expansion of the universe, and these galaxies being sufficiently far away.

The large white elliptical galaxies in the center of the image are in the "foreground", while the orange-ish galaxies are much farther away in the background. This is why the light from the more distant galaxies is curved and distorted by the foreground objects, creating the lensing effect that we see.

dmitrybrant··on Dropbox Backup
I stopped using Dropbox when it started asking if I want to back up every USB drive that I plug into my PC, and started to pollute my removable drives with a configuration file. (Because for some reason that's the only way it can know that I don't want my removable drives backed up.)

All I've ever wanted is a folder that syncs automatically. Nothing more. And for a while Dropbox was the best at fulfilling that role and getting out of the way, but it seems feature-creep has taken over.

dmitrybrant··on What is triald and why is it taking so much disk space?
One of my first tasks after a clean install of Windows is to disable any unnecessary services, including the Search Indexer. Not only do I disable the service itself, but I also explicitly remove all folders from the "indexed locations" control panel, and explicitly disable the "Allow files to be indexed" bit on the disk itself.

I've literally never needed to search my disk for a file (using the Windows search interface), and if I ever do, I'd rather wait a few more seconds that one time for my search to complete, rather than have the indexer consume my CPU at all times.

dmitrybrant··on So you want to study mathematics
The author doesn't seem to take her own brilliance into account when composing these self-study guides.

For the other 99.99% of us, it would take many lifetimes worth of free time to make a substantial dent in these materials. To me, guides like these are too intimidating to even begin. Maybe what's needed is a meta-guide on structuring one's time and developing the necessary focus to be able to do this within one human lifetime.

dmitrybrant··on Ask HN: Why isn't computer programming a major part of the arts?
I definitely agree that computer programming is an art (as does Knuth and many others), and I believe that the emotions we feel when producing particularly clever bits of code are comparable to the emotions that a poet feels when writing particularly meaningful verses.

However, in order for programming to have the same footing as a "fine art" (on par with poetry or visual arts), it needs to have the same _relatability_ in non-programmers as it does with programmers. That is, it would need to evoke the same visceral emotion in a nontechnical observer, which is kind of a stretch at this moment. Nevertheless, I'm fine with programming remaining a true art only within a self-selected inner circle. Many other things are the same way.

dmitrybrant··on LTO Tape data storage for Linux nerds
Correct, all modern storage media perform plenty of internal ECC. That's basically what "bad sectors" means: the drive wasn't able to correct the data on that sector using ECC. The drive will never return the actual "raw" data -- it's either valid data or a bad sector. This means that if you want to add your own application-level ECC, it would need to be enough to correct an entire sector's worth of missing data. For most applications this would be a prohibitive amount of extra overhead.
dmitrybrant··on LTO Tape data storage for Linux nerds
If I'm not mistaken, the tape drive automatically adds ECC to each written block, and then uses it to verify the block next time you read it. So if there's bit rot on the tape (i.e. too much for ECC to fix), it will just be reported as a bad block with no data, and there wouldn't be any point of adding "second-order" ECC from the user end.
dmitrybrant··on LTO Tape data storage for Linux nerds
Funny, I just recently did a similar thing: found an LTO-4 tape drive on eBay for $40, and a few used cartridges (2TB each) for $20.

But before writing my backup to the cartridges, I tried reading their contents, and found that they actually came from a major film studio, with backups of raw animated film content on them!

dmitrybrant··on On Covid
New variants of viruses can arise at any point in the future, regardless of what we do. Any flu season in any previous year in history could have produced a deadly variant, and yet we went on with our lives.

I think this is simply about reassessing our risk calculus with the fact that the current Covid variant is mild enough that it can be gradually folded into the background noise of seasonal viruses that we deal with every year.

dmitrybrant··on StackOverflow: Sunsetting Jobs and Developer Story by April 2022
Aw, sad. I found my current job (in which I couldn't be happier) on SO, and have also posted listings on SO for another employer before that. I haven't used it to search for jobs in a while, but I recall it being a super simple, no-nonsense experience that was generally higher signal-to-noise than most other jobs sites. I wonder what site today matches the simplicity and quality of SO Jobs?
← PreviousPage 2 of 5Next →