HNHacker News
TopNewBestAskShowJobs

jberryman

1 karma · joined June 5, 2024

submissionscomments
jberryman··on Cocktails for programmers
Open-face peanut butter and tomato happens to be an excellent sand which, BTW :) requires a good tomato. Sprinkle with a tiny bit of garlic salt or chili powder.
jberryman··on First Mechanical Gear Found in a Living Creature
Can someone explain what this means? I don't get it:

> Most other bugs synchronize the quick jolt of their leaping legs through friction, using bumpy or grippy surfaces to press the top of their legs together

jberryman··on So that’s what I’m going to do
OT but do you have any advice or have you written about your experience managing that kind of consulting? I've been trying to figure out a style of freelancing that works for my personality (fewer hours, more "asynchronous"), but it seems like most companies are looking for folks to fill an employee role.
jberryman··on So that’s what I’m going to do
Good for him.

Just watched a monumentally depressing (IMHO) documentary called "Indie Game" about indie game devs with various flavors of mental and physical illness, putting themselves through hell to get their game out. All of them seemed to find the buzz and pre-launch expectation/pressure, as well as the public response after (both good and bad) to be extremely distressing.

jberryman··on NSA broke privacy rules thousands of times per year, audit finds
I have no doubt that their entire surveillance apparatus is layer upon layer of barely-working garbage code.
jberryman··on Edward Snowden’s Email Provider Shuts Down Amid Secret Court Battle
> It helped get bad laws off the books in the civil rights cases and it would help here.

I'm assuming you're referring to Rosa Parks-style civil disobedience and not so-called "jury nullification". The latter had an important role in the history of the civil rights mvt, but not a pretty one.

jberryman··on XKeyscore: NSA program collects 'nearly everything a user does on the internet'
The relevant slide is inline in the article, under the first appearance of the string "facebook". It was apparently redacted by the gaurdian; see nwh's link to the archived page below.
jberryman··on Haskell for Web Developers
> Any idea at all what that does?

Without reading the article or having used fay, I actually knew that that was a JS translation of `enumFrom` and that you'd probably left out part of it. An editor color scheme could probably reduce the noise of all the "Fay$$" namespacing (or whatever that is) stuff.

jberryman··on Light completely stopped for a record-breaking minute
> when we need to slow down light

Why do you need to do that? I'd never heard of "photonics" before now.

jberryman··on A 97-Year-Old Man Who Draws Using Microsoft Paint from Windows ’95
What I thought of was about the importance of process and the notion of a medium. Limitations are essential to creativity. That's why I think talking about "digital photography" as a medium is nonsense, and why I think instagram should be taken seriously.

I'm not sure how I think that relates to what programmers do.

jberryman··on Seth Vidal, creator of yum, killed in hit and run accident
I do the same thing. One thing I'm careful about now though is always slowing down in acknowledgement of the stop sign, even if there's no one in the other directions. I started doing that after I noticed bikers bringing cars along with them when pedaling through a stop (presumably because the cars didn't notice the stop).
jberryman··on Seth Vidal, creator of yum, killed in hit and run accident
> but I can see both sides.

This isn't a "on the one hand, on the other" issue. Even the most foolish and aggressive cyclist is almost never endangering the safety of drivers around him, even indirectly. Yet all it takes is a nudge, honk, door opening, unsignaled turn, etc. to kill a cyclist.

Bicycle etiquette is for all practical purposes not a public safety issue, and IMHO responses of the "but bicyclists can be rude" variety to incidents like these only help perpetuate a driving culture aggressive to cyclists.

> In those situations, I think it's reasonable to ban bicyclists outright

Why not lower the speed limit, or add a bike lane? Just because you perceive the public roads as "car roads" and driving as "normal" doesn't make it so, and I don't think your convenience should trump someone's basic ability to get around.

jberryman··on Oregon Proposes Investment Model For Student Loans
> and I don't particulalry want to subsidize their education with my future earnings.

Then do you oppose the idea of public universities generally? Atlas Shrugged is a work of fantasy and light philosophy; I don't think it's relevant to the problem at hand.

jberryman··on Oregon Proposes Investment Model For Student Loans
One nice thing about this is it would seem to more directly incentivize state universities to provide a curriculum that maximizes student earning potential; I think that's a great thing especially for people who've chosen their fields for reasons other than money. 25 years is a somewhat scary number, but this very exciting.
jberryman··on Study: Women performed better on a math test when using someone else's name
Most of the students at the conservatory I went to were women, and essentially all of them had been spending hours a day for 1-3 decades honing their skills. I guess my point is my experiences around women does not mesh with your theory.
jberryman··on Why Maybe Is Better Than Null
Defining instances for both someone else's class and someone else's type is considered bad and GHC will warn:

http://stackoverflow.com/questions/3079537/orphaned-instance...

There are occasions where it can be useful to have a module export an orphan instance for compatibility before it makes it into the more appropriate spot in the standard libs.

And you're right you can't have multiple instances for the same type; a newtype wrapper is required.

jberryman··on Security incident update
> we have no idea how feasible it might be to brute-force it.

Sorry to be morbid, but... there's also rubber hose cryptanalysis. Whether the payoff or actors involved here make that a legit concern I don't know.

jberryman··on Short algorithm, long-range consequences
Does everything have to turn into a dick-waving contest around here? Just send a correction if you care.
jberryman··on Heroku Fucking Console
I think the new behavior is great. First of all because it remembers both where I'm saving and where I've been exporting in my workflow, and second because frankly saving in GIMP's native format and creating a flat lossy JPEG that approximates the work you've been doing are really fucking different things, and I find it comforting that they choose to make that explicit. I can how if you open GIMP once a month to make a LOLCAT how this behavior could be annoying.
jberryman··on Bad sleep 'dramatically' alters body
I've found this to be true. I also find I sleep more soundly and feel much better in the morning if I drink a big glass of water before bed too sort of "tank up"; otherwise I end up waking several times throughout the night. Oh, also the amount of light in a room is huge for me, which I didn't realize until I moved and had thick curtains installed.
jberryman··on Concurrency is not Parallelism. Rob Pike at Waza 2012 [video]
Well, sure we're assuming ultimately some sort of deterministic result of our computation, but we're discussing pl semantics and properties of the computation itself, and non-deterministic semantics are one of the most important characteristics of concurrent programming, no?
jberryman··on Concurrency is not Parallelism. Rob Pike at Waza 2012 [video]
> Or is the sole distinction determinism vs non-determinism? How is non-determinism avoided in a parallel process (which, to my thinking, means a thread)?

The distinction is much easier to understand in haskell because the language is expressive enough, but that blog post might have been too much information. Here's the standard haskell concurrency library:

http://hackage.haskell.org/packages/archive/base/latest/doc/...

It provides computations that can be forked on new threads, and primitives for communicating. The threads are scheduled by the runtime (non-deterministic semantics!) and I am free to write and run such a program on the single-core laptop in front of me (no parallelism!).

In contrast take a look at Control.Parallel:

http://hackage.haskell.org/packages/archive/parallel/latest/...

Here all the `par` function does is tell the runtime "it might be helpful to compute these in parallel" (parallelism!), but semantically `par x y` is simply `y` (the type or definition of `par` might not make sense to you, but that's not really important); there have been no new threads of control spawned (deterministic!).

Now if I wanted to, I could write a library for a parallel function `map :: (a -> b) -> Array a -> Array b` say (parallelism!), and I might implement that in terms of the concurrency primitives from Control.Concurrent. I would consider that `map` to be an example of deterministic Parallelism, even though the implementation might be utilizing multiple non-deterministic threads of control (in the same way the `par` is parallelism despite being implemented on top of the runtime, OS/green threads, and all other sorts of magic.

jberryman··on Concurrency is not Parallelism. Rob Pike at Waza 2012 [video]
> So concurrency is about dependencies between tasks or the lack of them while parallelism is about actually executing independent tasks at the same time.

I understand what you're getting at, but I don't think that's a great summary of concurrency vs. parallelism. My version would be: currency is about non-determinism and multiple threads of control while parallelism is about doing multiple computations at once for performance reasons (possibly deterministically).

EDIT: sorry I see this has already been posted almost verbatim a few other places in the thread

jberryman··on Whatever Happened to the Phone Phreaks?
hey, cool :)
jberryman··on Whatever Happened to the Phone Phreaks?
I guess it's been about a decade (crazy!) but there were quite a few legit and really knowledgeable phreaks doing interesting things on the binary revolution forums (looks like binrev.com's still around!). Back when I would lurk, there were a lot of novel things going on, e.g. with VOIP. spoofing caller ID and calling yourself to extract the telco's caller ID data was one I remember. War-dialing and collecting interesting numbers was also big.

Obviously there is a nostalgia for the blue-boxing days, which most of us have only ever read about. And of course that was never really about free calls (you can place a free call with a $2 headset and pair of bed-of-nails clips on any block in america), and I think the classic esquire piece communicates that pretty well.

jberryman··on Dell’s Linux Ultrabook gets more pixels, European availability
> A Dell can't run OSX.

Ha! Tell that to my hackintoshed Dell Mini 10v :-P

jberryman··on Obama Calls for Patent Reform to Topple Trolls
Re. your Lyrica example, is it probably true that the research that lead to the discovery of that drug would never have been done if not for the carrot/stick of a potential sale of the IP?

Perhaps the discovery would have been made regardless and the laws are set up for a few to make a buck to the detriment of society at large (playing devil's advocate here, not convinced this is the case).

jberryman··on Speaking up
> how on earth does sexism factor into this?

According to wikipedia:

> Sexual harassment, rape and other forms of sexual violence can be a part of more extreme, expressive, and emotionally impactive forms of sexism.[10]

what happened to her was obviously sexual harassment and extremely misogynistic, so at least according to wikipedia "sexism" is an appropriate word.

> The porn pictures were merely a vehicle. If the attack had been carried out against a man they would probably have used accusations of child pornography or such.

I don't think that's really how that works. This particular kind of attempted shaming / harassment is intimately tied in with notions of gender roles, patriarchal social norms, etc. I think if you're suggesting that attacking a man with accusations of child pornography is also sexist you might be right.

jberryman··on Massive glacier collapse
> Very few people make the argument that climate change isn't happening. The "anti" argument is that it's not due to mankind's activity, but rather a natural cycle, and has changed in the past, will change in the future.

It seems the same group of people with vested monetary or emotional interests in doing nothing on climate have simply dug in their heels, and their arguments change as they get dragged along. In 5-10 years I'm sure it will be solidly "well duh the climate is changing and it's our fault, but nothing to be done now except learn to live with it". This is extremely frustrating.

jberryman··on Functional thinking: Why functional programming is on the rise
> I don't think there is one uniform definition of functional programming.

Only because people are lazy in their words and thinking.

← PreviousPage 7 of 24Next →