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 Erlang/OTP 18.0 has been released
It totally makes sense that a highly concurrent system would need to start getting really nitty-gritty with time values...
lectrick··on Erlang/OTP 18.0 has been released
It would not have happened if that logic was covered by tests :O
lectrick··on Erlang/OTP 18.0 has been released
Hacker News is serious business
lectrick··on Supreme Commander – Graphics Study
It's articles like this that make me sad that I never took linear algebra (I would have loved it, but I flunked the advanced calculus course prior, so that ended any major ambitions that had a math requirement)
lectrick··on Wooden combination lock
I think the idea is that there is a theoretical graph where the X axis is "effort to act safely" and the Y axis is "chance of an accident" and it's shaped like a crooked L and although it plateaus, it starts out at a steep angle. So there is some point in there where a certain amount of observational safety is optimal.
lectrick··on Wooden combination lock
How is that? Are you saying that the current discussion on woodworking safety is muddled and based on belief more than facts, or that ANY evaluation of safety is doomed to be irrational? Because I disagree with the latter (I don't know about the former)
lectrick··on “Considered Harmful” Essays Considered Harmful
Kay : Dijkstra :: Ruby : Haskell

Dijkstra was correct in saying that you don't even need a computer to do "Computer Science," all you need is a pencil, paper, and a mental model of what you're trying to do given computer constraints.

Dijkstra more theoretical; Kay more hands-on.

I think BOTH are necessary, or at least important.

lectrick··on Gestimer – For little reminders during the day
In an office setting, this is definitely more convenient than "Siri, remind me in 1 hour to grab some coffee" :)
lectrick··on “Considered Harmful” Essays Considered Harmful
Ha! Yeah.

The older I get the more immune I feel to arrogance; to me it's a symptom of frustration coming from high skill colliding with the rest of the world's lack thereof.

lectrick··on The Amazing Disappearing BSD License (2005)
Came here to highly recommend http://choosealicense.com/ for new projects and since you're probably not a lawyer. Clear explanations and guidance!
lectrick··on The Dark Web as You Know It Is a Myth
waves hand

"These aren't the webs you're looking for."

grins

lectrick··on “Considered Harmful” Essays Considered Harmful
Glad to see this, as I was surprised that there was an entire post about the harm that "considered harmful" essays caused without even citing the original reference that started the whole hoopla, the very-opinionated, very-brilliant and very-legendary Edsger Dijkstra.
lectrick··on Google Is Now Listing SourceForge as a Malicious Site
Oh how the mighty have fallen
lectrick··on Sexual Paranoia Strikes Academe
Conflict of interest is arguable, but these regulations paint a false portrait of an "all-powerful professor" picking and choosing students to deflower as he pleases, which is most definitely the furthest thing from how it actually works. They also make "inappropriate humor" against policy, which is frankly ridiculous. Having gone to Cornell, which made John Cleese of Monty Python fame a "Professor at Large", it would appall my every sensibility if the vast swathes of inappropriate humor in Monty Python were banned.
lectrick··on Sexual Paranoia Strikes Academe
> (and yes, many of the findings are very much evidentiary and demonstrable)

You saying that there's evidence, is not the same as citing even a single instance of said evidence. :P I haven't seen anything that is actual evidence, other than people shouting angrily in text that things simply should be so (which seems to be almost what you're doing). Do you have a chip on your shoulder about this? (i.e., is there someone in your past who you feel took advantage of you via a power differential?) I think full disclosure is necessary.

> We therefore don't treat volition as binary, but as a point on a spectrum, signifying how much duress, influence -- the technical term is "power" -- was involved.

Fair enough, but you're conflating 2 things here, people who are together because of a power differential and people who are together because of an overridden will. I don't think these are the same thing. I think a person can be drawn to another's power even as that power may wrap around them. To an outsider it may look like an overridden will but to the person on the inside it does not look the same, it looks like a form of seduction. And I think this happens, and HAS happened, all the time.

There are millions of stable marriages that are based on a power differential of some sort, whether it's a beautiful woman, a wealthy man, a more intelligent spouse, or some other combination. Usually people are trading one power for another, such as beauty for intelligence. Are you suggesting we mark all of those as invalid?

lectrick··on Sexual Paranoia Strikes Academe
Can you elaborate? Adultery being a betrayal of the family is arguably a negative (insofar as the traditional legally-enforced-monogamy marriage arrangement isn't fatally flawed... lol. I predict the default will be "open" in a generation or 2, max, which may have the positive side effect of fewer secret liaisons and divorces)
lectrick··on Sexual Paranoia Strikes Academe
The victimless-crime police strike again

Seriously though... Unless there is an evidentiary, demonstrable long-term negative/harm to any given voluntary adult human interaction (say, to an institution, or to society at large, or to the educational process)... I think we need to live and let live.

Distaste and offense are not rational arguments against something

lectrick··on I quit the tech industry
Insist on reasonable work hours. Argue that it will maintain your performance long-term. Say it like you mean it, and don't settle for less. Be ready to leave if you must, in fact, and do not let the glitz/glamour of a well-known brand/company allow them to tread on you.
lectrick··on GitUp makes Git painless
Changing git history is simply and utterly wrong unless you are the sole developer, for the reasons you already understand.

I would even go so far as to say that even with a sole developer, this shouldn't be part of a workflow, as 1 developer can become 2 fairly easily.

I think you need to mention this in your homepage/video/marketing somewhere.

You're basically making it easier to mutate Git history, with all the concurrency issues that that creates. The reason why changing history in Git is hard, is because it should be hard.

lectrick··on GitUp makes Git painless
The entire philosophy of this goes against Git.

Editing history (including comments) without a new commit is basically a revert to mutable history, which means shared git history suddenly becomes a problem.

lectrick··on GitUp makes Git painless
The "creator class", i.e. many devs, and probably most open-source devs, are on an OS X laptop these days.
lectrick··on Capybara: Acceptance test framework for web applications
I think that your ultimate goal is to rely on Capybara for your testing as little as cleverly possible. Push all your logic into separately-unit-testable JS, perhaps use a DOM emulator, anything to get away from slow, barely-deterministic full browser Capybara testing.
lectrick··on Three months of Rust
Lack of a runtime exception model would be one huge thing. So you basically have to check for errors after every operation, and whatever errors you don't check for just... get lost.
lectrick··on Steam Hardware pre-order
Be my guest and convince all of the record companies of that.
lectrick··on Steam Hardware pre-order
I like the fact that if I get a new machine or have multiple machines, I can install/manage the same game everywhere.

Installing over the internet via digital download is not going to go away, and until someone comes up with a decentralized DRM scheme, centralized DRM is here to stay.

lectrick··on Let Snowden Come Home
That episode was pretty amazing.
lectrick··on Rules for Writing Safety Critical Code
> you don't want dynamically-generated code controlling your x-ray machine...

I don't see how it follows that you can't have a functional language controlling an x-ray machine. You can make an appeal to complexity, I suppose, but this can be managed. If Erlang is used to create a 99.999999999% reliable cellphone infrastructure (http://stackoverflow.com/questions/8426897/erlangs-99-999999...), I believe it can handle medical device functions :P I mean seriously, at that level of reliability, even if you have a health-critical device with literally just 10 assembly instructions, a cosmic ray could still flip a bit (http://status.aws.amazon.com/s3-20080720.html) and cause a catastrophe!

And as far as Java (which I'm not necessarily a fan of, I'm just making a counterargument) and medical devices, look here: http://www.oracle.com/us/technologies/embedded/embedded-java...

lectrick··on Rules for Writing Safety Critical Code
> Details give the precision : no recursion allowed. Functional languages are out, there. > Func languages give no warranty on that either.

Actually, what you can do in this case is when you call recursively, pass back an incremented counter variable as part of the state, and if it passes some upper limit, handle it appropriately. You don't need to "avoid recursion" just to get control over the number of times something loops.

> and rely on garbage collection (which is forbidden, too)

Fair enough, but if I work in a language that doesn't even give me much control (if any) over the GC, then how is this relevant to non-C coders, again? Which was my original point.

> Name one professional code analyzer for any func language of your choice.

Erlang (and by association Elixir) has Dialyzer http://www.erlang.org/doc/man/dialyzer.html which is a static code analyzer. Static code analysis has been endorsed by John Carmack (and of course, all the 3 year old links to the blog post are now dead, sigh)

For anyone (like me) who is hooked on Elixir, https://github.com/jeremyjh/dialyxir provides a bit of easier Dialyzer management

Elixir (and I suppose Erlang) has this concept of "specs" which you don't have to use, but which help code analysis if you do... http://elixir-lang.org/docs/v1.0/elixir/Kernel.Typespec.html

lectrick··on Arguments for TPP don’t make sense
"National Security" to me screams "control". Control = security. And I'm sorry, but total control is (and should be) out of the question.

If you don't control, then you'll be forced to gasp negotiate! There will be gasp unexpected risks (and possibly unexpected gains)!

lectrick··on Thunderbolt 3 embraces USB Type-C connector, doubles bandwidth to 40Gbps
Color me corrected.
← PreviousPage 10 of 32Next →