Better HN
topnewbestaskshowjobs
Log inSign up

0942v8653

1,248 karma · joined Oct 17, 2014 (12y ago) · 552 submissions

email is my username at the email service run by google
Submissions

comment 11y ago · link · parent

Direct link: http://robertmanduca.com/projects/jobs.html

The data is available in (gzipped) CSV here: http://lehd.ces.census.gov/data/

And LEHD also has its own visualizations here: http://lehd.ces.census.gov/applications/

comment 11y ago · link · parent

I don't have many. Tab completion on linux is usually enough.

    alias i='i3-msg -q exec --'
    alias jql='jq . -C | less -R'
Also bindings:

    bind -m vi-command -x '"\C-n": new-term-here'
    bind -m vi-insert  -x '"\C-n": new-term-here'

    #which is `i gnome-terminal --working-directory="$PWD"`

comment 11y ago · link · parent

If you're using Debian Jessie (what I'm running right now) or later, don't use rEFInd; EFI install goes beautifully. If you want to dual boot OS X you can just make a boot option that runs

    exit
and call it OS X or whatever. I'm using debian and i3 and I couldn't be happier with my setup (okay, I could, but it's a lot better than OS X!). I don't know how well GRUB EFI works with Mint but I used their live CD for the install and it seems to boot pretty smoothly.

comment 11y ago · link · parent

I can't help but think it's funny that Sublime Text uses

- XML for snippets (https://github.com/sublimehq/Packages/blob/master/C%2B%2B/fo...)

- YAML for syntax files (https://github.com/sublimehq/Packages/blob/master/C%2B%2B/C%...)

- JSON for settings (https://github.com/sublimehq/Packages/blob/master/C%2B%2B/C%...)

- and plist for TextMate compatibility (https://github.com/sublimehq/Packages/blob/master/C%2B%2B/In...)

Of course each one has a reason to be that way, but it must be really annoying to maintain.

comment 11y ago · link · parent

If you're using Firefox, go into about:config and change image.animation_mode to none, then reload the page.

comment 11y ago · link · parent

You don't need to VPN. A DNS server works as well as a hosts file and is much faster than putting every request through your network.

comment 11y ago · link · parent

There is full FS access, and I imagine it'd be trivial to figure out the location of the logs.

comment 11y ago · link · parent

Well, I never use right control :)

There's no reason to keep the host key as right control if it causes problems like that. You can set it to something different in VirtualBox's global preferences (Control-G) > Input > Virtual Machine.

Also, you may prefer to run your VMs headless with vboxheadless (man vboxheadless). May save you some time and frustration, and video memory. Then ssh into them by going into the guest settings and forwarding port 22 to a host port (I use 12322).

comment 11y ago · link · parent

Seems they've already tried a DMCA request:

https://github.com/venomous0x/WhatsAPI/tree/fd07b49a459cda25...

... and it didn't work, causing only "brief downtime", probably because it didn't actually fall under the DMCA.

comment 11y ago · link · parent

It does, but bash-completion has a long list of supported commands. Not just git, but also modprobe, pygmentize, youtube-dl, even grub…

comment 11y ago · link · parent

No, my bash is mostly the default that Debian provides (only semi-relevant option I have enabled is globstar, which is just the recursive globbing). I guess I didn't mean that zsh wasn't that much better, just that I didn't think it was that much better.

I may switch to zsh eventually, but I just switched shells and I don't really want to do it again very soon.

comment 11y ago · link · parent

I'm on 3.14. Thank you, I will probably like that much better.

Edit: Hmm, it doesn't seem to work properly in 9.20. Well, I should probably be using tmux anyway, which does fix the problem.

comment 11y ago · link · parent

Much faster, but much less configurable. If you have a decent config on ohmyzsh already, and it doesn't take too long to start up (you have an SSD), there is little point in switching to fish IMO. Especially if you use a lot of these things: https://github.com/fish-shell/fish-shell/issues?q=is%3Aissue...

comment 11y ago · link · parent

So far, gnome-terminal is the only one* I've seen that can rewrap text properly when the window width changes. Does urxvt do that? Is there something lighter (than gnome-terminal) that does?

* not the only one, but I'm not sure finalterm is really ready to use yet, and it's certainly not lightweight.

comment 11y ago · link · parent

I used to use fish, and emacs. But when I switched to vim, I had to switch away from fish as well because of its lack of vi bindings. It is a little disappointing to go back to using bash, but as long as bash-completion is working, it's not really a big issue. Of course, I do miss the syntax highlighting. (I would use zsh, but it provides little benefit over bash out of the box and is slower (oh-my-zsh is unbearably slow to start, too).)

There are a few things that, while I understand why fish is missing them, I wish would be added:

- vi-mode, obviously

- Control+R. It is annoying to have to guess how much you must type before hitting the up arrow, instead of having it dynamically displayed. Same goes for zsh vi-mode's ? command.

- Well more of a removal, but the backslash in single-quoted strings. I'm used to typing '\', and that's not possible with fish. Additionally, to get one backslash in any sort of regex (sed, grep), you need four backslashes.

- Goes without saying, but bash-completion. Fish's completion is mostly history-based, which is great for repeatedly running the same command, but terrible for discoverability

- "$()" and any non-splitting command substitution. Currently, it is impossible to pass a multi-line string from a command substitution as a single argument. Which, it may be argued, should be done by piping, but sometimes it is useful to have stdin.

- More extensibility in general. I'd like to be able to customize my shell just as much as I can customize my WM. Probably more.

Honestly, it was easier to go back to using bash than I thought it would be -- it was almost a relief. fish just feels more polished and clean, especially with regard to escaping, but it misses some very important features.

Edit: I heard that there is a vi-mode now. Sounds interesting, but I don't really feel like installing it at the moment, and if I ever try another shell it'll probably be zsh.

comment 11y ago · link · parent

On Debian:

    bc -l <<< "100 * $(cat /sys/class/power_supply/BAT*/energy_full) / $(cat /sys/class/power_supply/BAT*/energy_full_design)"

comment 11y ago · link · parent

Yes, and Jessie ships with 3.16 (and that is probably what I have). Of course, it's a very simple fix and should be easy to backport.

comment 11y ago · link · parent

The AdBlock Plus guy gets paid by companies to put their site on the "unobtrusive ads" list -- those ads don't get blocked for the majority of AdBlock Plus users.

comment 11y ago · link · parent

Not sure if I trust weblock, but my Raspberry Pi functions as a DNS server with a few ad domain lists and it works 99% of the time. No need for a proxy server.

comment 11y ago · link · parent

You'd think that since Superfish was a web malware company, that intercepted web pages and added content to them, they would be competent enough to write a ten-line site without using a heavy, bloated website builder that makes 28 requests, most of them JavaScript. IIRC Wix was, until very recently, a Flash website builder.

comment 11y ago · link · parent

GeoIP isn't too accurate, really. You were probably near the center of a city. (GeoIP should not tell anyone more than a ZIP code can, unless in an area with very high population density.) If people decide to track you it is much easier and more accurate to do it over actual phone networks.

comment 11y ago · link · parent

I can't help but think it's funny that they're using React for a page like this, with scripts like 'wixAppsBuilder.min.js', 'wixAppsClassics.min.js' and 14 requests to frog.wix.com (whatever that is). So apparently they built this (extremely simple!) page with... Wix Website Builder?

comment 11y ago · link · parent

I suppose it wasn't as bad as I thought. If you type

    lynx news.ycombinator.com
it tries to "intelligently" choose the news:// protocol, which I have never used and probably never will. With w3m, it just goes to http no matter what the subdomain is.

comment 11y ago · link · parent

Comma also works.
1
111213
19