skysight-inc/HackerNews huggingface dataset:
I find that a combination of SMACSS and a lot of shared helper classes (left, right, center, size-<n>, ...) really helps with maintainability.

I don't get the DRY CSS approach of wanting to avoid changing HTML. CSS changes are much more expensive, as they can affect the design on unrelated pages (especially if you don't write modular CSS), which means more testing.

And are there any real world use cases or benefits of "semantic class names"? If not, and if you think they hurt maintainability, why would anyone advocate them?
That isn’t a sale in any reasonable definition of the word, it’s akin to asking, “What if the Death Star was in orbit around the Earth and Darth Vader asked me to sell or witness the destruction of Earth?"

“For Sale” in an unreasonable, extreme circumstance is not on a smooth continuum with $200. You can’t say, Well, if $1,000,000, what about $100,000? What about $10,000? What about $1,000? What about $100? What about $10? What about $1?

Somewhere between $1,000,000 and $1 is a discontiguous gulf that demonstrates the two are entirely different kinds of transactions. If you want to use “For Sale” to indicate everything from Darth Vader to $1,000,000 to $100, you need a new set of words to differentiate $100 from $1,000,000 if we’re going to be able to have any kind of interesting conversation about marketplaces.
Which browser is best for HTML5 games?
Notes to an Agency Starting Their First Responsive Web Project
Brevis 803WA Touch - a new Android-tablet from Treelogic
Brevis 803WA Touch - a new Android-tablet from Treelogic - In the model range of electronic devices Treelogic completion - Tablet PC called the Brevis 803WA Touch, running the popular Android OS from Google.
Ah. I guess I didn't express myself very clearly. I'm not advocating starting with 'ed' and transitioning to 'vi'.
I'm an emacs user myself. But as you know, emacs is not always installed by default (especially on remote server installations). 'vi' is always there, but I already know and prefer emacs. 'ed' is also always there, and catches some corner cases 'vi' doesn't.
As a bonus to knowing 'ed' (in addition to a fullblown editor), should the occasion arise when it's convenient to have a visual editor and emacs is not installed, your knowledge of 'ed' will allow you to do useful things with 'vi', even if you never normally use it.

As to what sysadmin jobs call for, having knowledge of 'ed' is not something I would put in the requirements, but it is something I would ask during an interview as it would hint at knowledge of the myriad of obscure tools that unix has, and/or having tackled delicate problems that would have required a fallback to 'ed' in the past.

As such we're mostly in agreement I think. I agree there are no compelling reasons for learning 'ed' as your primary text-editor. But there are compelling reasons against not having a working knowledge of 'ed', although it depends to a large extent on your field of endeavour.
Why is it offensive? How is it incoherent?
You increasingly don't get a choice.
I followed this step by step.

Can not recommend it enough.
We like this Internet, but we would like one without the "Inter", and possibly without the "net".
I just noticed your response. The machine I timed it on was an older Lenova laptop with some sort of dual core Intel processor - indeed not an "unusual" CPU.

In the end, it's results are what matter even if you (or I) don't understand why. For all I know, the compiler parallelized some of the code with divisions and didn't for the shift using code. The thing is, you can't just look at what "should" be fastest and my experience was a good reminder of that.

In the old days, one optimization technique we used was to "unroll loops" i.e. instead of:

for (int i=0; i<8; i++)
a[i] += b[i];

We'd do this:

// Unrolled loop
a[0] += b[0];
a[1] += b[1];
a[2] += b[2];
...
a[7] += b[7];

The unroll loop has less clock cycle according to the book.
Great - unless the larger "faster" code no longer fits in the CPU cache, now it's actually slower. The only way to tell is to measure it.

Here is the code. Substitute ">>1" for the "/2" portions and compare.

// pBuffer contains a single horizontal line in a bitmap
// destBuffer will contain the first derivative convolution i.e. if you graph it, it would look like peaks at the edges of things in the image

void Convolution1D_FastFirstDerivative(int* pBuffer, int sizeOfBuffer, int destBuffer)
{
int lastPos = sizeOfBuffer - 1;
int isum = 0;

// Special case start of buffer where filter "hangs off edge"
isum = -pBuffer[0] / 2;	// 0.5
//sum += pBuffer[0] * 0;	// * 0
isum += pBuffer[1] / 2;
destBuffer[0] = isum;

for (int i=1; i<sizeOfBuffer-1; i++)
{
isum = -pBuffer[i-1] / 2;	// * -0.5
//sum += pBuffer[lastPos] * 0;	// * 0
isum += pBuffer[i+1] / 2;	// * 0.5
destBuffer[i] = isum;
}

// Special case end of buffer where filter "hangs off edge"
isum = -pBuffer[lastPos-1] / 2;	// * -0.5
//sum += pBuffer[lastPos] * 0;	// * 0
isum += pBuffer[lastPos] / 2;	// * 0.5
destBuffer[lastPos] = isum;

}

Sorry, I wish I could fix the formatting.
The splitting out over more units is a little awkward, but it is usually possible to quickly divide imperial units by 2,3 and 4 (of course it is easy to divide decimals by 2 and 4, my point is that imperial doesn't lose this).

For people frequently working with medium distances, all they have to do is learn that a mile is 80 chain (for longer distances, decimal miles are about equivalent to decimal km).
Yeah, the book is definitely an in-house history, but it does a fine job of showing how a commodities market emerges and the way it shapes commerce as long as you skim a little.

Illegal drugs is a poor analogy; there are a lot of participants in the market, a lot of small transactions, and it can be a victimless crime. If you are looking to buy a little weed, your friends probably don't care.

A better one is high-end weapons. E.g., missiles. That's a market that's relatively small and obscure, and the prices are high. State actors can get away with trafficking, but individuals run a substantial risk of running across sting operations and other law enforcement activities. Further, as long as the market is widely reviled, random citizens are likely to report suspicious activity.
Corporate culture: A lesson in unintended consequences
This is the most insightful post on HN about icons that has ever been submitted. A lot the people here would do well to take notice and learn something about art design.
I wonder if this is just because they would like as much control over their population as possible and they want their own Internet, as they would like their own "Twitter", and own "Facebook" and so on, out of a strong sense of nationalism, or because they are worried that US wants more and more control of the Internet, and could be why they are also support getting the Internet under UN's control (among other things).
The boolean closest to the question should be affirmative for positive process flow.
There was certainly a groundswell of outrage over warrantless wiretapping. There was plenty of anger and suspicion over things like 'get-mo'.

But those policies were put in place when fear ruled the land- especially the republicans, who had expressly ignored the terrorism threat to the US in favor of defense spending aimed at missile defense.

But what we haven't seen, in the wake of these disturbances are the powers being used for anything other than what they were intended. Nobody is rounding up prostitutes, or drug dealers, or even pedophiles with the powers granted by the Patriot Act.

And we've seen a new administration take over and change its mind on the issue. That is: before having access to all of the information AND being the one responsible, I believe X. Now that I have the security access and is the one responsible, I believe Y.

You don't have to be a genius to see what is happening. And it has nothing to do with corruption, power-grabbing, etc. My guess is John McCain wouldn't have closed the base at Guantanamo either, despite his campaign stance.

It's easy to sit in the cheap seats and lob mortars of accusations at these people. It's harder to try to understand how they are trying to do the best job they can without letting go completely of their ideals.

It's a wobbly boat. I hope we get some ballast good and low before too long. But I think we're still doing reasonably well-- and much better, I'm happy to say, than I feared when the Patriot Act was passed.
I can barely read it... the spelling and grammar are terrible.

This can NOT be a real effort... can it?
On a related note re: client vs. server. Taking a recent incident that was in the news, when the Brits pwned a pro AQ forum. From that vantage point, the best thing they can do is to target the admins, moderators and heavy users -- with client sides. Probably more than one, since it is unlikely that a single exploit would be effective against each of the targets. The valuable intel is going to come off those user's boxes, not off some semi-anonymous VPS shard. Logs of Tor exit nodes, googlebot, and proxies reveal nothing interesting. From a certain perspective, it makes sense that there just isn't much value to be had from servers, and so there's reduced incentive to pay high prices for server exploits.

Not to mention that gaining access to that server would probably be fairly simple given the atrocious security standards of most web hosting companies. CPanel, pilfered ssh key, SQLi, PHP bugs in the forum software, rent a VPS on the same host and LPE... I hardly need to tell _you_ how many alternative (cheap) ways exist to gain access to the server. (And this is assuming that they aren't running their own colo's and web hosts a la http://www.schneier.com/blog/archives/2008/10/clever_counter...)

Given the relative ease of access to servers, the poor quality of intel stored on them, and its no wonder that the market focus is on client sides. Finally, its worth mentioning that most (all?) of the servers with interesting data on them are in the legal jurisdiction of the US (just ask Kimble, ha!). Accessing that data requires a sternly worded letter on official letterhead-- not an exploit.

So, not to detract from either of your' points; but there is another angle to add to the mix.
Could you explain? Who's preventing you from not installing (or later disabling) anything on your own car?
> It's worth noting that just last night they released a stable driver that (finally) supports RandR 1.2

The XRandR support in the driver is not yet stable [1]. The 302.xx line is currently in beta, but will support both XRandR 1.2 & 1.3 at the same time. That part also works flawlessly, however, your mileage may vary in regards to suspend/hibernate, since both I and multiple others on the nvidia forums experience serious problems with resume from either, i.e. the computer hard locks (and doesn't even respond to ssh etc.), which requires you to powercycle it. So while the XRandR is a huge step forward, it is not without problems yet.

[1]: ftp://download.nvidia.com/XFree86/Linux-x86_64/latest.txt shows you the latest stable driver, which is 295.59
I am always skeptical about color psychology: in China red is the color of joy and wealth.
They could have included a photo of this origami piece the whole article is all about. Oh wait...
This article from my blog might help.
http://blog.carlmercier.com/2011/08/29/us-incorporation-for-...

It's more geared towards Canadians but I'm sure many things apply.
The hard truth: Newspaper monopolies are gone forever
Not in NYC or Chicago, but BuyVM is my go-to VPS. Super fast, nerdy support (know what you're doing and you're fine) and great services. Try their ping tests and see if that works for you. I'm in NYC and use it for most of my projects (so does my husband, who has 3x my geek cred).

Seriously I was paying 5x as much with another provider and getting shit performance in comparison.
"We've already established what you are, now we're just haggling over the price" -- anecdote punch-line attributed to various people over the years

http://quoteinvestigator.com/2012/03/07/haggling/
Automattic sponsors SPDY in Nginx dev, to be using on WordPress.com
This is a good place to look:
https://www.usa-corporate.com/setting-up-a-us-company-as-a-n...
With a few noted exceptions (often where the -ly form has another meaning) flat adverbs are considered archaic at best. That the examples you cite are from early modern English is hardly surprising - American English usage did not develop in complete isolation from its roots.

That occasional use of this earlier form has persisted in American English dialect is also unsurprising; there are other examples of anachronistic language forms, often in slang, topolect or sociolect, where common usage has otherwise died out.

The GP poster correctly observes that non-standard use of flat adverbs is more common in American English, sometimes associated with a "deep South" topolect.

Yes flat adverbs still exist in common and accepted usage, usually for good reason, but this does not make using just any adverb in plain form "correct", or less jarring to the educated ear, unless done so for stylistic reasons (which was not the case here).

I still feel the correction was unwarranted in this particular social context, but perhaps that's just me.
This isn't a DMCA takedown, it's a system Google put in place to avoid being sued by lots of copyright holders. $100k is nothing compared to the $1B lawsuit Viacom already filed, and other companies will have no problem filing similar lawsuits if Youtube doesn't toe the line.
I think I see what you're saying (given an average cancellation time, only half the customers will have cancelled by that time), but I think it depends on how they calculated it.

For instance, they could know the average number of cancellations in a week, and see how that number has dropped.

I think this would work out, provided it doesn't matter too much whether the two actions they've taken (the two emails) occur right when the gym signs up or later on.

You're right that an average time to cancel of 61 days implies some may cancel at, say, 80 days. But some gym signed up 20 days before this cohort analysis began, and could have been the one to cancel had it not been for these changes.
Except that we probably don't have many gym owners here :-)
$200 Headphone Review Battle Bowers & Wilkins P3 Vs Beats By Dr. Dre Solo
Sampling happens a lot in music. Using a few seconds of someone's performance in your very different song probably falls under fair use, or it might even meet the "transformative" criterion for being a completely different creative work. There's another discussion about this issue going on: http://news.ycombinator.com/item?id=4120691
You should checkout Clamp https://github.com/mdub/clamp
Why would you down vote this it is a real and valid observation. I'm not selling legal services or anything I'm just suggesting people use a lawyer when it makes sense.

Nobody on hacker news would expect a lawyer to build a NoSQL solution. Why do we think lawyers have no right to be acknowledged for their expertise!?
You're allowed to copyright a recording of wind, just like you're allowed to copyright a photograph of a lake. The dumb part was putting into Youtube's system to look for similar ones.
The risk these things pose to aviation is real. There's been a huge shift towards GPS for instrument flying. Cross country flying frequently relies on GPS to know where you are. Even more important, flying an approach to land now often uses GPS to keep the plane to a specific safe path, essential when flying in a cloud. A plane isn't going to fly out of the sky if GPS suddenly stops working, but it can make life awfully difficult.

The risk is not just theoretical. For example, in 2009 the Newark airport had a daily GPS failure that was finally traced to a trucker using a jammer, presumably to defeat a tracker enforcing safe driving rules. http://www.economist.com/node/18304246
Interestingly, this got several upvotes very quickly (thank you) and then within a few minutes plummeted down the rankings to the mid-500s. Clearly a few people think it doesn't belong on HN and flagged it. To you I also give my thanks, for reminding me I have much to learn about the HN "community," and that I really don't understand what you will find interesting, fun, useful or engaging.
>There are people who commit crime who wouldn't commit them in a different context, and to say that whatever we do "they" will just find a way to keep things exactly as bad.

It's not as if I'm talking about a father stealing a loaf of bread for his family. The people I'm speaking commit the most vile crimes possible. They are deserving of the tag 'criminal' regardless of what position in life they started.

That said, this isn't really about defeating the drug cartels. It's about the putting an end to the violence that is behind it and stopping it from spilling out into the lives of law-abiding citizens.

In South America, criminals have turned to kidnapping family members of wealthy individuals and even talented baseball players who have signed deals with professional teams. Most baseball teams have backed out of looking for prospects in Venezuela because of these worries. There was even a minor league prospect who was kidnapped last year and held for ransom.
thanks for the clarification, I was unsure about the intentions of the authors and their capability to implement this proposal. however this doesn't rule out the possibility that China does in fact implement such a system.
My thoughts exactly ... and by definition, this RFC is an Intranet (although on a very large scale). See http://en.wikipedia.org/wiki/Intranet.

I've actually done what this RFC proposes twice before simply by configuring my DNS server carefully. Once I left an open wifi AP at a tradeshow that served our company's website regardless of the domain entered. The other time I specified that all hosts used the address of our proxy-filter so that there was no need to configure a proxy server on your computer.

I'd have to think it through a bit but I think these techniques would work on a larger scale (like a country). Perhaps I'll write an article about these unorthodox DNS configurations if people are interested.
Konza silicon Savannah
Haskell is "cleaner" and "purer" if you're coming from a mathematical background its also probably going to be easier. Since this is going to be your first programming language I'd suggest Haskell since its cetianly more elegant (in my opinion). I'm a biased Haskell enthusiasist so that's my suggestion :)
If you are looking for something like this for .NET, "synoptic" can generate cli-usage help in a similar format based on your methods/classes complete with defaults, examples etc: https://github.com/bitdiff/synoptic (disclaimer: it's my companies' project)
Interesting article, but why the spam?

"buy online at dedicated websites like www.[snip].co.uk, and a basic model costs just around £60"

Hmm...
Ouch, and I implemented https://github.com/andreyvit/dreamopt.js only a few months ago. Similar idea, but yours is better. (Not sure how you deal with type coercion and the like, but I guess it's not too hard to figure out.)
South Korea bans virtual item trading & bots
Compass King of Processers
In Brave New World, everyone uses drugs to get happy, the drug itself is relatively safe and doesn't hurt productivity, and everyone thinks it's perfectly normal to use drugs.

In the actual world, only a subset of the population uses drugs frequently, only a subset of available drugs can be used without serious side effects (we haven't invented the perfect Soma yet), and there is a lot of moralizing about drug use. Under these circumstances, nothing the government does will make everyone happy, so the government optimizes for the happiness of the voters who matter the most: conservative parents who get all worried about their kids doing ecstasy.
Burden of the internet: How deceiving ads trick users on download sites
I too think the pitch is brilliant - specially when you think about the target audience - folks who get turned on by the word "Challenge", er developers, and most of them must have felt the need for something like this at some point of their life("Some day I'll have to write clean & DRY way ...").

Only thing different might be instead of giving the solution on that page itself - a hyperlink to the solution which takes you to docopt.org landing page
Where to go with Open Learning?
What I don't understand is how a trucking company that has their unit jammed doesn't eventually figure that out and fire the driver.

[EDIT] The only thing I can think of is that the GPS is always recording, but only examined in the event of an accident. The driver can claim the unit was defective and not his fault, so there's no proof he was driving 90 in a 60 zone.
Both, most likely.
Proposals to fragment the Internet generally do not go down well, for obvious reasons.

The proposal is needlessly complicated, notwithstanding the poor quality of writing. The authors' rationale is to "realize autonomy", yet AIP suffixes are globally namespaced and still need IANA assignment, which is really no different to the current situation in relation to TLDs. It breaks backwards compatibility when applications need to cross AIP networks and also introduces the issue of conflicting AIP network-internal names. The authors make no attempt to discuss these obvious issues or any others, and also blindly wave off security considerations, saying "there is no additional security requirement".

Also, the authors are on Yahoo/QQ free webmail addresses, which isn't very professional.
There's absolutely no way Google is falling-back to the less-specific WiFi geolocation for self-driving cars.
This could be one way of getting around an "Internet kill-switch"
Responsible disclosure (where the vendor is notified first) has proven to be an unmitigated disaster. Vendors simply ignore the vulnerability report as long as possible. The only way vulnerabilities get addresses is when a PoC is created and publicized.

Buyers of exploits (at least those who aren't blackhats/criminal enterprises) generally intend to use them for their security services/applications. They have to have the latest exploits otherwise they can't protect their clients.
They have LiDAR, GPS, radars, inertial reference unit, steering wheel angle sensor and high-precision odometry (left rear wheel rotation sensor). Afaik, LiDAR/map convergence is actually used for localization.. at least it's the case for the street view car, per http://www.youtube.com/watch?v=kdPwaWATYKg&feature=plcp
Exploits are already desirable. Google paying a respectable sum for them won't make them less desirable.

An exploit for a widely used application, especially a client-side application with a good reputation like Chrome is extremely valuable to someone wanting to create a botnet etc. There's no way to avoid bugs in software, but rewarding security researchers can help mitigate the risk. And security is all about mitigating risk in a cost effective manner.
From the draft:

> ...network A, B and ... are AIP networks; Domain node "www.yahoo.com" in network B is expressed as "www.yahoo.com.B" for its external domain name.

It mean that www.yahoo.com can co-exist in AIPs A and B. The "external domain names" will be www.yahoo.com.A abd www.yahoo.com.B. Would HTML documents be linked using local names or external names? Local only names are not going to work across APIs unless www.yahoo.com maintains same document hierarchy in all of them!
Ghost.py - a webkit web client written in python.
> http://testico.net

> Your browser is out of date!

> PLEACE, UPDATE IT, OR DOWNLOAD ONE OF RECENT BROWSERS:

yeah, like my Chrome V21 is very out of date!
As mentioned elsewhere, generally the payment is spread out over months, contingent on the seller keeping their side of the bargain. And the second query describes the business practices of many defense contractors who act as de facto gatekeepers to government contracts.