skysight-inc/HackerNews huggingface dataset:
The linux kernel has a cool linked list implementation for purposes like this, which IMHO is much prettier. Essentially you put a struct list (or hlist) inside of a struct you use in a list. This struct can be a simple pointer to data, or a full struct itself. Whatever. Then the list macros and functions just work on your data structure.

Implementation details here: http://lxr.linux.no/linux+v3.3/include/linux/rculist.h
(also look up list.h).

My favorite part is wrapping your head round the container_of macro central to this. ( http://lxr.linux.no/linux+v3.3/tools/perf/util/include/linux... )

Not that function pointers aren't neat or useful, but sometimes there are other cool solutions too :)
Hacker News Guidelines

What to Submit

On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably off-topic.

http://ycombinator.com/newsfaq.html

http://ycombinator.com/newsguidelines.html
If someone asked me for my facebook password I would ask for theirs. If they think it's important to see my personal information, they should be fine with me seeing theirs.
How do Big US Firms Use Open Source Software?
Explaining Hadoop to Your CEO
QWERTY has no rhyme or reason and must be laboriously memorized (and I say this having reached ~80 WPM years ago). It's even been claimed that it's deliberately de-optimized for our natural languages to accommodate legacy hardware (pre-Selectric typewriters). If gestures are the future, text entry should take advantage of the flexibility of virtual keys and offer better Fitts' Law targets for more frequent letters or digraphs. I like Swype well enough but I can imagine something derived from pie menus being a big step up.
Totally agree. This is why Google cares so much about the quality of results.
Deathwing is the final boss of the current expansion. Did you find that WotLK hard modes were boring? I thought they were pretty good other than ToC.
Thorium reactors are often MSR designs too. But if this offers the possibility of reducing our existing waste supplies, it might make it more publicly palatable.
Equating function pointers with closures in the second paragraph isn't a good start…
There's the ~250 or so that they had to turn off permanently because they couldn't get warrants for them, presumably because they could not show probable cause.
Its the frontier of reactors-that-don't-explode. In the short term, our laws were written with light water reactors in mind, so anybody who wants to build a thorium reactor is going to have to build all the same expensive safety features that light water reactors need, plus the special metallurgy that molten salt reactors need. So basically it doesn't make sense until something changes.
Absolutely!

I find that Starbucks coffee is quite a good deal more caffeinated that what I brew at home, or the other coffee shops.

I can't imagine an extraction/weighing would be that hard, to be honest. Could be a job for a Rob Cockerham-type project..
Apple may not have invented high-DPI IPS panels, but those panels wouldn't exist outside of the lab today without Apple.

Smartphones were pushing 300 PPI+ before Apple decided to try to brand it.

http://www.tgdaily.com/hardware-features/52181-worlds-smalle...

That display packed 1920x1080 on a miniscule 4.8" display.

Further, the iPad was a serious laggard behind much of its tablet competition -- whose greater PPI was never heralded as any great innovation -- but suddenly they play leapfrog and invent a whole new industry? Give me a break.
The simplest answer is just to double the dimensions of the image then use CSS to make it the right size.

So if you want to create an HD image at 200 x 200 on a Retina display, create the image at 400 x 400 then use CSS to control the HD image down to 200 x 200: img { width:200px; height:200px; }.

The HD images are still 72 dpi resolution.

The tricky part is then preventing non-HD devices from unnecessarily downloading the larger images.
Imagine if you will being in the meeting when Jobs shot down the idea "damn it mammals are just too whimpy! i want fierce creatures like big angry cats!!!"
This has been debunked. http://en.wikipedia.org/wiki/New_York_v._Strauss-Kahn#Conspi...
"The New York Review of Books subsequently corrected one of its allegations, reporting that a "dance of celebration" between two Sofitel employees lasted 13 seconds, not the 3 minutes originally reported."
The "personalization" of the web is not a Google-specific phenomenon. I am, at this very moment, sitting in a session at the Adobe Digital Marketing Summit where a marketer from Toyota is espousing personalizing site content to users.

This practice is being pushed _hard_ to all businesses here as a central theme of growth of the internet. In the sense that this drives better business, it certainly will be. Don't expect to go to Toyota.com and see the same experience as your neighbor anymore.
Through the title, I'm just trying to point out that function pointers are not as well-known in C as in other languages. Programmers should recognize when and how to use them effectively.
Yes, it is laborious and must be memorized -- just like our multiplication tables back in 2nd grade. Learning is not always fun, nor should it be.
Sheryl Sandberg,Susan Lyne,Gina Bianchini & Fran Hauser invested in Levo League
Surely it wouldn't take too long to contact both the legitimate users of Megaupload and ask them to download their totally legitimate files?
I really like this book, it start with the very basics:
Discrete Mathematics with Applications (http://www.amazon.com/gp/product/0495391328/ref=oh_o04_s00_i...)
SMS2Gmail – Forward SMS and Call Information to Gmail
US Congress grilling iOS App Developers
> SEC-registered crowdfunding portal.

This is interesting to me. Where can I find more information about the specifics of this?
Agreed on the message/positioning, as discussed in previous comments - we'll see if we can find a better branding, at least for the client side.

About learning to get the right mindset, we would definitely like to include people who are new to freelancing in the first batch - you're right in the fact that this is probably one of the most valuable aspects of our help for them, besides the matchmaking itself.
It sucks, but that's the price of doing business. They chose their customer, and now are (unfortunately) tied to consequences. Same thing happens to building owners who have a crime committed by a tenant, the leased space becomes a crime scene until the police/govt are done with their investigation.
Friends don't link friends to horrible multi-page websites. Where <50% of the first scroll position's space is dedicated to the article.
Who you pick as your cofounder(s) might be the biggest decision you make as a startup founder.
Here is a DIY traffic wave experiement I read on this topic. http://www.eskimo.com/~billb/amateur/traffic/traffic1.html. Pretty interesting results.

bump: sorry. the remaining links look broken
The problem with the approach Google is taking, the reason why I 'left': I felt that it became harder and harder to actually get what I want (using your caps: WANT). I know it. No, you don't know better. No, I didn't misspell that, no geolocation is a bad idea for results or - worse - language.

It's a mediocre service now. Became big with search, became worthless for searches for me. I cannot search anymore, I can play games with software that tries to second guess my intentions.
XSS hole in Paypal.com (fixed now)
"What buffer does" is right there in the text you quoted:

> a way to post retweets ... at a better time.
Tether the drones across the countryside. Supply power through the tether. Make them a Redundant Array, so that loss of a single drone doesn't lose any data.

Rig them, so that if the tether is cut, they erase their copy of the hard drive encryption key, then fly to a "safe house."
I don't mean to be inflammatory, but OnSwipe is the bane of my internet experience. PLEASE get rid of it.
Maxell 183900 LTO-3 Data Storage Tape With Extra Capabilities
. Maxell LTO3, tape has ability to record information on different data tracks. With help neo smart technology in Maxell LTO-3 tapes reduce the marginal error ratio to 0.2 micrometer with its entire 680M tape length. The accurate servo system allow highly dependable and immediate data recording onto the numerous tracks of Maxell LTO-3 data tape. Its extra outstanding design and durability make sure that the data tape can lodge more than 20,000 loading & unloading without trouble or hurdle with long serving life.
The author claims you might know it as a lambda or anonymous function in other languages, but I think function pointers come up short in comparison.

Function pointers can't capture variables from surrounding scopes and so can't depend on runtime values in any easy or safe way.

Just try emulating the following with function pointers:

def incrementor(n: Int) = (x:Int) => x + n

Sure you could add another input parameter for the C function pointer, but then you couldn't use it anywhere an arity-1 function is required.
The data is being held (from what I understand) as part of an FBI investigation. The MPAA may be responsible for the case existing and bringing the supposed crime to light but the FBI are the people trying the case and this is beyond the MPAA now. The responsibility lies with the government agencies.
Sure, you CAN just google whatever you want, but I don't think you always know what article you want to read...
I don't watch the news, but I listen to CBC like an addict, and it's really because I never know what I'm going to hear. There are always new little "gems" worth hearing that it never even occurred to me "google".
I've got the same exact criticism. Additionally, I was so hooked on getting through the exercises that I finished them and repeated them over the span of 3 days, then thought to myself "now what"?

That's not to say Codecademy hasn't been useful. If anything, it was the service that helped me get a grasp of javascript, which I'm now implementing in my personal projects. But I wish there was more.
Is that pre- or post- Thailand flooding prices? (Have drive prices settled down again?)

And is there any redundancy included in your figures? (25 petabytes / 135 terabytes == about 190 pods)
Is that new? I've been seeing it for a while now and still can't shake the feeling that the left hand menu looks like a stuck dropdown.
I totally agree with you. I think JulianMorrison missed that point. Being on the "downside of a power gap" doesn't always mean that speaking up will have bad consequences. It's up to the person who has power. The men in the original scenario need to explicitly give the woman room to speak up if she's feeling uncomfortable.
Or simply looking at the source code would have found an authoritative answer.
I think I was affected by this. There was a lot of fishiness going on the last few days, I tried to buy the Aziz comedy show and that USB TV stick that the Ham Radio people are talking about, both PayPal, and on these sites there seemed to be some really weird domains popping up, and then someone in HK logged into my Facebook account. So, I guess I'm going around and changing passwords and such this evening.
HumbledMBA acquired by 42Floors (YC W12)
Google Chrome 17.0.963.83 Final Offline Installer on Downloads App
Insane Apache Crash in Afghanistan (video)
> He started the kernel when he as a Master's student in Finland, too.

No. He released Linux in 1991, he received his master degree in 1997.
Did you read the article at all? They can't lease the equipment to anyone else, which is what's costing them money. The servers were estimated to be values at $1.25M, but they are also unable to lease all the space that they are using, which is significant.
We've added tons of new content over the past few months - check us out again and let me know if you have any issues or concerns (contact at codecademy dot com).
How are you handling chargebacks? What if the service buyer does not honor you escrow arbitration after the process and files for a chargeback? are you going to take the money back from the service provider?
At the most basic level, though, the comparison remains valid, doesn't it? That is all I'm trying to highlight.
The amazon.com redesign has been in testing for months now and is still not universal.

Amazon uses "feature flags" which allow them to roll out new features or design changes incrementally (i.e. to a random x% of visitors).
Can someone more familiar with this stuff explain why Carpathia's still paying for "power and connectivity"?

I would have assumed that the FBI would have actually seized the servers, or at the very least pulled the network cables out.
Megaupload had a lot of assets that were frozen. I don’t know about the legailities, but it would be reasonable to use frozen funds to pay for this.
Oracle's final damage claim less than $100 million
Surely you don't mean "ever been"? I don't know how long it took them to get to ten million players in the first place but I'm imagining it wasn't on day one :)

And semantic point aside, ten million users is still mighty impressive!
I can definitely understand the lost potential revenue of having unused servers. But I wonder why they are saying that cost includes power and connectivity for the servers? Seems like they would be powered down. I would actually have assumed the servers to be confiscated and taken off-premise by the FBI.
Google Voice for Android, now with Ice Cream Sandwich voicemail integration
Agreed. I've been working through their class as well. I've worked through Codecademy, Coursera, Udacity and a variety of other courses.

Udacity is challenging, engaging and helps me learn better than anything I've seen yet.
I've been seeing it for at least a couple of months as well. I only see it every now and then.
I had a look at the code on GitHub and could only find code that seems to start and stop threads. Is there more coming?
Income of Deutsche Bank fund tied to life expectancy of 500 anonymous volunteers
Just got the deluxe version and I'm wondering, what percentage of buyers chose this one from the two? Could you share some numbers (or at least percentages)?
Mine toggles back and forth, even when I'm logged in. I'm logged in right now and getting the old site.
Yes, "what high school did you go to?" seems to be the basis of a socio-economic pheremone around St. Louis.

Budweiser and watching Cardinals games in the summer, and that's not a stereotype.
Went to the About page for context, found none. So ... this is an app to keep track of my failures? Why should I keep track of things I don't want to do?

IIRC, it's more effective to enforce a new behavior by phrasing it in the positive, like, "Stay quiet" instead of "Don't talk." Am I wrong? You should convince me on the About page.
If I had a facebook and someone asked me for my password I would laugh in their face, as if they had delivered the most deadpan of punchlines.
It does. Using the new Mixpanel JS library you would call:

mixpanel.track_pageview(window.location.href);
I'm actually working on a crowdfunding for equity site that we're going to be launching here in the next couple of weeks. I had the opportunity to read the bill and it stipulates that those of us acting as crowdfunding intermediaries be either broker dealers or this new class of financial institution called a "funding portal"

From here on this is pure speculation. Basically, the gist that I've gotten from the various SEC officials making comments on the bill is that a funding portal is going to a be very loosely regulated compared to other financial intermediaries. Mostly funding portals will exist as a way for the SEC to keep tabs on us to prevent fraud, and to make sure we're meeting all our various reporting requirements to the Federal and State level governments. Again, all of this is speculation based off of the various committee hearings, and comments from SEC higher ups regarding the crowdfunding bill.

Edit: I also should have included that the SEC is using "funding portal" as a way of limiting the scope of our activities. It prevents us from doing things like actually performing the money management functions etc.
Its the storage disks the government need, not the rest of the server hardware, if they cant come up with an agreement then shutdown all the servers, take out the disks, catalog, and put in a warehouse somewhere. They are now free to re-use the rest of the server for something else.

That would satisfy the needs of the government if they need access to the data, preserve it if in the future people are allowed to download it, and prevent the MPAA from complaining that it was given back to Megaupload.

I'm sure the cost of storage would not be minimal, but they could still use the rest of the hardware and not have to keep the servers powered up.

Possible problems:

- Maybe the servers cant be shutdown and brought back up without certain passwords or encryption keys

- Labor cost of shutting down and catalogging all those disks ( if done progressively would probably work )

- Others?
Here is the section of the amendment that deals directly with those requiremennts:
http://thomas.loc.gov/cgi-bin/query/F?c112:1:./temp/~c112pnE...:

I'm still dissecting it.
A blowtorch made of bacon
7 Super Tips to Become a Successful Super Affiliate
RegExr 0.3b
I quit fairly early in Wrath when Naxx was cleared on our relatively casual server on day1 or day2. Good guilds still took a while to get through Kara in BC because of attunements, etc. I felt that would set the tone for the rest of Wrath so I jumped ship.
“For investors with an income of less than $100,000, investments will be capped at the greater of $2,000 or 5% of income. For investors within an income of more than $100,000, investments will be capped at 10% up to $100,000.”

Is the cap per investment or per person? E.g., if I make 100k, does that mean I can invest 5k total, or no more than 5k in any one company?

Also, is this an annual cap? What happens if I invest in January and the investment appreciates (or depreciates)? Does my cap move with MtM, or just record the cost?

Finally, isn't the "10% up to 100k" part redundant, since someone who is earning 1 million is an accredited investor by the traditional definition? Or is the 100k similar to the 2k, in that it's one part of a greater of function?
Well the revised syntax (http://caml.inria.fr/pub/docs/manual-camlp4/manual007.html) is completely implemented as a camlp4 (p5?) extension, so if you have enough patience you can write another extension to replace the syntax with whatever you want, I suppose.
It's possible (though I'd doubt it is the case) that those servers have data from other clients as well.
Not as well known to C programmers, or not as well known to programmers who don't program C? I don't know a single C programmer that doesn't regularly use function pointers.
Pardon my ignorance, and this is a serious question, but why can't they just turn them off? I realize it doesn't address all the costs, but surely it could reduce them significantly.
Technically, I think Carpathia can recover their costs from megaupload, even with the contract being terminated. If megaupload can't pay, then the insurer(s) should step in.
It is a stuck dropdown. If you make your browser smaller, it will turn into an actual dropdown. It looks like someone heard about responsive design, but didn't really understand why or how.
There is a huge difference between saying Sarkozy might gain politically (FT title), and saying Sarkozy "timed" the shootings of 6 people which is what you implied. Or did I misunderstand?
Yes, I get that. That's why I said "stop losing money." It seems like their only solution would be to transfer the images of the data to cold storage and then find some source to recoup the cost of the cold storage devices (which is why I thought the backblaze numbers would be interesting.)
How the iPhone Zapped Carriers
GlobalFoundries hits 32nm milestone; AMD’s still refusing to commit to 28nm
The only thing I can think is that it means newer stories continuously start out with higher scores. So a top story last week might have scored 3000, an equivalently top story this week scores 3100, next week's will score 3200, and on to infinity.

Not sure if that's what it actually means or not, though.
Not deleted, flagged to dead state.
More Search Tools : Verbatim?
I wonder how politically difficult it would be to get one of these built near Yucca Mountain. Given that a) it's already a nuclear hotzone in the minds of the public, and b) this offers some possibility of improving the situation while generating exportable power. You'd think this would be an interesting prospect to at least one philanthropically-minded billionaire.
The Next Wave? Enterprises Moving SOAP to REST
Likely due to community flagging.
Original paper is here: http://otherthings.com/uw/watercolor/ (though I think some crappy academia links are broken)
Which Multiple Desktop Tool should one use on Windows 7?
Which Multiple Desktop Tool should one use on Windows 7?

Sysinternals Desktops:
http://technet.microsoft.com/en-us/sysinternals/cc817881

mdesktop:
http://code.google.com/p/mdesktop/

Dexpot:
http://dexpot.de/index.php?lang=en

Virtual Dimension:
http://virt-dimension.sourceforge.net/

VirtuaWin:
http://virtuawin.sourceforge.net/

Finestra:
http://vdm.codeplex.com/
Minus the blog spam:

http://www.infoworld.com/d/application-development/clojure-i...
Stealing, Idea Sex, & Explosions. Creative Problem Solving.
How to be a more creative problem solver by incorporating stealing, cross-pollination, and explosions into your tool box.
In civil or criminal asset forfeiture, the state can conceivably confiscate property if used for or if it enables a crime. In some jurisdictions it doesn't even matter if the owner of the property and the criminal have really nothing to do with each other. (i.e. Your stolen SUV was used to rob a liquor store.)

Also, the government could have probably seized everything anyway as evidence. The problem with that is setting up that much rack space and network infrastructure isn't cheap.

That's Carpathia's basis for compensation. They are providing a service to the government. Seems like a no-brainer.
URDU SEX STORIES: Mohallay Waali
Anyone use kickstarter for their game project here? give us some pointers, please.
Flow looks nice but it doesn't show what I want out of analytics, which is link sources and conversions. What I would like to see is flows like:

CPC ad click -> Product Page (secondary goal: email signup) -> Cart -> (time passes) -> Googled "product" -> Product Page -> (time passes) -> email click -> Product Page -> Cart Page -> Payment (primary goal)

I want to see is where people come from, where they went, and why it works. In the example above, the thing that worked was email reminder. It gets even worse when referers are involved, and blog posts don't remove the utm_campaign=email link.

Basically, I'd like a backwards flow from individual conversions.
From the bill-

(B) the aggregate amount sold to any investor by an issuer, including any amount sold in reliance on the exemption provided under this paragraph during the 12-month period preceding the date of such transaction, does not exceed--
`(i) the greater of $2,000 or 5 percent of the annual income or net worth of such investor, as applicable, if either the annual income or the net worth of the investor is less than $100,000; and
(ii) 10 percent of the annual income or net worth of such investor, as applicable, not to exceed a maximum aggregate amount sold of $100,000, if either the annual income or net worth of the investor is equal to or more than $100,000;

EDIT- Wait, what if say your income is $150k but your net worth is only $80k? Section one says it applies if either net worth or income is less than $100k, but section two says it applies if either is greater than $100k. Hmmm.