HNHacker News
TopNewBestAskShowJobs

jberryman

1 karma · joined June 5, 2024

submissionscomments
jberryman··on CIA agents who tortured are vulnerable to prosecution in any country
You're commenting in a thread about an article on cnn.com
jberryman··on Type systems and logic
Haven't read the article yet, but it looks like the author started accidentally using `Void` before the section where it's defined. The uninhabited type being named "void" is already familiar to many haskell programmers, e.g. http://hackage.haskell.org/package/void
jberryman··on Large Scale Deep Learning – Jeff Dean [pdf]
> Pg 26, quote: "Anything humans can do in 0.1 sec, the right big 10-layer network can do too". That is a very bold claim. It encompasses the entire fields of image and voice recognition as well as knowledge encoding.

Actually, I'm not sure we can do those things in quite 0.1 sec. All I know about this is from around minute 9 from http://www.radiolab.org/story/267176-never-quite-now/ . One guest on the show even estimates thinking the simplest thought to be on the order of 0.25-0.5 sec.

jberryman··on Not Dead Yet: How Some Video Stores Are Thriving
We just saved my neighborhood's old video store, Video Fan, which is going to transition to becoming a non-profit. It's pretty exciting!

https://www.kickstarter.com/projects/videofanforever/video-f...

jberryman··on Purging proc from Rust
Being Lazy With Class is something like that, but for haskell, and is indeed really interesting to read:

http://haskell.cs.yale.edu/wp-content/uploads/2011/02/histor...

jberryman··on The “Clockwise/Spiral Rule”
It's helpful to start from K&R Appendix A8.6: "A declarator is read as an assertion that when its identifier appears in an expression of the same form as the declarator, it yields an object of the specified type."
jberryman··on A New Approach to Aid: How a Basic Income Program Saved a Namibian Village
> The reason the United States has to spend so much on defense ... is because no other nation will

I don't think it's clear which way the causality runs there.

jberryman··on A New Approach to Aid: How a Basic Income Program Saved a Namibian Village
Homeless people camped out under overpasses are only one small and very visible kind of poverty in America (maybe the only visible sign in SF proper at this point, for all I know).
jberryman··on Gravitricity
Isn't that the math that the GP posted...?
jberryman··on What It Would Really Take to Reverse Climate Change
> Sure the market can deal with it

Sorry, no. Much the costs of burning fossil fuels are externalized and with climate change this is taken to the extreme.

This is what cap-and-trade was supposed to be about, but it seems that for the modern right "market solution" is whatever preserves the status quo.

jberryman··on How I Start: Haskell
Sorry if this isn't what you're asking, but this article is part of a series for different languages: http://howistart.org/
jberryman··on AWS Lambda
I guess maybe part of what you might be missing is that these "Lambda functions" can (will be able to?) be kicked off by all sorts of different AWS events, so it can replace queue + workers where you're generating tasks from your own code, but it might also be able to replace the code that generates those tasks too.
jberryman··on Amazon Echo
Beautiful
jberryman··on Amazon Echo
Enjoy: http://youtubedoubler.com/dOPY
jberryman··on Rappelling Off a Roof
Is this a real thing, or is this whole site just sort of autistic ramblings of a wannabe spy? I guess I'm inclined to believe the story only because it's not particularly exciting as fiction.
jberryman··on The Raft Consensus Algorithm
> In other words, is it a genuinely simpler algorithm that provides the the same guarantees as Paxos, or is it simpler because it leaves edge cases unspecified, forcing implementors to grind through the edge cases with heuristics?

Isn't it formally proven correct? And "simpler" would be subjective right? So what do you mean by "proven to truly be simpler than Paxos"? Thanks, and also that talk looks really great.

jberryman··on Ask HN: How I can get out of a job that has me burned out and exhausted?
Sleep! Mindfulness-based meditation is easy to learn and even if you have trouble focusing at first, it's still helpful for getting in touch with your stress/anxiety level (so it doesn't creep up on you over months and years next time). Finally I'm sort of an introvert but I've learned being social is so important to my happiness and sanity. Anyway, good luck!
jberryman··on Doctor in New York City Is Sick with Ebola
I think this is something like selection bias: had he contracted ebola earlier he wouldn't have returned to the US, or maybe would have been shipped back for treatment, which would be a very different headline.
jberryman··on Strengthening 2-Step Verification with Security Key
It seems a bit cheesy, but I just put a lock screen on my phone. I figure if anyone steals it, they're unlikely to have the chops to bypass it without wiping the phone (I assume that's possible with adb at least). That combined with Google's remote wipe functionality and I'm pretty comfortable with the theft scenario.
jberryman··on Ask HN: What is your daily rate?
I'm also interested in what you mean by "10 hours per week" and how you present that to clients, and what sort of pushback (or not) you've experienced from clients about that.
jberryman··on Passwordless authentication: Secure, simple, and fast to deploy
1 seems completely orthogonal to the issue of authentication, and I'm not sure what you mean by 2; basically every site on the internet is built on the premise that your email is secure, and again I don't see how password managers are relevant here.
jberryman··on Needle: ASCII-fied arrow notation
> Really hope that was a joke, because the immediately preceding mishmash of ASCII art is pretty much the OPPOSITE of clearer.

Do you really think it's a joke or are you just being nasty? I thought it was quite clear (although perhaps the choices of visual ascii characters could be tweaked a little), and it certainly makes the structure of the circuit more apparent than in the original arrow notation. Obviously this is an experiment, and a quite clever one in my opinion.

jberryman··on Reddit
/r/funny is super sexist, and some days there'll be two or three racist jokes on the front page.
jberryman··on Abstract visualization of biological neural network
Shameless plug for a little visualization I made some time ago of a neural network in a developing fruit fly, which performs an interesting probabilistic algorithm to elect a maximal independent set http://jberryman.github.io/fly-mis/
jberryman··on Monads without pretension (2011)
>These kind of encapsulated values turns out to hold effects without breaking the language

I wonder if you're hand-waving a bit here. To me "encapsulated values" describes Identity or Maybe, but really doesn't work (IMO) for e.g. State or IO where bind is composition.

jberryman··on Scala founder: Language due for 'fundamental rethink'
> So the issue isn't that these standards don't exist; it's that they aren't widely understood among users of object-oriented languages.

But we're talking about language design. I think enforcing constraints is much (maybe all, from a certain point of view and definition of "constraint") of what a programming language ought to do. Haskell code is principled because the language is principled, not because of conventions passed from an ivory tower.

Also do you know of any languages built around those principles you mention? It sounds like studying such a language might make OO click for me a little more.

jberryman··on Scala founder: Language due for 'fundamental rethink'
What is "open corecursion"?
jberryman··on Notes on the Celebrity Data Theft
lastpass on android has the ability to insert your passwords into app login forms (via a custom keyboard / accessibility API, I think). I don't know if the same is true on iOS
jberryman··on The fundamental problem of programming language package management
The author is actually working on implementing a solution to that in ghc/cabal as well!
jberryman··on YouTab: Automatically get chords for music
> As for diatonic scales that start on an accidental, as far as I know you can use either the flat or the sharp notation. They are enharmonic equivalents. I know there are often traditional preferences, simply to choose the spelling that leaves fewer accidentals in the key signature. For instance, I think that Db major is more common than the equivalent C# major because the former has 5 flats while the latter has 7 sharps.

Yup, that's true, though the choice of enharmonic keys will depend on context: e.g. the V7/V in a sharp key will be spelled in another sharp key even if more awkward, with double-sharps etc. Also, to get pedantic there are no "accidentals in the key signature" by definition.

← PreviousPage 5 of 24Next →