News for hackers. Stuff that matters.

malokai

Re:Merry Christmas to HN on Thursday December 25, 2014 @05:42AM (#8795991)
Haskell. Here's another way to do it in the same language, using function composition and point-free style.

map (chr . (+32)) [45, 69, 82, 82, 89, 0, 35, 72, 89, 73, 83, 84, 77, 65, 83, 1]

Re:Amazon is hiring Clojure devs on Wednesday November 26, 2014 @09:17PM (#8665691)
Julia has a Python syntax, optional typing, macros, maps, lists, expression quoting.

http://julialang.org/

Re:YC W15 emails are out on Tuesday October 28, 2014 @10:59PM (#8525284)
Regarding whether you should learn a programming language, which can depend on how large the company is you're building and how busy that keeps you, if you're still at point 0 with an idea and little progress, learning to program can really help.

It also makes finding a programming cofounder easier because fewer programmers probably want to work on the cheap with a piece of a company that may never work out, but they will be willing to work with a fellow programmer as a cofounder on ideas that interest them both.

That's a weird sentiment to hold, that less expressive languages should be used to spark interest. If I were learning a first programming language again, I would want to learn a language that let me get going as quickly as possible. It takes a lot more to build something in C than in Python and Python can much more quickly prove to a person learning their first language that programming is worthwhile.
Re:Show HN: A Rogue State Along Two Rivers on Thursday July 03, 2014 @06:31PM (#7986269)
He created Coffeescript, Backbone.js, and Underscore.js. Now works at NYT.
Re:Ask HN: What Books Are You Reading? on Monday June 30, 2014 @07:45PM (#7968400)
I also started Gödel, Escher, Bach. Have yet to finish the preface.

Discover Meteor: a book for the Meteorjs framework. Good book if you want to learn the framework.

I read a lot of fiction I guess. Now I am reading American Gods, and before that, Dune. Before Dune I read the 2 released books of The Kingkiller Chronicle.

Re:How to randomize your MAC address on OS X on Tuesday June 10, 2014 @12:19PM (#7873465)
In my experience, my macbook pro MAC address can be changed with the bash command listed in the file for wifi (sudo ifconfig en1 ether [addr]), but it will not let me change it to any arbitrary address I want, just some of them, including addresses that start with aa:[rest], ab:[rest], etc., which is what I usually go for. Just tested it and en0 doesn't seem to have the same limitations.
Re:Meteor 0.8.0: Introducing the Blaze templating engine on Saturday March 29, 2014 @12:25AM (#7491411)
Now that I've had time to check out the update in depth, I can say that this update actually affects my project in a huge way. It'll require refactoring probably around 500 of lines of code because of the elimination of {{#isolate}, {{#constant}} and preserve-inputs, and the new template.rendered functionality.
Re:Meteor 0.8.0: Introducing the Blaze templating engine on Thursday March 27, 2014 @10:38PM (#7484984)
I've been using Meteor since this past September. Great to see there's only 1 more update prior to 1.0.
Re:Btapp.js: BitTorrent in the browser on Thursday March 27, 2014 @11:22AM (#7480921)
Here's another app for torrents: http://jstorrent.com. It is a torrent client itself, no outside client needed, though proprietary.
Re:Larry Page’s Homepage on Friday March 21, 2014 @01:16AM (#7440772)
Luckily the Way Back Machine has a version where the images still exist.

http://web.archive.org/web/20061030081028/http://infolab.sta...

There's a grainy photo of his Stanford student ID as well.

Re:Show HN: Logarithmic Flappy 2048 on Wednesday March 19, 2014 @07:39PM (#7432682)
Re:Tesla Faces New Jersey Challenge as Rule Change Looms on Tuesday March 11, 2014 @07:08PM (#7382830)
An inefficient business model that continues to thrive due to outdated laws. And that most consumers hate.

The government should seek consumer input on this.

I'm completely unsurprised that Arizona and Texas, supposed bastions of capitalism, oppose a better form of business.

Re:Texas auto dealers say no special treatment for Tesla on Friday February 28, 2014 @07:06PM (#7322397)
> pretending they will be better off if the only access to Tesla is a mail-order catalogue.

Except Tesla is available outside a mail-order catalog via Tesla-owned distributorships.