HNHacker News
TopNewBestAskShowJobs

rbxbx

1,464 karma · joined May 3, 2009

Write some code, read a lot of code, read a lot more about writing code.

http://regretful.ly

@rbxbx

r b x b x d e v (at) g m a i l (dot) c o m

submissionscomments
rbxbx··on Why don't they implement Python and Ruby on the web browsers?
>If you really don't have the skill required to use Javascript...

So it's a lack of skill that makes JavaScript a poor choice for largescale application development?

No.

Developers like this are a large part of the reason we can't have nice things.

rbxbx··on Bug Prediction at Google
https://github.com/igrigorik/bugspots/pull/5

;)

rbxbx··on Programming With Nothing: FizzBuzz in the lambda calculus in Ruby
Yes yes yes, wonderful article. Look forward to watching the video later as well :)

I did a lightning talk at SCNA this year which covered similar, if somewhat different, and certainly less comprehensive ground, which may be of interest to readers of this thread/article.

http://git.io/objects-as-closures (full code and all everything)

https://gist.github.com/1372131#file_v2.md (outline/notes)

(please don't make fun of me, Scheme peeps)

rbxbx··on Elm: a functional reactive programming language that compiles to JavaScript
CoffeeScript is essentially JavaScript with a different syntax, while this is a completely different language that just happens to have JavaScript as it's primary build target (which makes a lot of sense if you think about Functional Reactive Programming).

I fear you may be missing the point.

rbxbx··on The Rest of the Story (Yammer & Scala)
Can't help but upvote half the replies in this thread. Sometimes I forget how many ridiculously smart people hang out around here. Happy to be amongst you all, even as a generally passive participant.
rbxbx··on Linus: please write good git commit messages
http://stopwritingramblingcommitmessages.com/
rbxbx··on Codify: native coding environment for iPad
"Wouldn't it be nifty to have that color picker in Vim?" a friend posed the question after my showing him the video.

Maybe: http://www.supaspoida.com/2011/10/26/a-short-story-about-a-t...

(note: I didn't develop this, just sharing it with you all)

rbxbx··on In defence of Objective-C

    filteredArray = [allRecords filteredArrayUsingPredicate:
        [NSPredicate predicateWithFormat:@"someField == %d",   someFieldFilterValue]];
in ruby:

    all_records.select {|r| r.some_field == some_field_filter_value}
in clojure:

    (filter #(= % some-filter-value) all-records)
in haskell:

    filter (\someField -> x == someFilterValue) allRecords
rbxbx··on The True Cost of Commuting
A friend (and coworker) of mine is working on an app that allows you to calculate your true drive costs... consequently being http://drivecosts.com/

If you're at all interested in this and would like to have a better idea what your commute is costing you (other than time) check it out :)

rbxbx··on Heretical Confessions of an Emacs Addict – Joy of the Vim Text Editor « /usr
While I generally agree with your sentiment, I will say that I use http://danielchoi.com/software/vmail.html Vmail (vim-gmail) daily and quite like it. Some of us don't mind Vim throwing in the proverbial kitchen sink :)
rbxbx··on MoonScript - A programmer friendly language that compiles to Lua.
The killer feature of MoonScript would be 0 based indexes. See no mention of it though...
rbxbx··on Functional Programming Doesn't Work (and what to do about it)
Most other (good?!) languages should allow you to define monadic data structures fairly easily. Many languages are able to make use of monads, the difference being that Haskell leaves you (almost) no other option.
rbxbx··on Nobody Understands REST or HTTP
Perhaps something along the lines of the following would provide a good balance http://quickleft.com/blog/presenters-as-a-solution-to-asjson...

It's also worth noting that to_json should not be invoked directly these days in favor of as_json. It's now meant to more or less be an internal Rails API.

rbxbx··on Hemingway, Hounded by the Feds
Given your response, I'll assume you either straight up did not read the submission, or have chosen to reply entirely non-contextually. The article wasn't about the practical facets of retirement, it was about the mental, emotional, and artistic.
rbxbx··on [dead]
Right, but that's generally in reference to more LoC > less LoC.

It's usually agreed that accomplishing the same thing in less lines of code is, of course, better. (As long as you've maintained readability, etc)

rbxbx··on Turntable.fm Hits 140,000 Users in Its First Month
I've found it will usually try to match against tracks in their database (sometimes to my chagrin)

I've never tried a completely untagged file before though... so report back when you find out?

rbxbx··on Noir - The Clojure web framework
The metaprogramming capabilities in Clojure greatly exceed those of Ruby, so that's a bit of a weak argument if you're impressed by things of that nature. Also one shouldn't forget about Clojure's concurrency model and functional purity which lend themselves to correctness and scalability.

Just because it doesn't necessarily better solve your class of problems doesn't mean it's unsuitable for other people's.

rbxbx··on Amen: the world's most famous sample and the rise of the musical copyright
I'm inclined to agree. Also considering the quality of info and relevance of associated audio samples. Also, meatsock? As in the dude from the c8 forums and slsk breakcore chat back in the day? Odd to catch you here. It's rob/robad/etc from sickmode etc :)
rbxbx··on Reverse engineering the Mac ‘breathing’ LED
And the product that they were reverse engineered for, the iCufflinks

http://www.adafruit.com/icufflinks

Quite appealing if you ask me, if a bit bulky for cufflinks :)

rbxbx··on The State of Ruby and Testing
Nice survey but considering the limited data-set I'm not sure that's it's worth much.

Nice looking blog too.

rbxbx··on CSS Lint
I know it's just picking nit, but seeing as that's basically the entire point of CSS Lint... https://github.com/stubbornella/csslint/blob/master/lib/pars... The entire library is in a single ~4700 line file with ~80 line long functions... Ugh.
rbxbx··on A JIT Compiler in 380 Lines of Ruby
Caches of the original article and each associated chapter:

Original Post http://webcache.googleusercontent.com/search?q=cache:http://...

Chapter 1: The Lexer http://webcache.googleusercontent.com/search?q=cache:http://...

Chapter 2: The AST Nodes http://webcache.googleusercontent.com/search?q=cache:http://...

Chapter 3: The Parser http://webcache.googleusercontent.com/search?q=cache:http://...

Chapter 4: AST Translation http://webcache.googleusercontent.com/search?q=cache:http://...

Chapter 5: JIT Compilation http://webcache.googleusercontent.com/search?q=cache:http://...

Chapter 6: Adding Control Flow http://webcache.googleusercontent.com/search?q=cache:http://...

Chapter 7: Playtime http://webcache.googleusercontent.com/search?q=cache:http://...

Chapter 8: Mutable Variables http://webcache.googleusercontent.com/search?q=cache:http://...

rbxbx··on Rails 3 - Fully Loaded
I'd be surprised if anyone that has built a few significant rails applications with devise would continue to use it. Unless you're going to have the most vanilla session/user/authentication management ever, fighting against devise gets downright nasty.

Have had moderate success with https://github.com/NoamB/sorcery lately, however I'm not yet confident in calling this a solved problem.

edit: Devise is great for getting up and running quickly. For that matter though, so is Joomla.

rbxbx··on Sane Vim Plugin Management with Vundle
Updating your plugins (when using pathogen) is super-easy if they're stored in git somewhere.

    Dir.glob("#{ENV['HOME']}/.vimbundles/*").each do |d|
      next unless File.directory?(d)
      puts "updating #{d}"
      `cd #{d}; git pull --rebase; cd -`
    end
in ruby, would be easy enough in bash/zsh/python/perl/ as well.

see also: https://github.com/hashrocket/dotmatrix/blob/master/bin/vimb...

rbxbx··on Kill Math
Any chance of contacting said professor and obtaining permission to share said notes online?

Then... y'kno. Doing so :)

(I realize that scanning tons of a pages and ensuring quality isn't exactly a small undertaking, but I'm sure the HN community would greatly appreciate your efforts if such a thing were possible)

Thanks (or at least thanks anyway) !

rbxbx··on America's 10 Least Stressful Jobs includes Programming & Software Engineering.
And from what I understand, audio programming typically involves fairly heavy mathematics (also on the list).
rbxbx··on America's 10 Least Stressful Jobs includes Programming & Software Engineering.
I hate to think what my anxiety levels would be with a legitimately stressful job.

I love hacking, but consulting is another matter.

rbxbx··on Get-shit-done - Easy way to stop distractions
Sorry to be the guy decrying PHP, but the only arguments I've found in it's favor are it's ubiquity and being sometimes "the right tool for the job" if you're quickly hacking together a dynamic webpage.

Surely a simple cli app isn't the right job for this tool.

Now, all that said, it _does_ work, and blahblahblah.

rbxbx··on Poetics: The first native implementation of CoffeeScript on the Rubinius VM
Beyond already compiling to Javascript as udp mentioned, the author (Brian Ford) is a frequent contributor to Rubinius and has already written other languages on top of it. Makes quite a bit of sense, in that regard.
rbxbx··on Sitting All Day: Worse For You Than You Might Think
Related article: http://www.msnbc.msn.com/id/39523298/ns/health-mens_health/

Previous HN discussion: http://news.ycombinator.com/item?id=1834671

ps: standing desk :)

← PreviousPage 2 of 7Next →