skysight-inc/HackerNews huggingface dataset:
It's really not that strange - it's probably intended debugging & profiling code. It sounds like Lua's debugging hook (http://www.lua.org/manual/5.1/manual.html#lua_sethook), which can run a callback every N vm instructions.

I made a simple profiler by setting the hook to run every X ticks (typically 10,000), recording the call stack, and then seeing where most of the execution happens. If every other time you look at the vm, it's in the same place, then it's clearly a hotspot.

I don't know of an equivalent in Python or Ruby, off the top of my head, but I'd be surprised if they weren't available.
Ask HN:Royalty free iPhone/iPad Flight Control-like game source for $100 USD.
I am funding my startup(Second attemp) ;-)

Selling Flight Control like game for iPhone/iPad/Ipod touch.

Flight control game was downloaded more than 2 million times.(not my game)
http://www.intomobile.com/2010/01/29/flight-control-hits-2-million-paid-downloads-mark/

This source code I am selling has similar engine. It has finger path tracking with smooth path following algorithms

You can check it out at

http://itunes.apple.com/us/app/missile-o-mine-defender/id338323991?mt=8

You get
- Full source code
- Full image files
- Full sound files
- Gimp Files
- Full game UI structure Menus/Splash/Etc.
- Xcode ready project

It is a great starter for:

- Entering the App Store.
- Prototype for VC,angel presentation.
- Learning Objective C/Cocoa Touch.
- Rip the source code apart, extract the logic from it and create your own game.
- School project.

Other coders can sell you source code for up to 50,000 usd. yes, I have researched, can´t beat this offer!!.

Some might say, there is already open source games (Wolfestein, etc). This game will be a lot easier to tweak, modify and call your own.

You can contact me if you want to buy support/updates for the source code.

With this source I give you permission to

- Change credits, change my name, logo, game name and call it your own,
- Change whatever you want from the game.
- Hack it like you own it!

You will not be able to:

- Resale the game with my name/logo/credits.
- Release a game with the same name
- Re-sell the source code

I will sell this game for only one week. I will definetely consider selling an exclusive license for the source code if the offer is right.

You can read about me

http://netbeans.dzone.com/news/inode-interview-mobile-more

reach me @
jimmy@inodesoft.com
eBay, and sell it in Bulk.

Contact dollar-store operators.

Sell them to hotels to give to their guests; for $2/pair, they can label it "pool sandals".

Contact hospitals, retirement homes, and homeless shelters.
What has this got to do with Hacker News?
This is f*ing awesome, I can't wait to use this.

This presents such an awesome addon for framework like appcelerator titanium and rhomobile.
10 Things CEOs Need to Know About Design
I know it is not the newest presentation, and has probably been up here, but some of the lessons are just great. A top design presentation.
IPhone Game Start up(me) selling game source code for $100 to self fund
Have you seen: http://github.com/chriseppstein/compass-960-plugin
Its also important to note that status or public reputation seems to be just as important as fun these days. People expect the ability to show off their accomplishments or achievements with their friends in games and sites now. The mentality seems to be "If I can't show-off how awesome I am at doing something, why bother doing it?"
Words (Radiolab Episode)
The McFly Scheme: Time Travel Betting (Comic)
At one time or another we have all had the day dream about traveling back in time like Biff in Back To The Future 2 and betting on events you know the outcome of. The plan is simple, figure out some events you want to bet on, find out the final outcomes, find a time machine, and head back in time to place an enormous bet and then fly back to the future to enjoy your winnings and interest. Well its not that simple but you get the idea. Unfortunately that plan is incredibility flawed; minus the entire time travel concept.
How to cheat on online programming tests
Apply for restitution from BP

If you have a little more money for stickers you could sell them with Dubya or Obama's face on them to areas that hate each of them.

Sell them as a back-to-school item form drom-dwelling college kids

If nothing else, you could donate them to charity for the tax write off
"Check again. Microsoft was founded in 1975. Oracle in 1977."

Fine. The software industry is 35 years old. You're picking nits.

"What exactly did EDS, Computer Sciences Corporation, Capgemini and SAP do before entering software? As far as I can tell, nothing."

The same thing as that Arthur Andersen group that you're classifying as part of the "software" industry. Mainframe hardware sales and consulting:

"GE asked Arthur Andersen to automate payroll processing and manufacturing at GE's Appliance Park facility near Louisville, Kentucky. Arthur Andersen recommended installation of a UNIVAC I computer and printer, which resulted in the first commercially owned computer installation in the United States in 1954."

I never said that there weren't any software developers before 1980 -- I said that there wasn't a software industry, as we know it. That mainframes were first sold in the 1950s is not evidence to the contrary.
Could this have anything to do with Posterous' risqué post claiming superiority over Tumblr?

http://www.blogherald.com/2010/06/24/posterous-slanders-tumb...
Go low-tech: stand outside a waterslide park.

Supply and demand.
It would be nice to have a multi-line textbox I could paste a list separated by \n's that the site would split into individual entries. I want to transfer my list from tadalist.com, as this seems like a better site.
SISAL: A Safe and Efficient Language for Numerical Calculations
The Mystery of Steve Jobs’ Plateless Benz
I'm wondering why Social Gold and Facebook Credits are only focusing on gaming. Does virtual currency have no other legal use? Take on PayPal already.

http://www.dotsauce.com/2010/08/09/age-of-virtual-currency/
Quick question, can this be recompiled for ipad with a change of artwork?
Honestly, it was the SUN who killed themselves, not ORACLE. ORACLE is just the catalyst.
Replicating GitHub's Repository Serving Setup
Yeah, practically every Apple product in recent years has been leaked before the official announcement. The difficult part is separating fact from the false rumors and fabrications.
Seconded. Hard, scary math is well worth the effort even if you never, ever, use any of it professionally as a programmer in a direct way. You'll be forced to stretch yourself and get used to the idea and the time involved in working on hard problems. Which does translate to dev work later.

Generally, even if the CS program at your university or college isn't that rigorous (and right now, with falling enrollments, it doesn't seem that the average CS school is interested in changing this), the faculty in the math department are almost always scary smart. Take advantage of them.
Something like...
(Pseudocode)

for( i= 1,100 )
{
if( i%3==0 ) { print( 'Fizz' ) }
if( i%5==0 ) { print( 'Buzz' ) }
print( '\n' )
}

There's no need to treat FizzBuzz as a special case, as if the number is divisible by both it will have already met the conditions of the previous two statements.

I wonder if there's some magic you could sprinkle in to the iterator so it only iterates through numbers which are divisible by 3/5, ignoring the rest?

It probably wouldn't speed the operation up much (if at all) in this case, in a more complex real world scenario though it's best to look at every angle.
Those stickers are derivative work - unsanctioned and thoroughly frowned upon derivative work.
notarapper - Read a Book

http://www.youtube.com/watch?v=GlKL_EpnSp8
Does anyone think Google didn't plan for this? Isn't this a great excuse to displace Java and use their own language? I'm already scared.
one ego centric parent and I feel pity for the kid in all honesty.
How the No-Glasses-Required 3d on the Nintendo 3DS works
Except Oracle doesn't do this. They don't focus on creating, promoting, or even maintaining. They're like the Borg. They assimilate and they rent seek. That's it.
Render Any HTML5 Video in ASCII
Brian Kernighan: What would Orwell do?
This time I used Tor.
Fatigue means that you cannot lift the weight anymore without resting first. Marathon runners don't train to fatigue. They run 10 or 20km. They could still run more if they wished.

The reason sprinters are more muscular is that they do a lot of strength training outside running, while marathon runners don't -- although there's some evidence that doing more than they do now would improve results.
Study: A Look At Hard Drive Reliability In Russia
Google Briefly Punishes Oracle by Removal from Google Search
Very clever, I wouldn't have noticed that just reading through the code. Whomever the thieves are, that mod was a nice hack.
It's "making easy things easy, and hard things possible." That's what a friendly platform does well.
How to get a Pilot's License in (just about) a week
I'm a student at the University of Sydney focused primarily on Natural Language Processing and Machine Learning. My largest regret is not doing more math and that's something I plan on fixing after Honours (either in PhD or in my spare time wherever I end up). If you can, take as much math as possible.

I'd also mention that although the traditionally important math for computer science is discrete mathematics and graph theory you really can't underestimate how important linear algebra, differential calculus and probability theory are if you want to actually understand the theory behind a lot of machine learning algorithms.

If you're looking for a fun project to do that involves mathematics I'd highly suggest writing a raytracer. The amount of linear algebra that you end up learning accidentally just trying to render a sphere with lighting is amazing and it really inspires you to learn more.

I would also highly recommend going through Andrew Ng's AI course from Stanford[1] where he derives many common machine learning algorithms in a simple to follow manner. It shows just how many wonderful bits and pieces of math fall into the area. He only assumes a basic knowledge of probability theory and linear algebra and takes great strides in ensuring there's no "magic steps" in the derivations.

If you get lost, pause the video and read the (wonderfully written) lecture notes or Google for the particular topic you're stuck on. Review notes are also provided for Linear Algebra, Probability Theory, Convex Optimization, Hidden Markov Models and Gaussian Processes if any of those really catch your fancy, but they're not required reading to necessarily understand the majority of the course.

[1] http://see.stanford.edu/see/courseinfo.aspx?coll=348ca38a-3a...
Why? It's a pretty simple system - elementary, middle school, and high school are about laying the knowledge foundation for critical thinking. University (grad school really) is about actually practicing that.

You need a body of generally accepted knowledge to actually be a critical thinker. Most people I meet don't lack the critical thinking, they lack the body of knowledge.
I'm sure that is sarcasm.
I think you're brain is developing when you have experiences.

Not all learning is technical. I didn't even mention that specifically. You can learn marketing, sales, leadership skills, project management, customer relations and qualities like tenacity and creativity at startups.
These aren't really that useful. These layouts were designed for comic book panels, not for web-based content.
That's the one. I couldn't think of the name.
The nerds lack all sense of humor.
One good thing this whole paper and debate has done is motivated to get my honours thesis done, mine obviously is nowhere near as profound but it is great to watch people on the edge of advancement in the field attempt to give us new understanding.
50 Viral Images The Web Shared In 2010
Java is interpreted on Android on every version prior to Android 2.2. Lua (clearly a scripting language) also converts to bytecode on load, and runs faster than Java in most cases. I'm pretty sure Python also converts to bytecode.

Objective C has a lot of run time overhead due to its "message passing" paradigm. So any time you need to use a Cocoa API, it's pretty slow. Somewhere I read that, as a result of Objective C overhead, the iPhone ends up about the same speed as Android in typical apps--so that with Android 2.2 getting a JIT compiler, it ends up much faster on similar generation phones.

EDIT: I just realized what you were confused about. Originally Apple said: "NO native SDK. You must use JavaScript on web pages to create iPhone apps." That's what I meant by "Apple started with a scripting language and had to back down." END EDIT

If you're writing code for mobile platforms, then I'm sorry, but it sucks to have to write it all 3-4 times. C# may be better than Java, but it's not relevant to me if I want to write Android/iOS games. If everyone used C++, then even the small-market phones (I'm looking at Microsoft here) would get ports of everything. At least iOS has somewhat native support for C++, which makes it easier to port games to/from Windows/Linux. The Android native support is unfortunately a neglected step-child of Google, though I'm fighting with it to get that compatibility.

And I'd certainly debate that modern phones are overpowered, but then again I write games. My G1 positively crawls--which I submit it wouldn't do if large portions of the OS weren't written in interpreted Java. I would totally agree with you that, on paper, there's plenty of power--but it's all wasted by inefficient code.

You know what really surprises me, though? How much CPU it takes to render a web page. Even when I'm on WiFi, the G1 is unusably slow at rendering web pages. And it's built on C++--and the Google browser, which is supposed to be fast. Opera and Dolphin are also pathetic on the G1.

Not that anyone will see this now that my original comment has been downvoted to oblivion. I guess you can't insult Java on HN and get away with it. No worries, though--the same thing happens on Reddit.

EDIT: See "EDIT" section above.
Evolution is not random - ask any biologist. Random mutations are actively selected for traits strongly favoring better species survival.

While certainly not a panecea, such strong drives as success, power, etc. that we're discussing are in no way accidental such as optical illusions and the like. To make an argument like this is to misunderstand evolution entirely.
Is Using BlackBerry Away From Work Overtime?
Capital Factory Demo Day 2010 is on September 8, 2010.
There wouldn't be much difference, but taking donations is only a small part of what paypal does. You can donate money with a credit card, but that is not what it is mostely used for.

Flattr on the other hand, can only be used for donations, which means that it has little, if any value.
Eh, it wasn't really funny.
This article suddenly becomes relevant again: http://www.azarask.in/blog/post/does-google-censor-tiananmen... :-)

And this guy falls for it, even though it's pretty much spelled out in the search results shown what is going on.

Even so, I found the following remark interesting:

"It seems to me that removing Oracle from the Google search database would be an intentional tort and actionable under a variety of unfair business practice theories. Whether Google wants to admit it or not their search engine has become something of a public facility. As a result, arbitrarily and capriciously denying any individual or company access smacks of censorship and a high handedness that would result in the unilateral selection of winners and losers. With the power of Google they cannot be allowed to do something like this because if they can do it to Oracle they could do it to me or you or many others who would have little recourse."

I wonder if that is true? If Google would actually decide to remove company X or word Y from their search results, would that be considered censorship under the law? Would it be illegal? One could argue that it's their data and they can show it, or not show it, whichever way they want.
The last slide says it best:

"The Basel Convention on the Control of Transboundary  Movements of Hazardous Wastes and Their Disposal, agreed to in 1989 and now adopted  by a majority of nations, was meant to stop the dumping of toxic waste in poor  countries. But rules get complicated when the waste arrives as a gift."

I think it's easy for most people to basically throw our old junk on the less fortunate if we think it's helping them. In fact, it makes us feel like we're making a difference. And we are, in some cases, but this slide show was a reminder of the importance of understanding the implications of our charitable giving.
العاب بنات
I don't know Welsh. What is the pronunciation of "Pwll"?
Ask HN: How would you monetize a dubious website (e.g. 4chan)?
Greetings to everyone. It is a fact that for infamous websites, such as 4chan or encyclopediadramatica, it is pretty hard to turn page views into money. So the question is, how would YOU personally go about doing that?
> You are sacrificing some time and freedom now for complete freedom later.

No, for the chance of complete freedom later.
Good point. Beyond the usual 'people who like this also like', there are some interesting inversions:

1) People who hate this also hate
2) People who hate this also like
3) People who like this also hate

Judicious use of these might help to provide the serendipity you mention in the linked post.

But in practice, I think there are a number of reasons that you don't see 'dislike' buttons as frequently.

1) The common KNN item-item approach doesn't handle negative correlations.
2) Without explicit ratings, dislike is harder to infer than like.
3) Sites just don't like appearing to be negative.
The top 25 warning signs of losing a sales deal in B2B
The cake is a lie

;)
The thing this highlights is the way that CA certificates are all-or-nothing. You can't say "This is a CA, but they should only be trusted for certificates where the CN matches this pattern".

Separate CAs were always a bogus idea. They should have just issued certificates in parallel with domain names - so if I registered "google.com", I also got a certificate from the domain registrar which allowed me to sign certificates for "<anything>.google.com".
But Oracle is more profitable and earns more revenues. Market Cap means nothing here. Oracle doesn't need to make a search engine, they have Oracle + Sun's patent, they could make it impossible for Google to build a computer and run software on it with enough lawsuits. Only IBM in my view could survive a patent attack like this.
Well, my site is much simpler to use, as far as I can tell.

I just tried both. Your site seems a lot harder, to me. On your site, I searched for a couple of authors; nothing came up, so I logged out. On GetGlue I was presented with a bunch of choices, clicked the ones that I liked, got another list of choices, clicked the ones that I like, got another . . .
Worlds first 20 minute voice call from a Free Software GSM stack on a phone
If you're against software patents, it's for a reason, no?

That's sort of like saying that you admire one mafioso more than the other, because he has fewer compunctions about killing people in order to extort money, even though you're against the "killing people" tactic in general.

The entire Android stack is open source, and is not software that was implemented by Sun/Oracle. The class library comes from the Apache Software Foundation. Is Oracle going to sue Apache next? Who else might they sue?
Or, he could use this incident to demonstrate how he's right with his views on open-source-but-not-really-free stuff.
4chan likely makes much more money than is reported.. with moot putting forward this broke-kid image, I would think he becomes a much smaller target for the various entities, laws, and copyrights they trample on.

It's sort of like how the IFPI used the "profitable" motive in it's arguments against the Pirate Bay.

Poor people make poor lawsuit targets.
jQTouch has a great looking website/demo and was very exciting a year or so ago, but I'll be happy to see a robust alternative. After having used jQTouch to implement iPhone-specific views for a couple sites, I won't use it again.

jQTouch could have preempted the possibility of jQuery Mobile being viable in the first place, but it stagnated instead. The jQuery team can't be blamed for that.
Absolutely.

Just change artwork, it will run on iPad as a full application.

I am sure there might be some minor tweacking if any to it.

Thanks, let me know
I'm going to shy away from BSD implementation of ZFS too, Oracle probably has a bunch of patents on that too.
Why, exactly? Will the impact (if any) on android change those languages? I can't see how.

Those fretting about "Oracle's stewardship of Java" all need to take a breath. Honestly, things can't be worse than they were under Sun -- except perhaps in the eyes of those that make platform decisions based on the patent-management policies of multinational corporations. If FUD or "morale" or "community" is the chief concern for others, then they've forgotten the lessons of Java's history: i.e. the shit keeps hitting the fan in different ways, yet code running on JVMs is everywhere, and that'll continue to be the case for decades.

Anyway, I honestly can't see how this has any bearing on "userspace" as it were. If I were a VM vendor, I'd be very concerned, but application and library developers would seem to be entirely unaffected by the suit.
Right now: kill Holiday.
I exist! Come visit me!
I learned to fly at Winchester Regional. All of these places are familiar. The Shenandoah is a fantastic place to learn to fly if you can.

Once you get the stones to go in and out of Front Royal, drop me a line, we'll go out for a beer and talk about those power lines...
Yay! My friend at McMaster was a part of this test. Go Mac!
Ads. But sites like 4chan is more of a community-focus site and they don't really focus on making money. Here is a post about 4chan's revenue:

http://www.homethinking.com/brontemedia/2009/02/22/4chanorg-...

The revenue is enough to cover the hosting plus maybe a few hundreds extra. That's all.
Interesting. Where are you based out of? I am curious because the commenter's reasoning sounded plausible.
I play a handful of 3-minute games of Quordy (Boggle, basically) on my iPhone right after waking up. If my scores trend > 60, I'm in the "rested and aware" day. If I trend < 40, it's going to be a brain-fog day. I don't often fall in the middle, so I have found it to be a rather significant indicator.
I also have a bad knee, I guess from repeatedly hitting the ground with it while playing handball when I was young(<20). It started to be really painful in long car rides, whenever I standed up for long times or had long walks but it never bothered me when I had played some sport.

A year ago I got into a gym and I feared that my knee would break down, amazingly I learnt what you refer to, that weight lifting is one of the best ways to strengthen muscles that are important to the joints. When I thought of weight lifting I just thought of stressing the body, my idea now is completely different, weight lifting is a way of activating some of your more obscure muscles. Never again I got any complain from that knee.
What I actually meant to ask is not how do they make money, if they make money, or even if it is their goal to make money but if you were in moot's shoes and you wanted to turn page views into money, what would you do?
Usually listen to one of the SomaFM stations, but listening to one of the Through the Wormhole episodes ATM.
People are really just being silly about this stuff. They aren't suing because they USED Java or the JVM. I don't see how this could have any effect on these languages.