News for hackers. Stuff that matters.

mattikus

Re:Layoffs Are Cruel and Don't Work on Friday February 03, 2023 @11:58AM (#34643885)
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.
Re:SQLite in Go, with and Without Cgo on Friday May 13, 2022 @03:38PM (#31371750)
Also of note is https://github.com/tailscale/sqlite, also written by David Crawshaw. It _does_ provide a database/sql driver.
Re:Kubernetes the Hard Way on Saturday August 20, 2016 @10:59AM (#12326871)
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.

Re:Kubernetes the Hard Way on Friday August 19, 2016 @04:48PM (#12323351)
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.

Re:Spaces, a tool for small group sharing on Monday May 16, 2016 @03:21PM (#11708869)
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.
Re:The Promise and Confusion of USB Type-C on Wednesday January 20, 2016 @08:08PM (#10942687)
"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.

Re:Python Wheels on Monday August 03, 2015 @08:11PM (#10000831)
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.

Re:Python Wheels on Monday August 03, 2015 @08:07PM (#10000810)
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...

Re:Frontback Shutting Down on Thursday July 23, 2015 @11:47PM (#9940026)
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.
Re:Hello World on Thursday June 04, 2015 @07:31PM (#9662911)
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

Re:Fedora 22 released on Tuesday May 26, 2015 @02:41PM (#9606743)
Looks like a Lenovo Thinkpad X1 Carbon, 2nd Generation based on the modifier keys.
Re:The Fuck – Correct your previous console command on Friday April 17, 2015 @08:24PM (#9397891)
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
Re:Stop using tail -f (mostly) on Monday March 30, 2015 @02:34PM (#9291555)
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.
Re:Git v2.3 Release Notes on Friday February 06, 2015 @07:55PM (#9012572)
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)

Re:VimSwitch: Use Your Vim Settings Everwhere on Tuesday October 21, 2014 @03:40PM (#8489386)
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?
Re:Why Microsoft? Microsoft vs. Linux on Wednesday August 06, 2014 @10:40AM (#8142672)
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.

Re:Why I don’t worry about Python losing users on Friday July 11, 2014 @06:31PM (#8022876)
It can actually be even simpler:

  sort -u file1.txt file2.txt | tr A-Z a-z > whitelist.txt
Re:Coming Home to Vim on Tuesday September 21, 2010 @06:54AM (#1712107)
"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.