skysight-inc/HackerNews huggingface dataset:
Funny how it seems the only people in the comments here who seem to be complaining about the all caps menu(which can be turned off with a registry setting) are people who don't appear to be using VS on a regular basis, if at all.
Webkit source:
http://trac.webkit.org/browser/trunk/Source/WebCore/css/CSSS...

Specifically:

69	case Id:
70	s += 0x10000;
73	case Class:
88	s += 0x100;

id selectors are worth (0x10000/0x100) == 0x100 == 256 class selectors.

This seems to be the mozilla source:
http://hg.mozilla.org/mozilla-central/file/17c65d32c7b8/layo...

521 nsAtomList* list = mIDList;
522 while (nsnull != list) {
523 weight += 0x010000;
524 list = list->mNext;
525 }
526 list = mClassList;
527 while (nsnull != list) {
528 weight += 0x000100;
529 list = list->mNext;
530 }

Same weights, Id = 0x10000, Class = 0x100
Ask HN: Is there a YC-like entity for funding education instead of startups?
Hi HN,

I'm in a predicament. After many interviews and a lot of waiting and wondering, Dev Bootcamp emailed me and said, "We loved meeting you. You're in." I'm super excited! But now I'm faced with a fast-approaching deadline to generate $20k ($11k for tuition and $3k/mo for living expenses in SF). This is the next phase of my project: raising the funds. I'm ineligible for a school loan, because Dev Bootcamp is a company, not a .edu institution. I'm also ineligible for a private loan because I'm 23 and I have no assets for collateral.

I've turned to raising cash from friends/acquaintances. Parents aren't in the picture. To date, I've raised $9k, which is super, but I'm not even half way there, and I think it was just due to a mixture of beginner's luck and the great amount of enthusiasm and conviction I conveyed during my pitch. I'm still pursuing the fundraising route (and I also began a project on Invested.in here => http://inv.st/27N). The adrenaline and social aspect of raising money and being persuasive is addicting. I feel very entrepreneurial. One year ago, I could never have fathomed having the capacity to raise this sort of money. But my leads are running dry, and I'm not sure what to do next.

I wish there was a sort of YC entity for people who want to get an unofficial education. Dbc isn't a real school, so financial aid and grants, etc. are inapplicable. Maybe there IS such a thing, and I don't know about it. Is there?

Does anyone have any light they can shed on what my next step should be? Also, if you're feeling philanthropic and you'd like my Wells Fargo checking account number, I'm happy to provide that too. ;)

Thank you, all.

Nima

PS: Do you guys think it would be inappropriate to cold email Paul Graham and ask for his financial help? After all, he's always pushing the philosophy that he invests in people, not ideas or plans.

Any wisdom is deeply appreciated. There's nothing I want more than to attend this program.
> It's not like there's some Great Cambridge Hive Mind at work.

This is a common motif in internet outrage, and it's not surprising to see it every day on HN which is startup focused.

Massachusetts' government is not 1 giant perfectly-in-sync machine. Nor is Apple. Nor is Microsoft. Nor is Google. They're enormous and have tons of inertia.

It is perfectly consistent for one part of such a large organization to make a routine action as part of policy, only to find that somewhere (often higher up) in the organization, priorities no longer reflect the policy in place. This means the action was an error for the organization.

It doesn't mean people are lying. It doesn't mean people are acting in bad faith at all. It means that tens of thousands of people acting toward the same goals don't manage to act with perfect information.
Inside Dropbox's "reverse-engineered" culture
Why would you need any toolbars? If I could I would disable the top menu as well...
Tutorial D, for one. Or any language that isn't as hideously broken as SQL.

* why bags?
* where's my closure under composition?
* THAT SYNTAX OH GOD THAT SYNTAX

I'd be much happier with a more mathematical language, rather than the godawful "english-lite" 3GL misery
"By monitoring only 20% of the communities, we achieve an average error of less than 4 hops between the estimated source and the ﬁrst infected community", they say.

Less than 4 hops?? I can get within 6 hops by claiming that Kevin Bacon was the source of the outbreak every time.
All the systems you are talking about are so loosely coupled that most people do not classify them as "distributed systems", certainly not in the computer science sense. The complexity is not in the number of machines but in the interactions and coupling of individual nodes required by basic operation of the cluster.

Lots of things work very well with ZMQ, just not distributed systems. If your application scales efficiently on ZMQ then it is a giant pile of computers and not a "distributed system". I've seen systems that scale to thousands of nodes and also seen systems that won't scale past a few machines on ZMQ. System architects should be able to distinguish the two cases without standing up a cluster to see if it fails. All it requires is one part of your system to not fit the ZMQ case for things to start falling apart. That this is an expected result is not exotic computer science.
I'm going to go out on a limb here and say that if he was writing a 'normal' application or even a compiler he'd be tempted to use some subset of C++ or maybe even Java.

As it is, for the kernel you'd be crazy to use something other than C.
I have to respectfully disagree with the first line of this. Startups biggest competitive advantage is productivity (theoretically they will be more agile, have less bureaucracy, etc), and productivity is largely about time management!

As a first time founder myself, I can agree that the amount of tasks that get thrown your way can be horrendous. Especially if you, like me, were used to being a developer where it was often encouraged that people not fuck with you for a solid 4-5 hours so you can do your thing.

I've started by taking advantage of to-do lists. I had always used them to some degree, but now I put EVERYTHING on my lists, and am constantly evaluating the priority. Most recently I've been using Trello (Kanban).

I can't really give you advice for the priorities because that really depends on your business, who you have working with you, and a number of other factors.

Additionally, this may not be applicable for you, but I have to block off a certain time of day to code. It isn't always the same time. It fluctuates from 430AM - 1030AM, to 9PM - 3AM. It isn't regular at all. But during that time I know coding is the ONLY thing I will address.

I block off my coding time because for me, it is the least unpredictable. I cannot predict what sort of customer support, deal work, or an infinite other amount of phone calls will come up. So the easiest way to handle it, for me, is to know that I have a certain part of my day (very early or very late) dedicated to code, and the operational issues and customer support can be handled in the middle.

My hardest problem has been feeling like the items I tackled that day were the right ones. I often go to sleep feeling like I should have focused on something more, and other things less. I suppose that is normal -- there is always room for improvement.
US Unveils Border Control Weapon: Lie-Detecting "Elvis" With a 90% Accuracy
Well you can't get into the store without a Live account, and Modern UI apps can't be installed from outside the store.
Yes... Yes... Yesssssss. This looks amazing.
my old T61p's 1920x1200 15.4" panel disagrees.
The only way to compete is to sell used stuff or make your own products (or provide a marketplace for those things).

Well, there are other markets that fall outside this... For example, at Quartzy we are working in the life-sciences market. There are multi-billion dollar incumbents like Thermo Fisher, VWR, EMD, Sigma and scores of others but the game is different because you are distributing stuff that could be hazardous/require ice/could be radioactive etc. Amazon's warehouses are not equipped (as far as I know) to handle such products.

So one can target markets that have seen no innovation in the last 15 years where Amazon does not have an advantage...

Amazon is getting into lab supplies (glassware etc) but a problem here is that Amazon likes to have one-price and all the manufacturers play a game where there is a list price and a special price at your institution. This is a game for some reason that Amazon does not want to play so in general for a couple of reasons they are locked out for a large fraction of the huge life-sciences market.

Wonder if there are other markets like this out there?
No it isn't. The building was razed in 1917. All that's left is the foundation.
Here's some of the specificity code from Webkit (right at the top of the file):

http://trac.webkit.org/browser/trunk/Source/WebCore/css/CSSS...

Basically, selectors are summed together with class selectors given a weight of 0x100, and id selectors given a weight of 0x10000, so this is a simple overflow. It's worth noting that a mask of 0xffffff is used, so using 256 #id's should give a specificity of zero.
I'm a product manager that oversees several hundred apps over roughly 25 stores on 8 platforms (Android, iOS, BlackBerry/QNX Windows, Symbian, Bada, Brew, J2ME).

We are do a steady 2.5 million in sales per year, aiming for 4m next year.

The problem is that startups in the Valley are extremely narrow minded and aesthetically snobbish in their mobile approach.

1) There are 1 billion feature phone users around the world who have perfectly usable app stores.

2) You need to launch in more languages than just english, and on more app stores than just the US market -- Chinese, Hindi, Spanish and Portuguese at a minimum.

3) Apps that are not SAAS are throw away, impulse buys. They should be developed with that in mind.

4) Apps have a short lifespan and sell based on timeliness.

5) If you want guaranteed profit in mobile, build mobile extensions for established brands, don't try to build the next Angry Birds or Apple App clone.

6) Design matters, but not that much. Touch interface has made UI far more visceral, but the sale happens long before the user judges the design

7) IAP -- its icky but it works

8) Try lots of stuff rapidly and fail fast. 2-3 month cycles. You can get up to about 10 apps a month if you have a larger team and a good process.

Finally, this is nothing like 1999. Companies were failing with no product, spending 1 year + and not even launching. There were late round fundings for companies that literally had products that were figments of their imagination.

Now two guys in their garage can build a hit app with two macs and no funding what-so-ever. Don't confuse a highly active, easy to penetrate market with a bubble.
The same goes with PostgreSQL. Replication isn't a one-size-fits-all need, and companies like Affilias will find Slony much easier to work with than the built in PostgreSQL replication because Slony allows for seemless, zero-downtime upgrades, partial replication, and a whole host of other features. On the other hand, Slony allows for partial replication.....

You also have Bucardo which can do master-master replication between two nodes, and a few other solutions out there.
Check out pythonbrew [1] - it makes installing different Pythons pretty simple. Perhaps not the best solution for a server, though.

[1] https://github.com/utahta/pythonbrew/

EDIT: pythonz is pretty good too (http://saghul.github.com/pythonz/)
How much do you think Craigslist really cares if your ad to sell a futon goes missing at 2am? They'll apologize and help you create a new ad. They're not going to migrate databases over it.

For every one of those sites, I suspect the database integrity plan is "meh, restore from a backup."
Manhattan DA: High-Tech Cybercrime Lab to Sleuth Out Identity Theft, Child Porn
I'm trying to fathom this level of disregard for marketing savvy coming from a guy who works for Apple, and I just can't do it.

You, sir, have blown my mind.
Because he wasn't so afraid until he was brought in for questioning about rapes that neither of the alleged victims had actually filed claims about, only to be let go, just for another prosecutor to swoop in and reopen the case and try to get him to come back.

It might be total paranoia on his end, but he does certainly have reason to wonder what suddenly changed that made things go from a situation where one prosecutor closed the case stating that there was nothing that indicated a crime had taken place, to an entirely unrelated prosecutor from a different district deciding it was suddenly urgent to get him back into the country and then repeatedly escalating matters.

In fact, to the point where said prosecutor has now been faced with a formal complaint about judicial misconduct from a third party (two Swedish journalists) over her handling of this case.
Ultimately I think any truly autonomous agent would be out-competed by one that has a human in the loop modifying the code to adapt to the market (e.g. customer development). But it's a cool concept.

Some similar musings from history: http://www.research.ibm.com/massive/bump.html http://www.cap-lore.com/Agorics/Library/agoricpapers.html
League Of Legends And StarCraft II Could Become Olympic Sports
Ive said it once, twice and many other times. I do believe Germany is probably by far one of the most advanced political governments there are.

I so welcome their input and applaud their effort!
The answer of course is to start more Facebook-style social network startups, that leverage the cloud, and mobile connectivity, to enhance advertiser dollars and deliver maximum value to venture capital investors through distributed advertising channels.
Both selectors have the same specificity, so the last one is applied. Add another class and the order won't matter.
Recent events and thanks to Hacker News.
See my comment: http://hackerne.ws/item?id=4389384

Looking at a few pictures of these systems inflated (harder to find than you'd think), it doesn't look like they are really "full body". I've always been amused by the idea of an airbag suit that, when triggered, resulted in something like what the Mars rovers used (http://en.wikipedia.org/wiki/Airbag#Airbag_landing_systems).
It sounds like an improvement on Microsoft's standard NTLM encryption, which supports only up to 14 characters
Because MySQL's history is one of specializing in content management. In fact if you look at things this way, many of the MySQL gotchas which make DB people cringe are actually content management features. Yes, this includes data truncation.

When you move off the web site/content management side, PostgreSQL has long been the open source DB for complex business tools.
Some programmer decided to filter characters and limit the length of a string. Honestly, it's reasonable. I know it's not the point but 16 ASCII chars can be used to create a secure windows password.

And people with passwords bigger than 16 chars are a corner case. HN has had top stories telling programmers not to care about corner cases or to assign a very low priority to them.

In my opinion: "Nothing to see here, move along".
Blue boxes on all of the following:

Opera 9.64 - FreeBSD 7.0

Opera 12.50 - Debian 6.0 & Windows 2008

Opera 11.64 - Debian 6.0 & Windows 2008

Opera 10.60 - Debian 6.0

Opera 10.63 - Windows 2008

Opera 9.8 - Windows 2008

MSIE 6.0 - Windows 2008

MSIE 5.5 - Windows 2008

So basically every Opera version and very old versions of MSIE.
Jolt award winners, and Martin Fowler's signature series
Physicists build first practical maser
It probably helps that Secretary of Economic Development Greg Bialecki has used the car service and his office oversees the MA Div. of Standards (which ordered Uber to cease operations.)
That is if the world treated US as a reasonable actor bound by laws and respecting human rights etc. (all the propaganda that it like to spew about itself).

Its actions have shown in the last 10+ years that is not the case. It has detained, tortured and killed people extra-judicially. Even its own citizens. Making any appeals to the the quality of it judicial process is a bit silly at the moment.

So in other words it might not make sense to be afraid of that particular threat "charge of espionage" but it is not unreasonable for him to fear in general.

Remember the case how that Russian ex-KGB agent was poisoned with Polonium? There is little doubt it was the Russians doing it and they also wanted to make sure there would be little doubt (except hard evidence) that they did, so that everyone learns to fear opposing or criticizing them in the future.

It seems to me Assange and Manning are prime candidates for being turned into example for all to see.
You should probably not consider it aid then. Any money paid by the UK to India is surely more a sort of very long overdue rent.
When Competition Is Cooked, Consumers Are Toast
$4.99 over here because of Whispernet.... (darn, and it would just use wifi anyway)
I'd be pretty surprised if Amazon were responsible for this particular pricing. You're probably better of directing your rage at the publisher.
I didn't know it did multiple pages. That's a great feature.
"In this case, doing something less than usual is worth it: there's virtually no downside to upsetting a small Latin American country in the process. "

Let's analyze this a bit further...

Next time a British citizen holes up in the British embassy over some sham charges at the hands of the local police what are the likely aftershocks of Britain bullying Ecuador over Assange.
When asked to say the letters of the English alphabet, I have never heard someone include é.
I assumed based on the title that Quintin would be talking about how he is using https://mybackupbox.com/ as his solution, but strangely, they aren't mentioned at all...
He promised a lot of those issues during his campaign and a lot of people voted for him. Yes, they are utterly stupid to believe that Obama can just sit down and start writing laws into the books, but that doesn't exactly prevent him from appearing as being a liar.
Most of the exhibits are multi-lingual. Also, the museum is frequented (perhaps partially staffed?) by university students studying engineering and physics, who have excellent English skills and are very friendly.
There are certain cases I run into where PostgreSQL doesn't support parameterization. For example, utility statements in PostgreSQL have no associated plan, so they have no parameters. If you want to run a utility statement (like CREATE ROLE or DROP ROLE) you have to do so via string concatenation. This is true even in stored procedures which gives you the uncomfortable possibility of SQL injection occurring inside a stored procedure already running with elevated permissions.
Is that even a real question? Obviously he wasn't scared in the first place.
Creatine and Type Two Diabetes
Wow, that's fantastic. Many thanks.
> Since 9/11 the USA has shown that it does not follow the civil rules of law for non-citizens.

Citizens too.

http://en.wikipedia.org/wiki/Kamal_Derwish

http://en.wikipedia.org/wiki/Anwar_al-Aulaqi

http://en.wikipedia.org/wiki/Abdul-Rahman_al-Awlaki (16 y.o. minor US citizen)

http://en.wikipedia.org/wiki/Samir_Khan
It is powering the core function of the sites i.e. it is the primary databases in all cases.

I am sorry but are you that deluded as to think so many of the world's leading IT companies are going to choose a database that silently loses data ? Do you really think they are that stupid ? I mean come on.
Beautiful photos from Google Street View
I'm far more annoyed by the new icons than I am by the CAPS MENUS. They may actually force me to finally learn their key bindings after all these years...
Weeknight project: Sentiment Analyzer with Tweets
Interesting parallel perhaps in the two cases: the accused was initially not too concerned about the outcome, and cooperated, then suddenly something changed and it spooked the accused enough to go on the run.

In the Polanski case, his lawyer had arranged a plea bargain, then, later at trial, the judge suddenly reneged without explanation. In the Assange case, he had already been questioned, the allegations were dropped, then suddenly a couple days of media coverage pass and the allegations are reinstated.

Not to imply either is a case of no wrongdoing, but in each case the accused initially faced the allegations, then something changed and scared the accused enough to go on the run.

The victim in the Polanski case has all but forgiven him, but does anyone disagree he would be crazy to ever set foot in the US again? The prosecutors office seems to have a very long memory and an uncanny ability to hold a grudge.
Why I don't use Linux
> (roads are for cars, not bikes)

That's one of the reasons cyclists prefer streets over roads :)
Have you ever worked for an organization as large as the State of Massachusetts? That might be a useful bit of experience upon which to base your opinion.
Facebook uses MySQL as a glorified key-value store, not as a traditional RDBMS.
Why I use Gentoo Linux
So what you're saying is that all of the engineers at DBAs are sitting around going "Oh we just lost another user's Facebook page. No worries. They can just create another one." Do you not think they would've switched databases already if the couldn't fulfil the primary purpose of their business i.e. managing data.
In the example, switch the order of the rules and the background will switch -- last rule wins, all things being equal. Not surprising...

$ python
>>> CLASS = 0x100
>>> ID = 0x10000
>>> CLASS * 256 == ID
True
> Isn't that basically an act of war?

So.

Forget all the legal nuances. We have to answer that question. So what then? So Britain blows everyone the middle finger and declared a war on Ecuador. Just like US invaded Iraq (physically).

Who is going to protect Ecuador? Is Ecuador going to suicide its soldiers by landing in Britain to protect Assange? Some Latin American countries will issue a very strongly worded statement and maybe some other countries will say something, and then I bet you nothing happens.
To achieve this, Google has introduced the GTFS (General Transit Feed Specification) format [1] which is becoming the preferred way to publish transit data. Hundreds of transit agencies around the world are publishing their GTFS feeds, enabling many hackers around the world to make applications that consume this data and improve users' travel experience.

[1] https://developers.google.com/transit/gtfs/reference