News for hackers. Stuff that matters.

MichaelGagnon

Re:I wrote a compression algorithm, hire me? on Thursday January 12, 2012 @01:16PM (#3457361)
Agreed.

Also, be aware that many non-expert attempts to develop compression algorithms turn out to be flawed. However, it sounds like you've developed a compression pre-processor specifically targeting JSON-like structures, which seems like a much more plausible accomplishment than a non-expert developing a brand new general-purpose compression algorithm that can beat LZW.

All that said, if I were considering hiring you I would be much more interested in your ability to rigorously analyze the strengths and limitations of your algorithm (rather than the algorithm itself). Plus, without that rigorous analysis it makes it much more difficult for me to judge the quality of your algorithm.

Re:Using AI to design board games on Wednesday January 04, 2012 @04:47PM (#3426061)
As far as pop-culture goes, I think Clarissa still holds the cake for female programmer characters. Acid burn (from Hackers) is a close second...
Re:Using AI to design board games on Wednesday January 04, 2012 @12:30PM (#3424962)
From the article: "Should the mantle of 'creator' lie with the program or the programmer?"

Strangely enough, this was the exact dilemma that Clarissa faced in in Episode 29 of Clarissa Explains it All, "Poetic Justice," in which she developed a program that generated poetry. When her program's poetry won the school's contest, she decided to publicly relinquish her award to her computer. http://en.wikipedia.org/wiki/List_of_Clarissa_Explains_It_Al...

Re:All Node.js servers are vulnerable to DoS on Tuesday January 03, 2012 @02:26PM (#3420921)
Thanks; upon re-reading the comment I see it now
Re:All Node.js servers are vulnerable to DoS on Tuesday January 03, 2012 @01:07PM (#3420593)
I disagree.

Node.js and client-side JavaScript should treat security issues differently because they face different risks. E.g. A DoS against client-side Javascript is not a big deal (because it might slow down a single browser, or even just a single tab within a browser). However, on the server side, a DoS could take down an entire service which is much more significant.

Thus you could say that V8 is "secure" on the client side but "insecure" on the server side because of the different risk assessments. It is poor security practice to take software designed for one security environment and assume it will be secure in other environments. If Node.js wants to have a secure system they will need to take these security issues into consideration and harden their system appropriately.

Re:Show HN: The Honeybadger on Thursday December 29, 2011 @02:21PM (#3404918)
Augmented reality for the web
Bit Torrent. It's how Blizzard distributes their games. Although your game needs to be sufficiently popular for that to work...
Add together these three statements the author made:

(1) The vulnerability report exists in the "shadowy ground between the reports that are clearly crackpot and the reports which are clear enough that you can evaluate them with confidence" (from the blog)

(2) "Oh, we recognized it immediately. But it was so obviously wrong that we began to fear that we were missing something." (from the comments)

(3) "this entire investigation took five days to complete, plus another day or two to complete the necessary paperwork." (from the blog)

This blog post paints a picture that Raymond's organization does a bad job triaging reports and prioritizing investigations. It's a waste of five days to analyze an "obviously wrong" vuln report, just on the off chance that there is something deeper. How about spending five minutes emailing the author of the vuln report, explaining why it doesn't appear to be a vulnerability, then asking if there is anything deeper?

It's also crazy to spend a day or two filling out TPS reports on a crank vulnerability alert.

If an organization takes security seriously then it should spend increasing amounts of time on increasingly plausible vulnerability reports.

If you really wanted to attack their vuln-investigation processes, you would simply let them conduct business as usual since it seems they don't know how to triage potential vulnerabilities. If you force the issue by conducting a DDoS, they will respond by developing a better triage system that de-prioritizes crank vuln reports more quickly. Not only will this defeat your DDoS attempt, but it will make them more effective at handling vuln reports going forward.
Those two "reported vulnerabilities" are clearly not vulnerabilities. Whoever spent 5 days investigating these "vulnerabilities" should be embarrassed instead of blogging about it. The blogger, Raymond Chen, is somehow claimed to be "Microsoft's Chuck Norris" http://microsoftjobsblog.com/blog/raymond-chen/
Re:On Intellectual Dishonesty on Wednesday December 14, 2011 @12:24PM (#3352651)
And from the HN article "intellectual honesty requires bending-over-backwards to provide any evidence that you might be wrong."

The article is so close to a direct Feynman quote that it makes me wonder if the author was subconsciously plagiarizing Feynman. Normally, I wouldn't mind (subconscious plagiarism is everywhere). But in an article about intellectual honesty I would expect the author to "bend over backwards" to identify and declare potential sources of plagiarism. ;-)

The problem with the Python documentation is that it does not adequately explain the value of it's more obscure features (such as coroutines). And since coroutines are obscure in general, programmers won't even know how to appreciate them once they find them (say in PEP-0342 http://www.python.org/dev/peps/pep-0342/).

Posting articles such as this one is very helpful because it pushes useful esoteric knowledge into our consciousness. HN is particularly suited because the community's up-votes convince us that our time will be well spent looking into such articles.

New business idea: Setup proxies in Switzerland. Customers pay a subscription to download pirated content from their Swiss account. From there, you can transfer the customer's data to their home account in the US (or wherever). Seem perfectly legal to me. For extra value added you can do AV and other quality control to make help customers find and safely download pirated content.

I wonder if Switzerland foresaw such businesses...

Re:Google’s WebP Takes on PNG on Friday November 18, 2011 @03:11PM (#3253195)
My first impression was that the combination of lossy compression and transparency would give WebP better traction (because before designers would have to choose between JPEG and PNG for those features). But lossy compression is mainly useful for photos, and transparency is mainly useful for graphic art. How often would a designer want to apply lossy compression to graphic art? How much would would lossy compression compress graphic art anyway?

Now I'm thinking that the combination of lossy compression and transparency will mainly be useful for adding transparency to photos (as demoed in the article).

Re:ADHD is not all bad on Friday November 18, 2011 @02:55PM (#3253134)
For hackers, the best thing about ADHD is hyperfocus, which is a lesser-known, but common symptom of ADHD. Hyperfocus is the tendency "to focus very intently. [...] At times, the focus is so strong that they become oblivious to the world around them." http://www.additudemag.com/adhd/article/612.html

Like when you happily program for 12 hours straight, forgetting to eat lunch and dinner. Sound familiar?

Re:Job Opening: "Frequent travel may be required" on Tuesday November 15, 2011 @09:35PM (#3241463)
"The following degree fields are not considered qualifying: --Degrees in Technology (Engineering Technology, Aviation Technology, Medical Technology, etc.) "
Re:Ask HN: Is there an ethical approach to tracking users? on Tuesday November 15, 2011 @12:52AM (#3237210)
Depends on your definition of ethics. * Consequentialism ethics: make sure the benefits to users outweighs the harm to them (in your judgment) * Deontological ethics: do the morally right thing (for some definition of morally right) * Or pick some other ethical theory

Pragmatically, you want users and prospective users to feel that you are being ethical (assuming they know what your app is up to). Technical people often have a hard time putting themselves in the user's shoes (when users are non-technical). Just pitch your idea to some non-technical friends and ask them if your plan sounds "ethical."

Re:Leaving comments in real life on Tuesday November 15, 2011 @12:37AM (#3237177)
When I read the title I was expecting an article on augmented reality
Re:Proof found for unifying quantum principle on Tuesday November 15, 2011 @12:34AM (#3237172)
"Proof" as in mathematical proof. As in, it proves a particular mathematical model of the universe is consistent---but says nothing empirically about the actual universe. Am I missing something?
Re:Are stock options a sham? on Monday November 14, 2011 @08:38PM (#3236552)
Agreed. Employers compensate you based on their estimate of your __future__ contributions to profit. Asking for compensation during a fire sale is not negotiating; it is begging.
Re:Android antivirus apps a complete waste of time on Monday November 14, 2011 @01:25PM (#3235045)
These results are unsurprising to me. But then again, my startup is building a cloud-based mobile-malware detection service to address the inherent limitations of anti-virus on mobile devices. :-)

Here's the problem: "Anti-virus" in general is limited because it relies on static signatures. Therefore it can only detect known malware and is vulnerable to evasion (polymorphism / metamorphism). On mobile devices AV is even more limited because of resource constraints (namely, limited battery and cpu).

By doing malware detection in the cloud, we have plentiful resources to do heavyweight analyses. We also get a better overall detection capability by using behavioral analyses instead of just static signatures (we actually run the apps).

If you're curious about the technical details, we presented at Black Hat in August. https://media.blackhat.com/bh-us-11/Daswani/BH_US_11_Daswani...

P.S. We’re hiring :-)

The author is falling victim to the Confirmation Bias. There are only two experiments, yet the author is content to over-generalize and conclude that "no matter what price we choose, we always make the same revenue." Why not reduce the price 3/4? Increase it by 50%? Increase it by a 100%?
Re:10gen's response to MongoDB's slams on Wednesday November 09, 2011 @09:20PM (#3218563)
The main point of the Pastebin rant is the claim that Mongo's development standards are insufficient for mission-critical software (such as databases).

So I looked through Mongo's change logs and one of the first things I saw for version 2.0.0 is a "huge" issue: "reIndex() on secondary drops all indexes" https://jira.mongodb.org/browse/SERVER-3866

This sounds like a bad bug for a database to have. And in this article 10gen president says that data loss hasn't been a problem since 1.8, which seems to contradict their own change log....

Re:Secret iOS business; what you don’t know about your apps on Thursday October 20, 2011 @03:37AM (#3133869)
I recently did a study of 10,000 android apps at Black Hat Vegas 2011. We looked at privacy violations, bandwidth usage, etc.

The most bandwidth-hungry app in the sample downloaded 12 MB in the first 30 seconds. Most apps used far far less. Details are in http://www.neildaswani.com/wp-content/uploads/2011/08/Mobile...

Re:Why your new programming language won't work on Tuesday October 11, 2011 @09:26PM (#3101104)
Are you referring to CRM114? Simultaneously the best spam filter and the worst programming language.
Re:Xkcd Password Generator on Thursday August 11, 2011 @02:09PM (#2874026)
This gets into the whole "security through obscurity" thing. Ideally, you should use a password-generation system such that if the attacker knows your pasword-generation system (e.g. lines from songs) it would still be infeasible to guess your actual password.

Thats why the 4-random-words technique is good. According to XKCD, the 4-random-words technique generates about 17 trillion passwords---all equally likely.

But even with a long tail, song-lyric passwords relies on obscurity. I imagine there are much fewer than 17 trillion songs to choose from. And if the attacker knew some information about you (say from looking at your Facebook profile or your search history) I'm sure it could drastically weed out the search space.