skysight-inc/HackerNews huggingface dataset:
I've just tried a simple case in which a program prints the output of an integer division and the output of an integer addition which overflows in 32-bit integers.

(Clue C version)
7/3 is 2, remainder is 1
2147483648 + 2147483649 is 1
The sum 1 is greater than 2147483648

(pure GCC version)
7/3 is 2, remainder is 1
2147483648 + 2147483649 is 1
The sum 1 is less or equal to 2147483648

(of program)
#include <stdio.h>

void show_division(int x, int y);
void show_division(int x, int y) {
printf("%d/%d is %d, remainder is %d\n", x, y, x/y, x%y);
}

void show_add(unsigned int x, unsigned int y);
void show_add(unsigned int x, unsigned int y) {
unsigned int z = x + y;
printf("%u + %u is %u\n", x, y, z);
if( z > x ) {
printf("The sum %u is greater than %u\n", z, x);
}
else {
printf("The sum %u is less or equal to %u\n", z, x);
}
}

int main(int argc, char* argv[]) {
show_division(7, 3);
show_add(0x80000000u, 0x80000001u);
return 0;
}

The division rounds in the expected way expected because the intermediate result is cast to integer; the addition overflows only internally in printf.

However, if you expect any particular overflow behaviour of your C integers, chances are you're not following ISO C to the letter. ISO C doesn't even guarantee two's complement representation of integers.

[edit: layout]
[edit again: layout, wishing there was a preview]
Google uneveils new search option
google launches new search option ....
Dell are bought by "The general public", who often don't know how to clean the crap off. So some of it sticks, and they make money.

This assumes Dell isn't paid just for the privilege of being on their desktop. I kinda think they are.
UberVU php library
So isn't Scheme, that's what makes them powerful.
What do you use to compose the chiptunes? I was never able to find a copy of LSD for sale.
Most <any industry> companies are "rudderless ships of doomed people."

I'm guessing it's especially true in software - everybody is involved in software nowadays but you can count the number of companies doing software really well on two hands and two feet.
Oooh. New buzzword. Goodbye, Web 2.0, Hello "Real Time Data."

For those of you who aren't older than dirt, "Real Time" probably first appeared circa 1972.

EDIT: s/1972/forever/
BBC Radio shows hack to show programme details in iTunes, done in Erlang
That's a measurable though. If Crunchpad was paid to have something on it, then they measured that no one actually left it on there, they would probably stop paying pretty quickly.
I vote for "the submitter is very arrogant and full of himself".

People who feel they're better than everyone else because of where they work aren't very impressive, imho.
Deploying and maintaining a website using svn
i think what the parent was saying is that (s)he is trying to avoid any possible ding. it's not that all employers demand 100% propriety (well, some do, but we certainly don't) -- just that, when browsing through a list of comments haphazardly, one errant comment, now out of context, might affect the perception of the candidate. in a tight labor market, that might be enough to put one candidate above another.

it's similar to the need of all college grads to clean up their facebook profile.
Driving Schools Richmond | Thames Driving School
Thames Driving School offers the very best in driving lessons. Thames Driving School is dedicated to provide enhanced training to the driving aspirants. Driving services are offered in Richmond, Kingston, Putney, Barnes, Chiswick and Wimbledon.
Do you like 9Lessons blog T-Shirt Design.
TRAVEL: Borneo adventure
Half a century of Canon snaps
Catalyst Professional Resources, LLC | Design and Project Development 
CATALYST is a building and construction consulting firm dedicated to providing its clients with detailed, comprehensive information about their properties and developing, producing and implementing construction plans that represent their interests in a fair, honest and professional manner.
Gray on gray is awful. Does only one person like it? :-) Here's a fix for Firefox that doesn't need the overhead of Greasemonkey.

http://news.ycombinator.com/item?id=563492
> DBAs seem to design databases to make programming near impossible.

Have you ever been in a situation where a C buffer overrun caused a data structure to get scribbled over, and instead of crashing, the program just started passing around corrupt data? In a long-running application, that eventually died for a reason that made no sense whatsoever? To the point where you know that noise got in the system, but you don't know where or when, and everything is now suspect?

Imagine that happening to a hospital's medical records. That's a DBA's nightmare scenario. They're not trying to "make programming near impossible", they're trying to systematically prevent (potentially incompetent) programmers from corrupting the data. Databases are good at including internal consistency checks into the schema design itself.

If a programmer new to your project got mad because they kept making asserts or unit tests all over the place fail, and decided to delete them, how would you react?
The better definition I have heard of technology cycles (via UX's Jared Spool):

1.0 (First generation) is all about the technology. "Hey check out my Motorola cellular phone. It weighs 2 pounds and is portable."

2.0 (Second generation) is all about features. "Text messaging, pictures, ringtones, games, address book, MP3 player, J2ME, comes in pink"

3.0 (Third generation) is all about the user experience. The iPhone.
'Squirrel' returns a good search square, but no red or grey squirrels.
The full data that the article refers to is here:
http://www.milkeninstitute.org/nahightech/nahightech.taf
The key point here is that real-time monitoring of data is the next big thing. I agree wholeheartedly that it is one of the biggest next things coming up. That and data visualization so that people make sense and understand what the data is saying.

Calling it Web 3.0 is just rubbish. There is real value in services that can produce info/knowledge/data in real time, and we certainly don't need a silly label for it.

<sarcasm>Maybe now live.com will become useful for something </sarcasm>
LinkedIn's startup story: Connecting the business world
The Leap Of Faith
Further evidence that Fred Wilson is an entrepreneur's VC.
People who judge your fitness for a job on "a few dumb things you do" aren't fit to employ you.

One of the most positive realisations after I left my employment in a large corporation was that everyone is unique and different, with special quirks and "dumb things they do" and weird stuff attached to them. The myth of the perfect corporate drone is just that - a myth. Everyone does weird stuff. It's just that, within the corporate environment, that weird stuff is repressed and hidden, so you never get to find out about it.

Hopefully the corporate world will wake up to this some day and become a competitive employer again - I mean, hopefully for them. I'm sure some of the leading companies (large and small) out there are already ahead of that curve, and they have an edge over more backwards rivals who only hire people who behave "properly" all the time.
It could be argued that the company depends on the society to provide people to work for them, and so should pay their part of the money required to create those workers (school, healthcare, pensions, etc).
PySnippets: Import Online Snippets from Python Code
Thinking about the compromise
The second of three PDF files (cardiacmemory.pdf) seems to be corrupted here: http://kylewiki.mine.nu/wiki/Cardiac_Computer
Which might not be a bad thing. I'd like to see something implement the relational model well but lose the cruft that got into the SQL standard. (Duplicated tuples? WTF?)
"Real time" to me means an interaction delay in the range of milliseconds. If the delay is more in the range of seconds like the web application i am working on then "live" would probably be a better term.
Harrisburg Commerical Real Estate
Harrisburg Commerical Real Estate Lawyer
Can you teach an old developer new tricks?
i'm starting to become increasingly skeptical that with all of the free-flow data out there, there is no algorithm that can magically "put it together" in a way that shows you exactly what you want to see.

the problem? what you want to see is mixed in with a whole lot more things you don't want to see, and there is no metadata available that enables anyone to automagically figure out what to show you -- the data's just not there, even for facebook, and if facebook can't do it, twitter doesn't have a chance in hell.

absent of that magic sorting algorithm, "Real Time Data" becomes too time consuming to sort through.
The OED has quotations going back as far as 1953:

1953 Math. Tables & Other Aids to Computation VII. 73 With the advent of large-scale high-speed digital computers, there arises the question of their possible use in the solution of problems in ‘real time’, i.e., in conjunction with instruments receiving and responding to stimuli from the external environment. The criteria for satisfactory operation in such real-time service are different from those generally encountered.
Incentives. The whole point of a wife isn't "commitment," it's monogamy. It has benefits for both parties, but because she wants a monopsony on your sperm, she doesn't want you looking good to other women.
Yeah, that made if more difficult to read then it already was. Ironic that, at least by my understanding of ironic it is.
No one said it was easy, and we have a good model of how the industry might evolve: the problem of "search".

We had things like Altavista, Yahoo!, etc, and then came Google with a better algo. It made sense of the data out there without any real use of meta data (meta tags in HTML notwithstanding, at least initially).

And even to this day, we're seeing interesting experiments in solving the problem of finding information on the web, and how to present it. All I'm saying is that the next step is doing this in real time.
My problem with redis is that it is permanently advertised as a "Database". It is not, it is a persistent cache with some nice query functionality. But all your data must fit in RAM. Otherwise bad things™ happen.

Some may consider this a small terminology glitch but for me it's quite a fundamental issue.
Could a viable company be created with the goal of producing and selling an MMO engine, rather than an actual MMO?
You would be removing the expense and risk of creating the gameplay side of things (models, textures, quests etc), and could focus on getting the engine right. There would probably be some issues in selling the engine though: there would be a certain chicken-and-egg factor in selling an unproven engine to a new MMO-building company.
There is a correct answer - taxes are involuntary confiscated from people hence they are evil; Unfortunately, they're the best solution to funding the government so we have to make do, but never forget pointing a gun at someone to make them do what you want is never a gray area.
Creating An NFS-Like Standalone Storage Server With GlusterFS On Debian Lenny
I wish we had either (ideally both) in the JVM. I frequently come across situations with clojure where using a coroutine or continuation would be the cleanest solution. There are various libraries that use some kind of bytecode instrumentation to achieve it, but this places serious constraints on where and how you can use them. Really, this needs to be a VM feature.

I wonder if it's possible to apply the same hack as this one for .NET:

http://msdn.microsoft.com/en-us/magazine/cc164086.aspx

Basically, use the low-level, OS (C) fiber/coroutine facility and attach the fiber as a thread.
For a while now, computers have been able to recognise human emotions more reliably than humans can: http://www.cl.cam.ac.uk/research/rainbow/emotions/

Given a good full frontal view of a face, a computer can tell the difference between laughing and crying or sadness and anger. The real challenge is dealing with variance in pose and lighting.

(Disclosure: I was doing a PhD in that research group.)
i certainly won't exclude that it's in the realm of possibilities... just that, lately, i'm finding it more and more unlikely.

twitter "authority" seems to me to be an even more difficult problem than blog authority, and even that was easily game-able.

besides, twitter doesn't even have the same social graph for me as facebook does, and facebook still has a pretty difficult time separating the wheat from the chaff.

if that breakthrough doesn't show up, it will be revolutionary. if it doesn't, the "real time web" might just be overhyped.
I'd guess even changing its density wouldn't be trivial. Whatever material you choose it'll have to stand the pressure without compacting.
Hindsightly I'd start by reading a book about internet security. The only sound thing is to start with a book,
giving an overview of the matter and gather information
from that point onwards. Most rational thing to do.
That's my recommendation.

You wanted to protect your site from attacks:
I found a pdf document on the net quite informative:
"ethical hacking"(pdf). It covers packet, transport and network layer security up to "google" hacking.
It is broken on [http://www.scribd.com], but there are several other similar guides there.
And it is out there I found it via google.

There are some good documents at defcon.org as well,
I read one about firewalling which was impressive.

You must go elsewhere for cgi security issues, protocols, encryption and all that.
I think that real time data is indeed going to be the next big thing. One question which remains is are there any data sources outside of twitter which can be aggregated to make something greater than the sum of the parts?
Fair enough - most wouldn't have thought it was the business of the advertiser to ensure that employers and employees get on well. I guess you could stop anyone that abused this policy too.
Somehow I never saw this article before.
That makes me somewhat sad. I am a good coder, but... still so much to learn... so much...
Twitter business plan coming... by 2011
Wanted Business Executives at Chennai
We are fastest growing company in insurance sector working with (Bajaj Allianz) as a corporate Agency. We required dedicated team of Business Executives & Team Leaders from Chennai and all over Tamilnadu for our branch which is soon opening in Chennai. Interested person can contact immediately.
Even without the persistence you can say something is a database. It's not a coincidence that the term "in memory database" exists for example.

Btw everything is used to store data permantly, reliably or not for your specific needs/tastes, is a database.

Also you can use Redis in append mode if you wish, this will sync your data ASAP on disk. For now in order to do this you need to use netcat, but this will be supported with ad-hoc tools in the future. Still this will be the discuoraged way to do things.

And about reliability, it's worth to note that with Redis there is a delay between the memory copy and the persistent copy of the dataset, but this is not about reliability of the whole dataset, all your data that is not about the latest few minutes is stored on disk permanently without any kind of risk.

Also, you appear to claim that if a database for design limits the amount of data it can hold to the amount of free ram, it is a cache. This is not the case IMHO.
Yup - I'm amazed. The Rails community has gotten some flack for this kind of issue before, but rather than listen to the criticism and learn from it, they make the same mistake over and over.

It's as if they feel that Rails is a direct product of their personalities, and that because Rails is so successful, anything they do is vindicated by that success. That's just the wrong approach.
My suggestion: the US should create a class of corporate trusts similar to the "canroys" that Canada has.

Under this setup, as long as a certain high percentage of the profits are distributed to the shareholders each year, the corporate taxes are non-existent or very low.

In this case, Microsoft would not pay much US taxes, but the individual investors would be the ones paying tax on the dividends received. End of problem.
Flashembed also serves as a jQuery plugin, which is a big plus.
Haha! You're right.

"Select" is the SPC-algebra operation which gives you the subset of a relation whose tuples satisfy some Boolean condition, e.g. firstname='bob'.
Thanks for the correction. Anyway the discussion of real-time vs. batch has been going on since (before) I grew up. I would even argue that the term "scalability" bandied about these days is really a reversion to batch processing - even caching algorithms are a form of batch processing.
I agree with you, he should have posted it as a comment. But did anyone actually think that SO (or any business, for that matter) would advertise itself as being for the mediocre?

I thought it was pretty clear what he was doing - editorializing - even if he is wrong. Its kind of like reading the New York Times ;)
"moving the atoms closer to each other" is what I was talking about; under some circumstances, that could manifest as a shift to a different crystalline structure. (If you search for information on high-pressure crystalline phases of materials, you'll find a lot of interesting things.) "Iron is incompressible" is often a useful approximation, but no material is actually incompressible (that would entail, among other things, faster-than-light propagation of shock waves and infinite hardness) and many day-to-day materials are less compressible than iron. Glass, for instance.

Most metal objects do actually have voids in them, but you can manufacture metal objects that don't, and it's not clear that having voids in your cable would cause it to be damaged by pressure.
So did you actually have a genuine copy of Windows on your PC? Why did it suddenly stop working, was it due to an upgrade or something?

As an aside, I don't actually think it's unfair for MS to block access to Windows to users who are using illegal copies of Windows. It's their product; it stays their property so long as you haven't pay for it. If you don't like that, use something else instead (like Linux for example) or pay for the license.

Please note I'm not accusing you in particular of using an illegal copy of Windows. I'm just expressing surprise at people getting outraged when their PCs stop booting up into Windows because they have invalid licences (there was a story in China recently, which as I remember it was reported with glee by one of the Mac sites.)

(PS you could always load up the hard disk on another machine and copy the data from there)
Stunningly bad. Are they desparate to show they're not standing still and you shouldn't start using other services or something?

First thing I did, I clicked on one of their examples "US Presidents" - which one would assume would probably produce the best they've got to offer right? The result I guess would've been kind of cool circa 1999, but now.. no:

Google^2: http://www.google.com/squared/search?q=US%20presidents
Result: 7, seemingly random presidents, in no apparent order or with rhyme or reason as to why they were selected.. Washington - OK, Jefferson - OK, Obama - Sure, he's current. Rutherford B. Hayes... WTF?

Wolfram Alpha: http://www.wolframalpha.com/input/?i=us+presidents
Result: Basic stats in Barack Obama - current president of the united states, a brief list of the past couple predecessors and their effective start and end months in office, and an AJAX link to expand it to a complete list.

Wikipedia: http://en.wikipedia.org/wiki/Us_presidents
Result: --> List of Presidents of the United States.. Awfully nice summary of what that means, notable highlights, and a color-coded complete table with pictures of the presidents, in order, including their full dates and vice presidents.

I don't foresee ever going back until I hear news they've dramatically improved, but based on my past recollection of Google's habits.. it'll sit and suck for a very long time with perhaps small incremental improvements.
Indeed. But for this to be fully in context add this: 99.99% of relational databases user base is using SQL databases.
The traditional meaning of 'real time' (at least in embedded stuff) doesn't really specify just how fast, just that things have to be done in a given amount of time. Generally, you're right that those things happen quickly too.

http://en.wikipedia.org/wiki/Real-time_computing

I also agree that 'live' or some other term might be a nice way of not confusing things.
Google Squared is an Exponential Improvement in Search
Haha yes, because good programming and good networking skills are so clearly linked.
Likewise for WAFL.
taxes are involuntary confiscated from people hence they are evil

I disagree. In a Democracy, taxes are part of the social contract that we as citizens have with the government and fellow citizens of the country where we hold our citizenship. We submit to a level of taxation that is agreed upon by our representatives in government. We have also agreed upon as a nation that people should be uniformly subjected to some taxation. We generally agree that receiving all the government's goods and services and not paying taxes is illegal. It's only extreme forms of this type of behavior that is generally punishable by imprisonment.

We receive goods and services that the publicly elected government decides to provide. You drive on roads that are paid for by taxes. You receive protection from crime, recovery in times of disaster, and you interact with corporations whose dealings are regulated by our taxes.

You use pieces of paper that has pictures of former statesmen printed on them to trade for other goods and services. Commerce would not be possible without that government backed paper. We would be reduced to barter without it. The value of that paper is guaranteed by the government and the taxes that we pay.

If you are unhappy with the level of services that your taxation is providing, you are free to live in a different country, where as an expatriate, the first $80,000 of your income is not subject to income tax, because you receive less services from your government.

You're also entitled to vote for representatives that align more carefully with your values. That right to vote is supported by the taxes you pay.

Call that system evil if you will. I think it actually works pretty well.
I suspect, without being certain, that recent SSDs are doing this by implementing something like a log-structured filesystem in a translation layer. I also suspect that this is something that's better done in your OS kernel than in your SSD controller, because it has better information to work with.
Cavalier Telephone
Cavalier Telephone your Home Phone Service Provider
Keep in mind, it worked out for the car bosses.
The 64bit only stuff really hurts them, though. In my comparison (Google for it, I feel bad for linking to it too much), Slicehost is a bit more expensive than Linode to start with, but it's not a huge difference; it's something you could ignore. Throw in the 64bit vs 32bit though, and you really see a big jump in price that's difficult to justify.
Quit with the hyperbole. It's not even in the same market as the Kindle. The battery life? Good screen for prolonged reading?
Game industry job interview:

http://www.penny-arcade.com/images/2005/20050406l.jpg
Shoemoney had a great post about how blogs and small businesses should be using Amazon Wish Lists to let people with the money be able to pay more than a couple bucks in a "tip jar".

http://www.shoemoney.com/2008/12/23/income-from-donations-am...
Sounds alot like the contract a mafia don has with local business owners.

He keeps the neighborhood orderly, so you don't have to deal with thugs.

He keeps everyone respectful. Business isn't possible without respect.

If you are unhappy with the don's policies, you can sell your house, leave your job and family behind, and flee.
We usually have an open house in the summer; you don't need to "finagle" a visit if you want to stop by. :)