skysight-inc/HackerNews huggingface dataset:
Ok, I see. I guess it's like the comma in other languages delimiting the terms in a list expression, (a, b, c), where the last term is returned as the result of the expression. But what's the difference between a separator and an operator? Both of them define certain semantic. In the Erlang case, the semicolon evaluates two operands and returns the right term, just like a binary operator.

What I'm trying to say is there is no one right way to define an operator/separator behavior. It's entirely upto the language design. One can define the missing last term to be omitted completely. E.g. (a , b , c , ) could return c. And { s1 ; s2 ; s3 ; } could return s3.

Edit: Ok, I didn't know Erlang. Apparently semicolon is same as the OR operator in the case statement, not as a sequencing operator like comma.
One of the points in the article is that Microsoft can't predict the future, and might miss a hundred-million dollar opportunity because they don't recognize it. Today there's nothing to stop someone from exploiting that opportunity regardless of Microsoft's blindness, but that won't be true in the future.
I've implemented bit packing because I wanted to store a large array of integers (actually, indexes to another array) in memory and have efficient random access over them.

But what is shown implemented here is more like a compression / decompression routine, because it's predicated on the idea you want to read / write long strings of numbers. If that's the case, it's probably better to use a cheap and fast stream compression algorithm - you'll lose some speed, but likely gain significant space (depending on data of course).
Yet another promises library (: It's great that people are writing and sharing code, but it feels like people are trying to re-invent the wheel when stable, mature and well tested libraries[0] already exist for these problems.

[0] https://github.com/cujojs/when
H1-B is a big step towards green card status for many people, and green card holders are entitled to all of these things.
I had to look this up, so I thought I would share for anyone else who was confused - the points in this case refer to Social Security's eligibility system. http://www.ssa.gov/pubs/10072.html
That may be true, but what about when bigger players like Apple, Sony, Samsung, or perhaps even an emerging startup join the party? Many a comparison has been made to the home computer clubs of the 1970's - similarly DIY but produced giant companies like Apple who popularized the home computer. Same goes with AOL in the mid-90s crashing web and bringing the Eternal September.

I guess my point is that we are really in the halcyon days of 3d printing. This is an emerging technology. It's exciting, it's about experimentation, and it's a genuinely open-source user environment. But this phase has a shelf-life, and once 3d printing reaches critical mass, the Maker hackers will move onto the next thing of interest (rightly so) and the corporations will swoop in on the huge money making opportunities. It is just the way the world works.

Still ... DRM will never work. Whether it be a case of torrents for the Ikea desk, or firmware hacks to re-route your printer from phoning home to the corporation - hackers will find a way.
I don't think anyone is going to be significantly enabled by crappy 3D-printed handguns, but if anyone could see utility from it it would be terrorists.

My second point was an attempt to point out that it's probably cheaper and easier to create a single-use weapon now without the use of the 3D printer.
Worrying php.net status page (visitors' IPs visible and more)
Cambridge-Based Handybook Secures to $2M in Funding
Visa handcuffs are not slavery per say, but close enough.

As a current H1B holder, I have to disagree with that. I've just completed my second visa transfer, to my third job since moving to the US. I have had zero problems doing so- it requires some patience on the part of your future employer and while I've been lucky with past employers and not had to worry, you can also file the transfer without telling your current employer.
They bought the company, not a specific type of chip. They can do whatever they want and steer this in any direction they want.
In the left margin there's a button to make New Jersey and California stay highlighted. Right click -> inspect element -> and go from there :)
nice movie
Wrath of the titans 2012 is a nice movie.A decade after his heroic defeat of the monstrous Kraken, Perseus-the demigod son of Zeus-is attempting to live a quieter life as a village fisherman and the sole parent to his 10-year old son, Helius.
http://freemoviesite24.com/2012/09/wrath-of-the-titans-720p-...
In my family's experience, we have had both situations. The H1-B can become a massive expense, especially if the State Department get's more involved in the process (sometimes called a "security check") and many tiems, the entire H1-B to GC process can cost in excess of $30-40k (The management overhead/legal fees are huge, well above the $3k filing fees), especially after you factor in risk of turn over to the employer.

Between my parents and all of our friends (Russian born engineers mostly), we don't know of more than one or two cases out of dozens where someone was paid more than 10% below market wage
You just described H1B transfers.
I have to create figures with Matlab and that's a pain in the ass. Changing XTickLabels, kills another part of the figure, and in general it's very hard to do a little more with figures.

But the basic data analysis is fine. The IDE has awful code completion and lacks more refinement in the editor.
How to Deal with Depression
True. I'm just advocating for removing the pattern-level classes. The component-level and context-level classes should still remain. Component-level would be `.dropdown` and context-level would be `.user-dropdown` or `.explore-page .dropdown`. Those should be selected and javascript'ed.

But that way all of the purely presentational classes are kept completely in the CSS where they belong.
Well that sucks, what else you got?
Based on the blog post I'm not seeing how I can't do that in Less for example. I'm using lessphp and I can build patterns like

.media() { // won't compile directly
width: 100%;
// other cool styling
}

img {
.media;
}

which would output just

img {
width: 100%;
}

Gives me similar results I think or am I missing something?
If patents aren't ethical, then there are lots of things that aren't ethical, and I don't think the tech industry has the balls to confront those.

E.g. trademark law supports the existence of the advertising industry, by creating protectable brands through restrictions on speech. Most web companies wouldn't exist in their current form if there wasn't a tremendous incentive for companies to build up those protectable brands through advertising.
I'm working on this direction in healthcare. I want to make a little specialized, non-Turing complete language for handling evented data streams from patients.

I think there's a lot of power in certain kinds of non-Turing completeness. Email me if you want to talk about it.
This is the key that I missed when I first read the article. Mixins will always be repeated when compiled. Placeholders result in combined selectors so the styles aren't repeated in the compiled CSS.

In many ways, it seems like placeholders would almost always be preferred to mixins. Though, I'm sure there are exceptions.
Android's Expanded Notifications Are a Missed Opportunity
Thanks a lot! Only two tracks in, and I am already pretty happy. I would love to see how this sounds in my car.
A High Tech Solution to the Writing Crisis
Humm tried to implement it simply using std::complex but it does not give me meaningful results. What did I do wrong?

template<class T>
void CalcRealPercentage(
const complex<T> from, const complex<T> to, const int intervalSize,
std::vector<int>& intensityMap
){
auto height = to.imag() - from.imag();
auto width = to.real() - from.real();

assert(intervalSize > 0 && height > 0 && width > 0 && from > 0);

intensityMap.resize(width * height, 0);

for (complex<T> c = from; c.imag() < to.imag(); c.imag(c.imag() + 1)) {
for (; c.real() < to.real(); c.real(c.real() + 1)) {

for (auto i = 0; i < intervalSize; i++) {
complex<T> g(i, i);
complex<T> result = g / c;
auto imagPart = result.imag();
if (imagPart == 0) {
intensityMap.at(c.imag() * width + c.real())++;
}
}
}
}
}
I have special love for dropbox, but I wanna test drive results with Google drive :)
"There are already people out there investigating the feasibility of 3D printing gun parts. It might not be doable now, but it will be one day. Before that happens, simpler weapons like “brass knuckles” made out of super-hard plastic could worry governments where such items are illegal. Weapon laws are not about intellectual property, but they get us to the same place — restricted use of 3D printing. Copyright concerns can and will piggyback on this issue."

Because I couldn't already create "brass knuckles" out of wood in 10 minutes?
A Tale of Two Sieves
Optional for the post content. You can produce the content and have it hosted on Youtube for well under the $200... which was the point of the tip.

Yes, in our case, we also pay Vimeo for video hosting so we can further customize the experience.
A picture's worth a thousand words . . .

http://www.gametrailers.com/videos/fch4fp/simcity-gameplay-d...

Surprising that Wired actually wrote close to 1,500 words with a headline about the graphical style of the game, but included one scant screenshot. . .
> I don't see any restrictions on developers that haven't existed before.

A developer can't write a program that integrates with the preferred UI on the latest version of Windows without conforming to an approval process.

This is indeed a huge change for 3rd party developers on the Microsoft platform.
it is information
Google Launches Disavow Links Tool
This is certifiably bad ass. Any hints as to pricing or what it was before?

It might be cool to license some more background music from a site like audiojungle.net to make it available.
Let's stop telling programming newbies to learn Vim (or Emacs)
There's thousands of humanitarian discussions that we could discuss - human trafficking, politics, wars, global warming etc. Speaking for myself, it's not that I don't want to discuss these issues - it's just that I come to HN for tech-specific topics. I don't think the community should be judged as having no compassion or care of the environment just because they want to keep the HN topics focused on tech.

But regardless, the story made it to the front page so obviously enough people felt it was relevant.
You keep referring to obligations but I see no obligations society or community has to incur cost or resources for admitting a H1-B. If there were publicly funded hospitals that cared for H1-Bs, if there were publicly funded accommodations for H1-B offered for free or subsidized costs, if the government charged you in taxes for fulfilling their obligations towards the H1B - then what you are saying would be right. None of those are true - I paid for everything just like every other legal resident/citizen. You cannot make up corner cases that apply equally to H1-B and Citizens and claim that as an obligation - for the majority of H1Bs those are simply not relevant. You cannot also assume each H1-Bs children go to public school - mine didn't for a long time and when they did my wife volunteered there.

In fact think about this - the H1-Bs are degree holders educated by their own country at its expense - no American money was spent on their entire education.
I disagree with your supposition. I think highly specialized languages exist and are highly useful to non-programming communities. I think there is plenty of proof of their usefulness and room for growth.

For instance, consider illustrator products or d3? Both of these are specialized ("deep") tools for creating pictures that I've used extensively in the "pretty pictures and reporting" stage you outlined.

Also of serious note are BUGS[1], JAGS[2] and (recently) Stan[3] as small semi-declarative languages for MCMC model building, fitting, and checking.

SQL is an obvious example of a component of the "simple transformations" step.

[1] BUGS http://www.mrc-bsu.cam.ac.uk/bugs/
[2] JAGS http://mcmc-jags.sourceforge.net/
[3] Stan http://mc-stan.org/
After having paid the taxes with no safety net, the constant risk of deportation hanging over their heads, aaand a ridiculous green card process that can take a decade or more. (My parents are a biophysicist working for NASA and a mechE working for a printer company and it took us FOURTEEN YEARS).

14 years of taxes is quite a bit at an effective 35% rate without the promise of social security of any kind.
The Google Creative Lab
When Does Autogrowth Happen For SQL Server Data Files?
Review of Sublime Text 2 and SlickEdit
> And it will put every local person out of a job, or force them to work for a wage lower than they were willing to accept in the first place, thus driving down minimum wage. That's a great way to turn your country into a developing one.

I can't tell if you're trolling or not, either.

I hope, you know, wages are high in the rich world because of high productivity (in sectors that produce tradeable goods)? Not because we have _not_ allowed foreigners to come in. (And if I lived in a country where that was the case, I'd be off for a less fragile economy within days.)

Immigration used to be much easier in Europe and the USA in the 19th century. When those countries first became great.

Full disclosure: I am leaving Europe for Singapore. A country with a very business-friendly immigration policy.

> That's a great way to turn your country into a developing one.

Poland and a few other countries to the east of Germany joined the EU. Their inhabitants now have the right to work everywhere in the EU. Did wages in the rest of the rich parts of the EU fall down to Polish levels? No.
The entire point of @extend is so that you don't get the extreme code duplication of mixins. I can't speak authoritatively on LESS since I stopped using it a long time ago, but what happens when you apply that `.media` pattern to another selector? It duplicates all the styles, instead of grouping common selectors into one style definition like @extend does.

And the point is even @extend can get bloaty when nested, but placeholder tags avoid that problem, and remove the extra pattern classes from the output.

So the article is actually advocating that you stop using mixins. Mixins aren't OOCSS, they're just copy and paste made easier.
Ask HN: How risky is outsourcing design work overseas?
I have a startup (www.couchster.com) approaching its public launch. All our CSS is custom, we're not using a CMS, but as the developer who designed all that CSS is not an expert, there are some design issues that need to be resolved prior to launch. I've been getting quotes from a large number of designers to overhaul the site (adapting it to a responsive design and fixing the various bugs we've run across so far), and the gap between the domestic and foreign options is dramatic. I'm typically loath to use foreign developers, simply out of quality concerns, but given the limited scale of work here and the fact they'll be working off an existing set of code, I'm not sure how great the downside is here. So how about it HN, how risky is it to outsource this kind of project to a foreign developer?
Are you sure that's what he's saying? Is he suggested all patents are impediments?

I just skimmed that paper and I see references to semiconductors and software. The word "pharmaceutical" only appears in the title of a one of the references. He never discusses pharmaceuticals.

Maybe the IT industry has enough cash to make us all forget about other industries that use the patent system such as the pharmaceutical industry. Maybe we can stay focussed on software as a raison d'etre for everything. If patents hurt software, then they must be abolished. Never mind how this might impact other industries.

The only thing I "disagree" with is that the focus is solely on software. Where were these "abolish patents" arguments from Nobel Laureates in Economic years ago, before the smartphone era? Why weren't they arguing against patents that make it more difficult for smaller players to develop drug treatments and make the treatments that are developed by large players more expensive for everyone?^1 Or maybe they were and I just didn't notice.

I'm just not convinced that someone who focuses almost entirely on IT and particularly software truly understands _all_ the dynamics of the patent system. It makes me skeptical. Software is a recent entry into the patent game. The absurd behavior of a few IT companies and patent trolls emerging from IT (the term patent troll itself was coined by an Intel lawyer) is making us question the very notion of patents, for _any_ industry. Am I the only who find this a bit peculiar?

Let's take a step back and look at the big picture. Before these IT clowns got so seriously involved with patents (the increases in the number of patents they've filed for and been granted in a relatively short span of years is, at least to me, quite shocking), how many scholars were proposing bold ideas about "abolishing [all] patents"? There have been serious problems with patents for many years. But maybe they have just never been exploited with such insulting flagrancy until now, thanks to the greater participation of the software industry and one fashionable hardware company in particular.

Maybe the real pressing problem is not patent but IT executives and their child-like ideas about how to conduct business.

1. Years ago, there were people arguing for patent _reform_ (not abolishing an entire system) and warning of the frequency with which bogus software patents were being issued. And even just arguing for reforms, they seemed a bit crazy at the time. Needless to say they did not have "Nobel" attached to their names. My, how things have changed. I wonder what they think now?
On the Importance of Graphs
I have used it extensively for both memory reduction and message size reduction. In the latter case, we had fixed-size messages with multiple components, so packing the values made more sense. We had things like custom floating-point formats, encodings that packed X n-bit integers into Y 32-bit integers, common exponent encodings, and other stuff.

Many of those encodings and packings, particularly for the fixed-size messages, used structure bitfield magic. We has a few variable-sized messages too, though, where I had to do things like what the OP did.
Kevin Rose and Bill Maris on Google Ventures
KDE's Plasma Active 3 released with new apps
a lot of times bike thieves paint the bikes
Show HN: NameThis.net - A naming tool for hackers. RailsRumble
sigh I'll need to create an Origin account and always be online to play this, right? I miss the days when we could simply install a game. The only validation being a product key.
I agree with the sentiment. However, I hesitate to embrace Dart, after Google killed off a huge number of APIs earlier this year. Go seems to have much more traction at Google so I think it is safe, but Dart still has an experimental feel to it. I'd like to hear a long-term commitment from Google to Dart before I really jump in.
jc-denton replied, but appears to be hellbanned. His reply looks like this:
---

Humm tried to implement it simply using std::complex but it does not give me meaningful results. What did I do wrong?

template<class T> void CalcRealPercentage( const complex<T> from, const complex<T> to, const int intervalSize, std::vector<int>& intensityMap ){ auto height = to.imag() - from.imag(); auto width = to.real() - from.real();

assert(intervalSize > 0 && height > 0 && width > 0 && from > 0);

intensityMap.resize(width * height, 0);

for (complex<T> c = from; c.imag() < to.imag(); c.imag(c.imag() + 1)) {
for (; c.real() < to.real(); c.real(c.real() + 1)) {

for (auto i = 0; i < intervalSize; i++) {
complex<T> g(i, i);
complex<T> result = g / c;
auto imagPart = result.imag();
if (imagPart == 0) {
intensityMap.at(c.imag() * width + c.real())++;
}
}
}
}
Google Brings Call Reporting To AdWords Express For Small Businesses
No way the $20/hour rate is going to stay that low in the Bay Area, unless they run it as a loss leader.

You cannot get any cleaning person around here for less than $30/hour. I don't think it would be possible to pay people the legal minimum wage and make profit at $20/hour.
Actually, you just waited until we'd almost forgotten your earlier post...
Looks like Tropico.

I personally would like to see simulation games offer "tilt-shift" as another option in their video config.
Attention too seductive to quit
I would recommend easyvideoplayer as an alternative to vimeo. Your videos are hosted on Amazon S3 and you can control where your video can be played.
> You've really never been able to install, for example, Linux overtop of Windows on an ARM device before.

Only because there's never been a port of Windows to ARM before.

If you want to claim locked-bootloader Windows RT devices represent a new class of hardware like, say, the Kindle, then I guess we'll have to see how they end up relating to the rest of the market.
This is what I was thinking as well. Apparently in SASS they only had mixins that work like classes and are included in the output and now the new "placeholders" act like .mixin () {} in LESS.

The example also combines
hr {/* style /}
.separator {/ style /}
into one selector
hr, .separator {/ style */}

but maybe that is something a CSS minifier should be able to do?
I'm not justifying the H1-B system. I'm justifying our country's exercise of controls on immigration.
But then, why isn't the market saturated?

Because the price isn't fixed. If you dump a whole bunch of bikes on the market, you'll have to lower your prices to sell them.
"Every year, one in every five children and one in every four adults has a diagnosable mental illness. A quarter of all mental illnesses are considered serious."

1/16 adults having a serious mental illness seemed awfully high to me, but I went and looked it up and that may actually be low-balling it: http://www.nimh.nih.gov/health/publications/the-numbers-coun...
Chris Eppstein recently wrote a comprehensive article about the changes in Sass 3.2: http://chriseppstein.github.com/blog/2012/08/23/sass-3-2-is-...
Makes me think of this:

25. A Craigslist competitor. Craiglist is ambivalent about being a business. This is both a strength and a weakness. If you focus on the areas where it's a weakness, you may find there are better ways to solve some of the problems Craigslist solves.

http://ycombinator.com/ideas.html
Wow finally a tool for this damned links. :)

I have one site with many damned links maked for the competence.
"Your searches on Google.com may bring up relevant emails, files and more from Gmail and Google Drive"

https://www.gstatic.com/gft/gd1_kt8j8a.png

Check that picture out. Immediately, people can tell that you have email from a certain sender about the topic that you have just searched, even before you click "Search results".

To just get all the comments out of the way:

@adgar2: Senders and subject are available: Subject is the search query, sender is seen right there in the screenshot. Looking over the comment, I probably communicated that people could see the body of the e-mail. That's my mistake, I meant to say that people could see senders and subjects.

@Karunamon: It's real obvious when I'm opening my e-mail that people can see my e-mail. I wouldn't expect that when just searching Google.

All in all, as I said logging out is a perfectly viable option, but the slip up at the wrong time (e.g. getting some spam that passed your filter, searching "ass" while on your way to finishing typing assassin's creed or whatnot, and having "Gmail results: messages from xxx..., Jane Doe,...and 2 others" show up).