HNHacker News
TopNewBestAskShowJobs

peregrine

2,014 karma · joined July 31, 2008

submissionscomments
peregrine··on How to spot first stories on Twitter using Storm
Well technically Backtype open sources storm as part of the twitter buyout of backtype.
peregrine··on My No-Soap, No-Shampoo, Bacteria-Rich Hygiene Experiment
I tried the r/nopoo suggestion of baking soda mixed with a bit of water and it worked very very well. I was surprised on how clean my hair felt with just baking soda.

The hard part is having a container convenient enough to house the baking soda and get it into my hair :)

peregrine··on RadiumOne’s Board Is Now Deciding Whether to Dump the CEO
Considering he pleaded guilty to the charges?
peregrine··on Elixir v0.13.0 released, hex.pm and ElixirConf announced
Keep an eye on this label https://github.com/elixir-lang/elixir/issues?labels=Level%3A...

Another way is to jump on irc freenode #elixir-lang and ask :).

Another way is to use it, report bugs, poor error messages or unclear documentation, and maybe fix it.

I did the later and the Elixir developers were super helpful and responsive.

peregrine··on Elixir v0.13.0 released, hex.pm and ElixirConf announced
The variables are NOT immutable. The bindings ARE mutable.

a = [1,2,3,4]

x = a

x = [1,2,3,4,5]

a == [1,2,3,4] => true

x == [1,2,3,4,5] => true

This is empirically NOT the same as ruby or even mutability.

This is a HUGE misunderstanding of Elixir. Once something is created you cannot modify it, PERIOD, you can rebind variables within the same scope. You cannot change the values.

Same thing is possible in clojure, and nobody questions that its immutable.

EDIT: And to be extra clear this is only within the same function. Not possible across functions, modules or processes.

peregrine··on Elixir v0.13.0 released, hex.pm and ElixirConf announced
The pragmatic programmer elixir book is excellent http://pragprog.com/book/elixir/programming-elixir .

The elixir-lang getting started guide covers a ton as well.

I'd also highly suggest working through http://learnyousomeerlang.com/ as almost all of the concepts apply to elixir.

If you are having trouble hop onto irc freenode #elixir-lang and ask for help! Always someone willing to offer guidance, including the creators and some of the Erlang contributors!

peregrine··on Elixir v0.13.0 released, hex.pm and ElixirConf announced
I agree with this. Its not a panacea but in general it's way more developer friendly.

Especially when a good chunk of developers come to expect to have basics like strings and library/syntax to support them natively.

Erlang isn't horrible, and when you learn Elixir you WILL come to learn Erlang and its documentation.

peregrine··on Elixir v0.13.0 released, hex.pm and ElixirConf announced
In general, with elixir you get all the benefits of Erlang, pattern matching, light weight processes, OTP etc. But you also get Native UTF-8 Strings and String Handling. A modern Standard Library around common things like Dicts, Lists, Strings, Files, IO etc and modern documentation for all of it. You also get compile-time macro's and protocols which help reduce boilerplate and lets you easily extend your code. You also get a build in dependency and task management tool (mix).

All of this while basically living in erlang. You can call erlang functions with a slightly different syntax, :erlang_module.function_name, and you can natively use erlang packages and files with mix(it checks for rebar/makefiles and makes educated guesses on how to build them, or you can configure it).

If you think its a benefit of Erlang its probably also a benefit to Elixir.

EDIT: I also forgot you get things like the threading macro(|> from clojure et al), built in testing framework, and a VERY active and helpful community on irc #elixir-lang and the mailing list.

peregrine··on Elixir v0.13.0 released, hex.pm and ElixirConf announced
It's been used with some internal projects at companies and SOME companies have started building systems with Elixir as a "nicer erlang" nothing major that I know of yet.

The plan is to have v1 happen early this year and after that we'll start seeing more products being built with Elixir.

peregrine··on Elixir v0.13.0 released, hex.pm and ElixirConf announced
For those not sure what Elixir is, think of it like this:

elixir : erlang vm (BEAM) :: clojure : jvm

Elixir's syntax is heavily influenced by Ruby but its semantics and structure is very reminiscent of Clojure. Like Clojure you are constantly reminded you live on JVM, with Elixir you are constantly reminded that Erlang is under the covers and thats OKAY.

Its really great stuff and the creator José Valim has really put thought, love and care into every part of the project. I highly suggest you take a look, you might be surprised at what you find.

peregrine··on Writing an MMO with Web Actors
The demo barely works at all, with sub 100 players, hits won't register, flying is jerky.

I get thats is only a demo but its not a very convincing one :/

peregrine··on Big changes to Erlang
Think of elixir as a nicer and more approachable erlang. It compiles to the same byte code. It's very young but I think once it hits v1 it will have a very bright future I think.
peregrine··on Fig: Fast, isolated development environments using Docker
Well if you are on OSX these will run inside of a vagrant machine since OSX isn't supported yet. (docker-osx runs vagrant for you)

Docker isn't supposed to replace vagrant, its supposed to supplement it, at least with development machines.

peregrine··on I fought my ISP's bad behavior and won
Over the holiday I did usual, fix/clean my grandmother's computer. She's been using chrome because I explained to her how much safer it is.

I did a google search and realized something wasn't right. Uninstalled all the crapware apps that wormed their way in. And then I looked at the chrome extensions and low and behold there it was, more crapware.

I removed them and they re-added themselves. I had to run spybox s&d to remove it completely.

Moral of the story: chrome extensions are in some ways worse than toolbars.

peregrine··on The Future of JavaScript MVCs
Would it be possible to maybe show an example of using Mori or similar with react?
peregrine··on Bitcoin, Magical Thinking, and Political Ideology
You say "government" like the "market" and the "government" are separated by a vacuum. Spoiler alert, the "government" is the single largest purchaser for the "market", they drive the most demand and ensure a stable supply for a large majority of commodities that prop up your "market". They also seem to provide a safe and stable market place.

FMFM are an organization that is subsidized by the government and is held accountable to the government. In the same way Farmers are subsidized and held accountable to the government. In the same way hospitals and eldercare are largely subsidized. In the same way weapons manufactures are subsidized. In the same way fire departments, police, road construction, rail, utilities, and air are all subsidized by the government.

And whoa, low and behold they are all also held to the same regulatory and market pressures any other company are held to. Just that, society decided these institutions are important to THE PEOPLE as a whole to let them go to shit because they don't attract investment because the margins are too thin.

Its not as black and white as you want to make it. Look hard enough at an "market" and you will find government subsidizing it in some way, even when it regulates.

peregrine··on Bitcoin, Magical Thinking, and Political Ideology
Freddie Mac and Fannie Mae do way more than mortgage houses, first of all. Second they are an example of a single entity among hundreds or thousands who also played a roll. Freddie Mac and Fannie Mae are subject to the same Regulatory and market pressures as any other financial institution.
peregrine··on Bitcoin, Magical Thinking, and Political Ideology
Yea because regulators totally bought and sold bad assets and promoted their sale. Don't confuse regulations with tax breaks.
peregrine··on HP Chromebook 11 Review
Probably not, the previous Samsung 250 Chromebook had serious troubles with having multiple tabs open and having a smooth typing speed over ssh.
peregrine··on HP Chromebook 11
First thing I checked was the CPU/Memory. Definitely waiting till the updated version comes out.

Only benefit I see with this model is that its an IPS display. We'll see what Samsung or Google produces this November.

peregrine··on You Can't JavaScript Under Pressure
Total bait and switch. As soon as I saw that random array in my array of strings I knew what kind of game this would be.
peregrine··on FBI raids alleged online drug market Silk Road, arrests owner
The most interesting part was trying to decipher what was got cleanly and what was got with PRISM.

Stackoverflow is one not specifically mentioned as "obtained records from" just that those actions happened on stackoverflow. Non-public actions. Also why would stackoverflow keep a record about each username and email change, but not IP and access times? They never mentioned how he connected to SO or if he masked it. BUT they mentioned that in every other case.

peregrine··on It's a Dumbphone, But It's the Nicest Dumbphone You Can Buy
Looks like you can only buy the F3 which is GSM only. I'd love to have one of these for when I'm in the boonies here in the US, but thats typically only covered by CDMA. F3c is not available, even on ebay.
peregrine··on The Future of Programming
You should look into Hypermedia API's. The entire point is to have a discoverable API where the developer doesn't need to know low level details. Theoretically, you could write a library to parse, adapt, and act on another API.

http://stackoverflow.com/questions/15214526/why-hypermedia-a...

peregrine··on Try RethinkDB in the cloud – powered by Docker
This is a pretty good guide for going "all the way" to production with Docker. I've saved it for later use, thanks a ton!
peregrine··on Vipassana Trip Report by Rap Genius Founder
The last section on cultish teachings seems like a deal breaker for me. I've read this a couple times and I just want to go to this place, and meditate in a safe place.

I don't really want to be preached to.

peregrine··on Poll: Which RSS reader have you switched to?
Switched to Feedbin, totally happy, no issues, simple clean interface. Works great with Reeder.
peregrine··on If you didn't cancel the credit card you used for linode.com, now is the time
I haven't seen anything yet, and I tend to keep pretty close watch on it.
peregrine··on Announcing Backbone.js 1.0
http://tools.ietf.org/html/rfc5789

HTTP PUT is for in place entire entity updates. HTTP PATCH is for partial updates.

This isn't some opinion these guys came up with. It's HTTP standards.

Also if you don't like what save does. Write your own Backbone.sync and be done with it. Still super flexible.

peregrine··on Why We Don't Use Heroku
I don't disagree with you, I just point out that I'm not happy with the direction it has been taking lately.
← PreviousPage 3 of 24Next →