Better HN
topnewbestaskshowjobs
Log inSign up

mattikus

264 karma · joined Nov 15, 2008 (18y ago) · 20 submissions

[ my public key: https://keybase.io/mattikus; my proof: https://keybase.io/mattikus/sigs/w9fvm7y3dDvAkn8MpHrurYXZV1ZAxMzIZCyvqvd04uc ]
Submissions

comment 3y ago · link · parent

I think you're being a bit uncharitable and jaded here. For many, events like these are actually the catalyst that causes one to "grow up", which is what the author is conveying.

2.

Layoffs Are Cruel and Don't Work(matduggan.com ↗)

212 points · by mattikus · 3y ago · 263 comments

comment 4y ago · link · parent

Also of note is https://github.com/tailscale/sqlite, also written by David Crawshaw. It _does_ provide a database/sql driver.

comment 10y ago · link · parent

I feel similarly to Kelsey. I also plan on setting up a test cluster to learn the ins and outs and seeing if it's something that might fit in at work for our needs.

For personal stuff GKE looks really nice.

comment 10y ago · link · parent

Just saw Kelsey give a talk at Abstractions about more advanced patterns in Kubernetes and he mentioned this repo. Looks like a fantastic tutorial and his talk was very informative.

Highly recommend watching the video when it's released if you weren't able to attend.

comment 10y ago · link · parent

This doesn't seem to work with Google Apps for Domains accounts. Another interesting service I can't use. At this point I wish they'd release a tool or some mechanism for me to move my account to a normal GMail account.

comment 10y ago · link · parent

"Just because a device has USB Type-C connectors does not mean it supports power or any other alternate mode, such as support for video standards DisplayPort or MHL (used on some smartphones to drive larger >In fact, technically, it’s even possible to have USB Type-C ports that don’t support USB 3.1, although in reality, that’s highly unlikely to ever occur."

This is actually a bigger problem than the author theorizes. Both the Nexus 6p and the Nexus 5x support USB-C on USB 2.0 rather than 3.0 or even 3.1. When USB-C computers become more prevalent, people might be sad to see their fancy device lacking the promised bandwidth they associate with the connector rather than the protocol.

comment 11y ago · link · parent

How are you hosting the wheels internally? Are you still using an internal pypi instance but with wheels instead of sdists?

I've been looking at doing something similar in our environment but there's so many options I haven't figured out what the best and most straightforward way might be.

comment 11y ago · link · parent

It looks like they're querying the rpc interface for pypi and sorting by downloads:

https://github.com/meshy/pythonwheels/blob/master/utils.py#L...

comment 11y ago · link · parent

Apropos of nothing relevant to the actual content of the page, the sand effect easter egg on the logo was really cool. One of the more lifelike effects I've seen.

comment 11y ago · link · parent

Also worth mentioning is the excellent talk[0] given by Tobias Schottdorf at FOSDEM 2015 about the high-level design and impetus behind CockroachDB.

[0]: https://www.youtube.com/watch?v=ndKj77VW2eM

comment 11y ago · link · parent

Looks like a Lenovo Thinkpad X1 Carbon, 2nd Generation based on the modifier keys.

comment 11y ago · link · parent

I've had this in my vimrc for years:

   " Let :w!! gain sudo privileges without closing and reopening vim
   cmap w!! w !sudo tee % >/dev/null

comment 11y ago · link · parent

While you may not be able to do transforms on the output via `sed` or `awk`, you can get a grep-like filtering by using the `&` character with `less` open.

comment 11y ago · link · parent

There are a couple of scenarios I can think of to help it make more sense:

1) You're pushing to a remote server which has a checkout of the working copy as the live version of something, e.g. a webapp.

2) You're pushing to a co-workers repository to allow them to see updates (though probably a less likely scenario)

comment 12y ago · link · parent

That assumes you're using submodules or subtree as your versioning mechanism. If you're using vundle/neobundle, does it do the magic of running the bootstrap to download your bundles from the internet?

comment 12y ago · link · parent

I can't speak for most, but there's 3 in my infrastructure.

And many private businesses have large clusters with job scheduling very similar to HPC. HFT Finance firms come to mind.

comment 12y ago · link · parent

Sure it does: https://gist.github.com/brettcannon/82c4fe68bac30f4ed653#fil...

comment 12y ago · link · parent

It can actually be even simpler:

  sort -u file1.txt file2.txt | tr A-Z a-z > whitelist.txt

comment 16y ago · link · parent

"Say I have plugin called foo.vim, inside the bundles folder do I directly drop it or do I create a folder called foo and then drop foo.vim within it?

You need to create the folder foo with a folder called plugin and then foo.vim inside it -> foo/plugin/foo.vim

" Also say a plugin has syntax files and an ftplugin folder then do I just drop the plugin in pathogen and it is supposed to work?

Yep. Normally vim plugins are shipped in zip files that contain the structure and are meant to be installed on top of your .vim directory. All you do is instead install them into .bundles/pluginName instead. Also, since a lot of vim plugins are kept in source control anyways, a lot on github, you can simply use git submodules to version your plugins as well making updating them a cinch.