HNHacker News
TopNewBestAskShowJobs

lectrick

1,393 karma · joined August 13, 2010

ruby/rails coder (and recent dabbler in clojure, haskell and Elixir), gamer, philosopher, technologist, sailor, swimmer, biker, music lover, partier, hourglass-figure adorer, and fan of Bitcoin, Apple, Tesla, open-source, and startups. I lean liberal and libertarian, although I love debating anything controversial.

As of today (2/3/2016), this account is now 2000 days old with 1369 karma. I've decided to celebrate by announcing a switch to a (for better or worse) far-less-anonymous account, "pmarreck".

submissionscomments
lectrick··on Please don't use Slack for FOSS projects
Matrix looks interesting!
lectrick··on Please don't use Slack for FOSS projects
irccloud.com (disclaimer: I'm a subscriber) addresses a number of the deficiencies of standard IRC.

A lot of the other deficiencies are a consequence of any decentralized, open resource, due to "tragedy of the commons" effects. Those will always require active admin participation to resolve.

lectrick··on Why Software Outsourcing Doesn't Work Anymore
I actually read the article this time and wish I could delete this comment. It's a good article and it's not a communication problem.
lectrick··on VW slumps to first quarterly loss in at least 15 years
Well, that's what happens when your software lies.

At least EFF had a small win here https://supporters.eff.org/civicrm/mailing/view?reset=1&id=1... despite losing the fight against idiotic CISA.

lectrick··on Why Software Outsourcing Doesn't Work Anymore
"Communication"
lectrick··on The ambivalent marriage takes a toll on health
Thank you for reminding me of https://en.wikipedia.org/wiki/Betteridge%27s_law_of_headline... . I knew this was a thing, but I forgot the name of it.
lectrick··on Playing Poker with Elixir (pt 1)
Really nice way to show off the language features!
lectrick··on Dolphins often seem to want to befriend us
Humans are also predated on by sharks (and lions and tigers and bears, oh my!)
lectrick··on Evo, the First Prescription-Strength Video Game?
If they want to fight ADHD, I have a feeling meditation would be a better treatment. (Too bad you can't make money off it.) And this is coming from a HUGE fan of games (17 days till Fallout 4, OMG).

http://www.feelguide.com/2014/11/19/harvard-unveils-mri-stud...

lectrick··on A small British firm shows that software bugs aren't inevitable (2005)
Yes.

But the guard code are just macros, so... ;)

But I do believe that Erlang underneath does have actual limits.

lectrick··on BMW i8 in WebGL
> Cars are legally required to do so, aren't they?

As an owner of a Tesla, no, there is no such thing (at least in the US), and please stop spreading misinformation (if you are talking about the US).

And the car is not COMPLETELY silent... the wheels make noise on the road. I've driven a completely electric car for at least a year, never got even closely into a pedestrian "situation", and I live in a highly populated area (NYC and its suburbs).

lectrick··on BMW i8 in WebGL
Ah, the car that fakes internal combustion engine noise when it's running on electric... No thanks. Nice demo though!
lectrick··on Wanna quit your job and become upwork freelancer? Do not do that
I'm glad that Upwork is allowing first world folks to pay second and third world folks to earn great income (for them) at doing remote IT work, but I don't see Upwork as a way for unfairly-economically-isolated first-worlders to earn a living.
lectrick··on Elixir concepts for Go developers
> if you want to learn Elixir, learn Erlang.

After spending a few months with Elixir (at least in my case), you pretty much DO know Erlang. You just don't prefer to work in it. ;) I mean, the easy interop is right there, the semantics are (especially with OTP) nearly identical, you often call into Erlang, the data structures are almost the same, but you just get a heck of a lot more out of the box, even simple design decisions like "the first argument to a function is always the main thing being acted upon" have tremendous repercussions such as enabling the lovely |> transformation operator (from F# and OCaml). You get a more sane treatment of strings, you get "true" macros, you get great tooling (while still being able to take advantage of FABULOUS Erlang tooling like :observer.start() )...

Elixir complements Erlang quite nicely IMHO. And if my best guess is correct, Elixir will take Erlang into more places than it can currently imagine...

lectrick··on Bitcoin-NG: A Secure, Faster, Better Blockchain
people have thought proof-of-work to death and what we have now is the best that they've come up with.

every other scheme that people suggest replacing it with runs into difficulties because you can't predict the amount of time (roughly) it takes to do the work. in Bitcoin's case, you CAN predict (roughly) the amount of time it will take to roll 3 1's in a row when repeatedly rolling a 6-sided die.

lectrick··on Bitcoin-NG: A Secure, Faster, Better Blockchain
So it's a leader-electing decentralized scheme?

What if the leader goes down? What if 2 leaders get accidentally elected in the wake of that?

What if the elected leader is a bad agent?

I don't like non-leaderless decentralization schemes. All you're doing is adding mobility to centralization.

lectrick··on Bitcoin-NG: A Secure, Faster, Better Blockchain
> it's discovered to have an incurable security flaw.

AFAIK, that's not possible. Secure hashing algorithms tend to fracture instead of completely break, so there will be some warning; to change to a new algorithm, simply more than 50% of the Bitcoin miners would have to mine on the chain that relies on that new algorithm, and it thus becomes "voted" in.

lectrick··on ElixirConf 2015 Keynote by José Valim [video]
What's your impression of Elixir coming from Clojure, other than that?

I wanted to get into Clojure but I really wanted a language that almost entirely forced me to forego mutability (due to the large class of bugs I've seen in the past because of it) and Elixir seemed to provide that, Clojure did not, it was more live-and-let-mutability-live... and I didn't like that.

Regarding your question, it's my understanding that (again, due to everything being immutable), larger data sent between nodes in the same BEAM VM is not copied, it is reference-counted and garbage-collected and any changes are copy-on-write but only for that part of the data structure (due to implementation of Persistent Data Structures underneath).

One thing I'm VERY curious about with regards to Clojure is Datomic. Elixir (IMHO) could really use a fully queryable, immutable DB. After I drank the immutable kool-aid, it was jarring to have to think about mutation in global state again whenever I touch a database, to the point that I'm considering foregoing SQL as long as possible and just dealing with Mnesia or Basho's Riak and writing implementation-agnostic wrappers around my datastores (the latter is probably a good idea anyway).

Mutexes need to die in a fire. ;)

lectrick··on ElixirConf 2015 Keynote by José Valim [video]
As a person who once struggled to parallelize a test suite when the entire thing was not written with parallelization in mind (until its runtime became onerous)... I would highly, highly recommend using some parallelization framework from the get-go to uncover any concurrency issues immediately.

In Elixir this is literally as simple as adding "async: true" to your test modules.

It will also force you to write tests that can run concurrently... which has a few nice side effects for your code design generally.

lectrick··on ElixirConf 2015 Keynote by José Valim [video]
I really liked the Elm talk as well as Garth Hitchens' talk on Embedded Elixir, which was a pretty effin' sweet demo if I say so myself
lectrick··on Judge: NYC Seizing Thousands of Cars Without Warrants Is Unconstitutional
You meant "lose," not "loose." ;)

Good grammar never gets old. In fact, it boosts your income: http://www.forbes.com/sites/cherylsnappconner/2013/03/11/rep...

> Now, producing something worth reading is another story?

I've become less of a grammar nazi over the years (falling in love with a dyslexic woman will just... force you to do that lol), but I see it as kind of like colorblindness... If everyone is telling you your colors don't match, and you don't see it, it doesn't mean it doesn't bother them (or that you shouldn't care). Or if you're deaf and make random noises that you don't hear, but they bother others... perhaps you should figure out how to stop. That sort of thing. It's a discord thing.

lectrick··on Let's Learn GraphQL
Given the number of other sites that work with Github authentication, it seems silly to me to not want to save some effort and... just sign up for Github

Disclaimer: I'm pro-Github... well, other than the fact that it's centralizing a decentralized SCM. ;)

lectrick··on Usefulness of mnesia, the Erlang built-in database
Erlang (and by association Elixir) tooling has a nice progressive approach to managing state.

Agent -> ets -> dets -> mnesia -> riak (or sql tooling etc.)

(Agent http://elixir-lang.org/docs/v1.1/elixir/Agent.html is just a state-holding process. Erlang folks can probably write one of these in their sleep, Elixir added a bit of wrapping-paper around it.)

If you're writing an app, I think it's best to be storage-agnostic from the get-go. You shouldn't be building up queries in your core app code- push it to the edge of your code, because otherwise it's not separating concerns. All your app (business logic) code should delegate to some wrapper to work out the specifics of retrieving the data; your app code should just be calling something like Modelname.specific_function_returning_specific_dataset(relevant_identifier) and let that work out the details. That way, if you ever upgrade your store, you just have to refactor those queries but your app code remains the same. On top of that, in your unit tests you can pass in a mimicking test double for your store to do a true unit test, and avoid retesting your store over and over again wastefully. (You'd still of course have an integration test to cover that, but it wouldn't be doing it on every test.)

lectrick··on Dark Castle and Macintosh System 6 Emulator
Looks like MORIA (1975) predates even that. Damn.

https://en.m.wikipedia.org/wiki/Moria_(PLATO)

lectrick··on Dark Castle and Macintosh System 6 Emulator
I can't tell you how happy this makes me. This game was LEGENDARYYYYY back in the day. I remember the day I got it in 1986, I was 14. Incredibly hard, incredibly addictive. And it showed off the Mac's digitized sound and high-res screen long before PC's had the former.

Trivia- This was actually the very first game in history to use WASD, I believe. (Even though this copy doesn't default to it, the original one did.)

I don't hear audio. Is there audio? The audio was one of the best parts of this game!

lectrick··on I am Sam Altman, President of Y Combinator – AMA
What does "publication" mean in an Internet Age when anyone can publish anything?

If you mean "vetted by a tiny handful of fallibly-human organizations such as Nature and Cell who may or may not decide to accept your paper regardless of its actual merit and based mostly on how 'hip' the research is," well then we're back to the hazing/cliquey-clusterfuck thing again.

"Grants" seem equivalent to "angel investments" in the startup world... which seem a lot saner, btw.

http://blogs.sciencemag.org/pipeline/archives/2013/09/10/gre...

lectrick··on I am Sam Altman, President of Y Combinator – AMA
I'm going to suggest Long Beach, NY as a possible east-coast outpost. Lived there for a couple years, it feels like it could support a young startup scene (I've worked for startups for at least 10 years). Artsy surfer town, great boardwalk with inspiring beach (actually the entire south shore of Long Island is just one spectacular beach after another), nice nightlife, 45 minute train ride to Manhattan.

Long Beach seems to be starting to embrace the idea with things like its Bridgeworks project http://liherald.com/stories/New-startup-incubator-coming-to-...

I kind of want to start a company myself, there...

lectrick··on I am Sam Altman, President of Y Combinator – AMA
(disclaimer: I am a programmer who works for startups, but I've always admired scientists and researchers and have often contemplated a career switch to biotech.)

How can an entire discipline that is supposedly based on rational evidence-finding be such a cliquey clusterfuck? You're basically saying that if you don't follow the community rules, which more or less boil down to "hazing," you'll be excommunicated. Sounds like a cult, to me... as is any culture where "fear" is the primary motivator not to try something different.

Don't the laws of nature exist everywhere? Why can't anyone "do science," then?

I am glad I work in a meritocracy-based industry where anyone with any background can "ship" and succeed, and that has a low tolerance for bullshit.

lectrick··on LogMeIn acquires Lastpass
I guess I meant, "that is not LastPass" lol
lectrick··on LogMeIn acquires Lastpass
I've played with Linux and never figured this out- What's the difference between Chrome and Chromium?

Nevermind, I remembered how to Google... http://www.howtogeek.com/202825/what’s-the-difference-betwee...

← PreviousPage 5 of 32Next →