HNHacker News
TopNewBestAskShowJobs

zingermc

286 karma · joined April 12, 2014

submissionscomments
zingermc··on Poll: What Programming Language Do You Use for Server Side Web Development?
I haven't found a web server language to my liking yet. Maybe I'm too picky, but I'd like to satisfy all of these requirements:

- Static typing -- I want to eliminate as many runtime bugs as I can

- Type inference -- Like in SML and Haskell

- No JVM -- Personal preference, but I'd rather not pull in this monster if I don't have to.

- Good pre-made web framework -- I've briefly looked at OCaml but the web frameworks seem disappointing. Tell me if I'm wrong!

zingermc··on Scammers Game Amazon A-Z Policy By Replacing iPhones With Clay
It's difficult to have a policy or heuristic here. If you side with "trusted" sellers, then it all hinges on what your definition of "trusted" is. Scammers will behave themselves until they are considered to be trustworthy, and then start to cash out by shipping clay iPhones.
zingermc··on Autocomplete from Stack Overflow
Order doesn't matter! And it still returns similar results without the `Eq` typeclass constraint.
zingermc··on Autocomplete from Stack Overflow
Haskell has Hoogle[1], which allows you to search for functions using a type signature. This is surprisingly effective.

Let's say you want that `contains` function from the original post. You'd search for `(Eq a) => a -> [a] -> Bool`, which describes a function that takes two parameters and returns a boolean. The first result[2] is the `elem` function, which is exactly what we wanted!

This is a bit of a contrived example, but I have honestly been surprised by how effective searching by type signature is in Haskell. I wonder if it is possible for a language with a weaker type system, like JavaScript.

[1] https://www.haskell.org/hoogle/

[2] https://www.haskell.org/hoogle/?hoogle=%28Eq+a%29+%3D%3E+a+-...

zingermc··on We only hire the trendiest
It's at least reasonable to cover travel costs for interviewers. I was given a $40/day stipend for food and reimbursed gas and hotel when I interviewed at my current job.
zingermc··on The Law is Clear: The FBI Cannot Make Apple Rewrite its OS
I'm genuinely curious -- how would the NSA would crack it?

My understanding is that iOS's filesystem uses AES 256 encryption. Even if you physically removed the disk, brute force is not an option.

zingermc··on The Law is Clear: The FBI Cannot Make Apple Rewrite its OS
Apple has a private key for signing software updates.

The FBI wants a modified iOS that will allow them to rapidly try all possible passcodes without getting locked out after N attempts.

zingermc··on The Law is Clear: The FBI Cannot Make Apple Rewrite its OS
Honestly, it wouldn't take very much work for Apple to circumvent the lockout mechanism. It might even be possible just by commenting out a couple lines of code. The thing the FBI needs from Apple is the use of their private key.
zingermc··on Internet Access Is Finally Permanently Tax Free in the U.S.
I imagine prices will stay the same and the ISPs will just eat up what we used to pay in tax.
zingermc··on Witch Marks, Curses, and Magic in the Neglected History of Medieval Graffiti
Yeah, you would think so. However, it really is a current teaching of the Catholic church.

https://en.wikipedia.org/wiki/Transubstantiation

zingermc··on Why lost phones keep pointing at Atlanta couple’s home
I see a couple workarounds to their problem.

1. They could stop broadcasting their network's SSID.

2. They could change their SSID and spoof a different MAC address every day. Their ISP sent them a new router, but I imagine that will be sucked up into the databases quickly and the same problem will happen.

3. They could put routers in the surrounding homes so their home is never the one selected.

zingermc··on Ask HN: Your Passive Income Suggestions?
The problem is his SSL certificate expired last week! You can see the site if you go to https://www.predicto.ai/ and make a security exception.
zingermc··on CIA declassifies hundreds of UFO documents
I love that part at the bottom that says "Do you want to believe?".
zingermc··on A new proof of Euclid's Theorem (2006)

      A
     / \
    v   v
    B   C
     \ /
      v
      D
That was making my eyes cross, so I drew it out. In short, there are two distinct paths that you can apply a transitive rule over to get A -> D.

Very cool example!

zingermc··on Fai0verflow: Linux on the PS4 [video]
Since the PS4 OS is based on FreeBSD, you could conceivably match up parts of the compiled PS4 kernel with FreeBSD source code. However, I bet there's some sort of obfuscation that their compiler performs to make it difficult to decompile.
zingermc··on 2016 will be the year of concurrency on the web
Honest question: In what way does Linux give you less control than BSD?

Binary blob drivers are just as necessary on BSD as on Linux. Are you referring to Ubuntu's built-in Amazon searches? Because you can just not use the Unity desktop. If it's building everything from source you're after, there is Arch and Gentoo.

Don't get me wrong, I am a big fan of FreeBSD. I'm just wondering if I'm missing something.

zingermc··on Developer claims 'PS4 officially jailbroken'
Unfortunately and realistically, this requires you to run Windows. It would be really nice if more games ran on Linux.
zingermc··on An 80-Year-Old Prank Revealed, Hiding in the Periodic Table
Interesting that Robert Krulwich, from the Radiolab podcast, did the illustrations for this article. He even visited the comments section!
zingermc··on Python 3 makes it easier to develop high-quality software
Your title is a little misleading, since you actually discuss three differences.
zingermc··on Resurrecting Duckhunt
I wonder if your gun's sensor was picking up a reflection in your room. Maybe there was a bright lamp in just the right spot behind you. You can even see an example of this in the gif -- look at the white spot in the top right corner of the TV.
zingermc··on B. B. King, Defining Bluesman for Generations, Dies at 89
Interesting! I found the video: https://www.youtube.com/watch?v=O0mAQdTsVp0
zingermc··on Frankenimage – Reconstructing images with pieces from an image database
Is the mosaic of The Creation of Adam generated by Frankenimage? Judging by the results in the videos, it doesn't seem capable of making that.

Edit: I did a Tineye search and it is used all over the web, so it wasn't created by Frankenimage.

zingermc··on They're Made out of Meat
That's exactly my point. If the speed (= distance / tick) is represented by a float, then we can travel no faster than the max float value.
zingermc··on They're Made out of Meat
Wanna know the real reason? C is just the maximum floating point value of the computer that our universe's simulation is running on. Similarly, the Planck length is the value closest to zero.
zingermc··on Ask HN: Replacement for VIM
Vim can already do horizontal and vertical splits. If you use tmux and fire up multiple instances of Vim, you'll lose some good things like ctrl+n autocompletion of words in other files.
zingermc··on Wikipedia reveals Google 'forgotten' search links
http://www.imdb.com/title/tt0072081/quotes?item=qt0332024

Reminds me of Inspector Clouseau's encounter with an organ grinder.

"I am a musician and the monkey is a businessman. He doesn't tell me what to play, and I don't tell him what to do with his money."

zingermc··on Letter to a Young Haskell Enthusiast

  using Haskell now as a side effect
Very clever.
zingermc··on Show HN: Star Trek DS9 Episodes Worth Watching
Shut up, Wesley!
zingermc··on Bitstamped
For a more permanent timestamp, just post your hash in a newspaper's classified ads.
zingermc··on Show HN: We put an iPhone on the front wheel of a car
I poked around the website and their projects look awesome, exactly the kind of stuff I'd make if I were more talented. I wish I lived in Greece because I would find these guys and beg them to hire me.
← PreviousPage 4 of 4