4,446 karma · joined Dec 3, 2008 (18y ago) · 1,145 submissions
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 ]
comment 3y ago · link · parent
(keyboard-translate ?\C-x ?\C-t)
(keyboard-translate ?\C-t ?\C-x)
Along with a quick function to make sure I don't forget :) (global-set-key
(kbd "C-t")
(lambda ()
(interactive)
(run-with-timer
0.3 nil
(lambda ()
;; Assuming these are the default values
(setq visible-bell nil)
(setq ring-bell-function 'ignore)))
(setq visible-bell t)
(setq ring-bell-function nil)
(error "Don't press that button.")))
[0]: https://github.com/codemac/config/blob/master/emacs.d/boot.o...comment 3y ago · link · parent
"""""""""""" DVORAK FTW LOLZ! "
noremap d h
noremap h j
noremap t k
noremap n l
noremap k d
noremap l n
noremap j t
noremap ^Wd ^Wh
noremap ^Wh ^Wj
noremap ^Wt ^Wk
noremap ^Wn ^Wl
inoremap ^] ^[A
inoremap ð ^N
That's all I use for handling dvorak. This has been in my config since I switched to git from hg in 2007, dunno how long before that.comment 3y ago · link · parent
It's object storage, the protocol is not that nuanced. Any other storage product will have it's own quirks. google cloud storage has an XML API that is similar enough and has signed urls, and just about every enterprise storage company has an "object" product.
comment 3y ago · link · parent
In reality, the data is all mixed up because data gets backed up usually around the time it's written, and gets deleted in a completely different pattern. The art of compaction is very important, and things like optical and tape make inaccurate compaction extremely expensive due to the reduced IO.
And even if we pretend you do have perfect compaction, you still don't have nearly the IO that HDD would provide. Considering hypothetically you have perfect compaction, that also means you have the perfectly smallest live data set, and thus the HDD premium is even smaller for wildly better throughput in disaster.
comment 3y ago · link · parent
The vast majority of even backup data is legally required to either be readable in a very short amount of time (say one week) or is required to be deleted within 90 days. Neither of these are ideal for optical (or tape btw, thus why it's YoY growth is only 5% in this LTO marketing piece)
comment 3y ago · link · parent
That's why, while YoY growth of tape is (checks blog...) 5%, that's lower that global HDD sales growth even this year. This is a marketing piece from the LTO consortium.
Lastly, HDDs do way way better in the DC, operationally. From a much wider environment/humidity envelope of operation, to IO scaling linerally across data corpus, to siteops management, to having more than literally 1 vendor, etc.. That's why there are only two hyperscalars left deploying new tape, and even there it's dwindling or being deprecated.
Now HDDs have their own problems, and their density scaling with hamr/mamr/smr hasn't gone great, but no one is really asking for less IO from devices given power cycling drives tends to reduce IO just as effectively as fewer tape drives, and for far less money.
comment 3y ago · link · parent
If you have <100 software engineers, I feel that being in the office lets you move super fast - conversations with sales folks, support staff, management, investors, etc in a very fast iteration loop. I've experienced this positive hyper communication mode.
But... when I think about my current job, where there isn't a single team located 100% in the same office... and certainly not along with most of the people they work with as well... it seems all for show.
These execs seem unable to either admit they haven't thought it through, or make the much more radical choice that imo would pay off - relocating everyone to be in the same location to increase communication bandwidth.
comment 3y ago · link · parent
That's like saying S3 is the same as ext4, their the same, just scaled up! This is a poor argument, you'll note that S3 and ext4 are entirely different things, not "challenges", fundamentally different implementations.
Google is the only company I've ever worked for that automatically deleted dead code, let alone across a company of 100k+ SWE.
comment 3y ago · link · parent
Though, as the price of computers have come down, it's less common for folks to not have a computer at home - it's still a wonderful gesture that's very low cost.
comment 3y ago · link · parent
The more comparable example is whether or not BTC could replace USD for day-to-day transactions. The answer is basically no, it cannot. It can only process 7/second, due to how it works. Thus, BTC will never become the daily transaction infrastructure
Mastodon is similar. It will have severe scaling issues, as it makes simple operations far far more complex to get federated features that are more social than things like email. Just like crypto shenanigans, basically additional infrastructure will need to be built.
comment 3y ago · link · parent
Today's programming is not SICP in scheme, it is more plumbing between very large bodies of code. Using GPT is a great way to short cut needing to learn lots of details about code bases you only need for one specific feature. Recently though, by integrating two pieces of code I do know a lot about, I lost a lot of confidence in GPT coding.
For example, I asked it to implement a small script in emacs that would loop through org text files in emacs, and run some commands based on keybindings. That's it.
It messed up the usage of recursive-edit (which is a complicated feature itself), it produced many bugs in how Org utilizes indirect buffers, it sends windows around instead of buffers in the variables, and it wrote lots of contradictory code.
I understand how all these features work, and I went through and started fixing all the bugs. I would tell it about each bug, but it was producing so many subtle bugs with org-mode, inventing functions that didn't exist and it couldn't define... I gave up and just re-implemented it myself.
So no, I do not understand 100% of all code I refer to when I write code, that's why APIs actually exist.
comment 3y ago · link · parent
The complexity of the bugs you get are usually 10x as complex as the code's main logic you wrote. So you need to write very simple code.
Unfortunately, these GPT models are very complex. The bugs they produce will take an order of magnitude better model to fix.
comment 3y ago · link · parent
The internal tool at G has a strict hierarchy called "components", and fbtasks is tags alone.
This means if you want to file a bug against anything at G, you could navigate this large hierarchy and find a rough spot for the bug. Regardless of that team's documentation, tooling, bug tracking helper forms, etc you could always file a bug that would get pretty close. Then someone on that team would move it into the proper component if you got it wrong.
At FB... you go to file a bug, but you need to know which tags! If you miss the right tag, that team may never see it. All teams implement their tagging differently, and many implement almost nothing at all. This devolves to pretty much all bugs being tracked through internal group posts, because at least internal groups have names and membership lists that are easily searchable. Then teams implement bots & programs to take every post filed in a group, and auto generate a task with the right tags! And pray that they append the `donotreap` tag...
Bugs need to be filed against specific systems, and those systems need to be owned by teams. Those teams are in orgs, those orgs are in companies. I cringe whenever I see a bug tracker for a large company that is not in a hierarchy.
comment 3y ago · link · parent
I think the reason killedbygoogle.com actually exists is because they try to be professional about notifying folks of things they are EoL, and communicate updates along the way.
comment 3y ago · link · parent
I told my wife that lockdowns/masks would be at least a two year phenomenon, given how long the Spanish flu took - and our mitigation would make things take longer, not shorter. This had many obvious implications in my life, where I lived for the next 5 years, what jobs/skills I should be wary of vs. focus on, what stocks I should bet on.. etc.
But I didn't behave accordingly with this obvious conclusion I had made. I struggled to actually take the leap and make changes in my life. I made very few stock bets, for example. Also we didn't take the opportunity to move/change plan/etc around real estate.
With AI, I feel like this is a similar moment. My employer has an internal copilot thingie, and it's amazing when trying to use some internal library/service I've never used before. It even integrates with Emacs.
What is obviously true about AI, and how does it affect your life? Curious what other software engineers are doing to prepare for these types of obvious changes.
comment 3y ago · link · parent
And even worse is that I am no historian and I'm probably wrong. But my direct experience contradicts a lot of the Chicago-washing of this article. For example Donato's in Columbus obviously made this style popular across the country far more than Chicago, and they weren't inspired by Vito & Nick's or something.
I bet someone right now is writing an article about how the pizza sandwich served at crappy pizza/bar places in the midwest was invented in Chicago too - even though it was probably independently invented in many locations.
comment 3y ago · link · parent
What is AE? Meta has a program for their top ~1% or so (who knows really) where they dump a pile of RSUs on your head, "additional equity", to retain you and bet on your future at the company. For most it's 2-4x your annual stock refresher, though I don't know exactly how it varies.
If you're E7+, this is another 1M+ stock grant on a 4 year vest on top of your 600k+ refresher grant. Stock is up from their internal refresher pricing. Their "A players" all just got ~5% bump on their 1.5M+ RSU grant.
G and other FAANG struggle to compete with Meta on comp for the actual A players. We'll see if they budgeted enough for AE to keep the people that matter.
comment 3y ago · link · parent
<source>: In function 'int main()':
<source>:6:54: error: conversion from 'absl::string_view' {aka 'std::basic_string_view<char>'} to non-scalar type 'const std::string' {aka 'const std::__cxx11::basic_string<char>'} requested
6 | const std::string foo2 = absl::StripAsciiWhitespace(absl::AsciiStrToUpper(foo)); // in Python: foo2 = foo.upper().strip()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ASM generation compiler returned: 1
This is gcc with c++20, curious what the garbage is you're describing.