skysight-inc/HackerNews huggingface dataset:
I picked out a few dozen random ones - specifically with different subject lines and got nothing. Some passports in there, probably not good for the individuals.
As someone who optimized a piece of PHP code recently, there are a number of things I ran into that were counterintuitive wrt performance.

- array_key_exists is 5X slower than isset (though there are different semantics)

- direct string concatenation is 2X faster than using "implode"

- memoization can be a huge win since function calls are 5X slower than array accesses. (No inlining in PHP)

Of course, these optimizations don't matter except in your hotspots. (Why we still have to have this disclaimer on HN puzzles me, but people seem to keep trotting out the usual Knuth quote out of context as a way to write off micro-optimization techniques in general.)

Also important to keep in mind:

- PHP has copy on write semantics for arrays. So if you set $foo = $bar (arrays), you don't incur any additional memory until you alter $foo. (Aside from the additional reference.) Once you change any entry of $foo, PHP makes a copy of the whole thing. (This can result in massive performance and memory bloat if you don't realize its happening.)

- PHP arrays are not arrays, but are a hybrid linear array and hashtable. ("one data structure to rule them all.") So, even a simple "array" of integers incurs more than what you'd expect memory wise. In fact, IIRC, an array of integers incurs approximately 100 bytes of memory for each entry. Ouch. There are extensions in new versions of PHP that allow you to use 'real' arrays. If you're stuck using normal PHP arrays, good luck trying to design optimized data structures for the problem at hand.

See also: http://phpbench.com/
See also: http://piratepad.net/30Dz8cCdv5 (Release Notes)

http://opiran.iranserv.com/ (Their chatroom)

http://www.mediafire.com/?6d8bh7w4c938m4j (The files)

http://piratepad.net/498yehfsdk (Discussions about vulnerable .ir servers)

http://piratepad.net/JAI223D1jp (Discussions about vulnerable .ir servers)

http://thenextweb.com/industry/2011/06/03/anonymous-steals-1... (News Article)
Agreed. Hardly any of it is specific to PHP ("use the latest version", No SQL in a loop, use caching, use a profiler) and the stuff that is seems of marginal benefit.
Youtube + Creative Commons: Worst. Thing. Evar.
For that specific situation, this wouldn't help too much, seeing as the up-loaders are already removing source info, so it's reasonable to assume they will fudge the image somehow to change the hash value.
Is it hard to use fsc? Fsc should fix those compile times, especially for minimal changes. In the paper it reduced compile time to 25-33% of scalac's compile time. (13.9s to 3.8s and 11.3s to 3.5s)
It is boring in one sense, but in another way that is what makes it exciting. you and I have little or no use for this information, but it's great from an intelligence standpoint.

I'm not entirely sure about the provenance. I've often wondered if western governments use anon as a deniable vector for track II diplomacy. Either way, interesting.
Sites can feed new content to Googlebot before publishing to a broader audience. This is commonly done in Google News... you will sometimes click on a link to an article that claims to be not yet published. It is annoying usually, but helpful in this case.
Given the languages they are using, I think it is fair to say that they are interested in system-programming kind of tasks, which for google means the stacks below what you normally use for web programming (i.e. I would expect google to have their own web servers, or at least heavily customized from existing ones, etc...). For system programming, "language speed" matters much more (one definition I like for system programming, seen on lambda ultimate: "programming where both algorithm complexity's constant and memory representation matter").

Of course, in most cases, you're right. Given an infinite pool of very good programmers and infinite time, C will almost always be faster than most other languages. But in reality, you have a very limited of maybe not so good programmers, and the project needed to be done yesterday :)
Squadhelp Crowdsourcing, Business Name Ideas
Squadhelp is a crowd sourcing website. You could utilize the power of the crowd by using Squadhelp
Indeed, this is ridiculous and makes their final conclusions weaker.
In the case of Hamming distance there is much more information to work with than in a bare metric. You can dump all the bitstrings into a suffix array, break the query into K pieces and search for an exact match for each piece. The resulting list of matches is usually small enough to just compute the Hamming distance against each element. I've used this on a corpus of 2m LaTeX strings withbgood results. See my above post for more details.
I dare someone to compare Foursquare with Groupon with OpenTable with Facebook, predict IPO sequence. Those are the constraints.
Using mysqli* functions would still be a "mistake" if you ask me. PDO exists, and gives you all the benefits of mysqli but with relatvely painless cross-DB support.
Not overly fruitful to conversation, but despite myself I love that GeoHot entered an online rapping contest by trying to battle Sony verbally.

http://www.youtube.com/watch?v=9iUvuaChDEg

I honestly think he could outdo more than a couple of their signed artists, is the funny part.
The first Twitter logo
Congrats, I certainly didn't think of OnSwipe as an ad network. This is a massive opportunity.
Apple's iCloud Will Be Free To Start, Then Cost $25 Per Year
Radii,straight jackets,420 top,moon walkers|Radiiradii.com
It infuriates me too, but what are you going to do about it?

Here is the fundamental problem:

Girls are not encouraged to be dangerous at an early age.

People that enjoy or able to endure dangerous things are more likely to take greater risks and thus reap greater rewards. So, at the top echelon of achievement, you have a gender inequality.

It's crazy hard to find good people, so women form a minority in another minority. I'm not surprised at all.
Open publication. nice. take that old, dying, journals.
You forgot this, on all OSes:

http://www.publicstatic.net/media/adminfiles/flash_not_relev...

Still waiting, all this time later. The killed the beta some time ago that ran on Linux. It seems there's some hard problem they're unable to solve, or just don't care.
Start-up called Hipster offers new recruits $10K, beer
Even more troubling to me, is that the author completely ignorss magic methods __get and __set. I ran the two tests he provided locally, as well as an altered version to use __get and __set, and the direct access method, and using magic methods were both roughly 10x the speed of the getName, setName methods.

Even ignoring the performance issue, why would you even consider using an explicit setName over __set ?
We win because we ran: http://www.amazon.com/Born-Run-Hidden-Superathletes-Greatest...
Born to Run: A Hidden Tribe, Superathletes, and the Greatest Race
Anyone know how much it costs to start a small indie record label? Or how much capital existing ones started with?
Yes, the SQL example was lame. There are too many PHP "tutorials" which attempt to demonstrate one concept while blatantly ignoring basic security principles. In this case, the example should have used prepared statements with either MySQLi or PDO.
The datetime attribute is designed to be easy to parse. They stick to a consistent format on schema.org. They reference ISO 8601 which is quite a bit more complicated, but hopefully they'll add something saying they only support a tiny subset of what ISO 8601 allows to make it easier to write tools.

http://schema.org/Duration

The tools aren't there yet so it's not as useful for linked data as RDFa right now, but hopefully it will be more useful soon.
C++ code, when sophisticated template meta programming techniques are used, can be as fast as tuned C code, and can beat any language in terms of speed with the exception of hand-tuned assembly. However, techniques like expression templates, automatic loop unrolling, template specialization, and static polymorphism require a VERY high degree of sophistication from the programmer. In some sense, the programmer is forced to be a compiler. There are some individuals that, despite this demand, can be highly productive. The others wallow in complicated syntax, horrible type errors, and difficult to trace run-time errors. Unless speed is absolutely essential, C++ should be avoided at all costs.
Okay, We're Convinced: The Guy Who Says He Owns 50% Of Facebook Is A Fraud
Hello, thanks for you give me so good post, this article give me many new ideas, make me achieve a breakthrough. I recommend to you about <a href="http://www.shoesworlds.net/teva-boys-shoes_3_1.htm>Teva Boys Shoes</a> and <a href="http://www.shoesworlds.net/teva-womens-shoes_2_1.htm>Tev... Womens Shoes</a>
Not only malice, but a kindergarten level of maturity. Overall, it's stupidity (on FJ) because their attitude is hurting them in particular.
The discussions are particularly interesting. Goes over the methods employed with a few tools mentioned, vulnerable and possible targets.
Awesome, congratulations!!
Actually after reading the microdata spec, there's a application/microdata+json format that would probably work better:

http://dev.w3.org/html5/md/#application-microdata-json

So you'd have an alternative resource

<link rel="alternative" type="application/microdata+json" href="http://dev.w3.org/html5/md/#application-microdata-json" />

That file would look like this:

{
"items": [
{
"id": "http://example.com/events/2010/06/03/schweet",
"type": "http://schema.org/Event",
"properties": {
"startDate": ["2010-06-03"],
"location": [{
"id": "http://example.com/places/my-crib",
"type": "http://schmea.org/Place",
"properties": {
"url": ["http://example.com/places/my-crib"],
"address": [{
"type": "http://schema.org/PostalAddress",
"properites": {
"addressLocality": "Knoxville",
"addressRegion": "TN"
}
}]
}
}]
}
}
]
}

Who knows if Google will actually use that file though.
A web server in x86 assembly language
The last optimization is semi-wrong.

From my experience it's faster to make SQL queries in a loop then it is to make one huge SQL query that gets all the data, but requires post-processing in PHP.

Let me clarify:

If you are using all the data from every column and every row, then certainly - do one big query.

But a lot of the time you do code that gets a parent, then all the children.

You only output the parent once. So if you try to write a query that will return all the children at one, you also by necessity are returning the parent data multiple times - yet you only output the parent data once.

To do this typically you store a variable with the previous_parent_id, then check if the new row matches it in your client loop.

Don't do this. It's slower.

Get just the parent data and loop on it, then get the child data in individual queries.

The reason it's faster is database indexes. When you get the parent data you want a sort order - hopefully that column is indexed and the database can return it directly without sorting.

Same for the child data, you want it sorted, you have an index that covers the parent_id, and your sort column and the database can directly return the data to you.

But, if you try to join the parent and child table, only the parent data is pre-sorted. The child data will need to be sorted after the join - often on disk. This is terrible for performance. (The child index is used for the join, but not the sort.)

Additionally you are often transferring lots of data, because you are repeating the parent columns over and over uselessly. That's not free. Even if it's a local database the database server still needs to buffer all that data and so does the client.

Caveat: This is my experience with MySQL, it's possible other databases are able to use indexes to sort both the parent and child records, even through a join.
Largest DNA-Based Computational Circuit Created - Slashdot
Moscone gets wrapped image - iCloud unveiled as Apple readies Moscone for WWDC
Ask HN:Facebook “Like” button hiding content on a non Facebook site?
Do you know if its possible to have a Facebook “Like” button hiding content on a non facebook site?<p>Eg we know it’s possible to hide content on our fbml frames within Facebook eg www.Facebook.com/LiveBaseballChat but what i want to know is it possible to block the view of someone seeing non Facebook content unless they like a related page?<p>Eg can I have an image “hiding” the video or chat iframe on the www.LiveCourtChat.com page unless someone clicks a “Like” button for the www.Facebook.com/LiveCourtChat page?<p>Cheers,<p>Dean
Startup Quote: Jim Breyer, partner, Accel Partners
Google News links back to the original source and only duplicates the title, subtitle and a few words of the first paragraph.
Startup success is driven most by the product passion, quality, vision, team-work and persistence of the founding team and the talent that the team attracts.

- Jim Breyer (@jimihendrixlive)

http://startupquote.com/post/6134608002
Logitech Webcam Driver Downloads 
Freesoftz maintains the list of available Logitech scanner / digital camera / webcam /camcorder drivers which are free to download.
Bitcoin - implementation and protocol specs are a big problem
Divorce Lawyers Winter Park
Kissimmee Divorce Lawyer Experienced Divorce family law lawyer in Orlando, Florida Divorce Lawyers Orlando based company is fully devoted almost entirely to issues of family law in Orange County Divorce Lawyer Winter Park.
I haven't said it yet, but this deserves it: Congrats to the OnSwipe team!
These are not my thoughts, but found them interesting and worth sharing...
The right way to go about that would be to have a Telepathy provider that talks Skype.

That is actually how Skype works in N900, but the implementation there is obviously proprietary.
This is Flash after running in Safari one of those genetic vehicle experiments, only 2 hours or so:

http://dl.dropbox.com/u/876475/Fun/FlashMemoryHog.png

I have 12GB in the machine, but it saw the need coming and prepared for it. :-/
This is definitely possible through a content locking gateway. I'm programatically retarded, but if it's not urgent, I'll have my programming friend write something up for you.

But, yes, this can definitely be done.
Logically, yes. However I found multiple quick downvotes over a very benign statement rude and reacted in kind.

People would like to think they don't matter, but it is the same as walking into a room and punching someone in the arm. If I had made some horrible statement it might make sense.
Cheap Air Griffey Max 2 Fresh Water,Buy Air Griffey Max 2 Fresh Water
Cheap Air Griffey Max 2 Fresh Water Sale - To buy top quality Nike Air Griffey Max II 2011 training shoes online. Offers Air Griffey Max 1 and Air Griffey Max 2 at discount price.
Have any of the lawyers been in contact with you about those emails? Seems like it would make sense, especially since they're doing linguistic analysis of Mark Zuckerberg's style, etc.
This is what Wikileaks was supposed to be/ originally was. Since they've changed gears a site for en masse data collection of value would be interesting, sadly the "wikileaks rivals" have no interest in this... so it's probably a good plan.
Anonymous steals 10,000 Iranian government emails, plans DDoS attack
> and using magic methods were both roughly 10x the speed of the getName, setName methods.

That seems counter-intuitive -- in both cases, methods are being called (which is slow in PHP), so why would __get and __set be faster?
...did you pay attention to anything that went on with EG8? You have absolutely no guarantee that anything will be safe in France over the next few years, given Sarkozy's stance.
Forgot about those. Also I didn't know that they were actually faster.

In very simple classes I think the explicit getters and setters get the job done. Of course if you want to invoke it a lot your solution is a lot better.

I was mainly debating the notion of sacrificing readability and maintainability for the sake of a few microseconds, I feel it's wrong, if you care about speed that much, I think you shouldn't be using PHP in the first place.
Robot Juggler
A bit of cross-promotion, Scribd is a ycombinator company.
I doubt it even sacrifices performance. The temporary results of strip_tags() still has to be allocated in order to be echo'd out -- so you're using the same amount of memory. $description will be de-allocated as soon as it goes out of scope.
Sick And Tired of Surfing The Internet?
While this is incredibly embarrassing for Sony, as it exposes gross incompetence, can someone explain why the FBI/law enforcement is not able to shutdown the hackers by filing criminal charges against the owners/operators of lulzsecurity.com, since they are openly admitting that they are behind all of the attacks.
Flash specs are open

This is a myth that gets repeated a lot.

First, before May 1, 2008 the official specs for the swf format couldn't be used to create alternative implementations. If you read them, you were tainted. Even after, the spec didn't contain essential info like details about the RTMP protocol.

Second, it took an awful lot of time for Adobe to release specs, and the specs aren't really useful since devs from Gnash and SwfDec did a better job by reverse engineering, which is still legal.

And it can't help when Adobe is suing Wowza (as in, right now) or when it pulls rtmpdump from SourceForge with a DMCA request (May 26, 2009).

Third - open, as in public specs, doesn't mean it's a standard. It would be a standard if you were allowed not only to create an alternative implementation (debatable if you can) but if you were able to improve on it, improvements which may also be accepted in the standard.

And a real open standard requires a standards body, not a company that is willing to sue using patents whenever they feel like they aren't in control anymore.

If anything, the "opening" of those specs means absolutely nothing. Flash is still as closed as it was prior to May 2008. The only difference between now and then is the maturing of projects like Red5, but such projects are in a gray legal area. And THE alternatives to the official Flash client are still mostly unusable.

Go ask the Gnash or SwfDec developers about the openness of Flash.
I am curious as to why Google chose CC-BY as the only option for Youtube videos. I'm guessing just for ease of understanding?

After all, having an option of CC-BY-SA-NC (ShareAlike Non-Commercial) would address points 1,3 & 4 straight off the bat. At minimum, Share-Alike would be a great option to have.

Flickr does a pretty solid job of this, IMHO.
Please turn my school into a prison
I was surprised that they got a single letter ticker symbol, so I looked up the history. It turns out that P used to be for Phillips Oil, which gave up the symbol when they merged with Conoco.

I'm amused by the fact that a tech company is taking an oil company's ticker.
That you also got for free.
Using a "older Pentium IV workstation". Older than what? Older than Grandpa? Older than dirt? Older than the dinosaurs? Why?

Pentium IV - really? Let's see - we've had Core, Core 2, Nehalem and Sandy Bridge since then, not to mention 3 in-between process shrink versions of the same architecture.

Perhaps we could pass the hat around so that Google could afford a Sandy Bridge workstation and discover what these interesting results look like on an architecture that dates from some point in this decade - or at least, at some point in the previous decade.

This stuff actually, really, truly makes a difference. And not necessarily in favor or against any particular one of these languages...
No one has seemed particularly interested.

I will say this, because despite my settlement agreement, I can: the whole Facebook controversy--what has indirectly become of my initial work on a fully integrated portal for Harvard students--is an enormous tragedy for everyone, not just for me. Mark's Facebook has distorted so many aspects of our society. The media circus of one claimant after another; the filing, counter-filing, hearsay, "non-fiction" books, "fictional" movies, etc. has detracted from the actual story based on factual evidence to the point where it's hard not to feel sympathy for Mark. Yet no one who values creativity and strives to be an entrepreneur should feel sympathy for Mark.

I don't know anything about Paul Ceglia other than the fact that he appears incredibly untrustworthy. And yet, despite not being convicted criminals, I wouldn't trust the Winklevosses and Divya Narendra, either. Nor would I trust Eduardo Saverin or any of the other co-founders. I trust Mark least of all.

All of this is to say that you can do linguistic analysis on Mark's writing style all day. It doesn't matter; Mark will be fine and Paul Ceglia was apparently already in a lot of trouble. The vast majority of people I hear talking about this have completely failed to learn anything from it. In fact, we've put Mark and others like him up on a pedestal, and it's really quite sad.
The android SDK comes with both Java's java.net.* http client support and the Apache HttpClient 4.0 library, but both require you to write epic amounts of code just to perform a basic HTTP GET.
I think it's hilarious how a story about leaked Iranian emails somehow led to bitcoins.
Thank you man, it means a lot. Sorry when I was an asshole that one time back in the day. MIA represent!
You know what's much, much faster but no-one will ever recommend?

Globals instead of copying gobs of data between classes.

For example WordPress used to use a global object cache that was passed around by pointer reference. Modern versions now throw around multiple copies of huge gobs of data by copying it back-and-forth over and over again, like all the users and posts and comments on a page. Makes a HUGE performance decrease that is easily measured on complex pages (200-300% slower). If you have frequent cache misses it's quite a workout for the system.
FWIW even though Ian improved the Go version somewhat, it's not really idiomatic Go code.
5600mAh Acer UM09E36 battery
Are you saying that everyone who upvotes Bitcoin stories is also long Bitcoin? I haven't recently been told that I don't exist.
Right, that's what those[1,2] Wikileaks-specific sites were intended for. I'm imaging one for general use to dump by anyone that doesn't get filtered and screened by Wikikeaks. Also, I don't think Wikileaks would go along with the release of so much personal info. They also have their hands quite full with the cables affair which is ongoing and not near completely released yet (as is my understanding, correct me of wrong).

[1]: http://www.cablegatesearch.net/search.php

[2:] http://cablesearch.org/
"It should be noted"?! What an understatement! What's the point of going to the trouble of writing a paper if you're not even going to make your comparisons fair? Crazy.
In the last 10 years, we've learned a lot.
They forget that there are tools to create quick getters and setters
Why Windows 8 is Fundamentally Flawed
Agreed. Should be:

$stripped_description = strip_tags($_POST['description']);
echo $stripped_description;
> This would be a good comment on reddit

No, actually it would be a shitty comment on reddit too. Sadly, it is the kind of comment that is now tolerated in some of the bigger subreddits.
Even more micro-optimization: use single quotes for strings instead of double so PHP does not try to parse it. (phpbench seems to dispute this but doesn't say which version of PHP they are using?)

Don't forget the strange performance hit from require_once vs require, use your own flags instead.
(it recently cost me $3 to transfer $1000 internal to the Bitcoin system as an experiment)

If you were to instead use a credit card or a wire transfer, someone (not necessarily you) would almost certainly be charged between 5 and 15 times as much for the transaction.
Toshiba Thrive price announced.
Cloud Foundry: Now Supporting Scala