HNHacker News
TopNewBestAskShowJobs

martincmartin

7,330 karma · joined May 12, 2008

Enjoying life.
submissionscomments
martincmartin··on My Fediverse use – I'm hosting everything myself – PeerTube, Mastodon and Lemmy
Couldn't someone make a Docker instance that, inside it, contains the 2-3 other docker instances? I hear it's docker all the way down.
martincmartin··on IKEA sensors for doors and windows, motion, water leaks
What's the best Zigbee repeater, to get signal to a different part of the house? I used to use a smart bulb, but people kept turning it off at the switch or moving it.
martincmartin··on Marc Thorpe, Robot Wars founder, has died
Your Adam Savage Tested link is wrong, it's the same as the Belndo (1995) link.
martincmartin··on I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
2022
martincmartin··on Albert Einstein in 1939 composed a message for the people of AD 6939
Keep in mind that Einstein was a German Jew, and 1939 was after Hitler had come to power, passed all sorts of extreme anti-Jewish laws, and then started World War II. So it's a fair bet this is really about "how could so many people vote for and support Nazis?"
martincmartin··on Hard-to-swallow truths they won't tell you about software engineer job
When you estimate small tasks, most of the estimates will be accurate, but once in a while, you'll overlook something and a small task turns into a big task, e.g. you need to switch APIs or the customer wanted something that sounded similar but turns out to be much more complicated under the hood. So it's not a Gaussian distribution, it's that once in a while a task blows up.
martincmartin··on The Escapist staff resign following termination of editor-in-chief Nick Calandra
Edit: I misread, sorry.
martincmartin··on MetaCLIP – Meta AI Research
So this can tell you what food is in an image? Like Shazam for food?

https://play.google.com/store/apps/details?id=com.codylab.se...

martincmartin··on E-Paper Weather Display for Invisible Computers
OP here, thanks for your kind words! Yes, the display is intended to look at when you're about to go outside and deciding what to wear. It's not intended to replace a weather app. Also, when my kids were younger, we had a LaCrosse display that had a guy dressed icon, and the kids really embraced the idea of using it to guide their choice of what to wear.

But to each their own. At some point I realized that cooking for myself didn't really save money, but it did allow me to tailer whatever I ate to be just what I wanted. Same here, this display fills a particular need for me. If you want more details, and to not have the guy dressed icon acting as a summary, then more power to you.

martincmartin··on BB(3, 3) is Hard
It's easy to generate all proofs in any system, just pick any axiom, then apply any inference rule, and repeat. So if you ever generate both P and not P, then you've proven its inconsistent.

So if it's inconsistent, it's straight forward to prove. It's only if it's consistent that we can't prove it in any finite time.

martincmartin··on Hey, computer, make me a font
Douglas Hofstader, the author of Godel Escher Bach, thought the task of creating fonts could only be solved with general AI.

https://www.m-u-l-t-i-p-l-i-c-i-t-y.org/media/pdf/Metafont-M...

The Letter Spirit project aims to model artistic creativity by designing stylistically uniform "gridfonts" (typefaces limited to a grid).

martincmartin··on The Tao of Programming (1987)
true.
martincmartin··on Yet another E-Ink weather display – but with Rust
Also, how does weather.gov compare to OpenWeatherMap.com?

I'm starting one of these "weather on an e-ink display" projects, and wondering which API to use.

martincmartin··on Yet another E-Ink weather display – but with Rust
How accurate is the weather.gov forecast? Compared to other regular consumer apps like weather.com or wunderground.com.
martincmartin··on FAA authorizes Zipline to deliver commercial packages using drones
The FAA release is very short, only 3 short paragraphs. The third sentence is:

Zipline is an FAA-certificated Part 135 operator and will use its Sparrow drone to release the payload via parachute.

martincmartin··on FAA closes SpaceX Starship mishap investigation
"When preparing a defense, the good Samurai doesn't leave any weakness. The great Samurai leaves one weakness, so he knows from which direction the enemy will attack."

I was given that advice when preparing for my Ph.D. defense. :)

martincmartin··on John McCarthy’s collection of numerical facts for use in elisp programs
John McCarthy was Moravec's PhD advisor.
martincmartin··on CLI text processing with GNU awk
For me, the big problem is libraries. Even a personal file of common functions doesn't seem that well supported, and there just doesn't seem to be a way to get third party libraries.

When I start needing helper functions and splitting it into multiple lines is usually when I reach for Python instead. And then sigh, because my program will be 2 to 3 times bigger. Ruby is a great awk replacement, but unless other people at your job know it, you can't expect others to maintain it.

martincmartin··on When did Postgres become cool?
But MongoDB is webscale.

https://www.youtube.com/watch?v=b2F-DItXtZs

Edit: what happened to highscalability.com?

martincmartin··on Huazhong University demonstrates LK-99 diamagnetism
Is the diamagnetism itself useful? In other words, even if it's not superconducting, does this have industrial applications?
martincmartin··on “BASIC Computer Games” code in modern languages
I learned a lot about programming by taking this book and, since I didn't own a computer, figuring out how the code could produce the example listing. That's where I learned things like, to swap the values of two variables, you copy one to a third variable temporarily. I learned a ton of patterns like that.

Eventually I got my VIC-20, then an Apple ][, then an Amiga.

martincmartin··on “BASIC Computer Games” code in modern languages
"It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration." -- Edsger W. Dijkstra

As someone who got their start with BASIC -- mainly from "BASIC Computer Games" no less -- I was always kind of offended at that quote.

martincmartin··on BHP says battery electric cheaper than hydrogen as it dumps diesel
Couldn't cargo ships use wind? A wind turbine on the ship? A kind of modern re-imaging of how sailing ships of old were powered.

Is the problem that wind isn't reliable and you might go days without it? Or you wouldn't fit in ports or other areas with a big turbine sticking out? Or is there some other practical problem.

martincmartin··on In the LLM space, "open source" is being used to mean "downloadable weights"
pseudo/true random number generator and initialization

It's not just the generator and initialization. If you do anything multithreaded, like a producer/consumer queue, then you need to know which pieces of work went to which thread in which order.

It's a lot like reproducing subtle and rare race conditions.

martincmartin··on GPT-Prompt-Engineer
correlation ... strongly positive.

A positive correlation just means better than chance. "Strongly" is vague, and might not be much better than chance.

martincmartin··on Twitter Is DDOSing Itself
The people at Twitter who understood the system and could predict the side effects were all fired or left. My guess is Elon said "the site's too slow!" Engineers noticed that the home feed request was slow. They didn't understand how it worked, had no tools to profile it, and were given an unrealistic deadline to fix it. So about the only thing they could do was issue multiple, parallel requests and hope that at least one of them was fast.

I worked in the games industry for a while, and came to understand how they could spend so much money and so much time, and yet release a game where even basic functionality was broken. It's exactly this sort of extreme schedule pressure that, ironically, makes a huge morass where changing one thing breaks 10 other things, so progress grinds to a halt.

martincmartin··on Feynman Lectures on Physics (1964)
The quantum mechanics stuff misses EPR & Bell's theorem, which roughly says that the probabilities in quantum mechanics are essential. Experimental confirmation of this won the Noble Prize last year. Feynman famously counseled one of the winners not to work on it, as Feynman thought it wasn't interesting.

It also misses quantum seeing in the dark and the Elitzur–Vaidman bomb tester. In the two slit experiment, if you detect a particle where there's supposed to be a node, this means one of the slits is blocked. So, you can detect that one of the slits is blocked from a particle that went through the other slit.

A good modern textbook is Mastering Quantum Mechanics by Barton Zwiebach of MIT. His courses on MITx and open courseware are really great.

Edit: Also, all of computational physics.

martincmartin··on Nuances of overloading and overriding in Java
Many of these things are at the core of the book Java Puzzlers.

http://www.javapuzzlers.com/

martincmartin··on Many public Salesforce sites are leaking private data
I'm calling out lazy security that cuts corners because doing it well takes time and effort.

Time and effort cost money. It's possible that the value gained is less than the cost, and so therefore isn't worth it. Of course, it's also possible they don't understand the value gained until there's a scandal.

martincmartin··on Beautiful branchless binary search
Yes, these are the same issues faced by databases on spinning rust disks. The solution was to figure out how many keys fit in a disk block / cache line, let's call it k, then have a k-ary tree instead of a binary tree. This is called a B-tree.

https://en.wikipedia.org/wiki/B-tree

With caching on modern CPUs, as opposed to databases on disks, there are multiple levels of caching and you may not know the size of the caches. And the caches can be shared with other work you're doing, or other processes are doing, so the effective size can be smaller. So there's some benefit to algorithms that are independent of cache size.

← PreviousPage 2 of 23Next →