Better HN
topnewbestaskshowjobs
Log inSign up

oftenwrong

15,025 karma · joined Apr 22, 2012 (14y ago) · 2,479 submissions

sfir6i2z@mailer.me
Submissions

comment 7y ago · link · parent

In my city, the subway trains can carry ~1400 people. During peak commuting times, a train comes every 5 minutes or so. Even our largest buses only carry ~100 people. You would need a bus to stop every ~21 seconds to match that capacity. That rate probably can be achieved. Stops would have to be designed to reduce the overhead of disembarking/boarding cycles, since there would be ~14x as many as with a train.

992.

To Make This Tofu, Start by Burning Toxic Plastic(nytimes.com ↗)

15 points · by oftenwrong · 7y ago · 9 comments

993.

Is Health Care a Right?(newyorker.com ↗)

2 points · by oftenwrong · 7y ago · 1 comment

994.

Restaurant Junzi Kitchen Is Using $5M Fund to Save Chinese Takeout Spots(ny.eater.com ↗)

1 points · by oftenwrong · 7y ago · discuss

995.

Minneapolis Saw That NIMBYism Has Victims(theatlantic.com ↗)

5 points · by oftenwrong · 7y ago · discuss

996.

Uber's paradox: Gig work app traps and frees its drivers(bbc.co.uk ↗)

1 points · by oftenwrong · 7y ago · discuss

comment 7y ago · link · parent

When you scale your db, now you're scaling your queue, too. One thing to scale, one thing to monitor.

comment 7y ago · link · parent

Why use a RDBMS as a queue? Because you already have it, and it works well. One day you may need a purpose-built component, but today YAGNI.

http://boringtechnology.club/

comment 7y ago · link · parent

Below are some various things I actually use... and not all of the junk in my vimrc I don't actually use.

Plugins:

https://github.com/tmhedberg/matchit

https://github.com/tpope/vim-sleuth

https://github.com/tpope/vim-repeat

https://github.com/tpope/vim-surround

https://github.com/junegunn/fzf.vim

(also see https://jesseleite.com/posts/2/its-dangerous-to-vim-alone-ta... )

Some snippets:

https://github.com/mhinz/vim-galore#change-cursor-style-depe...

https://github.com/mhinz/vim-galore#saner-behavior-of-n-and-...

and a similar snippet:

    " consistent direction regardless of initial charsearch direction for ; and ,
    nnoremap <expr> ; ',;'[getcharsearch().forward]
    nnoremap <expr> , ';,'[getcharsearch().forward]
I use my arrow keys for buffer navigation in normal mode:

    nnoremap <up> :Buffers<cr>
    nnoremap <down> :b#<cr>
    nnoremap <left> :bp<cr>
    nnoremap <right> :bn<cr>
...and disable them in insert mode:

    inoremap <down> <nop>
    inoremap <left> <nop>
    inoremap <right> <nop>
    inoremap <up> <nop>

comment 7y ago · link · parent

It's a bit odd to use a query string parameter instead of content negotiation.

comment 7y ago · link · parent

Furthermore, it seems like a "strawman" argument. Where exactly are people arguing that the future of urban settlement must be exactly the same as it was pre-auto?

1002.

California police access background check database for personal use(sacbee.com ↗)

2 points · by oftenwrong · 7y ago · discuss

comment 7y ago · link · parent

This was previously submitted, but "flagged".

https://news.ycombinator.com/item?id=21492500

Note that "death trap" is an accurate description; nothing more.

https://en.wiktionary.org/wiki/deathtrap#English

1004.

cyclog: Safely log standard input to status files and log directories(jdebp.eu ↗)

1 points · by oftenwrong · 7y ago · discuss

1005.

The U.S. builds death traps, not streets(smartgrowthamerica.org ↗)

2 points · by oftenwrong · 7y ago · 1 comment

1006.

The Many Different Ways to Join Tables in SQL(blog.jooq.org ↗)

1 points · by oftenwrong · 7y ago · discuss

comment 7y ago · link · parent

The surgeon's description was a bit gratuitous. I could have done without that.

comment 7y ago · link · parent

What did the Food and Drug Administration's investigation reveal? It seems like the agency failed to do its job in multiple ways. I cannot find any current information on this case.

comment 7y ago · link · parent

Teams that can't keep components of a monolith adequately separated will crash and burn when trying to build microservices. It is far more complex.

comment 7y ago · link · parent

For example: names in languages that have no written form.

comment 7y ago · link · parent

"I will never do anything like this again."

I doubt that.

comment 7y ago · link · parent

https://congress.gov/

1013.

When the plane takes off, why doesn't the tail hit the runway?(web.archive.org ↗)

2 points · by oftenwrong · 7y ago · discuss

1014.

Water, Water, Everywhere(granolashotgun.com ↗)

1 points · by oftenwrong · 7y ago · discuss

1015.

Slip Lanes Would Never Exist If We Prioritized Safety over Speed(strongtowns.org ↗)

3 points · by oftenwrong · 7y ago · 1 comment

1016.

VisibleV8: In-Browser Monitoring of JavaScript in the Wild(kapravelos.com ↗)

2 points · by oftenwrong · 7y ago · 1 comment

comment 7y ago · link · parent

Funny: I have a set of shell functions that are more-or-less the same, although the implementation of this one is more elegant.

However, I just checked, and the last note I made with it was in 2017! It seems I am not disciplined enough to take notes. On the rare occasion that I create a note, I now use email, so that it is automatically backed-up and synced, and so I can easily create notes from my smartphone.

comment 7y ago · link · parent

Why not use a more descriptive title?

For example:

"PostgREST: a web server that turns a PostgreSQL database into a REST API"

comment 7y ago · link · parent

"Plan to Throw One Away" is a classic bit of Fred Brooks advice.

https://course.ccs.neu.edu/cs5500f14/Notes/Prototyping1/plan...

1
333435
83