HNHacker News
TopNewBestAskShowJobs

feralchimp

1,531 karma · joined October 12, 2011

submissionscomments
feralchimp··on Flaw found in online encryption method
As far as I can tell, the researchers are describing features of particular Key Pairs that have been generated by Users of the RSA algorithm. The 'garbage-in, garbage-out' rule applies. If your RNG sucks, you're going to get weak keys out of it.

Is it harder to generate weak Diffie Hellman parameters using a bad RNG?

Update: Yes, apparently. From the paper: "Cryptosystems such as RSA that require, during key-setup, multiple secrets are more affected by the apparent difficulty to generate proper random values than systems such as Diffie- Hellman (cf. [8]), ElGamal, and (EC)DSA that require a single secret."

That's (mercifully) pretty intuitive.

feralchimp··on Step Zero of Starting a Business: Quitting Your Job
No need to apologize; you're exactly right. The article is more about why someone should quit their job "gracefully", and "without burning bridges" (duh) and gives no real argument for why quitting is necessary in the first place.
feralchimp··on Visualizing YouTube with my home-made JavaScript graph drawing library
It's such a pleasure to read well organized, well commented code. I'm a total JS n00b, but I feel like I could learn the language very quickly with examples like yours to follow.

Cool library, too. :)

feralchimp··on Why Don't Americans Elect Scientists?
Perhaps we're both overthinking it. Lots of people are good debaters.

Lawyers are good debaters and more of them want the job.

feralchimp··on Step 1: give every kid a laptop. Step 2: learning begins?
Laptops and tablets are the most distraction-prone pieces of technology yet invented. That anyone would expect dropping them into the hands of children to increase their consumption of traditional rote-learning curricula is just bizarre.

The article's point about basic infrastructure is right on. What allows me to really concentrate and be productive with my $n-thousands of dollars in computing hw/sw is that I'm in a relatively comfortable, relatively calm environment with easy access to a bathroom and snacks.

[That, and I've hacked my way into responsibilities that are adventure-like. Totally agree with fellow-commenter's reference to The Diamond Age.]

Take those things away, and the primary use for my laptop becomes either a) distracting myself from the fact that I'm uncomfortable, or b) using the laptop to procure some combination of peace, bathrooms, and snacks.

Startup idea: "like Foodler, only for toilets and earplugs!"

feralchimp··on The Startup Store - stickers from startups
Because you like it, and want it to be successful so you can keep using it?

Makes more sense than paying to advertise a political party or a sports team...

feralchimp··on Why Don't Americans Elect Scientists?
Why do Americans elect lawyers?

Laws and contracts are the operands of government. Money and a convincing demeanor are the operators of elections.

Government is not really an experimental enterprise. Science is about constructing interesting subsets of general-purpose reality to eliminate variables, then testing other variables and seeing what happens. The history of Legislative attempts to eliminate real-world variables is the history of horrific side-effects: wars, market crashes, value destruction, and freedom-trampling.

The chief complaint about current US reps isn't that they're not scientific, but that they're not aware of facts and that they're only aware of some people. Scientists make no claims on being aware of people, and are deeply aware of some facts.

What we need in Government are intelligent yet humble people who have personally experienced some tragedy brought about by ill-conceived legislation, tensioned by CFOs who in their personal lives give a shitload of money to the poor.

Good luck on that talent search, America.

feralchimp··on Hit men, click whores, and paid apologists: Welcome to the Silicon Cesspool
As Lyons notes, the debate around pay-to-play or other more subtle conflicts of interest in tech journalism has been around for a while, and is probably here to stay.

I'm still trying to wrap my head around the fact that anyone publicly sided with Path after their app behavior was exposed. There just is no spin spinny enough for that job. That it was Arrington and MG giving it the old college try just adds some extra lulz/wtf to the scene.

feralchimp··on Tumblr Architecture - 15B Page Views a Month and Harder to Scale than Twitter
> Posts are about 50GB a day. Follower list updates are about 2.7TB a day.

Holy schnikeys! The graph changes are two orders of magnitude larger than the content additions.

feralchimp··on An introduction to genetic algorithms
If you're looking for more doc / research on GAs, be sure to include 'evolutionary computation' in your searches.

The tough parts to using EC/GA on your problem (which this article doesn't discuss at all, unfortunately) are going to be:

a) figuring out a string representation for your candidate solutions (i.e. because strings are easy to 'mate', 'mutate', etc.)

b) writing a fitness function to evaluate one or more candidates

[a] and [b] are intimately related, of course.

One of the nice things about EC/GA is that it's typically very easy to scale up to take advantage of more hardware. If you have an expensive fitness function, e.g. 'fighting' two chess-board evaluators against one another over an extended series of games, you can just farm those simulations out to as many procs/machines as you have available.

feralchimp··on Back on Linux (after one year of Apple and OS X)
If I were in the OP's position, I would just run my preferred Linux dev environment inside a VM.
feralchimp··on Reddit: a necessary change in policy
While the Doctrine can be looked up, a reliable definition for Reasonable Person cannot. Concise != objective and static.
feralchimp··on Show HN: Very low footprint JSON parser in portable ANSI C
Is JSON guaranteed to be ASCII?

To clarify: Any "lookup table" that maps hex values to assumed character values is a portability red flag. When using them, it's polite to add comments to explicitly call out the code page dependency and argue (from a spec or RFC, say) why that assumption is okay.

feralchimp··on Everything You Need to Know About Jeremy Lin
All you need to know: http://www.youtube.com/watch?v=eNDTjqVLVEQ

Kid is nasty. A little like Rondo, but he can shoot!

feralchimp··on Thunderbolt-DMA-land: Hacking Macs through the Thunderbolt interface
This attack is hot precisely bc it blurs the local/remote line.

Physical access is relative. 'Remote' vulns are still exploited with some level of physical access: i.e. via a network that lets you touch bits on the other side of the machine's ethernet jack / wireless card.

The other extreme is standing over the ripped carcass of the machine case, triumphantly raising an unencrypted hard disk over your head, and blowing a kiss to the receptionist on your way out through the main lobby.

The OP's attack can be staged multiple hops away, through a physical network of peripheral devices. In a heavy SAN or PPPoFW environment, where FW cables are regularly disappearing under desks, a somewhat-insider could dump a lot of RAM.

RAM which, for some goddamned reason on OS X, apparently contains an unencrypted copy of my login password?! Ouch.

feralchimp··on Big Cuts at Airy Labs, Ex-Employees Blame Management
With 20 people riding in a $1.5M raft, you need to know exactly where you're headed and why. Security-wise, you'd almost rather be in an actual raft.
feralchimp··on Coding tricks of game developers
> Game developers often experience a horrific "crunch" (also known as a "death march"), which happens in the last few months of a project

That word again was months. Is that common in game dev?

feralchimp··on Hijack - iPhone Sensors Thru Audio Jack
The HiJack energy harvester can supply 7.4 mW to a load with 47% power conversion efficiency when driven by a 22 kHz tone from the output of a single audio channel through the iPhone/ipad/itouch headset port, no extra energy source is needed. The name "Hijack" refers to this energy harvestign method.

Can someone here explain the functional significance of the 22kHz tone? It would be more intuitive if they'd said "an audio signal driven at the headphone port's maximum volume." Why would there be more harvestable energy in a max-volume 22kHz tone than a max-volume 11kHz tone? Or might this be to avoid accidentally blasting the user with a super loud output tone (i.e. in a more audible range) from the device speaker?

feralchimp··on Getting started with iOS development on Heroku
This "Getting Started" post is only likely to actually get you started if you're already familiar with Ruby, Heroku deployment basics, and Sinatra's dependencies.

There is nothing in this guide that lays out all of the components in the tool chain and explains which problems each tool is designed to solve.

Okay, so I should go to the component level to glean that, right? Well on the Sinatra site, there is nothing that explains the specific problems that Sinatra itself is designed to solve. The very first line of the Getting Started section of the Readme page says "Sinatra is a [some three letter acronym]"...with no indication of what that is or why I should want one.

The problem with that is I gain no insight whatsoever into whether the simple examples will translate to something I'd actually want to build. Without that, it literally makes no difference how great the toolchain might be. Exploring it is 100% opportunity cost vs. some shittier solution that actually explains itself more fully up front.

feralchimp··on I am a great programmer, but horrible algorithmist
> The downside to being a hybrid coder/designer is that you never really have a deep understanding of stuff like memory and architecture

Not until you bother to understand them.

feralchimp··on I am a great programmer, but horrible algorithmist
> if you are a programmer, your thought process should be molded in a way you start finding these things obvious

> had I not known about parsers, the solution would have come naturally to me

Your use of "obvious" and "come naturally" fit together, and match the template of someone who is naturally more inclined to understand this stuff than the OP might be, or (for that matter) I might be.

But rather than abandon algos as irrelevant, the OP should put more effort in.

feralchimp··on What I learned interviewing with Google
The most likely explanations for a company like Google using whiteboard questions:

- These interviews are easy to give for someone without good interviewing skills, which is basically everyone.

- These interviews are relatively easy to score.

- Google acquires superstars through acquisition. If you need some competent rank-and-file (i.e. a "pool") to support the superstars, whiteboarding is maybe an okay way to weed out people who definitely won't rise to the occasion.

It's a little insulting, but their pay scale probably balances that out.

feralchimp··on The FBI's files on Steve Jobs
I would pay money to have all these quotes attributed. Who went to college with Jobs?
feralchimp··on My Addressbook? Keep it. Telephone numbers are a disgrace to our generation.
What, as exactly as possible, is the desired user experience for contacting people for voice calls?

Serious question. All the discussion around whether phone numbers / something-like-DNS-for-phone-numbers-but-with-failover / GrandCentral-like things (GV, Ribbit also?) / Siri / FaceTime are okay (and for which user groups), is damn near impossible without identifying the actual goal state.

feralchimp··on Stealing Your Address Book
> It is possible that the internet has gotten so public that we should all just stop worrying about privacy.

It's notable that the core of Facebook's pitch, to users as well as investors, is "we should all just stop worrying about privacy", or perhaps "everyone you know has stopped worrying about privacy, so you should too."

So rather than a radical view, it's actually become an authoritative statement driving the fact that "the internet has gotten so public"! An elegant hack, really.

feralchimp··on I have a bad feeling about this
> More jobs and businesses have been created by the decline of IBM than lost in Armonk.

Actually, IBM and its mainframes/midrange have continued to prosper along with all of the newer growth markets in business computing. That's not just a correction about IBM, it's fundamental to noticing that job growth in these sectors was not "created by the decline of" anything. It was created by a huge expansion in the total amount of computing value that businesses found needs to consume in the marketplace.

When zero-sum your ideology is, 900 years-old you will not reach.

And not stray too far OT, but this is what I dislike about the "kill hollywood" meme. There isn't anything inherently hollywood-killing about the project of expanding the meaning of media production and delivery to include new (and great!) films that aren't produced by traditional studios...and there probably shouldn't be.

feralchimp··on Stealing Your Address Book
The biggest problem with all of this, and which I'm surprised no one else has mentioned, is that my Address Book isn't principally "personal data about me, which I wish to keep safe." It is "personal data about other, often more important people, who have entrusted me with the security of that data"!

If you pull my CEO's private contact info off my phone, or pull a high-level contact from some company we've been privately looking to acquire, you best pray that theft doesn't result in a leak of privileged business information.

feralchimp··on Introducing Twine: String Management for iOS, Mac OS X, and Android Development
Great-looking tool and an even better post. It does a very thorough job of explaining Twine's value to someone who might not already understand localization pain points on iOS. If Apple's own localization doc were this straightforward, we might see a lot more localized apps out there.
feralchimp··on Roger Boisjoly dies at 73; engineer tried to halt Challenger launch
What's the statute of limitations on negligent homicide?
feralchimp··on Path uploads your entire iPhone address book to its servers
>we proactively rolled out an opt-in for this on our Android client a few weeks ago and are rolling out the opt-in for this in 2.0.6 of our iOS Client, pending App Store approval.

"Proactively?" How do you get into the Social Networking business and not see this issue coming before the first line of code is written?

[re: hashing] >This is a good alternative solution which we'll look into. Thanks for the idea.

Again, no. That no competent system design talent/time was dedicated to this process is a damning critique of your organization's ability to be trusted to safeguard user data.

← PreviousPage 4 of 11Next →