skysight-inc/HackerNews huggingface dataset:
7. Versioning your database isn’t optional

He's talking about versioning schema, not data -- he should have been clearer about this.
> Taking drugs breaks the way your brain is supposed to function; I mean that quite literally.

I don't agree at all. Many people's brains are "broken" without drugs--depression, anxiety, schizophrenia, etc. The default state isn't always perfect. Who's to say the drugs are the bug? Maybe they're a patch.
No, you are incorrect. Slicehost technology is Rackspace Cloud Servers technology. Cloud servers and Slicehost slices are running in the same racks on the same hardware using identical technology stacks -- always have been. The control panel for managing a Rackspace Cloud account and products (including servers) is distinct from the Slicehost customer control panel, and the support teams were distinct groups of people. Now these two corporate structures and logical pools of resources will simply be merged under the name Rackspace Cloud Servers.
Thanks tgrass... I agree; we'll try to simplify it.
"In production this query was taking too long, so the next step was to look at the query plan, which showed a table scan was being used instead of an index. A new index was created which cut the page load time by a factor of 10."

I read it as: 1) noticed that's slow in production, 2) look at query plan (prod or dev, not clear) 3) add index (not clear if they did that in dev first and then prod)
Yes, 400K is a lot of revocations, but we can only download the CRLs and treat them as gospel.

Keeping a low false positive rate is important because, in the event of a hit in the filter, the resulting OCSP check has to be hard-fail and, if that starts bringing down good sites, then that's a problem.

In the end, we have to collect data and see how it does in the real world. The theory suggests that it might work but reality always has tricks.
I like number 3 - there is no editing.

As someone once remarked: I am not a writer, I am a rewriter aka editor.

Life is a constant edit.

When I am first start something and I feel overwhelmed and am hesitant to even start for fear of making a mistake.

What has worked for me, first I find the simplest feature that I can code quickly. Once that is done, I am in both feet - I am committed.
I'm getting very different numbers... I may be wrong though?

(7,000,000/8) = 875,000 bytes/s = 0.834 MB/s

0.834 * 60 * 60 * 24 = 72,057 MB/day

(EDIT: Tweaked numbers, had mistyped 0.834 as 0.844 — doesn't affect the point)
I use 1Password and their mobile and desktop apps can use Dropbox for sync. I've never had a problem with it.
Sure, I'm just trying to speak up for some of the less popular technologies in today's dev community :). SQL server has the downside of costing money, but i think it should be in the equation when making technology decisions today, it's a vastly superior piece of tech compared to mysql and postgres :).
That's funny. Steve Gibson as an expert. He's a quack.

http://www.theregister.co.uk/2002/02/25/steve_gibson_invents...
Google's unnoticed bug
We guys know that 'Im feeling Lucky' button automatically redirets you to the first web page returned for your query. i think most of you must have noticed this in google, You cant click on the 'Im feeling Lucky' button when you enter your query on google.com after the latest update, which directly takes you to the result page,then how come people click on the 'Im feeling Lucky' button? why do they have not replaced with google doodle, which shows up when you click on the button without entering any query. A multi-billion dollar company are just lazy to change the button to google doodles or its just they didnt know that this silly thing happening?
This is the old Microsoft Misinformation. Stored Procedures are not faster.

SQLBooksOnline actually has this information clear as day, but MS Evangelists like Rob Howard (went on to create Teligent) would go around spouting the "sprocs are faster!" line and no one would ever think to point out the discrepancy. It just became religion for the masses of MS platform Developers.

ADO.NET (and whatever it's called these days) executes all Parameterized queries through (see if I can get the casing right) the sp_execsql procedure. This means that the Query Plan for every query run on ADO.NET is cached. IIRC the only additional step Stored Procedures avoided was Parsing. Execution for either would come up with the same, cached plans, but sprocs wouldn't have to parse each time.

Who's willing to bet that the SQL Parser, with decades of optimization work, can parse 100% of your queries in a few hundred nano-seconds?

In practice then, that savings doesn't matter. In side-by-side tests I did a few years ago (that anyone with a few minutes can replicate), there was effectively no performance difference between the two. So the parsing savings were swallowed up as noise in the actual network-latency/query-execution formula.

At the end of the day then, sprocs are not the solution. The solution is to avoid dynamic SQL, and use Parameterized queries. Generated queries that aren't Parameterized do not cache their query plans (last I knew, but it's been years, so maybe that's changed) and won't perform as well as sprocs.

The problem isn't LINQ then. If you know how the gears underneath it all fit together, you can easily avoid sprocs with no negative performance repercussions.
I don't think that's what he's saying.

It's not about "making the big leagues" or getting hired by Oracle. It's about growing your startup into a big company that embraces this culture.

Look at Facebook. It is officially a very big company now, and it is doing amazing things for the community like Cassandra and HipHop for PHP.
I migrated a few Rails sites over from Slicehost to Linode, and since I was using Moonshine (which is a Rails-specific wrapper over Puppet) it was very easy. I just deployed to the Linode server with "cap deploy:setup; cap deploy", copied the databases over, and cut over the DNS. Moonshine handled installing Ruby, MySQL, Apache, configuring SSH and firewall, creating databases and database users, etc.
http://twitter.com/#!/jeresig/status/65450991423733760
I've been using the rackspace cloud servers for almost two years and aside from their slow control panel (please someone give them a ui/ux person) it's a great service that is very simple to use and has been incredibly reliable.
I totally agree. Those articles saved me a lot of time and were very helpful.
Code with me – continued | railway
Relying on the following attributes as returned from .attr() will break, and should get ported to use .prop() instead: 'checked', 'disabled', 'readonly', 'selected' (for <option>s), 'multiple' (for <select>s), 'ismap' (for <img>s), 'defer', 'noresize' (for <frame>s), 'nowrap'.

List compiled (partially) from http://stackoverflow.com/questions/706384/boolean-html-attri...
Some managers (e.g. KeePass/KeePassX) have a feature where it will clear the copied username and password from the clipboard after an ellapsed period of time (say, 15 seconds). What's great about this feature is that it still preserves the rest of the clipboard history.

The best way to avoid losing the vault passphrase is to make it a strong, rememberable password and move the passwords within the vault to randomly generated character strings (where sites permit it, there are a frustratingly large number of sites where certain characters or lengths of passwords simply do not work). That way, you remember only one password.

The biggest issue I've encountered with over a year of daily use of a password manager is making sure you can access the password database file consistently. Having the file on Dropbox is no use if your Dropbox password can only be fetched from the password database! So, always always always keep a local copy somewhere just in case.
I can't "think of" them, because I have no experience with these services. Here's why:

* I generate random passwords 12 characters long unique to every site and write them down on business card stock which I keep in a reasonably secure place. They fit in my wallet with my money for example.

* Usually I don't even need to carry them around. Since the plaintext password and login session cookie must be handled in the clear by the web browser anyway, I just use the browser's built-in password manager. Mobile devices remember credentials too. If your browser is pwned, your login session is pwned, Zeus has proven this.

* I use a separate web browser in a separate OS image for online banking and purchasing things online (anything involving money).

This system works adequately for me. Therefore, giving passwords to a third party appears to me to add an unnecessary risk.

I fully admit that my system is unusual (I work for a multi-factor authentication company) and many people may be better off with a password management service.
"On the other hand, there's no evidence for all this 'exploring feelings' stuff."

What I'm saying is actually the currently accepted scientific theory. What we see in PET scans is that MDMA shuts down part of the amygdala, which allows people to process emotions and experiences that would otherwise be inaccessible.

Michael Mithoefer refers to this starting at 10:45 in this MAPS lecture:

http://www.maps.org/videos/source/video3.html

And Peter Oehen has a more in depth explanation in his lecture here:

http://www.maps.org/videos/source/video4.html

There's no question that couples therapy would be vastly less effective without the increased pair bonding and empathy, but if that was the only mechanism in play then we wouldn't expect the relationship to still be vastly improved 12 - 24 months after just one session. (Otherwise we'd be seeing a large percentage of marriages happening between people who met at raves, which is not the case. People who hook up under the influence of MDMA don't seem to have any lasting 'extra' feelings for each other after a couple weeks, beyond what would be normal without the MDMA.)
- Which programming language 'complicates' storing list objects in a hash map? Downright trivial in all languages I can think in (Java, C++, Perl, Ruby, Python)

- What do you mean by uniqueness of elements? There's no mention of sorting by a secondary criterion, if that's what you mean. Which 'standard' sorting algorithm removes duplicates?

- What do you mean by 'unique key maps to a different bucket'? You'd only have to worry about this if you're designing a hashing algorithm, clearly that's not the problem here. You're hashing on age (hence guaranteeing partition on age), and simply adding objects to a list in the hash. Are you implying we'll have to invent a new hash map to solve this problem?

This is literally less than 10 LoC in any high-level language. That 'complexity' surely seems worth O(n) running time?
Frikipandi blog de tecnologia
Blog con las noticias de actualidad más frikis de Internet.Noticias de gadget tecnológicos, Hardware,software,telefonía e Internet.Frikipandi
(I'll sound like a 1Password fanboy in this thread but so be it)

I'm not sure that's what you mean by "beware the clipboard", but 1Password actually clears the clipboard some time after you copy a password to it. In my case, it doesn't really help since I'm also using a clipboard history through Quicksilver…

As for the passphrase, this can be a problem. I was planning on regularly sending my list of password to my close family but never got to it yet.
Bill Gates here seems to be talking about the world in general, however, for the USA I don't see a high risk for nuclear energy.

The reactor can be installed in a relatively safe place and far from any habitants. This is different from Japan which has relatively a smaller and more dangerous land.
http://twitter.com/#!/jeresig/status/65450991423733760 announcement on twitter
this was already quite easy with echo nest api + lastfm
Can't watch the video here at work, but wouldn't burning nuclear waste be energy-intensive? I assume you have to turn it to plasma to eliminate any radioactive byproducts.
Congratulations to the Kahn Academy, and congratulations to John.

I am really looking forward to you building software full time. It is going to be great for jQuery!
The Canary build is now available for Mac users - Google
Probably Judaism.

Seriously, I think the Jews invented the wiki: consider the form and structure of the rabbinical commentary on their holy texts, very wiki-like in form and purpose. Of course ordinary believers couldn't "edit" it...
I don't know your circumstances, and you don't know mine either. I am sorry that you have to deal with this though...

I'm not saying that you don't have the right to know what your genome is. I'm saying that you have the right to get accurate information about what it means...
You're wrong. And your metaphors are wrong.

Some people like to eat for the taste, not the sustenance. Some people like to get high for the shift in perspective, not to get high. Some people like to drink wine for the taste, not to get sauced.

And some people do go to strip clubs for non-standard reasons. When I was going through my nude photography hobby phase, I went for inspiration and ideas. Of course, I met my wife there so I went for that as well.

Some of the most "beautiful" code I've written has been under the influence. The document and video encoding system we used at massify, a self-scaling multi-format disconnected conversion cloud, was designed and built in a very stoned haze. It's been running by itself with 100% uptime and without human intervention or maintenance for 3 years now.

If you haven't done drugs, then you can't really comment on them. That would be like me having a strong opinion on a topic I've never studied or have practical experience with. In fact, probably everything you know about drugs is wrong.
Also competing with a relatively new feature - integrated with recent releases of Ubuntu (the linux OS) - called Ubuntu One (https://one.ubuntu.com/)

a cursory search for patents in this area turned up all sorts. it's a horrific mess of overlapping remote file sync patents out there. Try this, for example: http://www.google.co.uk/patents/about?id=UTJ7AAAAEBAJ&dq...
or this:
http://www.google.co.uk/patents?id=dlXPAAAAEBAJ

There are pages and pages of published patents/patent apps in this domain.

Will such infringement (stealing! piracy! theft!) be tolerated?
Which TOS are you referring to? The Android Marketplace TOS? Could you please point to the section of the TOS that mentions this? I find it very strange that the marketplace would be concerned about an application's bandwidth usage.
see, that's good to know. I was hoping for expert opinion (grad student, some years as a successful consultant, etc)
I avoid browser-integrated password stores.

The attack surface is larger than a standalone app; your browser is a popular (and historically ripe) target; your browser sees lots of untrusted input from third parties; you manipulate sensitive data with your browser.
I don't see how your argument follows, but... there is nothing "inflexible" about that setup, imho. I think antirez has a pretty good setup, but without poking around for edges, you won't find the edges :-)
Digitimes reports Amazon's tablet PC headed to production
The Metaphysical Club, by Louis Menand, a history of American Pragmatism
Okay, learning more about it via another channel, I am pretty convinced of the path you took :-)
I'm most curious if this is a marketing decision or a result of an unsustainable business model.
This release causes Internet Explorer 6 to freeze just by including the script in the page. This is a non-starter. I'll submit a bug report about it later today, just thought you guys would like to know in the meantime.

EDIT: It looks like the freeze on IE6 might be caused by FancyBox (http://fancybox.net/ ). Though it didn't freeze with any previous version of jQuery.
>It's a bit of an abuse of HN though.

Really? Why?
Oh, forgot to point out the other big difference. Slicehost had (and still has) a monthly billing model with a monthly bandwidth allowance bundled into the cost. Rackspace Cloud Servers costs are calculated on two factors: how many hours the Cloud Server ran that month (from the day/time you instantiated it); AND then bandwidth usage is calculated separately, based on some $$/GB rate:

http://www.rackspace.com/cloud/cloud_hosting_products/server...

So, the real point is that even if this wasn't apparent to you the customer, the substantial differences between Cloud Servers and Slices was branding and different pricing models; the support teams were also separate (and the two front-line support teams have different "styles"). Otherwise, behind the scenes, they're literally the same thing -- in terms of data centers, hardware platforms and hypervisors, etc., etc.
I was a slicehost customer, then a rackspace customer, and now a linode customer.

The biggest reason I love linode now is the control panel. Slicehost also had a good control panel, but the Rackspace Cloud CP is severely lacking. It's extremely slow and the DNS is in a really awkward spot (click a server and then click DNS to see a global DNS...it doesn't make sense).

I was a fairly happy Rackspace Cloud customer but Linode is just a great experience. What is Rackspace doing to improve the cloud offering?
tl;dr:

> Our results based on his last know location in 2001 indicate that there is a 98% probability that he is in Kurram, Pakistan, and an 86.6% probability that he is within one of the seven FATAs.

> ... The hypotheses that Osama bin Laden is: (1) located in the Kurram region of Pakistan, (2) located in the city of Parachinar, and (3) at one of the three hypothesized buildings.

all 3 of those were false. Abbotatabad is in a different region, albeit being nearby geographically. The 89.9% accuracy quoted in the Science Insider article (http://news.ycombinator.com/item?id=2510513) is based on the 270km distance from last known location, as shown in figure 2, with the theory that he is most likely to stay close to that point.
Show HN: Tagmask for programmers (live demo)
How I Accidentally Became a Professional Blogger in 2001
dcreemer has the right idea. Schneier is the real deal. I usually listen to his advice.
He said "woman" because it is the most frequently used term for "female human". [1]

Maybe it's just my poor english skills, but I see nothing implying that the woman was stupid in the title, not even some kind of subtle feminist-troll-bait. If anything, the title was suggesting that charging 200k for any amount of data one person could download with conventional hardware is ridiculous.

So could you kindly explain in simple words for the poor brain-atrophied male human I am[2], what in this title could be read as "women are stupid" and not as "a poor soul got screwed by a greedy telecom operator and an uninformed judge" ?

[1] http://en.wikipedia.org/wiki/Woman

[2] Feel free to use this confession for a generalization about all men being stupid, I am sure we will all find it very amusing and some sarcasm-fu masters might even generalize in response that all feminists are paranoid.
Seems to have caused using an array to specify easing in jQuery.animate to break. Was a bit surprising.
I remember agonizing over picking slicehost or linode 2/3 years ago ... So glad I went with linode.
Like others have said, the bandwidth is paid upfront with slicehost versus pay as you go with rackspace. If you want to try out an idea, I think paying $11/mo vs. $20/mo. for BW you might never use is a nice benefit.
I already use that for some stuff, it gets rather expensive for vast amounts of data, and I've already got spare HDD space on servers.
It is awesome that Khan Academy has attracted so much top talent. Has the potential to make a real difference in world education and thus in human potential. Goes to show how much effect a relatively small investment can make when joined with amazing, driven, talented people.
Absolutely. Slicehost has been the example I've used for "doing it right" for quite some time.

The chat was awesome. You could jump in there at pretty much any time and start talking to somebody who could help you immediately.
> what you mean by "beware the clipboard"

It's not that long ago that certain browsers would give up your clipboard to any site that asked for it.

IE: http://www.securiteam.com/windowsntfocus/5CP0C1F61O.html

Similar (attacks paste), for FF: http://www.digitaltrends.com/computing/firefox-clipboard-hac...
Noble Cause. But I am curious to know will Khan Academy give a basic salary or he working for free? in which case, I salute you

Congrats!
BuildASign.com is seeking a full-time .NET developer
Austin, TX, Full Time
BuildASign.com is seeking a full-time .NET developer to help us bring our unique e-commerce application to the next level and improve our internal systems and work flow processes. This is a rare opportunity for a bright, self-starting individual to have a leading technical. If you feel you fit the following description, apply online at http://www.buildasign.com/careers
Server-side DOM manipulation in Node.js with JSDOM, JQuery, and Mustache
3G bandwidth is a limited resource. There should be a way for clients to pay less if they know that they use little. However 3G providers misuse the deals with limits by charging insane amounts per megabyte made over the limit. Of course, they can lower the transfer rate instead, effectively helping the client not overcharging due to an error (because it's always an error). They don't do it because their nasty business model in such case is based on the clients who unknowingly make the error and pay dearly. Crooks.
That's not really what he means. I'm pretty sure, he's talking about creating special nuclear reactors to do the job and generate power at the same time.

A plasma is basically a just a gas where the atoms have no electrons. To get rid of nuclear waste, you need to get the nuclei to split into less volatile isotopes.
Theories of health insurance (why insurance-paid care is not inefficient)
Agree, it was a badly composed email... before reading the comments here, I comprehended the email as Slicehost was shutting down and my slice would be killed also.

Quit the corporate talk and just say "Hey! We've decided to pull the plug from SliceHost but rest assured, we will safely migrate your slices to RackSpace."

Put that in the first line of the email then followup with whatever else you want to say about the migration!
N-Bag Collection by Naoto Fukasawa for Nava Milano
Yup ... I was a linode customer but I set up my instance using the slicehost tutorials :\
Things I miss from Java while programming in C#
Bin Laden and Inefficient Markets
Warning: this restricts you to finding cofounders that are 21 and over. :)
This is actually really old news. This story on it is from 2 years ago:
http://androidcommunity.com/android-tethering-apps-pulled-fr...
I agree with you - the "not invented here" libs don't belong in your repo. I'm always amazed when I walk up to a "mature" base of code and find third party and open source dependencies festering all over the repository. This drives me crazy. There is just NO reason this stuff needs to be in source control. It's pure laziness that drives developers to just punt and check whatever version they happened to be using during dev. This makes final packaging as well as future upgrading a nightmare (particularly if other projects have glommed-on to the same dependency in the meantime).

The lowest-budget solution is simply to store the third party and open source projects in a reliable network file share (NFS, samba, etc). Then you can either sync locally or just build/link directly against the mounted file share.

It's also important to keep each project in a directory structure that includes the version number in the path (e.g. /nih_libs/boost/1.44.1/...) so that you can easily drop in a new version and start using as needed on a project by project basis. I'm always amazed how many places neglect this step and then have nothing but pain when they want to upgrade to a new version of a lib.
Ideas, Startups and In-Betweens
When is the best time of the year to start my start-up?
They get tons of grant money, use that for salaries.