HNHacker News
TopNewBestAskShowJobs

phlyingpenguin

209 karma · joined November 30, 2010

submissionscomments
phlyingpenguin··on Jrnl – A simple command line journal application
I've seen this alias floating around git recipes. It doesn't do anything for many of your actions, but I've found it useful:

standup = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cD) %C(bold blue)<%an>%Creset' --since yesterday --author <Your Name>

phlyingpenguin··on The ROI on being an entrepreneur vs. an employee
Fail at being a grad student? Tons of folks do. Grad degrees have a fairly low success rate and living conditions are certainly one of the reasons people drop out or leave early (the case where the student goes for a PhD and leaves after getting a masters). I'm not claiming it's the only reason, but it's certainly on the list.
phlyingpenguin··on Go 1.3 is released
I'm very curious why you say operator overloading is a requirement. It's certainly nice to look at code with operator overloading when you're trying to understand a problem (or maybe it's a curse when you're trying to understand what a block of code actually does!), but it's the plainest case of syntactic sugar I can think of in language design. What are you getting from operator overloading that you can't get from chaining methods?
phlyingpenguin··on The ROI on being an entrepreneur vs. an employee
As a successfully graduated grad student, I disagree. It is possible, but not at all easy, healthy or sustainable.
phlyingpenguin··on Syncthing: Open Source Dropbox and BitTorrent Sync Replacement
You may have picked this up elsewhere in the conversation, but they are waiting on Go to have good cross platform support in the standard library for file change notification. This was originally going to be part of 1.3, but it's been pushed off to the next version of Go.

https://github.com/calmh/syncthing/issues/9

https://code.google.com/p/go/issues/detail?id=4068

https://docs.google.com/document/d/1-GQrFdDVrA57-ce0kbzSth4l...!

phlyingpenguin··on Jsfmt – Like Gofmt, but for JavaScript
I can't speak to emacs, but vim has no problems with a program like this operating on the BufWritePre event. I use whitespace trimming and js-beautify that way already. This may or may not do a better job than js-beautify for it. I have it set as the equalprg so that vim will use beautify to format code on = when a visual selection is made.

From my vimrc:

> au FileType javascript setlocal equalprg=/usr/local/share/npm/bin/js-beautify\ -f\ -\ -q\ -t\ -j\ -w\ 140\ --good-stuff\ -b\ \"end-expand\"

edit: The same event (BufWritePre) is what I've got set for go fmt too. That IS a plugin, but it makes no significant difference as compared to js-beautify.

phlyingpenguin··on HELP MY TEAM IS JUMPING SHIP(How To KEEP Your TOP TALENT)
THAT and WHY IS half of the screen TAKEN UP by a BIG EMPTY black SIDEBAR? it's CRAZY unreadable!!
phlyingpenguin··on CDE - Common Desktop Environment
OpenCDE is also a thing, though it's a bit of a hack in some regards. I quite enjoy running its panel under XFCE, hiding the XFCE stuff.

https://github.com/OpenCDE/opencde

phlyingpenguin··on My Favorite jQuery Plugin Template
Why not: options = $.extend(true, {}, defaults, options);
phlyingpenguin··on Why WTFPL is bad for you
Re: warranty clause

The FAQ has a section explicitly addressing warranties with a free WTFPL sample snippet to use. You are free to modify your WTFPL, or specify warranty separately. I don't see this as a big issue, but I suppose it could be easy to miss too.

http://www.wtfpl.net/faq/

phlyingpenguin··on Gorilla vs Pat vs Routes: A Mux Showdown
Worth noting, there's also a pat-like interface in Gorilla too: http://www.gorillatoolkit.org/pkg/pat
phlyingpenguin··on 'The IT Crowd' to return for finale special
It's /definitely/ not my password for anything super important...
phlyingpenguin··on Lousy web design trends that are making a comeback due to HTML5
This is exactly what I was thinking after dismissing the gigantic "Join FREE as a bronze member..." popup at the bottom of the screen.

-- snip --:

Lame pop-ups

I’ve never used this site before, so immediately asking me to create a free account is absolutely pointless, and more so when the pop-up does not automatically disappear when I ignore it.

phlyingpenguin··on Using a Hosts File To Make The Internet Not Suck As Much
I just wish they were up to date and all worked. goatse.cx hasn't been a shock site for ages.
phlyingpenguin··on Ask HN: Dvorak or Dvorak-Qwerty? Shortcuts not useful anymore?
Just keep using it. You'll get used to them quickly and find that it's really not a big deal. I find that I must use two hands centered on the home row to begin with, so the distance/time needed to cut/copy/paste/undo/etc isn't bad. I remap vim's hjkl to dhtn (move d->j) and everything's great.
phlyingpenguin··on Sublime Text 3 Beta
While I agree that vintage lacks some refinement, the source for the plugin is sitting in your sublime directory and is fairly easy to hack on. Things like the one-off cursors are fairly easy to fix. I'm not sure what you mean about switching files; I don't notice that particular problem. Do you have '"vintage_start_in_command_mode": true' set in your config?

As far as a vim-style editing plugin goes, vintage has by far been the best I've encountered. It's one of the few where it's fairly straightforward to add in the hacky things I've done to vim and still get a similar experience.

phlyingpenguin··on How adding indexes to our MongoDB really improved our perfomance
Worse than that: from my end on Chrome (beta) running in Ubuntu, the bars appear to stay in their original location when scrolling which makes them cover content and generally bug out. I could not read the article at all!
phlyingpenguin··on Reading Manpages with Vim
The article claims that vim comes with man.vim, but this appears to not be the case on my Ubuntu and Arch systems. It would be helpful if the post listed some information about the package and versions of vim that were used. Also, the function needs a semicolon in order to be correct in bash:

man () { vim -c "Man $*" -c "only"; }

phlyingpenguin··on New Jersey To Allow Voting By Email
To be fair, voters have more to vote on than the presidential election. Maybe that still means lawsuits should be flowing, but I don't thing it being a swing state or not is really the issue here.
phlyingpenguin··on Show HN: Nextprev.it: Share PDFs & control what page the viewer sees in realtime
Thanks, it looks like it works now. This will be great for my research group!
phlyingpenguin··on Show HN: Nextprev.it: Share PDFs & control what page the viewer sees in realtime
Are things broken right now? No matter the browser, when I try to upload one of my small PowerDot created presentations (90k), it just pops a banner up that says "Thanks for signing up" and nothing happens.
phlyingpenguin··on Raspberry Pi now with 512MB RAM
TBH, I wish I would have noticed how absurd the RS situation was earlier. I just put an element14 order in to see which ships sooner. Based on my order number, RS says they'll ship it mid November. Somehow, I feel like I'll be able to cancel the RS order with a pi in my hands.
phlyingpenguin··on I’ll Give MongoDB Another Try In Ten Years
Are you really arguing that you shouldn't have to study documentation? First, blog posts and code samples are not documentation (in this case, at least).

If you were working for me as a developer and had the attitude that you shouldn't have to _thoroughly_ read the manual and notes for something like MongoDB, I'd let you go. Steve Jobs was not a programmer.

phlyingpenguin··on Xiki: A shell console with GUI features.
I'm waiting on allowance on that, but I can say on Ubuntu 12.04, I am not able to use the instructions given.
phlyingpenguin··on Z - Jump to directories that you actually use.
It's even based on Z, cool. You've reminded me to update my copy as the version I'm using is f.sh!
phlyingpenguin··on Task tracking for nerds
Is that really lost if there's a login that keeps track of the individual list urls? I don't think they have to become private just because they're tracked.
phlyingpenguin··on Task tracking for nerds
Re: no-signup approach

I really like the fast start, but I would MUCH prefer them to allow me to give them some login info (maybe even just Google login or something) so that I wouldn't have to save a funky URL someplace. In addition to that, the option to have multiple trees (hit the holly button) is useless since only the browser that's seen all of your trees can access all of them (without the funky URL). It would almost be a feature if you could also forget trees that you've seen (keep a work tree and a home tree, perhaps, but no work at home). I think it badly needs the option of having a login or at least an unsecure custom URL option.

phlyingpenguin··on Govt of India proposes to ban SSH (Or wants you to use 40 bit keys)
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
phlyingpenguin··on Pebble E-Paper Watch Raises $1M In 28 Hours
It's not the change in fashion that I'm taking issue with. Standing in front of a group of people with your attention fixed on a communication device is not good presentation. If it were glancing down at a clock sitting on a podium or table, that would be fine. This is not how it happens in practice. The biggest difference between a cell phone and a watch or other timepiece on a surface is that a cell phone requires interaction to extract the time. The extent of that interaction really doesn't matter. It goes from a momentary action of pulling a phone out and pressing a wake button to a nervous speaker confounded by a single button press and a screen too dim to see without making a spectacle of the action. This is the more common of the cell phone users I witness. The trouble is that every minute thing a speaker does is on display and just as a speaker expects (or hopes for) respect from the audience, I as an audience member expect the speaker to be attentive and professional.

So can it be done gracefully without my ire? Probably. I have yet to be pleasantly surprised.

phlyingpenguin··on Pebble E-Paper Watch Raises $1M In 28 Hours
I find the use of cell phones as pocket watches tacky. As a grad student, I've seen many speakers come in and open a cell phone in the middle of a talk to check their time usage, which I find utterly unacceptable.

Depending on your situation, look around a bit and see who's wearing a watch. It may not be the norm anymore, but it's still not an unusual thing to do at all. If nothing else, they are a good fashion accessory.

← PreviousPage 4 of 5Next →