skysight-inc/HackerNews huggingface dataset:
Why is everybody talking about ruby's regex implementation? ^, \A, $, \Z, \z are standard across many languages, based on PCRE syntax. This isn't a ruby problem; this is simply developers who are not experts with regular expressions not fully understanding how to write patterns with the tool they are using. There are no problems with regex implementations, only problems with regex use.

Anybody interested should have a read through http://pcre.org/pcre.txt. The syntax presented here is used in perl, php, ruby, python, and many others.

Also, nobody ever uses \A without the /m flag. You use ^, it has the same meaning unless you specifically add the /m flag to allow ^ to match at the beginning of any line rather than at the front of the string only. This distinction will only bite developers who just add flags like /msig for every regex, because again they don't understand exactly what every flag actually does.
> A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable.

-- Leslie Lamport
Living in Germany is relatively difficult without speaking German, even today.
> ... before the mere thought of innovating I felt like I was some of the first people ever to be doing something where in now I find it was all just a race. I.E. - Someone else could've finished that super fancy product and made lots of money

You're implying that technology doesn't ever improve people's lives. But, especially if you take longer term view, it clearly can and does.
Actually, it might very well be easier (in many senses) for the US military to kill someone overseas than domestically.
Not close at all. --Wait, which one are you saying is higher? Because different people have different values; there's no need to shit on someone's life choices if they aren't hurting people.
> trigger responses

> game
I Grew Up in a Polyamorous Household
One can view regulatory capture as a successful penetration test of democracy.

What lessons can be learned from analysis of democratic process vulnerabilities?
> I think that within about 15 minutes of a general IT strike, the electric fence would go out, the velociraptors would escape, and the jedi knights would start to wish those were real light sabers.

I got a good laugh at this, seeing it as a reference with the velociraptors but only realizing that all of those things are in their park as I finished the sentence.
I don't think double jeopardy enters into it. You can't prosecute someone for something they've been pardoned of, even if they were never indicted before (and pardons without indictment have happened plenty of times).
Ruby inherited this behavior from Emacs (matz' favorite text editor) among other things.
HN: Apple Watch – 6 Features that make it a breakthrough User Interface
http://en.wikipedia.org/wiki/Voting_system has a nice comparison chart half way down.
After owning Echo, Roku and Fire TV, I'm super-bullish on voice commands finally being ready for prime time. It's a terrific interface for home audio, TV and car audio.

I've gotta think Apple will open up Siri to app developers sooner than later.

Houndify looks interesting.
> I switched from MySQL to Postgres. Specifically, we are using CitusDB. The performance we are getting is nothing but staggering, due to MPP.

You are talking about switching between them and even concluded, "I don't know of any valid reasons why anyone would switch back."

It might not be what you meant, but to me, it also reads as if you're comparing MySQL to CitusDB.
I can't speak for digitalsurgeon, but I can think of a few (without having ever studied at either of those universities):

1) The professors. Imagine taking classes and interacting with Nobel prize winners, or other famous people in your field (let's say, taking a class with Knuth at Stanford).

2) The networking/social aspects. Imagine being college roommates with "the next Mark Zuckerberg", whoever that may be.

3) More cynically, the pedigree. This one isn't strictly required, but it helps enormously if you want to get into academia, and it can also help you with an industry career or start a startup (it can make things easier).
Revolution First 9$ Computer Go to Mc Donalds for 9$ or Buy Computer?
"with only energy you'd be able to melt / vaporize just about anything and separate the atoms by mass with centrifuge."

Sure. If energy was cheap enough, you could get gold (and just about everything else) from sea water.
Great concept! Just a tip: people search for weird things, like their credit card number...but I see no way to delete an accidental search...

What stack did you use?
Actually, forgetting is the way to feeling as happy again. If you can forget.

Imagine standing at your child's wedding, or your grandchild's wedding, beaming, and then remembering that your spouse isn't next to you.
Zomato shuts down Urbanspoon app, details post-acquisition feature integration
If he promises that, I'll hold my nose and hand him money.
Here's one lurking in javascript:

/A-z/ includes "[]^_`" [1]

Now go search github [2] and see the +1k repos that have this bug in their parsing of base64

Sources:
[1]: http://wtfjs.com/2014/01/29/regular-expression-and-slash

[2]: https://github.com/search?utf8=%E2%9C%93&q=INVALID_BASE64_RE...
> pirating popular games and making them look professional.

that's not pirating. you cannot own an idea (and i would say software patents aren't good, despite their current prevalence). If the market demands good looking games, i guess as an indie, you either just have to compete, or die out like any other business would.
Those aren't really weasel words. It's just charged diction.
Stay at a fun retirement home!
I don't believe it's stretching. People specifically click through to that article to hear the first hand experience of the person who dumped an Apple I. There's an interesting angle to the story in this version; the actual article posted is void of any such angle of interest.
On the flip side, you only get one life. Each person has to make the decision how he/she wants to live it. Is a larger legacy worth pursuing at the cost of those claimed to be dear to each person? That is a question one must consider, and I don't think there is a right answer.
I don't know if you've done this anywhere, but have you created any guidelines on tuning Influx based on workload?

We took a look at it last year, looked fantastic until we actually gave it more than a couple of metrics - and then it crashed and burned in so many ways. I tried fiddling with sharding and replication with no great success.

This was just before you were planning to get rid of the manual configuration for these things - so perhaps it's improved since then.

Having some idea of "If you want to store {X} metrics with {Y} updates per second for {Z} time, then you'll need at least this hardware configuration" would be great.

As it is, we've stuck with graphite, and we're kinda waiting for you guys to go past 1.0.
>we choose the society we want

That's not really true. I don't think there's any meaningful sense in which anybody chose this society. We don't have that level of control.
It would be nice if he could see his family again, and moving one person is much cheaper than moving many.
ruby has half multine mode by default, which causes the issue. Namely, /m only changes the behaviour of "." to match \n, but ^ and $ work the same.

(and incidentally, that would make changing it easier, you can just request that users specify a flag all the time and deprecate the one without).
I know that.

But I work for a private company, and I would bet the majority of HN readers do too. Imagine if your starting salary was known to your coworkers on the day you started, but not vice versa.
How i make my first milion
> By the way only 280€ in Munich seems a little off to me...

Yes, it's more to the tune of 500€ at average for a room in a shared appartment (Source: https://www.wg-suche.de/magazin/wg-zimmer-preise-an-hochschu...). It's probably possible to find something a bit cheaper, but 280€ would be very optimistic. Maybe this is the price of some University accommodation, which is very limited in capacity, i.e. impossible to get.
> All he did was weaken a country by his actions.

Ah, the irony of mimicking the villain's final moments in A Few Good Men. The villain claims to protect the country's high ideals, yet does so by flagrantly violating them, and in the process utters your line, almost verbatim.

> His documents only confirmed a lot of what people already suspected.

Then how could he have weakened the country? This is a have-your-cake-and-eat-it-too argument.
Which country are you based in?
Better trumpets are actually often more difficult to play because of extra weight and wider bore. Depends on the model of course, and in other ways they'll be easier to play, like for intonation, smoother valves, etc. A player might also choose to use a mouthpiece with a deeper cup, which gives a warmer / bigger sound but makes it more tiring to play, especially in the upper range.

That said, I'm sure Pops could handle just about any trumpet you threw at him!

It's said that Charlie Parker played a plastic saxophone at times because he would pawn anything he owned of value to buy heroin. Bet he still sounded great!

I'm not sure how this applies to AAA game dev, though... maybe something like, every new performance venue built is larger than the last, which results in bands getting more members, longer arrangements, lighting and set design, signers, dancers, etc.
I find the wording more questionable in this one. Still signed, though.
In general the culture in China encourages individuals to be its best and care less on teamwork/group-leadership. It's slowly changing but this will take some time.
I agree. But hopefully we can provide a bigger incentive not to.
> they'll never call a Chinese or Korean "gaijin" for example.

Not true, "gaijin" can be used to refer to any foreigner/non-Japanese. It's just that there are many Chinese and Koreans in Japan, and the countries are neighbors, so it's common to use the more specific words "Chinese" and "Korean" when the nationality is known.

In the same sense that I might say "Eastern European" but a Hungarian would say "Romanian" or "Czech" etc.

Also, though gaijin used to mean "outsider", and that usage is still listed in dictionaires, it's basically obsolete. Nobody (in Japan) calls a Japanese "gaijin".
Running this argument in the other direction: if you want an uncompromised user experience, you should use or build a centralized system rather than a distributed one.
There are also English BA programs, like our program in computational linguistics. We have a lot of international students, including students from the US.
My apologies -- I should have phrased as "as recently as 2-3 months ago".
Oh, I see. You're making that kind of argument--introducing some new and arbitrary standard called "all".

So, back to the original point: the OP commented that the U.S. does X. You then stated that his claim was "paranoid nonsense".

If someone has a history of doing something, then it's not "paranoid nonsense" to point out that it's something they do. It's just a rational observation.

So, that's it then? His claim is paranoid nonsense because the U.S. hasn't propped up all human rights abusers.
Good message.

In the old days we needed a Buddha, Jesus or a Krishna to remind us of the simple truths. Today we look for them in blog posts. Everything changes and nothing changes.
You just are not the same person after that long. You remember the pain and what it was like, but in a muted way, forgetting the real pain and the unknown of going on another day. You are not you of the day afterwards, you have 10, 20 years of time to digest, forget, and deciding not to look in that crack in your heart/soul. You change, it feels like another person had those feelings and those things happened to a close friend, not you.
Devs who never abandoned their projects are doing fine. Not one of them complained about "hostile takeover".
It seems to me that concern over the dictatorship criterion is ill founded. Its failure merely implies that for any given set of alternatives there will always be one voter whose preferences, whatever they may be, determine the outcome. Now if everyone's preferences were known and constant then in theory you could find that person and they would be able to decide the outcome. In practice preferences don't stay constant and no-one knows them all, so as long as you have secret ballots the dictatorship criterion doesn't matter. So you can have the other two criteria which are far more important.
Demo of the Hound Personal Assistant from SoundHound [video]
I think your alias might have gotten cut off; the last color tag is never reset. Also, I don't understand, why disable the pager and limit the number of entries?
I got malware in the installer for Filezilla on my Mac. They shove malware in all sorts of non-windows stuff these days...
Are you thinking of this? https://github.com/youtube/vitess
I agree. Over the last few years, I've start to really ponder if we're layering abstractions and creating black boxes way too frequently. Ah, well. It's a young profession. I'm sure we'll learn from our mistakes.
Man powerpoint presentations after the fact are all but useless for conveying the original point.
The constitution says of treason:

"Treason against the United States, shall consist only in levying war against them, or in adhering to their enemies, giving them aid and comfort."

This is the part you addressed. Perhaps this could be construed as "giving our enemies aid". The actual legislation adds more details. But the constitution continues:

"No person shall be convicted of treason unless on the testimony of two witnesses to the same overt act, or on confession in open court."

Which, actually, may not be an evidentiary standard that could be met here, assuming Greenwald and Poitras don't testify.
Then we should dispense with the admonitions about reducing our focus on "the game", work, etc. in order to focus on "what's truly important in life".

Eating is important.
Isn't EPFL one of the top places in the world for micromechanics and possibly also microelectronics due to the clock making heritage?
lame (lib-lame :) )

I maintain a ffmpeg build and two of codec code destinations are SF. lame and opencore-amr.
Internet Marketers Start Your Own Super Profitable Offline Consultant Business
This is not true. You pay supply/demand. Someone with less expenses, or visa constraints, or other geographic constraints, but equally talented, will accept a lower wage.
Further, these trays are also common in banks, convenience stores and so on. No particular connection to hygiene.
I find it disturbing as well. There's a particular strain of political thought in the US where bad things that happen to people don't count if they're not US citizens, for some reason.
Another place that is completely free is Argentina. There are quite a few American students in Buenos Aires, not as many as in Germany, of course. It is seen as a cool destination to get a degree, with a very affordable cost of living, while learning Spanish.
It is one of the easier ones to learn if your starting point is English. There are also plenty of study materials available -- for free. Plus the Goethe institutes.

You can watch German TV here:

mediathek.daserste.de/sendungVerpasst

Start with "Die Sendung mit der Maus" on Sundays :)
No, Putin is doing it because it's politically advantageous and/or he enjoys sticking it to the US.

But Snowden is in Russia because the US kept him there while he was passing through (going so far as to force down the plane of the President of Bolivia on suspicion Snowden might be on board).
Are we overlooking the crime associated with corporate management, the featherbedding, and how non-union company employees abjectly failed to thrive in the -- what's a "post-post-WWII era" anyway?
This is a good state of mind to be in. I felt this way when I was younger, and as I've aged, I don't feel the same way. It felt better to have your state of mind. Hang on to it as long as you can :)
JavaScript myth: JavaScript needs a standard bytecode (2012)
Well, "foreign" indicates that the operation was likely illegal. You might think that law unfairly discriminatory, but even so, if it is lowering wages, it is a net-loss overall, as more money its pocketed by wealthy owners instead of wage-earning employees.
Waterboarding definitely is, according to the American Convention on Human Rights, to which the US is a signatory: http://www.oas.org/dil/treaties_B-32_American_Convention_on_...

It's article 5.2, sandwiched in-between 'you have the right not to be murdered' and 'you have the right not to be enslaved'.

Article 11 is fairly wishy-washy, but it states that privacy is also considered a human right.
That doesn't make sense. The marginal rate for an H1-B employee should be approximately the same as the marginal rate for a local employee -- If talent is truly scarce, then your existing employees wages are bid up to the max already.
Your whole argument hinges on an assumption that national borders are somehow relevant in determining which workers are entitled to jobs. You could recast the same argument in terms of races, and it holds up equally well -- reserving jobs for whites protects the employments of a country's own citizenry, black people don't deserve the rights of citizens, women should stay home and not interfere in business, yadda yadda.
Saying I don't know is perfectly valid and doesn't require you to be an uninformed person spouting wrong information.
http://de.wikipedia.org/wiki/Zahlteller
This looks extremely cool and I can't wait to try it.

Bug: When scrolling down the page it is very very sluggish, using Chrome on Xubuntu 15.04.
None of the mistakes people make in crypto are intentional. We need better interfaces to help them not make those mistakes.
Your comment is incoherent.

First, it applies so long as a type system is an effective tool at telling you this, and so long as that tool is not completely (or at least substantially) supplanted by other tools. In no way does it have to be "the only tool" - there are lots of tools I find useful to tell me when things are going wrong in my code: types, tests, assertions, linting. Even with the other three, types cover meaningful territory.

Second, as you half note, the system you describe would be a type system (and sounds somewhat similar to core.typed in clojure, though my understanding thereof is tremendously superficial).

The rest of your comment just seems not to follow.

Type systems aren't silver bullets for keeping agility in the face of changes, in the same way that hammers aren't silver bullets for driving nails. You can use them wrong, you can hurt yourself, but you sure want one (... but probably not the weird shaped one with a loose head over there labeled "Java"...).
You're probably skeptical (as I was) but watch this video demo of the Hound app: https://m.youtube.com/watch?v=M1ONXea0mXg

That's insanely fast, compound natural language queries. I'm impressed.
Hold on, what incentive does the EU have to allow US citizens to just go to the EU, get a 4-year education, with full room & board, and then possibly head back to the US? Color me skeptical.
A word of caution: before you decide to study in Europe, make sure that the degree they are offering is accepted in the place where you hope to find a job.

A masters at the TU of Munich from the article is probably not a problem, but some types of European degrees don't have an American (or any foreign) equivalent, and may have to be 'legalized'. American universities are not required to accept a foreign under graduate degree, and may require you to take a number of under graduate classes, even if you've already passed exams in those subjects abroad.
To first approximation, there are almost no people who would have a "grand legacy" that could extend centuries. How many do you know from 1850? Eventually, no one will remember you, and that is true even if you are the most successful person on earth.

The urge to have a legacy is a manifestation of the fear of death, and is primarily an exercise of ego. It does not have to overtake one's life.
What to do if you're desperate?
That doesn't really hold up. Once we are well clear of the minimum wage, there is room to have an inversion where there are 1000 positions to fill and 500 qualified candidates who could auction-price themselves above the profit they generate.
MIT and CMU are not in the Ivy League!
"The most trivial example is that he simply changed his mind—but obviously this has nothing to do with IIA."

Delving further down this tangent... If that's what happened, he would be unlikely to have said "In that case, ...". That usually means "I am incorporating this new information, and it has changed my decision." More likely he would have said, "On second thought..." or "Actually..." or "Y'know..."

Not, of course, that this has much relevance outside of considering English pragmatics.
That's an interesting point. But I don't think the EFF, for example, really feels that strongly about whether negotiations are conducted publicly or not. They're worried about the intellectual property provisions that are expected to be part of the deal. Secret negotiations is just another line of attack. That kind of mentality doesn't even have to be conscious; it's pretty widespread in politics.
In the US it also takes other shapes. Incarceration rates at 1% of the population, including something which could be argued is corporate slavery, with a heavy bias for a particular portion of the population.

If you aren't part of that demographic it may not seem so bad. But the numbers are absolutely awful.
> Consider a cart rolling to a stop. Its motion obeys the DE
v̇=−k⋅v, where v is velocity, v̇ is the rate-of-change of velocity and k is a 'coefficient of friction.'

This is drag, not friction. Friction doesn't depend on velocity.
The Difference Between Web Developers and Web Designers
A Beginners Guide to Git
Sen. Rand Paul: Don’t Trust a Lying Government
What are the things that—on your deathbed—you expect to regret?

Will it be that you didn't spend as much time as you could've with your parents before they died? How about with your siblings? Maybe it was all of the times that you didn't make it to your kids' soccer games, piano recitals, school plays, or graduations?

Or will it be that you didn't spend nearly enough nights at the office fixing your social media startup's bugs?

I don't remember the exact genesis of this, and I really wish I did, because it has literally reshaped my life, but a few years ago, I started asking myself the question 'If I were to die tomorrow, would I regret the way I have lived my life?' And I was somewhat surprised and horrified to discover that the answer was absolutely, categorically "yes."

I dropped out of the startup rat-race, took a good-paying 9-5 job working with people who I (still) really like, and started focusing on the other 128 hours in the week that I wasn't working.

I would hate to die tomorrow, but, if that's what happened, I would be satisfied with how I spend each day of my life. My quality of life and happiness have increased significantly since I first started asking myself that question.
I don't see this. Could you elaborate?
I notice they're using Google Groups for mailing lists - how have people found Google Groups as a technical mailing list provider?
Is it? That is the opposite of my experience! I spent a few months in Berlin and I had to struggle to get people to speak German -- nine out of ten times someone would hear my American accent and immediately switch over to English... I wonder if it varies region to region (I admittedly didn't get out of Berlin too often)?