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 8y ago · link · parent

This is why you should bookmark by copying important information into your own knowledge database.

comment 8y ago · link · parent

Is there any evidence of this being true?

Do they actually force a discipline? Do people actually find swapping languages easier with RPC/messaging than other ffi tooling? And do they really attract talent?!

You make some amazing claims that I have seen no evidence of, and would love to see it.

comment 8y ago · link · parent

Dates from the comments on the home page:

    ; cat excel_source.html | grep datetime | awk '{print $2}' | sed 's/datetime="//' | sed -r 's/-[0-9]{2}-[0-9]{2}T.*//' | sort -n | uniq -c
          2 2010
         39 2011
         39 2012
          7 2013
          2 2014
          2 2015
          1 2016
         13 2017
          1 2018
I'm gonna bet it's late 2010

comment 8y ago · link · parent

And those SRE's?

They use IRC.

comment 8y ago · link · parent

"Who needs dropbox when you have rsync!"

comment 8y ago · link · parent

A protocol existing is better than no protocol at all.

comment 8y ago · link · parent

Does Go take a copy or a reference?

comment 8y ago · link · parent

Android's Do Not Disturb settings that respect calendar events have changed my relationship with my phone immensely.

comment 8y ago · link · parent

Asynchronous communication is like eventual consistency.

It seems pragmatic until you actually struggle to get everyone to be on the same page at the same time, then you spend a lot of time figuring out how to be consistent.

I agree the video calls are probably over the top - but asynchronous communication != synchronous communication.

comment 8y ago · link · parent

Can you provide any details as to what you define as good, and how this system reflects that?

comment 8y ago · link · parent

> There's weirdly not a lot of good advice out there on sensible steps to reasonably transform a rushed proof of concept in to a production quality app. Mostly it all starts with the assumption that you're building something from scratch.

Cleanroom is actually completely reasonable for this - what you must accept is that transforming a rushed proof concept into a production quality application is starting from scratch in terms of ascii in github. It's the experience of those that worked on it that is valuable to save.

comment 8y ago · link · parent

Cleanroom has a lot of evidence that process (especially around code inspection/review) does improve quality more than TDD or other methods of detailed design, most people are just unwilling to take the time for detailed process for quality IMO.

comment 8y ago · link · parent

Undo-tree for you emacs folks: https://www.emacswiki.org/emacs/UndoTree

comment 8y ago · link · parent

Look at the HTML source - I don't see anywhere that scroll behavior is overridden.

Hell, there isn't any javascript at all for Safari.

comment 8y ago · link · parent

That's the iPhone's rendering of their <figure> blocks. If you look at the HTML source, there is so little going on I can't see how it wouldn't be your mobile browser's fault.

comment 8y ago · link · parent

Do you struggle with orgzly's sync management though? Things seem to get out of sync a lot with syncthing, so I've stopped editing lists on my phone (which... is starting to defeat the current iteration of the setup). Or do you use dropbox?

With WebDAV on MobileOrg, I never really had these problems.

comment 8y ago · link · parent

Taking notes in a digital lab notebook (i.e. text file) while I'm thinking has sped up the re-inflation period significantly from ~1/2 hour to ~1-5 minutes.

I can highly recommend it for folks in very noisy/distracting environments. It also points out how much you struggle to stay focused if you are not continually writing in your notebook.

comment 8y ago · link · parent

Remember to set up auto-sale folks.

Your retirement returns will be less than selling at a lifetime high price of whoever you work for.

But you will not sell at the lifetime high price. Please don't forget to sell at all.

comment 8y ago · link · parent

> Scrum isn't good or bad.

There isn't enough evidence-based science on what produces the best software -- but Scrum can be measured against other software practices, and should be.

comment 8y ago · link · parent

This is why I think "decorated" w/key bindings to edit in a structured way is basically the best.

See: org-mode.

comment 8y ago · link · parent

Modeling & simulation[0] is a very standard way of handling this. It is not that difficult also to rent servers as opposed to having them sit around.

Note: just about every online store must do the same type of thing around specific holidays.

[0]: https://en.wikipedia.org/wiki/Modeling_and_simulation

comment 8y ago · link · parent

There was a port of scsh to guile that was more of a library - it worked really well. I doubt it's up to snuff on guile 2.0+ though.

comment 8y ago · link · parent

This is sanitizing input, yes?

Didn't seem to be too specific to subprocesses, just some places where folks use input directly.

comment 8y ago · link · parent

OK, thanks for the heads up.

comment 8y ago · link · parent

    #!/usr/bin/env rc
    
    row_headers=''
    output_mode=column
    
    fn usage {
      echo $0 usage
      echo   -o <sqlite output mode> '#' which output mode to use
      echo   -r                      '#' if present, output row headers
      echo   -h                      '#' this message
    }
    
    while(~ $1 -*) {
      switch($1) {
        case -o
          output_mode=$2
          shift
        case -r
          row_headers='.headers on'
        case -h
          usage
          exit 0
        case *
          echo Bad args: $*
          usage
          exit 1
       }
       shift
    }
    
    test $#* -ne 1 && echo Wrong number of arguments && usage && exit 1
    
    sql_statement=$1
    sqlite_bin=''
    { which sqlite > /dev/null >[2=1] && sqlite_bin=sqlite } || { which sqlite3 >/dev/null >[2=1] && sqlite_bin=sqlite3 }
    
    table_name=atable
    stdin_file=/proc/$pid/fd/0
    {
      echo .mode csv
      echo .import $stdin_file $table_name
      echo $row_headers
      echo .mode $output_mode
      echo $sql_statement
    } | $sqlite_bin

comment 8y ago · link · parent

You can also try speedbar / speedbar-sr. Gives you a quick tree-like view when wanted, and then can be dismissed.

comment 8y ago · link · parent

No, that's just that no one knows who's turn it is.

Having two people check something over is a good thing, telling two people that they should both start simultaneously to do work that might be duplicate is bad.

comment 8y ago · link · parent

I've always liked the idea of djb's boringcc[0], except with different definitions of undefined based on what users were using C currently with. This would allow people to "upgrade" into boringcc with their current code bases. So with a single invocation of a compiler, you couldn't use more than one set of defined undefined behaviors.

[0]: https://groups.google.com/forum/m/#!msg/boring-crypto/48qa1k...

comment 8y ago · link · parent

The "geographic resiliency" chart is pretty inaccurate for the major providers, especially folks like Google cloud that have multi regional offerings with 99.95% availability & a lot more than "1" for redundancy.

I'd also add - unless you are going to include a median/mean latency number many options will look absurdly good even though we know they're a horrible idea, e.g. https://en.wikipedia.org/wiki/GmailFS. I also think "unknown" availability looks a lot like a durability issue..

comment 8y ago · link · parent

The foo/mod.rs being replaced with foo.rs and foo/bar.rs is great news. This is how GNU Guile does their module system, and it's always felt so nice.
1
161718
39