Better HN
topnewbestaskshowjobs
Log inSign up

antipax

388 karma · joined Feb 4, 2009 (17y ago) · 90 submissions

Submissions

comment 10y ago · link · parent

Yes, it absolutely is an improvement over erlang-style tuples IMO, and it also vastly improves the interoperability story between the stdlib, date/time/calendar libs, and database libs.

comment 10y ago · link · parent

Quite hard, in fact.

My own personal experience doesn't matter much, though, because ultimately Elixir is Erlang and obviously Erlang has been pushed extremely hard in production (Klarna, Heroku, Riot Games, etc.).

comment 10y ago · link · parent

Super excited for this release.

I have to say that learning and using Elixir has been more pleasant than any other language I have ever worked with. Code is easy to follow due to the functional nature of the language, and the community is one of the best out there.

The applications I've written and deployed have been more stable and fault-tolerant than anything else I've ever done, and I've yet to have any performance issues with the language in production.

4.

Elixir's (Almost) Insane Flexibility: “Mutable” Iteration via Macros(ericent.in ↗)

4 points · by antipax · 10y ago · discuss

comment 13y ago · link · parent

What? `heroku run bash` also works and is shorter.

comment 13y ago · link · parent

Apple will have to respond to this, I think. This is really what the possibility of mobile computing is, not just our information anywhere we want it.

comment 13y ago · link · parent

This creates a remote (in this case just another directory on your local machine) and you have to push to it, rather than your commits and changes instantly being synced to dropbox

comment 13y ago · link · parent

Reminds me of parsec in Haskell: http://book.realworldhaskell.org/read/using-parsec.html

comment 13y ago · link · parent

Agreed on your last point. I stopped reading halfway through because of all the (questionable) assumptions the author made.

I'm a massive fan of Obj-C and I think it could be a great tool for web development, but (other than potential advantages when interacting with Obj-C clients) I don't really see it as having any advantages over other platforms. Windows devs are never going to use Obj-C for their web development and I'm not really convinced OSX/Linux devs are not going to move away from Ruby/Python/PHP/Java, either.

comment 14y ago · link · parent

Read these rules for the Xanadu project: http://en.wikipedia.org/wiki/Project_Xanadu#Original_17_rule...

and to me, at least, it becomes very clear why the WWW won the race.

comment 14y ago · link · parent

Great write-up, thanks.

comment 14y ago · link · parent

Biggest problem with these games (I've found, anyway) is that your sword controller cannot magically stop in mid air when your virtual sword hits another sword or a wall or whatever. It really ruins the immersion.

comment 14y ago · link · parent

I'd argue it's already been disrupted by rap.

14.

Coursekit is now Lore(lore.com ↗)

33 points · by antipax · 14y ago · 26 comments

comment 14y ago · link · parent

Hope that when the "smart grid" or whatever you want to call it does come around, it comes with the electricity equivalent of net neutrality.

comment 14y ago · link · parent

The Spotify app does it, so I imagine it can if it's been implemented.

comment 14y ago · link · parent

Pretty hilarious, considering the author of "node.js is cancer" works for eBay

comment 15y ago · link · parent

Yup, I was only talking about the "fish operators" as he calls them.

comment 15y ago · link · parent

It's not actually syntax. The language allows you to define infix operators, and they're just functions like any other with full documentation searchable on hoogle: http://www.haskell.org/hoogle/

comment 15y ago · link · parent

To be fair, monadic code does not necessarily have side effects. It's just a useful way of thinking about computational steps. `Maybe` is a monad that is completely pure and has no side effects: http://www.haskell.org/ghc/docs/latest/html/libraries/base/s...

I understand that this article is geared towards beginners, so this is probably just a simplification on the author's part. Other than that it's a great article.

comment 15y ago · link · parent

Just tried to find a Snap HTTP header on ladygaga.com. Couldn't find it. Definitely curious, do you have any more detail about what they used it for?

comment 15y ago · link · parent

Haskell web frameworks are maturing rapidly and the language is a joy to work in, once you learn how to approach problems in it. Haskell has probably not reached the peak of it's popularity yet (and frankly it's overdue for some mainstream love).

comment 15y ago · link · parent

I just used it at work to build an ad server. For a web app that has a few well defined features, Snap is awesome and fast, and working in Haskell is totally a joy. It doesn't have the high level functionality that a web framework like rails or django has though. (yet)

Unfortunately, I used the old Snap extension API since the new snaplet API wasn't around when I started! So maybe if I have some time I'll refactor it to use the new API, which looks like it's a lot better than the old extension API.

One cool thing is if you statically link your binary and build on ubuntu 10.04, you can actually just directly deploy binaries to Heroku, even though it's not a supported language. Just throw in a package.json file or whatever to trick Heroku and specify your Snap binary in your Procfile.

THANKS SNAP GUYS!

comment 15y ago · link · parent

call a function taking no arguments without using ():

foo = do myfunction

comment 15y ago · link · parent

Cool. I don't know that I'd call them sensible in general, though, even if they are sensible for you. Disabling disk image verification permanently, for instance, is probably a bad idea.

Expanded save/load panel by default is awesome, though. So thanks!

comment 15y ago · link · parent

Uh, looks exactly like the new Safari downloads window.

27.

Live stream of team coding and drawing RPG in 14 days for charity(twitch.tv ↗)

9 points · by antipax · 15y ago · 1 comment

123