skysight-inc/HackerNews huggingface dataset:
I see lots of questions here about which queuing implementations one ought to consider. Some things to think about:

1. Do you need transactionality? What if your consumer experiences an error after it takes a message off the queue but before it finishes up processing it? Is it ok for that message to disappear forever? The common use case to consider is a consumer which takes a message from a queue, does some processing, and updates a database. To avoid distributed transactions, people often write these consumers so that they check first to see if a message has already been processed. This way, one simply ensures that his DB transaction commits before committing to the consumption of the message.

2. What level of message durability is required? Is it ok for all enqueued messages to disappear when a power cord is inadvertently pulled? I used ActiveMQ to populate a user behavior data warehouse. As users did stuff on a website, the application servers would enqueue observations (went to the product detail page, etc.) and these observations would eventually wind-up in a big Oracle DB. A delay of a day or so didn't matter, but we didn't want to lose more than a fraction of a percent of our observations. So, the queue was in effect a temporary system of record, and we had to allow for reboots, power outages, etc.

3. High Availability. Many modern queueing implementations can be deployed in redundant, scalable "meshes", ActiveMQ included. I haven't kept up on the feature sets of RabbitMQ, JBoss's offering, etc. or I would comment more here.

There are obviously a bunch of other considerations, but these are often the ones which are ignored when comparing ZeroMQ to ActiveMQ, etc. There's no right or wrong answer. "Lighter" implementations are often appropriate for messages where, if the shit hits the fan with your environment, the messages are useless anyway. IIRC, eBay builds pages by firing off a bunch of async requests for page parts, waits a maximum of N milliseconds, and then renders the page based on which pieces made it back on time. There's no value in persistence or transactionality, but the mesh sure better scale up.
Amazing looking site. I am going to start using this site and connect with people. I was looking for a site like this, thanks!

AP,

<a href ="http://directlenderpaydayloan.com>direct lender payday loans</a>
Microsoft to show off Windows tablet software next week
Hmmm, again, that assumes trust of the host serving up the Javascript. I know it may seem nit-picky, but it's not a concern that can be easily dismissed.
How Vulnerable are Superheroes Crotches? - A Study
It's very common for executives to sell shares on a regular (non-secret) schedule to avoid claims of insider trading or false news about "Bill Gates selling stock; MSFT must be in trouble!"
good spot. Lets hope more people flag this.
In the 22nd century, when everyone has supercomputers embedded in their heads, prisoners will be forced to mine bitcoins...
While regexps can look intimidating try this: write something that does a regexp using just "normal" language features. Greenspun's law applies equally here; any sufficiently complex parser will include a DSL for regular expressions...
You are right, I will correct it.

Also, hopefully this post is useful as is at least for beginners, though adding information on autorelease pools would be good for sure.
On the topic of properties, I also find it helpful to define the property and variable to have different names (e.g., NSString _foo; for the variable and @property (nonatomic, copy) NSString foo; for the property). When mapped through @synthesize foo = _foo;, it avoids confusion about the memory management necessary for a particular value.
I actually respect Zuck more because of this. He seems like less of a narcissistic adolescent and more like a man who cares about the quality of his food and the connection between himself and what he consumes.

And, remember that killing your food is a sign of aristocracy. Native Americans were not called "noble savages" because they seemed neat or something, but because they hunted and adorned themselves with pelts, which is something that only European aristocrats did.

Personally, I prefer butchering my meat myself because of the low-quality of butchering in many mass-production facilities.
Not only are they not complex, they were solved in the 80s.

http://en.wikipedia.org/wiki/Abstract_Syntax_Notation_One
Original story discussion: http://news.ycombinator.com/item?id=2586469
Intuitive Probabilities – Blackjack and Loss Rebates
Plenty of scanners work fine with SANE but you're not going to get OCR.
I'll disagree with the notion that "Social networks are a winner-take-all game". I, and i'm sure many others do too, use different social networks for different group of friends.

I.e. I use Facebook primarily to keep in contact with my family and friends who i don't see on a regular basis. I use LinkedIn to keep in touch with people I met on a professional basis. I use Whatsapp to keep in touch with people who are really close to me.

I know Whatsapp is not exactly a social network but I believe that it is a first step towards fulfilling a niche that is ripe to be disrupted: A social network for your INNER circle of friends; close friends/family that you interact with on a regular basis. I don't believe any "social network" has fulfilled this niche yet.

So in short, social networks is NOT a winner-takes-all-game and there are opportunities to disrupt. I myself is attempting this by taking the Whatsapp model and expanding on that.
Modern JavaScript for every Browser
Well I am an enterprise developer and I can tell you exactly what XML is for: selling you expensive middleware. It costs a fortune and it starts with an X, it must be eXtremely good right!? I avoid it like the plague as much as I can... But everyone gets bogged down in SOAP WSDL nonsense.

Before XML we had CORBA, and before that EDI, and before that ASN.1... Just reinventing the wheel and each time a little worse.
Getting metadata from images on iOS
5 Rails hosts that have gone green
...or just don't use apache unless you have a specific need otherwise. NginX handles tons and tons of alive but idle connections gracefully, and will still be snappier for users that want additional pages.
Apple's Memory Management Programming Guide: http://developer.apple.com/library/mac/#documentation/Cocoa/...
I started to write a reply but it became a bit long so I turned it into a blog post. http://dbasch.posterous.com/marketing-for-hackers-a-5-min-in...
A root cause... is that we lawyers are trained to regard zealous advocacy for the client's cause (read: desires) as one of our highest duties.

In her book "The Argument Culture," linguist Deborah Tannen tells about wanting to do video interviews in different companies. If she could get a verbal agreement from the company heads, everything always went fine. However, if the company brought in its attorneys, it was never possible to negotiate an agreement-- even if the company heads themselves directed the attorneys to make it happen. See https://www9.georgetown.edu/faculty/tannend/argsake.htm
Actually, Arizona still has real chain gangs and other states had them as recently as the mid-90's.
Copyright infringement?
Google Announces APIs Scheduled for Shutdown
qmail's speed is something that it's rivals still don't have.
>This is how it was in 90-s.

So, in addition to all your other nonsense, you're claiming that they grow bananas in Russia these days. Compare to FSB isn't spying, businessmen aren't extorted, etc... bananas being grown in Russia would be the most realistic of your claims about Russia so far.
Ha, Yeah I was looking for the "next page" button - seriously thought I was missing it
Marketing for Hackers: a 5-min intro, 97% BS-free
At least in some electronics stores you can collect loyalty points on your NFC phone, but for payments it's probably 95% cash and 5% suica / pasmo subway cards.
Is this the beginning of companies using web 2.0 tech to solve 'big problems'? Watson might be the first step towards using the social graph and big data for things other than selling more widgets.

I'm keen to see how medical professionals start using this tool though. Professional pride and the immense amount of inertia present in medicine could hamper adoption. Worse yet, I can only imagine the level of legal liabilities using a system like this could incur. I'd love to see this adopted and think it could radically reduce costs and increase productivity in the medical field, but I'm going to resign to simple cautious optimism.
Seriously? We should give a damn about this? You've got to be kidding me. Lots of money gets spent every year on inmates in the U.S.

Is your complaint that you think people are being incarcerated when they've committed no crimes in order to have cheap labor? I find this notion pretty ridiculous considering you need a trial and jurors to convict someone.

Is your complaint that you think the laws are being created to specifically target people so that they can be incarcerated? In that case stop whining about it and stop voting for the people making these laws.

But I digress, you are right.. It's disgusting that the federal government makes any money on the people they pay to care for whom society has deemed should be incarcerated.
Some of those loads are unexpected. Can you verify that /O2 optimization is on (since release builds can, in theory, have optimizations off).
But doesn't the Fifth Amendment explicitly protect property? (I'm not saying you're wrong about their rationale, but the rationale doesn't seem based in reality to me.)
ZeroMQ can persist messages to disk in high water mark situations, so once it hits memory pressure it can put it to disk, but it won't read from disk on crash...
Rapportive is now a tiny improvement (say from 6 to 8) upon native Gmail. Before it was a huge improvement (from 0 to 8).
Spring cleaning for some of our APIs
TL;DR: "... correlation between voiced sounds and the size of encrypted packets observed over the wire."

This includes variable bit-rate codecs.

Their accuracy with over 90,000 words is 60% to 98%
It does look as though no optimisation is being performed at all.

I just isolated the use of the BINARY_OP macro, and put it in a simple-ish test function. now it's being optimized excellently.

The function that contains the apparently unoptimisable code is in a hugely long and complex function, and I wonder if something in it is preventing all optimisation from occuring within that function. I've quickly looked through the assembly produced in the function and all of it appears unoptimised; whereas code in other functions is optimised ok.

What can prevent all optimisation from occuring in a function?
Netflix Is Not 30% Of Internet Traffic
Hey -- I was the original commenter -- sorry you were downvoted. Your response made it clear that I was unaware of the posh side of Airbnb -- and on second thought I didn't want to be seen as putting negative energy out there, so I deleted my comment. Next time I'll just do an "edit: I stand corrected!" so the thread still has context. Sorry!
Why don't companies simply offer hardware "back doors"? My company has jumpers to temporarily disable password protection and/or reset to the default password on the main board in every device they make.

This keeps you from being locked out of your equipment as long as you have physical access to it. And everybody knows (or should know) that physical security is the first and most important level of information security there is.

The answer, of course, is that if they did it that way, they couldn't offer access to your equipment to the government and various corporate spies without your knowledge. :(

I learned a little bit about cyber warfare in the Army, but I never thought it would be a daily occurrence in my life as a civilian.
There was an attempt to comperss code for VLIW processors using stack machines.

http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.37.3...

"On a TriMedia VLIW with a load latency of three cycles and a jump latency of four cycles, the interpreter achieves a peak performance of four cycles per instruction and a sustained performance of 6.27 cycles per instruction. Experiments are described that demonstrate the compression quality of the system and the execution speed of the pipelined interpreter; these were found to be about five times more compact than native TriMedia code and a slowdown of about eight times, respectively."

They used pragmas. They used loop pipelining: http://en.wikipedia.org/wiki/Software_pipelining and compiler optimizations. Their results aren't that bad, they achieved CISC code density for 8 times slowdown.
Well, your example's from Chrome which has the worst options management ever. Quick, is cookie management part of "Basics", "Personal Stuff" or "Under the Hood"? Or maybe it's not in any of those at all, but in the spanner [wrench] icon dropdown? Is there any setting you might want to change for which it's clear which of those categories is most appropriate?
I design cards. Quality? In what aspect? Paper Stock? Printing? Design? There's many ways to bump the cost of printing. Offset (not gang) printing, spot tones (not CMYK), raised ink, gold foil stamping, etc. all raise the cost and quality of printing.

Being that only one person cares about the 'quality' of the card (and they're often no longer in possession of it), I suggest you spend as little as you can afford.

http://www.citycolors.com/ has a Wednesday $12 special that's great.

Hit me up on my site if you want to talk design. http://www.undr.com
Yes - one of the first things I checked - I've tried it with /O2 and /Ox

Same result both times.
"Fair Trade" WoW Gold, not that is a confluence of rackets.

Given the information Blizzard has about gold creation and spending there isn't any reason they couldn't algorithmically 'fix' this problem both from the buyers and the sellers perspective.
Well minimsft is one employee but his posts receive comments from many other Microsoft employees. In my mind the irony is that people inside the company seem to agree completely on what needs to be changed - incentives structure, more risks, less political infighting and increased agility - however things are still as they are.
I was wondering what happened to this...
JS engine for "Pistol Slut" open sourced
Essentially that the shipping time utterly dwarfs the validation delay. The main place this wouldn't be true is if you purchase an online activation key of some kind - if you purchased a downloadable, it'll often still take more than 10 minutes to complete.

The moment you send out your transaction (assuming it's valid), you can consider it approved, and move on with your life. The recipient can also acknowledge the transaction within a minute or so at most, it's the network validation and protection against alternate transaction histories that takes time.
Clavier Expects Zynga Valuation to Rise With an IPO
How long is long? Is this a code gened function? I've seen in some compilers that they sometimes have limits where they turn off optimization due to throughput issues.

If you could break the function up in to pieces, and see if it still doesn't optimize.
When contemplating what jobs were going to be replaced by robots, I never thought of doctors, but it now seems quite plausible, even probable.

(Not that doctors are going to be gone completely, just that their jobs will be forever changed the way that CNC has completely changed the job of a machinist)
At some point in this decade they will hit 1 out of every 100 people are in prison in the US.

If you don't think there is something seriously wrong with that percentage and how two decades ago it was a fraction of that number, then you are far too trusting, isolated or innocent to the world.

Felony laws and prison sentences are made much harsher based on heavy lobbying.
Google Correlate: Linking the Fed to Nausea Remedies
Ask HN: How to divide ownership of my new startup?
I'm founding a startup! Yaaay! I have some friends who like my idea and want to help me. However, I have no money to pay them, so I'm guessing that I'll need to give them a piece of the action. I don't want to get screwed, but at the same time, I don't want to be perceived as a jerk. What is the most fair way to divide up the pie? What's the best way to approach this discussion without coming off as a jerk?

The idea is mine, I came up with it myself. I'm a developer, so I'll be writing a lot of the code. I have at least one friend who's really excited and willing to commit a fair amount of time to the project. I have a couple other friends -- a developer and a designer -- who are interested as well. I'm imagining I'll have to give everyone some kind of stake in the company, otherwise they really have no reason to work on it. I've never done this before, and don't even have any idea how to approach the situation.

The pitfalls are obvious. On the one hand, I could give someone a cut, and then they don't contribute, but they still own a piece of the company. I could give them too big of a cut, and wind up screwing myself. If I don't get anything on paper, someone could steal my idea or my code. Or they could come out of the woodwork somewhere down the line and claim that they're owed something, and I could find myself in a protracted legal battle, a la Facebook. And if I completely fumble this conversation, I could wind up alienating my friends.

How much of a cut do I give to my friends? At what point is it necessary to get things on paper? How do I even approach this (kinda awkward) conversation?

I'm meeting with the other (committed) developer tonight, and we're supposed to start planning the project. It will be our first real planning session, and I'm imagining we should talk about this stuff.

I appreciate any ideas, resources, and reading material you have to offer. As I mentioned, I have never done anything remotely like this before and have no idea how to even approach the situation.
WHAT? Habitable exoplanet confirmed?
Or they could just boot Ballmer and find someone competent, I'm just saying...
jmathai, thanks for your comment, and for using Rapportive! We think our social integration and support for Google Apps users differentiate us from the People Widget, among other things, but rest assured we're not sitting still. We've got some features coming out very soon that will give answer to this.
Honing household helpers
Its an excellent way to understand the problem. The next step would be to send 'cameras' which were in fact telemetry devices that returned a steady stream of their GPS co-ordinates through a wireless network. Presumably once you new the destination address you could co-ordinate setting up the necessary resources before your 'sale' arrived.

You could in theory map out the network that way.
The most important programming languages for the web?
What would you pick if you could only learn / know three programming languages?
Sony reports big revenue falls
Stalin invented it before you :) The main problem with your idea is that people capable of valuable insight are notoriously rare in the prison population. Stalin though was able to work such problem around.
Google for Soviet Union "sharashka", in particular "sharashka Korolev USSR space program" :)
May Microsoft Tech Student of the Month – Kevin Ballinas
what are the best resources in marketing of web apps?
I'm guessing it will be a long time before the People Widget works in Google Apps. Meanwhile, Rapportive works right now in Google Apps and regular Gmail :) </blatant plug>

Interestingly the way the People Widget occupies that space is by covering up the Gmail ads, just like we do.
I respect patio11, but his bingo card earnings are far from impressive. What's impressive is the process he developed to optimize his earnings in a relatively small B2C market. That knowledge and expertise, along with the fame he earned by sharing them, is his most valuable asset. It just makes sense to capitalize on it with consulting gigs.
Tech Boom Hits New York
def __init__(self, shapename, **kwds):

is not better written; it allows shapename to be passed positionally which makes cooperative inheritance fragile.
Here's one: http://www.seomoz.org/blog/seo-for-startups-top-7-lessons
Clinical decision support systems don't really create any additional legal liability. They just present the user with possibilities. The physician is still legally responsible for making a diagnosis, prescribing a course of treatment, and carrying out medical procedures.
The function is just over 2900 lines long. Every line crafted lovingly by hand.

The whole source file is here: http://pastebin.com/9L8N3AVF

The function starts at line 232, and the disassembly I was looking at is from line 1852.

This is the function that implements the direct-threaded interpreter. Direct-threading works by using goto's (jmp's) to dispatch the next instruction to be interpreted, which means that I don't think it can be broken up into multiple smaller functions.

Please let me know if you think I'm wrong :)
The "kwds" technique is actually something I came up with independently to solve a different problem when I was using PyGame: ridiculously long argument lists when constructing sprites. In this case it significantly increased the flexibility and brevity of the code, although perhaps with a more complicated inheritance tree it wouldn't be worth it.

Nice to see this pattern being acknowledged somewhere else; I thought I was the only one that did that.
thanks. next time it will be more interesting.
Doctors virtually all use lightweight iphone or webapps (e.g. Epocrates) to handle drug information, etc. Like the rest of the world, they no longer memorize massive sets of evolving information, they simply walk around with their Iphone/device of choice and look it up.

The providers of such software now and in the future will of course employ teams of lawyers to craft appropriate statements like, "use this as a guide only and not as the basis for a diagnosis or prescription," which of course won't prevent doctors from using it as the basis, but it will keep a healthy sense of legal limbo which exists in many other fields.

Basically, I think this doesn't remove the doctor as the interface person, but it allows fewer doctors to see more patients and to streamline the process for many medical problems with (presumably) better outcomes on average. I'm usually not keen on the impersonal nature of modern medicine but what works, works.
Another thing technology should have already solved by now.

Its possible for most receipts and bills to be sent electronically. We really ought to have a universally trusted third party receive, forward, store everything. And indicate accept of charges.

Maybe the credit card companies should form a consortium or perhaps the Post Office should do this (assuming a huge upgrade in technical competence).

It should be possible to pay with a card and have the card company send the receipt to your mobile device and third party. And you should be able to access that data forever.

Such an entity could also help prevent identity theft, notifying you whenever your address gets changed or your credit is checked or used. You should be able to dispute charges immediately.

Scanned images may should like a good idea but these may be perceived as more easily manipulated. Will clerks treat images the same way they treat real receipts?

It would be better if the tiny amount of data these contain was certified to be true and then kept forever instead of storing bulky scanned images. You don't really need to store how the data is presented.

Not sure if the Post Office should be doing this but if the government certified that the actual data stored, you wouldn't need to store scanned images.

How we make such a transition is anybody's guess. It certainly is in Corporate America's interest to eliminate the expense of mailing statements and printing receipts. But it will be a long time before they'll be able to stop doing things the old fashioned for all of the late adopters.

And for some things, we'll always want a hard copy. Trusting corporations or the government has been known to be dumb in the past. It'll be interesting to see how this plays out.