HNHacker News
TopNewBestAskShowJobs

codemac

4,446 karma · joined December 3, 2008

http://codemac.net -- rarely updated

I am bad at collecting karma. I'm currently working on Human Data/Alignment Research @ OpenAI.

Previously Storage @ Facebook, Google, Pure Storage, Igneous Systems, IronPort, and NetApp.

What is the most important problem in your field, and why aren't you working on it?

email: j@codemac.net

[ my public key: https://keybase.io/codemac; my proof: https://keybase.io/codemac/sigs/4zxtt61QOyT7_BA8DDCHlGlNCkE2rw-VsKZclDl1U20 ]

submissionscomments
codemac··on Don't force your kids to do math
It's not about forcing your kids to "do math", but to excel at important skills far before the benefits of being good at that skill matter.

The amount of homework/study per day that maximizes math scores on tests is significant, 1+ hours/school day by the time they're in middle school, with it helping even more for those who are starting out poor at math[0]. You'll note the referenced study doesn't even max out progress for any group - meaning most could have studied more and improved more.

I don't know any kids that voluntarily did an hour or more of solely math study per day. I know plenty that were forced, and ended up loving math or other technical fields as adults.

As a parent of young kids, obviously I haven't gone through high school yet - but I don't think many children who reach their potential in math, english, music etc will have no pressure from their parents.

[0]: https://pmc.ncbi.nlm.nih.gov/articles/PMC8025066/

codemac··on Career Development: What It Means to Be a Manager, Director, or VP (2015)
In my opinion, yes, it's a short book. A lot about how to actually change culture and habits of a team.
codemac··on Career Development: What It Means to Be a Manager, Director, or VP (2015)
A great book is "Strategy and the Fat Smoker". It's written by a consultant but points out an obvious point: the quality of the strategy itself is not nearly as impactful as the ability to execute. The author compares this to being a fat smoker who won't change their habits - knowing the right strategy is insufficient.
codemac··on Archival Storage
Good thinking - there are many projects around this. Ceramic, DNA, 3d glass, etc. They all run into the same IO problems tape has though.
codemac··on Archival Storage
Yes, they all pay royalties, and all the drives pay licensing for read heads.
codemac··on Archival Storage
The read failures are also attributed to other parts of the system, which for the end user still end up in failed reads. The author links to a sales PDF from Quantum.

e.g. the robot dies, the drive dies, the cartridge dies, the library bends, the humidity was too much.. multiplied by each library, robot, drive and cartridge your data is spread across.

codemac··on Archival Storage
Another example is the cost of IO when your backups are not perfectly coalesced. If you're striping writes across datacenters, into objects which are sharded across clusters that encode across many drives - your backups get extremely fragmented.

The IO for your backup suddenly becomes HUGE when compared to the size of the end object you wish to read. This makes things like tape nasty - sure you can read at incredible linear speeds.. but that's only worth it if you actually wanted to restore the exact TBs that are on the exact cartridge your drive & robot picked up.

codemac··on Archival Storage
No, it's because of IBM's monopoly. It has little to do with it being enterprise.
codemac··on Archival Storage
A lot of things are stated as conclusions in this article, where SOTA has reversed or in some cases invalidated the conclusions. Unfortunately they are not published, and will probably remain trade secrets for another decade.

The biggest conclusion that is invalidated is that your archival workload cannot be bin packed with your hot workloads. With the ever reducing IO/byte of HDD, this has radically changed where the bytes go.

codemac··on Slack Is Down
You can tell Teams, gchat, discord, and other have taken away from Slack's dominance. This isn't even frontpage.
codemac··on Show HN: Infinite horizontal arrays of text editors
The most offensive part of Tabs to me:

> If you download or print from Google Docs, you'll only download or print the active tab. If you want to download or print all tabs at once, you can do it from Google Drive

This is multiple documents, barely/mildly organized. I have yet to see someone use these tabs at work though, so maybe everyone is rejecting them as poorly implemented organization. What am I missing about Tabs?

"document-based workflows" are a good idea[0] but I think this is a terrible execution of it.

[0]: https://web.archive.org/web/20040625150625/https://www.edwar....

codemac··on Are LLMs able to notice the “gorilla in the data”?
o1 said: It appears the points have been deliberately arranged to form a stylized figure rather than showing a conventional trend. In other words, there is no obvious linear or monotonic relationship between steps and BMI, and the red‐blue (female–male) split is intermixed throughout the shape. From this visualization alone, one cannot meaningfully conclude a correlation or difference in BMI by gender or by step count. Instead, the data are displayed in a pattern that resembles a cartoon character, suggesting the layout is artistic or contrived rather than reflecting a standard distribution.

o1 pro: It appears the data have been deliberately arranged to form a stylized humanoid figure. In terms of actual trends, there is no obvious linear or nonlinear correlation between steps and BMI, and the female–male color split seems fairly uniform across the shape. Visually, BMI spans roughly 15–30, while steps extend up to about 15,000, with no clear clustering or separation by gender. Within reasonable confidence (e.g., an estimated R² near zero if one were to attempt a linear fit), there is no discernible predictive relationship between steps and BMI in this plot.

codemac··on Eggs US – Price – Chart
In many cases maximizing profits increases supply through efficiency, especially in the case of things like food. Increased supply is usually considered a safer place than a lower supply if it's vital.

Every step you take that makes food more expensive, some use cases of food are no longer possible (say, free eggs in all elementary schools or something).

How many of these uses are we ok eliminating so the wealthier population has a more consistent/resilient supply?

codemac··on Meta in talks to reincorporate in Texas or another state, WSJ reports
$META is hitting 700, and RSU refresher price for 2022 performance was ~110.

My bet, is Yann got a huge set of packages with the AI talent race, and what may have been a $10M/4yr package may now suddenly be 70M+.

Unlikely any other AI lab would be liquid like that.

codemac··on An update on Dart macros and data serialization
ah you misunderstand me.

I don't mean "do dumb stuff", I mean I've literally never seen anyone redefine the `define` keyword in any code.

With javascript, I do see people use `===` frequently. It's a wart of the language that the operator even exist. It's not "dumb" to use it - it's how frequently are you assaulted with the bugs of the language (not bugs in your code).

codemac··on An update on Dart macros and data serialization
> in Scheme you can redefine `define` to be number 5.

This is like asking "what if your coworker named all errs as `ok`" so everything was `if ok { return errors.New("Not ok!!"); }`. It's possible but no one does it.

This is why `defmacro` and `gensym` in common lisp are awesome, and similarly why Go's warts don't matter. Much of programming language ugliness is an "impact x frequency" calculation, rather than one or the other.

It's also why javascript is so terrible, you run into it's warts constantly all day long.

codemac··on Bitwarden is turning 2FA on by default for new devices
instructions on how? I need to walk through family members to do this.
codemac··on Bitwarden is turning 2FA on by default for new devices
I'm very frustrated about this because for a lot of my family members, their phone is the only computing device they have.

When they lose it, they lose access to email, and there is no backup plan here. Using bitwarden is far far superior to them using the same password everywhere, but this will drive them back to the same behavior.

codemac··on A feature-rich Hacker News client
I'd love actually an "app" that was just the bookmark manager for launching the browser.

Chrome, firefox, etc on android all either push me to use piles of shortcut icons w/folders (cluttered and exhausting to manage), or click through a hierarchical menu thats 20 clicks away.

codemac··on Elon Musk wanted an OpenAI for-profit
i've physically visited a larger one, it is not even a well kept secret. we all see each other at the same airports and hotels.
codemac··on Elon Musk wanted an OpenAI for-profit
> biggest GPU compute cluster in the world right now

This is wildly untrue, and most in industry know that. Unfortunately you won't have a source just like I won't, but just wanted to voice that you're way off here.

codemac··on AI slop is already invading Oregon's local journalism
Demand disappeared for good local reporting, long before any LLM. Even NYT & WSJ struggle with their subscriptions, and they have a huge addressable market.

The "slop" is just a reflection of this bottom feeding attempt to get some tiny bit of ad revenue. Using an LLM or a "pay per article" contracting fleet looks very similar.

Most local publications don't pay many if any full time journalists either way. I struggle to find great journalism on any local level around me - and discovery is difficult when anything reasonably good is usually a substack behind a paywall. But even then, they aren't pushing on local issues in person. None are going to the Mayor's press conference and directly asking them questions.

codemac··on I Use AI 100 Times per Hour
Learning to leverage AI as it exists today takes effort, but is usually worth it.

However, ignoring the effort undercuts the distance these products have to go. Speech is great because there is just a single interface to integrate with. Obviously I'm biased to my employer's speech product, but I'm sure there are many.

Biggest thing for me was when I saw that the lem editor[0] posted on hacker news[1] was a small editor, which has 3 top level features: common lisp API, LSP support, and copilot support.

I've installed gptel[2] in emacs, and hacking up a few tools that really make it shine. Up next is figuring out voice + AI + emacs :)

[0]: https://lem-project.github.io/

[1]: https://news.ycombinator.com/item?id=41357409

[2]: https://github.com/karthink/gptel

codemac··on Using Two ReMarkables
You should check out Supernote. While still a bit closed, it's interop is far superior to Remarkable.
codemac··on Excerpts from John Wiegley and Adam Porter about personal information management
org-review is interesting, but I just added another TODO state: DEFER

Then projects, todos, agenda items etc can go from TODO -> DEFER and I know that they're "not now" items. That has seemed sufficient for me. Tracking exactly when they're reviewed has been too much, and not everything needs a scheduled time in the future for review.

codemac··on Excerpts from a conversation about personal information management
Does anyone handle org-mode for attachments + mobile sync?

I use Autosync on android and a script that runs on my laptop. This works great for the text files, but the attachments/data files (say like screenshots) are a pain to find and open on mobile. Second, they're even more painful to add from mobile.

I'm fine with quite elaborate set ups if it solves this problem.

codemac··on Internet Archive: Security breach alert
Just don't forget that IO matters.

Drives do 140-220MB/s depending on the LBA distance of the readhead, and that's not really changing. 160MB/s is very common.

So your 8TB drives, assuming 1MiB writes with a 20ms latency and 160MB/s, you can rewrite the drive ~155 times/year. At 20T this drops to ~62 times/yr.

codemac··on Advancing Memory Safety
Let's also admit every language before Rust hasn't succeeded at out right replacing the vast majority of C/C++, so it becomes it's own form of conservatism/bias. This post is coming from one of the few companies that actually does complete large scale rewrites of things. I'm curious/excited to see how it goes for them.

And I have that C/C++ bias: I don't enjoy programming in rust as much as I do C, but I don't like doing lots of new things.

codemac··on Splitting engineering teams into defense and offense
> extremely late integration

That's only late if there are other big changes going in at the same time. The vast majority of operational/ticketing issues have few code changes.

I'm glad I had the experience of working on a literal waterfall software project in my life (e.g. plan out the next 2 years first, then we "execute" according to a very detailed plan that entire time). Huge patches were common in this workflow, and only caused chaos when many people were working in the same directory/area. Otherwise it was usually easier on testing/integration - only 1 patch to test.

codemac··on Internet Archive: Security breach alert
> How long does an average hard drive last?

This is a great question, and a state of the art kind of thing.

HDDs are sold with a lifetime drive read/write amount and power cycle warranty, along with usually some environmental operating envelope. read/write relates to the quality/space of the platter, power cycle is usually the actuator & read/write head being reseated/wearing out. Environment is the same as all other devices in a DC.

Most folks replace drives when they die (reads/writes stall or return garbage), or when the warranty runs out. Some will pay for a warranty exception, and some will just use the drive outside of warranty. Depending on how you use the drive, what environment it's in, etc changes how much you can push things.

I'd say anywhere from 4-8 years, depending on how it's used. In many cases it can be cheaper to have a worse environment for your fleet (thus using less power on hvac) and replace devices more frequently.

← PreviousPage 2 of 34Next →