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

Please see my comment below about their support of CalDAV (only for specific clients, they keep changing the endpoint location).

CalDAV is a standardization of a previously proprietary but working design (apple's icalendar work) that most all other vendors support except for Google.

comment 10y ago · link · parent

Even when they try to support it, they changed the endpoint location (?! I guess even Google is bad at URLs), and their CalDAV implementation only supports the calls of a popular enough client they don't have control over.

"We have not yet provided a full implementation of all of the relevant specifications, however for many clients such as Apple iCal™ the CalDAV protocol should interoperate correctly."[0]

[0]: https://developers.google.com/google-apps/calendar/caldav/v2...

comment 10y ago · link · parent

The problem here is not the refrigerator, or the software on it.

I repeat.

The problem here is not the refrigerator!

We're building a shitty internet, not an internet of shitty things. If integrating with an online calendar means having to have a software team at the ready at all times for the whim's of some service's API updates.. we have failed society in a deep way.

The API that Google should be releasing for Google calendar is CalDAV, because it's a standard that people can depend on. Google - by choosing to not use that standard AND to not get a different one standardized with their peers, shows they don't want to be part of an Internet.

comment 10y ago · link · parent

They both use the same daemon (guix-builder is a fork of nix-builder), so I think they could share packages given the hashing is the same. This hypothetical has not been implemented yet, I'd love it.

Their is an importer[0], but this is basic and just grabs the package metadata, it's up to the packager to implement the package still. Hopefully this is further automated in the future.

[0]: https://www.gnu.org/software/guix/manual/html_node/Invoking-...

comment 10y ago · link · parent

Well my store has 8.9k derivations, but that's only for 11 packages in my profile :/

comment 10y ago · link · parent

Question now that I got my guix zealotry out of the way.

Do you run your own hydra? I really want to but it seems like setting one up is a pain.

How do you handle /nix/store sizes? I've found that gc get's away from me. For 1 user with very little installed, my store (including it's hardlink dedup) is 11Gigs, and I have 59 packages installed.

comment 10y ago · link · parent

If you're like me and have a hankerin' for something other than the nix language, check out guix!

http://gnu.org/s/guix

All of the scheme your heart could want. I run archlinux + guix and it's a magical happy land. I'm sure the same could be accomplished with nix, but I enjoy writing scheme too much!

comment 10y ago · link · parent

Yes, make DESTDIR=/poop install or configuring ./configure --prefix=/fart. You are supposed to be able to even combine them, e.g. the above would be installed to /poop/fart.

comment 10y ago · link · parent

Go makes you depend on the source code of a library you're depending on, not any build result. Because Go by default does not generate shared libraries to ship, they work around this by having every user of a library recompile it into their project. They avoid compiler mismatch issues by doing this.

So no significant open source Go library provides static libraries to their consumers. They provide source code. I think this list holds up very well, but there are several go projects that have had serious impediments due to things on this list.

The obvious example being the bane of my existence - the $GOPATH. The amount of effort Go projects have to put into getting some half-assed version of `make dist` to ship a tgz is depressing.

comment 10y ago · link · parent

emacs has built in smtp support, so I just use that.

Notably, I use the smtpmail-multi package along with smtpmail in emacs to support sending from whatever address I put in the To: line[0]

[0]: https://github.com/codemac/config/blob/master/emacs.d/boot.o...

comment 10y ago · link · parent

Several people have suggested similar. I should do it, but the nice part of OSS: I can do it whenever it bothers me enough :)

Do you have a config posted anywhere? I'd love to see exactly how hard it would be to switch.

comment 10y ago · link · parent

Proprietary tools just aren't worth the turnover for me.

It's untenable to depend on developer tools that a company owns. I love free software, but in all honesty the reason I incorporate it is more selfish. My workstation is exclusively free software so I don't have to be abreast of business news to get my job done.

I've basically settled on my emacs + notmuch + offlineimap solution not because I think it's better than all email clients -- but it's the one that if all parties involved quit, I could probably use it for another 10-ish years.

For example - offlineimap right now still has this old bug where sometime it uses all my cpu (and a bunch of memory) in some sync case. Ok, I don't have time to debug this. I set limits and have it be killed when that state occurs. Annoying? Sure. Have to configure whole new mail client? Nope!

comment 11y ago · link · parent

The join the beta button isn't working? I click and nothing happens.

I looked at the page source, but then I realized I don't know how the fuck javascript works.

comment 11y ago · link · parent

Wow - ok, I totally missed your point then. Thank you for your reply with explanation, much more sensible than I was interpreting.

comment 11y ago · link · parent

> Just like it is possible to fix alcoholism by having someone remove alcohol from the house

It's different because alcohol withdrawal can kill you. It can give people seizures and hospitalize them for weeks. Telling someone to "remove alcohol from the house" as a cure is so left field for me it feels like you're missing the very real medical struggle long-term alcoholics go through. I'm livid but I know this should be a civil conversation.

I haven't seen someone's facebook+9gag habits tear a community, family, or person apart. Maybe that's my ignorance.

comment 11y ago · link · parent

"Fear of uselessness" seems to be a euphemism for the fear of dying, both the process and the ending.

I'm not sure there is a great answer here, so I'm just going to post the Alan Watts talk that brings some perspective for me.

Alan Watts - Music and life: https://www.youtube.com/watch?v=ERbvKrH-GC4

"[..] but we miss the point the whole way along, it was a musical thing. You were supposed to sing or dance while the music was being played".

comment 11y ago · link · parent

If there is no action, then why even "bear it in mind"? Seems like you do think there is some preparatory action to take.

comment 11y ago · link · parent

What actions do I take as someone outside of China by a hemisphere or so?

Reading this just blows my mind. I've gotten my family and a few friends on Signal[0], but these types of things only help if you have basic access to the Internet.

What type of infrastructure future proofing can you do when it's such a centralized technology? I've been thinking about renewing my ham radio license again (no more Morse code!)

[0]: https://whispersystems.org/

comment 11y ago · link · parent

Yeah, firefox on android is basically the best thing since sliced bread.

comment 11y ago · link · parent

Ah good, now we're talking specifics. Does REPORT ZONES not point to this conventional section always? I cannot wait for a FORMAT ALL ZONES or something command to control the number/amount of conventional sections at the sacrifice of capacity, though it looks like it's not coming.

The power guarantees in the zbc spec (as of r03) seem to not be held by some drives. Writing less than a full zone seems to be a bad idea.

comment 11y ago · link · parent

They have an Intel Atom addon module thingie, but the CPU can only really run 2x4Gb best case, almost all of these will need separate software running on Xeons.

comment 11y ago · link · parent

Intel Atom is an odd choice, but liking the ethernet choice.

Gonna look more into how they lay the disks out. I wonder what the serviceability of the drives is.

comment 11y ago · link · parent

Surprised at the layout of the drives. Would make it a huge pain to actually replace failing disks - but I like that they put a decent Xeon on there.

The connectivity to the drives is really quite bad, but now I'm just being picky. Thank you for the link, really appreciate the follow up!

comment 11y ago · link · parent

> you can get a lot bigger than 6T

Come on - most companies reasonably can't. There's a WD 10T smr/helium drive, and seagate is selling that crap 8T video drive. Unless you're talking ssd 3d/TLC density (more $), or the vapor-ware 20T drives that some storage vendors hint at and don't let me file a PO for, I literally don't know what you're referring to (now I'm getting where I can't name names)

The reason I'm complaining is because of you don't state:

- what the current state of the art is that they're not meeting

- what they could do better with their design goals given that information.

You merely state that it's just not state of the art, and to come work at dropbox. This is what I mean by being disingenuous.

comment 11y ago · link · parent

Oh nice, I hadn't seen that! Need to look more at it's data sheet.

comment 11y ago · link · parent

Can you link to the shelf / hardware? I'm curious

comment 11y ago · link · parent

What order of magnitude? There are 60 drive chassis in 4U you can get[0][1], but even a 4TB -> 6TB drive + 15 more drives isn't exactly an order of magnitude.

And they have 2 10GiB ports, though I'm sure you can work with them and get more..

It's disingenuous to call this not "state of the art" when it's really quite close, and obviously is meeting a backblaze design goal.

[0]: http://www.newisys.com/Products/4600.shtml [1]: http://www.aicipc.com/ProductDetail.aspx?ref=RSC-4H

comment 11y ago · link · parent

> particularly high-performance small services that do things like fling JSON around

:/ Their json system reflects and allocates like a mad-man. It's probably one of the slowest parts of the std library.

comment 11y ago · link · parent

You can run Guix on Arch as well (it's what I do)

comment 11y ago · link · parent

Totally disagree about dependency management. If you check them into your repo, people who use your repo to build do not need to fetch other dependencies which may or may not exist over the network anymore. This is especially true if you ever intend to build an old version of your software.

And if your library doesn't support multiple platforms, I'm not sure I fully understand how omitting the source code of a dependency from your repo magically gives you platform independence.

1
262728
39