Better HN
topnewbestaskshowjobs
Log inSign up

codemac

4,446 karma · joined Dec 3, 2008 (18y ago) · 1,145 submissions

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 ]

Submissions

comment 10y ago · link · parent

Good to hear that Tesla knows it's an issue.

Bad to hear that they released it knowing this was an issue, because I wouldn't expect myself to be able to react to this.

Humans are not capable of handling these types of nuances well at speed. Being an active driver and being an inactive driver that needs to stay alert enough to catch the few cases where you run into "known issues" is just not going to work well.

As I'm typing it I'm suddenly having a wave of guilt for all kinds of software bugs I've written where the answer was "it's a known issue".

comment 10y ago · link · parent

We used that quote as a joke for not learning new languages well enough. Do you mean that he would write C and link it to each implementation?

comment 10y ago · link · parent

In the US, many many workplaces do not have showers. It's a huge annoyance. They are not part of building codes to have in offices.

comment 10y ago · link · parent

> My point is, yes our education system is backwards, but millennials need to learn some form of hardship or hard work.

There is no reason to praise hardship. Saying that they shouldn't inflict extra hardship on others (their parents) is fine, but the ridiculousness of the situation is not something we should pride ourselves on getting through.

No one's parents worked hard so their kids would have as hard of a life. It's so they have an easier one, and that's something we should aspire to.

comment 10y ago · link · parent

Since you seem to ride one of these a lot, I'm curious if you ever used a long board before. How you would feel if you had to use a long board instead of a boosted board for a day?

It seems insane to me to charge a skateboard, but since I've moved to a very hilly area it does make sense, just maybe not at 1500 bucks for me.

comment 10y ago · link · parent

It's not the opportunity of a lifetime, but it will feel like it to them.

There are no journalism/writing jobs that have the kinds of perks that big tech firms have. Free lunch every day?!

comment 10y ago · link · parent

I mean, it's not exactly a short list: https://en.wikipedia.org/wiki/List_of_Google_products#Discon...

I'd also add that it raises a serious point: if we cannot depend on products to exist past the team that creates them, are we really producing products at all? Or merely engineering time leased at the rate you consume advertising?

comment 10y ago · link · parent

Why is #2 only true for Lisp? I've seen it true for every job I've ever had.

comment 10y ago · link · parent

Did you type this from a macbook?

comment 10y ago · link · parent

If I can get the damned TV onto the network at all, then I can use 9fs or any other protocol including http.

plan9 did not invent the network, or even the concept of shared resources. They focused on putting all resources into a filesystem API, entirely and exclusively. That's their innovation. I'm not being obtuse by pointing it out.

comment 10y ago · link · parent

Saying things were uniform when your entire interface is "bytes to and from a file descriptor" is just editing the past to me.

For most of these p9fs interactions, each one had a different format / API that you had to know in advance before reading or writing to the file. This meant many things just had custom ascii, others were binary. Some pushed elements into different file locations, some piled them all into a blob under the same file.

It makes oauth2 look decent.

Saying that you managed to push everything through a file interface is interesting, but it's no more or less connected than a world of http://

comment 10y ago · link · parent

It is truly depressing how the idea of a SIM card holding storage as well (your contacts!) didn't get bigger.

It'd be awesome if my sim card ( or something the size of the old simcards ) had as much storage as it could manage. With today's microSD densities, you can realistically hold everything and more than what's on your phone (though the storage medium itself is less resilient..).

Then you go to work, pop it in your hardcore resilient phone. Go home, pop it in your tablet. This however empowers users almost exclusively, there isn't much advantage to a consortium of companies implementing this.

comment 10y ago · link · parent

A decade ago "outlook for mobile" was essentially BB or non-existent.

Reminds me of when I bought an old receipt printer with a serial port to print out the days weather, my calendar items from a text file, and any "must do" items. Haven't had it around since ~2011 and I really miss it.

comment 10y ago · link · parent

If it were a public company, I'd agree with you. I don't think the motivations are the same for a private company as they have direct lines of communication with all of their investors.

comment 10y ago · link · parent

#1 - srfi 9 solves this mostly, though I agree about the long names. If your implementation doesn't bundle that for you, you should probably use a different implementation.

#2 - preach it.

#3 - The "big" schemes provide hash tables for you.

#4 - Well... fexprs used to be standard in lisp, but implementers didn't enjoy figuring out what a symbol meant at compile time.

I dunno, I really enjoy coding in scheme. Especially syntax-rules. I know syntax-case is the bees knees, but syntax-rules is pretty easy for me to model quickly.

comment 10y ago · link · parent

Heads up - if you've bought a high density disk recently, it's probably SMR internally anyways.

A write to one area can be done in a single disc rotation, as long as it's sequential.

SMR disks added what are called ZBC, Zoned Block Commands to the SCSI spec. The disk itself exposes the ability to interact with zones several ways:

- REPORT ZONES - What zones there are, how many, what type, and state of the zone.

- OPEN / CLOSE / FINISH ZONE - zone write state management

So essentially, it's like a drive exposes ~8 files, opened with O_APPEND, and you have to manage how you stripe your writes between those files to handle your workload. Your disk can also have zones that aren't shingled, but those seem to have been fairly unpopular.

comment 10y ago · link · parent

Similar programatic abilities can be found in the following window managers:

- wmii - via the 9fs interface - https://wiki.archlinux.org/index.php/wmii

- ion3 / notion - via lua bindings - http://notion.sourceforge.net/

- guile-wm - similar goals as stumpwm, with scheme - https://github.com/mwitmer/guile-wm

Of all of these notion is the most "out of the box" complete WM, whereas guile-wm is the most immature.

comment 10y ago · link · parent

It's not about how hard or easy the code is to write, at all.

Any line of code you don't write, is a bug you didn't write either. I worked on a significantly size go codebase and the number of stupid bugs that popped up, like bad loops instead of a simple `filter` function, were just silly.

Having all this memory safety and other stupid bugs ruled out but not map, filter, or reduce just felt lazy on the Go authors part.

Of course, now that a member of the go team has said it, we'll see a huge shift in what the go team thinks about generics. I'm glad I don't deal with the go community anymore.

comment 10y ago · link · parent

The PDF you link attributes that quote to Drew Gross

comment 10y ago · link · parent

Anyone successfully get a workplace to have signed commits?

I've struggled to describe the wins. The risks are risks a lot of companies have to take on anyways due to other parts of their infrastructure, and generally end up ameliorating with signed blobs/releases.

comment 10y ago · link · parent

It's the user's public key, not WhatsApp's.

comment 10y ago · link · parent

Anyone know of a good hosted gerrit solution?

One of the largest problems I've had getting gerrit adoption on smaller teams is that they can just pop up a private github team easily, whereas finding hosted gerrit solutions that actually make it easy to convert from other source control tooling has been very difficult.

comment 10y ago · link · parent

North Carolina still seems to have tons of Furniture manufacturing. I imagine they haven't minded raising their prices out of state however.

comment 10y ago · link · parent

The departure of the modern web from text that has links -> full heterogeneous application suites that run in an elaborate VM has been wonderful for users of desktop applications, in that they no longer need to maintain several stacks of software, but just their browser.

However - those who enjoyed text + links were left behind. I really just wanted text with some links. Thinking about setting up my own websites as a gopher site, just don't know the best ways to proxy it back to HTTP best.

I think pocket, instapaper, readability etc were all essentially peeks into a style of web we could have had where content presentation was something a user has decent control over.

comment 10y ago · link · parent

The only one odd here for me is the ban on de-referencing more than one level.

Even a simple linked list implementation uses double pointers to reset parent nodes.. Does anyone have insight into the risk in static analysis? Seems like it would be handled by whatever logic was handling normal pointer derefs.

Seems like the only argument is the one against function pointers, which is a pretty amazing thing to ban but at least provides logic WRT static analysis.

comment 10y ago · link · parent

Ahh ok! An interesting approach. For some reason I'm uncomfortable with it but I need to spend more time reasoning about what failure mode rethinkdb uses care about.

I'm still not sure I fully understand the cases where this could occur, as I'm used to a very different approach to consistent operations that depends highly on physical infrastructure.

comment 10y ago · link · parent

I guess I'm just confused how this clock becomes a trusted source of truth for forward progress? Is there a way of asserting that the clock makes forward progress that I don't understand?

EDIT: Or is it that it's not required to show forward progress? Still reading the rethinkdb source & docs, thanks for the information so far.

comment 10y ago · link · parent

Whoaaaa. Membership is where things get nasty, this is awesome. Punting on dynamic membership due to it's extreme difficulty to get right is usually a good idea for many projects.

I'm still struggling to understand what happens in a RethinkDB "reconfigure", especially around this epoch timestamp. Where does the wall-clock time come from, the raft leader of the shard?[0] I also need to read more and understand these value's necessity over any other generation id/sequence number type thing, I'm not sure I follow why they are used given the linked bug report[1]

Also, after embarrassing myself earlier in the week[2], I'm trying my best to read every link in a post before making absurd claims. It's my much deserved penance. It seems there is one link that is broken in the post that I was curious to see due to my ignorance around Rethink's epoch timestamp stuff[3].

[0]: https://github.com/rethinkdb/rethinkdb/blob/a90bb08051603621...

[1]: https://github.com/rethinkdb/rethinkdb/issues/5289#issuecomm...

[2]: https://lobste.rs/s/cnthlp/the_verification_of_a_distributed...

[3]: https://aphyr.com/data/posts/330/link

comment 10y ago · link · parent

Do you have any suggestions for what you think distributed issue trackers should look like?

My favorite was simple defects with the prophet database backend, but it was very "outside" of git and this gave people heartache.

Are there any that you have liked? Ikiwiki changed what I thought version control could be, but I never really used it for a project because I struggled with spam. I'd love to hear your thoughts on the more targeted issue tracker approaches.

1
242526
39