HNHacker News
TopNewBestAskShowJobs

cjh_

414 karma · joined January 9, 2013

followingthepath at gmail dot com
submissionscomments
cjh_··on Die Git Die
Mistakes like this happen often, being able to purposefully delete history (at least as far as the remote is concerned) is a very important feature of a VCS.
cjh_··on Die Git Die
Most of the time the information is not lost, and if you act quickly, it often just takes some git-reflog-foo to wrestle it out (or possibly as simple as looking at ORIG_HEAD, depending on how you 'lost' it).

History not referenced will eventually be reaped by the garbage collector though.

cjh_··on Instacart: We're Sorry
>Second, we’re going to give these customers the choice to >either:

>Receive a full refund of the Instacart Express subscription >fee immediately >Continue as a subscriber of Instacart Express for the next >year. We’ll extend the end date of your subscription >through April 30, 2014. This option includes unlimited free >deliveries for orders over $35.

Still opt-out

cjh_··on Common Pitfalls in Writing Lock-Free Algorithms
I cannot upvote this enough, thank you for the very well written article.
cjh_··on A lot of free ebooks
Physical books are much easier to quickly skim through, to jump to a random page (based on position rather than page number), I also find the search of most ebook readers (looking at the Kindle) to be rather bad.

However these are more due to the current tech around ebooks more than a fundamental property of them.

cjh_··on Plan 9 from Bell Labs
Although I am a fan of plan 9 in general, I don't really see how posting a link to the Wikipedia article is useful.
cjh_··on Just Use Sublime Text
Thank you for that insight, glad to hear that you are able to comfortably use a computer :)

As much as I wish you weren't in pain, it is a little comforting to know that there are others in a similar situation.

The main advantage of the kinesis for me is all the buttons around the thumbs and the fact it supports remapping from the device itself, so that whenever I am feeling pain I move keys around to alleviate it (often moving keys away from pinkies and towards the thumbs if I find myself using them often).

I have a windows,alt,ctrl and tab key under each thumb. Shift and backspace under the left, right and space under the right.

On my laptop I have capslock as esc but this doesn't help too much as my pinkies are quite painful to use after a while.

I use dwm, set -o vi for most of my terminals, and pentadactyl in firefox.

Haven't heard of Vimium; I have been looking for a Chrome equivalent as I prefer it as a browser, pentadactyl is nice but it has the issue that it currently doesn't support the use of ctrl-c which drives me insane.

cjh_··on Just Use Sublime Text
Similar story for me, I'm 21 and due to bad computer and mousing habits I have quite nasty RSI/OOS in my wrists.

Switching to an ergonomic mechanical keyboard (kinesis advantage) and a keyboard-heavy workflow (vim) allows me to work as a developer.

I can tell how often I resort to using the mouse each day by the pain when I get home (I have a trackball on my left hand side and a touchpad on my right hand side to try alleviate this), thanks to not using the mouse all day I can often game for a few hours without too much trouble.

This isn't necessary specific to vim, however vim's modality and extremely expressive command language really minimize the amount of movement I need to do for any given action, no more emacs-pinky for me.

cjh_··on Just Use Sublime Text
>Don't touch the keyboard

>You can do EVERYTHING without the mouse

What are you using to edit text with? The power of thought?

cjh_··on What gofmt -r can do for you
It is doing something a little smarter than that, as gofmt understands the language it is parsing it rather than just a textual find/replace.

The interesting thing here is that you can make your other tools use this, it makes writing tools around go a lot easier.

cjh_··on Show HN: Increase your productivity with ambient noise
Anything by Queen :)
cjh_··on Programming Languages Are Simply Not Powerful Enough
>Using a programming language is like speaking in common tongue to every other programmer who knows that language

As much as I love DSLs, I Couldn't agree more.

>The problem with writing a DSL for every problem (and every programmer writing different DSLs) is that you end up with all these different languages

When writing in a DSL of my design, it is amazing. It feels like the program models exactly how I am thinking about it.

When modifying/maintaining a DSL made by someone other than me, often this can be horrifying, it feels as though this models my thoughts so poorly (and it does, it was designed to model their thoughts).

cjh_··on Programming Languages Are Simply Not Powerful Enough
I think you misread that.

> you can bend your problem to your language

>The former is epitomized by Java and Python--all Java and Python code looks the same, regardless of what it's actually doing.

He was saying that python and java don't bend as languages towards the domain, that is that they bend the problem towards them.

>or your language to your problem.

>The latter is the domain of Lisp and Haskell and Forth and so on.

And that Lisp, Haskell and Forth are the languages that bend.

cjh_··on New Anti-Piracy System to Hit U.S. Internet Users on Monday
I wasn't actually aware of their history as a less-than-legitimate site, I guess that helped with the chicken and egg problem of content and audience.

Region licensing is definitely one of the big killers, I find it odd (read: sad) how companies can buy all the rights to a product for a region, and then not do anything useful (at least not to me) with it.

cjh_··on New Anti-Piracy System to Hit U.S. Internet Users on Monday
I'm sorry to hear that, I made the jump from 'it works in New Zealand' to 'it works everywhere'.
cjh_··on New Anti-Piracy System to Hit U.S. Internet Users on Monday
I really wish business practices would change to meet this demand.

I recently came across crunchyroll [1] which has a huge amount of japanese animation available to watch online 'for free' if you can put up with ads, or you can pay $7/month to have ad free (as well as higher def).

What I find really awesome is that for many shows it is available online an hour after it is shown in japan (this is for paying members, free members have to wait a week).

I apologize if this seems like nothing special to you, but living in New Zealand I can really appreciate sites that are both affordable and don't lock me out because of my region.

[1]http://www.crunchyroll.com/

cjh_··on Blocking China IP Address Blocks
Just wanted to say; thanks for that awesome link.
cjh_··on TOML, Tom's Own Markup Language
fwiw: This is how I read it too, I didn't get any sense of arrogance.
cjh_··on TOML, Tom's Own Markup Language
>I realized it aided compatibility with languages that do not support homogeneous arrays.

Don't you mean languages that only support homogeneous arrays (or languages that do not support non-homogeneous)?

As the spec says that the array elements must all be of the same type, thus homogeneous.

If I a mistaken, can you please explain why?

cjh_··on A List of Sublime Text 2 Hotkeys
I think I'm missing something, but I'm sure I have used plenty of hotkeys that are not in this list (ie; insert line before current).

Can someone explain?

cjh_··on Go and Assembly
This font renders odd in IceWeasel 10.0.12 , all occurrences of the letter 'e' have their left side 'cut off' so they stand out and are very difficult to read.

Chromium Version 22.0.1229.94 Debian 7.0 (161065) works fine.

cjh_··on Gabe Newell's vision for Steam: More choice, more democracy, less Greenlight
Every steam game I own requires the steam client to be running while I am playing the game, the games become bricked if I remove steam so this is DRM. I can go into offline mode for most games, but the client must always be there.

Installing the game requires both the steam client and a connection, this is authorizing the install and is DRM.

cjh_··on Open source html5 roguelike 'Wayward' goes beta
I was quoting the video on the linked page, about 1:48: "OPEN SOURCE Make your own modifications and customizations."
cjh_··on Gabe Newell's vision for Steam: More choice, more democracy, less Greenlight
Steam itself is a form of DRM.
cjh_··on Pros and cons of releasing Perl 5.20.0 as Perl 7.0.0
However once (if) Perl 6 does come out and take hold I still think this would cause confusion.

Explaining it is also a solution to the 'problem' they are trying to solve here, namely that 5.x seems 'dead' and 6.x seems 'alive'. A little explanation that the 5.x branch will continue to exist seems a lot easier (and less confusing).

cjh_··on Pros and cons of releasing Perl 5.20.0 as Perl 7.0.0
I really think such a move would be overly confusing

* Perl 7 coming out before Perl 6

* Perl 7 being compatible with 5

* Perl 6 being compatible with neither 5 nor 7

cjh_··on Gabe Newell's vision for Steam: More choice, more democracy, less Greenlight
I too am very interested in the logistics of this, I imagined some kind of 'pull' system where the higher the demand the more it is replicated.

The piracy issue will be interesting, although I guess this could be dealt with by using a team of mods and/or scanning their servers for possible infringing files.

Interesting times ahead.

cjh_··on Open source html5 roguelike 'Wayward' goes beta
I'm not sure how common this is for HTML5 games, but I really do appreciate how I can download this and play it locally.

Being forced to always play it online via a webserver is one of the things that puts me off HTML5 games (or browser based games in general).

cjh_··on Open source html5 roguelike 'Wayward' goes beta
Sorry about that, fixed :)
cjh_··on YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
Very cool, for me the simple fact that this is searching for a subsequence rather than a prefix makes this awesome.

I am too used to IDEs only using prefix, which is often useless to me (I remember the 2nd word but that is it, time to google).

EDIT: I find the idea of a helper window really neat (display documentation, argument names and types, etc.), too bad the vim API isn't there yet.

← PreviousPage 4 of 5Next →