HNHacker News
TopNewBestAskShowJobs

nappy-doo

1,736 karma · joined December 14, 2012

thenappydoo@gmail.com
submissionscomments
nappy-doo··on The Gargantuan Lie That Is Collapsing the Climate
https://www.mediamatters.org/broadcast-networks/abc-cbs-and-...
nappy-doo··on Creating a bespoke data diode for air‑gapped networks
I don't see how this is airgapped. You literally connect a full Pi to the RXing computer. What audit has RX Pi device gone through?
nappy-doo··on Anti-aging injection regrows knee cartilage and prevents arthritis
As I've gotten older, my knees have been the main signal letting me know. I tore my meniscus years ago. This is exciting news for people like me.
nappy-doo··on Samsung makes ads on smart fridges official with upcoming software update
I can't recall, but I think it was about 7 years. Some will say that's an acceptable lifetime, but I think I did the math once, and estimated it was only a little less than laundromat pricing (less opportunity cost).
nappy-doo··on Samsung makes ads on smart fridges official with upcoming software update
I beg to differ that Samsung makes good stuff. We had a Samsung front-loading washer. The drum and the crank that holds the drum were made of two different materials, and in the presence of the water and detergent, a galvanic reaction occurred, dissolving the drum arm. Replacing the arm was $400 in parts and over 8 hours in repair time. (There's lots of YT videos of this exact repair.)

What kind of monkey designs something like that. It's obsolescence by design.

I will never buy another Samsung product.

nappy-doo··on Greg Newby, CEO of Project Gutenberg Literary Archive Foundation, has died
It's one of these Long Now things. The goal is to get people to think in long term time frames.
nappy-doo··on I'm starting a social club to solve the male loneliness epidemic
Masons and the Scottish Rite (and even the Boy Scouts and DeMolay to some extent) have religious components that exclude people like me.
nappy-doo··on I salvaged $6k of luxury items discarded by Duke students
I went to the local state school, and had an apartment off campus. At the end of the school year, we'd go dumpster diving, and get all the stuff thrown out. We would take orders from people before going – generally things like TVs, VCRs, tapes, books for classes, etc.

In the first dumpster, you should get a couple of backpacks, rucksacks, and a broom handle (to aid in digging). We'd find all kinds of things. Books we'd resell, lots of porn, lots of perfectly good clothing. It was great.

The best thing we ever found was a giant projection TV (it was the 90s) outside a frat. We took it home, and it turned out the TV had been rained on, and a few discrete components needed to be fixed in the low-voltage section. A couple trips to Radio Shack, and we had a massive frat TV (it was a pain to move it). We went back to the frat a couple of days after we had fixed it, and asked them for the remote. They chased us off.

Dumpster diving in college towns is definitely something the townies do.

nappy-doo··on Waltz's team set up at least 20 Signal group chats for crises across the world
Does this administration need to make sense?
nappy-doo··on Waltz's team set up at least 20 Signal group chats for crises across the world
Well, it's clear this was leaked so they can throw Waltz to the wolves. "He was a rogue employee, and he is the only one who did this."

I am not conspiratorially minded, but I bet this was because Waltz had Jeffrey Goldberg's number. I bet Waltz leaked things to Goldberg in the past, and this is the Trump administration cutting ties with him in the most "sleep with the fishes" way possible.

nappy-doo··on Don't make fun of renowned author Dan Brown (2013)
A good friend of mine was friends with Dan Brown when they were both kids. Dan broke his back (or something else just as serious), and was in a cast for a year+. My friend used to say that he was normal when he got hurt, but turned into a real menace after the accident.

My friend passed away a couple of years ago, or I'd have him fill in the details.

nappy-doo··on String of recent killings linked to Bay Area 'Zizians'
Is it the same for judging all MAGA as Nazis?

I ask that in all earnestness. I am not a MAGA or a MAGA apologist.

nappy-doo··on String of recent killings linked to Bay Area 'Zizians'
I am not defending any of this fuckwits, but I don't know that it's much different than any organized religion. All of them are stories that get retold over and over until people accept them on faith. I can envision a world where our stories (movies, books) where history is lost of their creation, become facts. "Of course there was Jedi, we've just forgotten…"

Now, they're all fuckwits, but it's not outside the realm of thought.

(BRB, gonna go start a sci-fi story.)

nappy-doo··on US pauses all Federal aid and grants
https://www.youtube.com/watch?v=0YFdwfNh5vs
nappy-doo··on US pauses all federal aid and grants
Have you met the current congress? They have to care first.
nappy-doo··on Wild – A fast linker for Linux
I'll ELI5:

Compilers take the code the programmer writes, and turns it into things called object files. Object files are close to executable by the target processor, but not completely. There are little places where the code needs to be rewritten to handle access to subroutines, access operating system functionality, and other things.

A linker combines all these object files, does the necessary rewriting, and generates something that the operating system can use.

It's the final step in building an executable.

--

More complicatedly: a linker is a little Turing machine that runs over the object files. Some can do complicated things like rewriting code, or optimizing across function calls. But, fundamentally, they plop all the object files together and follow little scripts (or rewrites) that clean up the places the compiler couldn't properly insert instructions because the compiler doesn't know the final layout of the program.

nappy-doo··on More than 140 Kenya Facebook moderators sue after diagnoses of PTSD
I worked at FB for almost 2 years. (I left as soon as I could, I knew it wasn't a good fit for me.)

I had an Uber from the campus one day, and my driver, a twenty-something girl, was asking how to become a moderator. I told her, "no amount of money would be enough for me to do that job. Don't do it."

I don't know if she eventually got the job, but I hope she didn't.

nappy-doo··on Alphabet ($GOOG) 2024 Q3 earnings release [pdf]
* Google is making almost 1B/day in revenue, or almost $5,500/employee/day.

* CapEx is up over 60% YoY – they're spending a lot of money on GPU/TPUs.

nappy-doo··on Switching to 5Ghz WiFi made the Raspberry Pi fly again
Cross compiling is really defined as different platforms, not limiting it to instruction sets. Also, the M1 is an ARM, but the instruction sets aren't exactly the same.
nappy-doo··on Surprising supernova scars cover the Earth
Not all of those explode eventually, rather it's a small amount. Only the most massive stars explode into a supernova. The majority of stars are smaller, and will have different lifetimes. For example, the sun, an unusually bright star (brighter than about 95% of stars) will eventually turn into a red giant, slough off material then collapse to a white dwarf. It's estimated that the majority of stars are brown dwarf (very small, some not too-too much larger than Jupiter), and less than 1% of stars are massive enough to go supernova. The problem is that only the big stars go super nova, and the big stars also have the short lifetimes because they're burning fuel so quickly.
nappy-doo··on Did we lose our way in making efficient software?
I recreated that in grad school, also using QNX. We set it up to run a paging (POCSAG) system that you could put the floppy into any computer, hook up a DSP board and modulator, reboot the machine and you'd have a paging system. My advisor showed it to Andrew Viterbi, and got us grant.

When I went to recreate it, I contacted QNX and asked if I could speak to the guy who did the work, and he had died the year before. So, I just took apart his floppy, and figured out how he did it.

The things you can do when you invest your time 100% in something.

nappy-doo··on PID Without a PhD (2016) [pdf]
Most recently, as a manager, I had someone on my team use it to control our memory usage in a garbage collector. I've used it to control temperatures in multiple pieces of high-end scientific equipment. I've used it consulting. It's not a stretch to say I have been a hero multiple times.

CS majors (I was EE) aren't generally taught PID, and I have milked my arcane knowledge. It's very profitable to type in the control loop, do some Ziegler-Nichols, and go home early.

EDIT Oh, I forgot the most recent time I've used PID was with the high-school robotics team I coach. We used PID for part of our robot. I didn't go too deep with the students, it's really just a P controller, but it solved the problem, and dramatically simplified the code.

nappy-doo··on PID Without a PhD (2016) [pdf]
PID has been a super power in my career. I've used it to solve problems others couldn't even approach (it helps being the only EE in rooms full of CS people). I can claim to have made hundreds of thousands of dollars by just typing in the control loop from my undergraduate textbooks.
nappy-doo··on McDonald's pushed customers to the brink on price. They're starting to push back
I used to go to McD about once a month or so – maybe for lunch, or take the kids on a busy weekend – but, not anymore. I'm not saying anything that people don't know, but it's like $10pp in my area. Fries are almost $5. I can easily afford it, but on principle, I won't.

I've done the same thing with potato chips. Lay's are $5-6 a bag here, and the store brand are actually relabeled Herr's (and $2.50). The price increases on junk food have rendered it not-worth-it from a health perspective, and a wallet perspective.

All in all, I'm probably better for it. I say, keep raising prices.

nappy-doo··on The Art of Electronics (2015)
This book was pivotal for me.

In grad school, my advisor recommended this book, saying, "it will be right up your alley." I bought the second edition, and it was. It is truly a graduate level course in circuit design. I started reading this book (2nd edition) front-to-back, and when I finished it, I started again. It helped me innumerable times when I quit grad school and entered industry.

When the third edition came out, I was at Google in Cambridge, and Horowitz came to talk. I had bought a counterfeit copy from Amazon (by accident), and while he didn't sign it then, he did sign it later (when I got a real copy).

Personally, I think it's worth owning both the second and third editions of this book. It is truly one of the best books about electrical engineering out there.

nappy-doo··on A study of Google's code review tooling (Critique)
Gerrit is pretty crap compared to critique. It has a workflow that works for Android, but critique is really much better.
nappy-doo··on Making games in Go for absolute beginners
Side note: Go's GC will still run without allocations, typically every 10 minutes. But, in your case, it might never find memory to collect. If you truly want to disable the GC, use SetGCPercent or GOGC.
nappy-doo··on Reality has a surprising amount of detail (2017)
A sister comment to mine gives you one strategy, but you can also use the first stringer as a template to the rest.
nappy-doo··on Reality has a surprising amount of detail (2017)
Aside: Building stairs that way is a really bad idea. Don't use angle brackets – you cut stringers. And besides the first and last step, stringers are pretty straightforward to layout with a carpenter's square with some stair guides (two little posts that screw to the square). And, generally you just layout 8" rise, 12" deep stairs, so you really don't lay out anything at all.

But, really, don't build stairs like OP suggested.

nappy-doo··on Why people in Google hate Go?
I worked on Go at Google for a couple of years.

First of all, I can't really parse your question, but I'll try to answer what I think you're asking.

Go isn't hated at Google – there's just a lot of other code in other languages. C++ and Java are the two most popular, with Python probably rounding out the top three. Go would probably be number 4 (discounting Javascript, because I'm really focused on backend or infra tech).

Go's performance is not as good as LLVM derivatives, but that's not what it tries to be. It's a simple language, that tries to be as helpful as possible to the programmer. I describe it as a big-boy python, but think of it as "the C I always wanted."

Generally, I don't need the performance of C++. I think lots of people that think they do are probably wrong, but I try to not argue on the internet. If I need to get something done, and get on to the next thing, I use Go. Do I leave cycles on the floor and have (very small) GC pauses – yes, but I get my stuff done, and IMO it's a small price to pay.

Use whatever language helps you get your stuff done. Stop arguing over languages.

--

Having said that, if the question is, "why aren't the WebAssembly people mentioning Go?" I don't know. Go's supported WASM for a long-time, and the people inside Google who care about WASM care about Go. There is new stuff in WASM not really taken advantage of in Go, but Go is also a strange animal with a strange stack model, and it takes time. I would think, as with all things Go, it'll be there, but it will take a little time, be thorough, complete, well thought out, and maintained roughly forever.

Page 1 of 10Next →