HNHacker News
TopNewBestAskShowJobs

bmohlenhoff

151 karma · joined February 17, 2011

submissionscomments
bmohlenhoff··on Living Surveillance Free for a Day
In my experience, 90% of the time the clerk will swipe their own loyalty card if you claim you don't have one, so you get the benefit of any available discounts while remaining anonymous.
bmohlenhoff··on Creating Shazam in Java
This type of analysis is commonly used in tons of things, like communications systems, image processing, radar, etc. I used a similar technique when trying to identify an underutilized wifi channel in the vicinity of my apartment.
bmohlenhoff··on Mac malware signed with Apple ID infects activist’s laptop
I was confused why the submission title specifically mentioned that the laptop belonged to an activist, but the end of the article indicates the persons life might be endangered as a result. I can't decide if this is sensationalized or not.
bmohlenhoff··on Creating Shazam in Java
I'm wondering if they bound the fingerprint search to human audible frequencies. MP3 compression, as a lossy codec, works by discarding information in the input signal that corresponds to inaudible frequencies. I believe this could be mirrored in the implementation by running the frequency domain peak-pick algorithm only over specific bin ranges.
bmohlenhoff··on Creating Shazam in Java
After using Shazam, I was kind of hoping there was more to it than just a time windowed frequency domain peak-pick algorithm. The algorithm itself is pretty basic from a signal processing perspective, but I think the key insight here was that the results are unique enough to store off and compare other samples against at some later point in time.
bmohlenhoff··on Heroku's Ugly Secret: The story of how the cloud-king turned its back on Rails
Correct, this matches my observations as well. I'd trade an increase in mean latency for a decrease in worst-case latency anytime. It makes it so much easier to reason about how many resources are needed for a given workload when your latency is bounded.
bmohlenhoff··on Revenge of the Nerds – Engineers Have Never Had it Better [pdf]
Top engineers probably wouldn't be content merely sitting around, twiddling their thumbs. They want to build things.
bmohlenhoff··on How the EVE Online Servers Deal with a 3,000 Person Battle
Something Awful (~1999) was around way before 4chan (2003)

http://en.wikipedia.org/wiki/Something_Awful http://en.wikipedia.org/wiki/4chan

bmohlenhoff··on How I Hacked Facebook’s Secure Files Transfer Service for Employees
The date in the last screenshot (19/3/2012) doesn't match the date in the rest of the images (7/1/2013).
bmohlenhoff··on A Simple Suggestion to Help Phase Out All-Male Panels at Tech Conferences
So you have two females, 0 males, and 2...aliens?
bmohlenhoff··on Mega Man 2 (NES) password algorithm and code
You only need a single bit to keep track of whether or not a door was blown open. I'd imagine the missiles worked the same way, and they just computed the total as the number of missile bits set times 5.
bmohlenhoff··on Prof. calls out student for cheating via Math StackExchange
I'm skeptical anything will come from this. It's not like a Stack Exchange username is legitimate proof of identity. The professor called out the student for cheating but unless the guy actually turns in the form along with the exam, there's probably no way to legitimately link the student's identity with the stack exchange identity, unless the guy was stupid enough to sign up with his actual name.

That being said, this would be an effective way to screw over someone else, if you signed up with their name and plastered these types of questions all over the internet. The first thing that any HR rep is going to do when considering a job application is searching for the persons name. If this type of garbage comes up, that resume will probably be instantly tossed into the bit bucket.

bmohlenhoff··on Why LinkedIn Endorsements Don’t Change Everything
This just strikes me as a case of "garbage in, garbage out." Of course the SNR of this new feature is going to be low if people don't answer it honestly.
bmohlenhoff··on Explaining coder's block to non-coders
Re: 2: A thousand times this. Stocking the pond with something easy for the first thing next morning is a great productivity hack. Usually I'll do the same sort of thing and leave a failing test case or a dangling compiler error to get my brain moving in the right direction the next morning.
bmohlenhoff··on Xbox 360 Sold More Units Than The Nintendo Wii U In November
Yes, but how many of those 360 sales were actually repeat sales because the owner's previous 360 decided to red-ring?

answer: At least one.

bmohlenhoff··on Auto-Threading Compilers Are Here
I found the analogy to be pretty accurate. It's very easy to shoot yourself in the foot with both goto and inheritance, it's common to see both of them abused, and in either case there are alternatives that generally equivalent but result in cleaner code.

Of course, both of them can also come in handy if you are careful and know what you're doing.

bmohlenhoff··on Uber: A Feisty Start-Up Is Met With Regulatory Snarl
This is true, and it isn't just holidays. They usually start surge pricing on weekends after the T (subway for non-Bostonians) shuts down for the evening (around 12:30-1AM) and it continues until demand drops. That being said, if you try to request a pickup during a surge pricing period, there's a pop-up on the app that warns you about it and it gives you the option to cancel. It isn't something they tack on at the end, so surge pricing shouldn't come as a surprise to anybody.
bmohlenhoff··on Code sucks
I agree. The temptation to roll over existing changes when inheriting a new codebase can be overwhelming at times, and the only sensible way that I've found to deal with it is to consider the impact to the schedule and how that ties into the overarching business need for whatever it is that you're working on. Without a bit of discipline here, I've found that it's way too easy to start working on things that don't advance the project towards its overall goals.
bmohlenhoff··on World's First Kitchen-Free, Robot-Run Fast-Food Restaurant
Also by Marshall Brain, a somewhat-related thought-provoking short story about a theoretical future where robots displace the minimum wage workforce: http://marshallbrain.com/manna1.htm
bmohlenhoff··on Alert: Backdoor placed in Piwik
The injected code disables error logging and allows remote users to execute arbitrary code on the server by submitting the 'g' and 's' parameters as part of a GET query string. It then looks for a file called 'lic.log' and aborts if it exists. Otherwise it decodes and decompresses a CURL script embedded in base64 before generating the 'lic.log' file, which prevents it from occurring more than once.

The real mystery is how that code got onto the development server to begin with. They can fix the zip file but it won't do much good if the machine is still compromised.

bmohlenhoff··on The YC VC Program
My first thought at seeing the submission title was that YC was offering a program teaching people about how to be VCs. Then I realized that this was simultaneously awesome and nonsensical, since Joe Random probably isn't going to have the scratch necessary to fund much of anything. Still, it would probably be fascinating from an academic perspective.
bmohlenhoff··on To Keep Passwords Safe from Hackers, Just Break Them into Bits
Security including obscurity works fine. There's nothing wrong with using it as a component, it just can't be the sole defense.
bmohlenhoff··on Programmer Competency Matrix
You don't need a wizard for every task. There's nothing wrong with taking someone from the left side of the matrix. You just have to consider what they'll be working on and what resources are available to them (ie. mentors, etc.) Hiring decisions are comprised of tradeoffs, just like everything else in engineering.
bmohlenhoff··on Journalist goes undercover making the iPhone 5 at Foxconn
Whoa now, ad hominem much? Let's keep the mudslinging to a minimum, please.

The point he's (admittedly somewhat poorly) attempting to make is that the article doesn't have enough context to draw conclusions about the greater state of factory workers across the entire Chinese industrial base. He never states that the workers shouldn't demand better working conditions, and never says that Foxconn offers a better work environment than other factories.

bmohlenhoff··on C++11: A generic singleton
Anything is acceptable, it's all a function of the domain.
bmohlenhoff··on How I Beat Repetitive Stress Injury
I've had a lot of success keeping my hands and wrists in shape by doing a couple of fingertip pushups every day. If you can't support your bodyweight on your fingers, do them against a wall or put your weight on your knees instead of your feet.
bmohlenhoff··on Hack your way through Stripe's Capture the Flag
This actually made me laugh a little bit as it brought me back to my college days. The first week of February every year was when the yearly OS class covered fork(), and as a result the compute clusters all over campus were basically unusable due to people trying to run their homework. Ahh, memories.
bmohlenhoff··on Biological computer can decrypt images stored in DNA
> We’re not talking about a molecular computer that’s comparable to the CPU in your PC, though; rather, the scientists created a simple Turing machine-like finite state automaton.

This part made me laugh a little. The reporter knows what a Turing machine is, but doesn't know about the Church-Turing thesis. Not surprising.

bmohlenhoff··on A single line to 3 cashiers is ~3x faster than a separate line for each cashier
In a typical real-time system you don't have to deal with random processes screwing things up. Resources are meticulously allocated to individual tasks, and the tasks aren't allowed to randomly grab resources in the scenario you describe. It all has to be planned out in advance.
bmohlenhoff··on The PC is dead. Why no angry nerds?
Once a federal judge tells you to do something, you pretty much have to do it, no matter who you are.
← PreviousPage 2 of 3Next →