skysight-inc/HackerNews huggingface dataset:
One piece of advice I have for people writing a new language.

Consider making your language so you can do one-character lookahead, with something like the 'shunting algorithm' to handle precedence.

I work on a system called gap ( www.gap-system.org ), and when parsing we only ever need to look one character ahead to know what we are parsing. This makes the error messages easy, and amazingly good -- we can say "At this character we expected A,B or C, but we found foo". It also makes the language easy to extend, as long as we fight hard against anyone who wants to introduce ambiguity.

If your language is ambiguous, and you have to try parsing statements multiple times to find out what they are, then your error handling is always going to be incredibly hard, as you won't know where the problem arose.

Of course, if you are parsing a language given to you, you just have to do the best you can.
We previously knew for quite a while that the trigger will happen the day after the referendum.

A further statement saying that it will be March 29th instead of "by the end of March" makes it seem ever more likely to happen (compared with the seeming uncertainty last summer).
San Francisco the political entity what is that? At any rate the blog post isn't about politics at all.

San Francisco is a city and the "Bay Area" is a region. In London people from both Chiswick and Hackney which are quite far away from each other both say they are from London. Someone from Sonoma and someone from Santa Clara don't say they're from San Francisco.
Where are you getting that quote?
"Stampede away from the mac" is a complete overstatement, Apple still makes the most profits of any computer manufacturer.
It's because they switched to MySQL isn't it?
I wrote some time back a tutorial on this: http://lisperator.net/pltut/ — but the implementation language is JS, and the language we implement is quite trivial (no objects, inheritance etc.; but does have lexical scope, first-class functions and continuations).

I think Java is ugly, but putting this knowledge in an accessible book is great. Typography is also very nice.
It's 2017, and e-books didn't replaces paper books, tablets didn't replace textbooks or laptops, gamers still use their PCs (it's not dead!), and consoles are still a thing despite the popularity of mobile games.
I think Scandinavian countries have often been more welcome and generous to refugees. And they often get more rights with respect to citizenship and assistance in training and working. The big problem with Scandinavia for refugees is that despite generous welfare programs, there are very few low skilled jobs. Southern Europe is easier in the regard although they seem to often be more racist and give less assistance.

The US gives little aid to refugees but has a lot more low skilled jobs, which they can do.

I know this is subjective but I'd claim Nordic countries are among the worlds least racist, so it makes it easier for foreigners. But let me qualify that. I think in Canada and the US you probably find a bigger chunk of the population without any kind of prejudice more ready to higher foreigners. Rather my claim as that extreme racism is very rare in Scandinavia. There might be a prevalence of a mild form of prejudice. But I think e.g. despite the US being in many areas more open minded you can have a lot more extreme bigotry and hatefulness towards minorities.

E.g. stuff like Neonazis and white supremacists is something I can only remember from the 80s in Norway, while it still seems to be a very real thing in America.

Londoners and many Brits are probably more open minded than many Scandinavians, but has Brexit showed there is quite extreme xenophobia alive and well in Britain which doesn't exist in a comparable form in Scandinavia.
A higher order component for declarative data loading in React and Redux
from our perspective (very focused on technology) it seems that way but I have my doubts. Jones was hired on as a marketing and PR oriented executive. I don't think his role had much of anything to do with technology or dealing with the lawsuit. My opinion is that he got out of there because he didn't sign on to be doing constant spin and damage control over a rancid company culture.
Simple economics argues you are wrong about the costs aspect of things here. Do you think drivers are simply doing public service? Perhaps they have special gas pumps that are 30% cheaper?
Perhaps there is another perspective on killing yourself that isnt in the pejorative?

Just a thought
Canada seems to be second from the top in that scale (though I have no idea how you would choose the scale for a chart of "ethnic diversity"), and only 7th from the top of this "happiness survey".

I don't think either dataset is gathered reliably, but if you're looking at a correlation there, there are glaring exceptions.

As somebody who lives in Canada, I think cultural compatibility is important, but ethnic homogeneity is unnecessary. Ethnicities are generally a proxy for cultures, Canada has a great deal of success in separating the two, though the prime minister doesn't seem to get it.

Anyway, not a hard-and-fast opinion, but I think ethnicity is a weak bond, and probably should be.
"Black hat" SEO will almost always work in the short term.

I run a few sites and have seen competition pop up very fast, outrank me for a few months (one was even for almost a year), and then disappear completely.

You then have a choice, ride these waves out, or play in the mud. At some point, Bad SEO will get caught and penalized/de-indexed, which for anyone that's not a household name, can entirely ruin your business if this is a main lead channel.

I hate to sound generic but I think you just have to stay on your path, and bolster your own link profile with good links. This might be a good opportunity to hunt mid/longtail queries to boost traffic in less competitive SERPs.

As a secondary, bigger picture thought, I think this is also an opportunity to hunt for more inbound channels. Relying too much on SEO is playing with fire.
Even UK doesn't pay super well unless you work for a financial company and are close to London. I'm in the North East, so while I enjoy cheap cost of living, I don't make that much - my salary could easily be matched by pretty much any industry in Germany or France.
The Azul Zing inbuilt tooling was already very very nice 3 years ago when I got to try it for a bit. Of course in the trial with Zing GC was no longer something to worry about as that just worked :) I couldn't get the budget round and some other work reduced GC pressure so did not use in production. Now hoping the Shenadoah GC will bring some of the benefits of Zing for free or redhat included pricing.
For me as a Swede, January is the hardest month. November and December when it gets real dark aren't too bad, you have Christmas and all that to both literally (what with all the lights) and figuratively light everything up. But then January comes around, Christmas is over, the lights all or mostly come down in the first or second week, and you're a couple of months away from any kind of spring rearing its head, with nothing to keep you afloat in the meantime through all that darkness.

I'm not gonna lie, it's tough. January is my least favorite month in the nordic countries.

As soon as February comes around things start getting better though. There's optimism in the air that while it's still cold and snowy (possibly even colder than January) spring is just around the corner. There's also plenty of winter sports around February and early March, such as the Vasa race[1], which is always fun.

Come April and May, when spring is in full force, the optimism reaches a fever pitch, culminating with midsummer eve in June. This is a huge part of the build up to the nordic summer, which is the most amazing thing you'll experience – in great contrast to the deep darkness of winter, the light simply never ends! If you're way up north, this is literal since the sun never actually sets. It's quite a sight.

Still, I've lived in other parts of the world with different climates and I wouldn't trade the nordic climate for anything. Like you say, the physical sense of the year progressing is something special, and even to the point that I almost get depressed without it. Certainly, if I miss the nordic summer I'm gutted.

[1]: https://en.wikipedia.org/wiki/Vasaloppet
Meta-bigotry
Super gadget for headphones
Except we are looking for the extreme outliers. Bill Gates was arrested, Steve Jobs and Wozniak made blue boxes and they went on to be the 'model' Americans. Feynman is famous for breaking a host of security rules. So, you may be rejecting 50% of the top 1% of 1% of 1% in favor of those less talented.
I wonder where all these "billions of billions" IoT devices from the last "next big thing" went as had been forecasted for ~5 years now.
> A second referendum... for example

What if 'leave' won that referendum by an even larger margin?

Before you think it couldn't happen, bear in mind that the whole mess was started by someone calling a referendum they clearly thought they'd win as a way to shut down political opponents who wanted to 'leave'.

That didn't exactly work out the way he expected, and there's no reason to believe a second referendum would work out any better - especially since the pendulum swing is currently swinging hard against globalism.
Background story:

Baidu totally missed China's mobile Internet market compared with Tencent or Alibaba.

It's so called O2O (a term mostly used by Chinese) market share is burning money.

Baidu's dreadful bet is today's AI hype.
I've lost over 25 pounds in the last couple months by changing my diet slightly. I essentially eat a nice sized lunch and no other real meals. I drink a protein shake with some peanut butter and a banana for breakfast and a soylent drink for dinner. Sometimes I substitute the soylent for booze if I've got an event to go to. I fast, skip the lunch, on Mondays. It's incredible how different my body feels without that extra weight and barring a couple nights of thinking about the gelato in my freezer it hasnt been that difficult.

I'm not sure if I'm just now gaining the will power to stick to a diet or if I got to a weight I was truly uncomfortable with but I wish I could get my family on the same plan to avoid stuff like this.
I think we can all see what is happening: the Bulkhead-ing of nations. Yes, Brexit may be freedomcentric, or boomer-centric, or racist, or whatever. But the trend is a larger one that is happening across the west and the 'developed' world in general. Nations are responding to the changing world (AI, the coming CRISPR revolution, IoT doomsdays, etc, and climate-change taking the lion's share) by closing themselves down to globalization and immigration and trying to bulkhead their people against the waves of change. I am on the fence as to if it will 'work' as a method. Maybe for some countries it will, maybe not for others or smaller groups of others. But I think we can all see it starting to happen in many countries.
We get to choose, when there is freedom to choose to whom we work for.

Of course, changing jobs isn't always an option.
Stryker Sues Biomet for Stealing Reps and Corporate Secrets
If the bridge sites pass the test of being legitimately useful information rather than just spammy then I wouldn't consider what they are doing as black hat. This test is subjective or at the mercy of Google's current algorithm.

If they are keyword stuffed junk then your SEO people are right penguin slammed keyword stuffing hard. I know because I was using these tactics back then. On the other hand a keyword specific micro site with useful information can rank and likely eventually pass on useful pagerank to the main site.

The question I don't have the answer to is the period of time the site becomes beneficial. If you buy a new domain and setup a micro site I personally think it will take a year or more before the linked domain can benefit based on what I've seen. I base this on the fact when the micro site starts to rank itself and receives traffic. At that point I think it is safe to assume some rank is being passed onto the main site.

So if I were in your shoes I'd analyze the age of the bridge/micro site, quality of content and the ranking for the targeted keywords for that domain to decide if your competition is benefitting from it.
6 Quick Tips on How to Combine Fonts and Typefaces Like a Pro
Surely hash indexes have some stable ordering you can order by, even if its meaning is obtuse.
When I interned in Las Vegas, I often joked that it was cheaper and just as entertaining to go play some flashy slot machines vs going to the arcade.
robot driven electric powered vehicles that operate 24/7 (minus maintenance and recharge time) are a major way to gain efficiencies in drivers/vehicles/fuel. the nature of an automated ride hailing service, also, gains efficiencies in densely populated areas. it doesn't quite reach economy-of-scale level stuff the way a manufacturing business does, but there are definite efficiencies that Uber (and their competitors) are aggressively pursuing.
Unfortunately this was due rate limit on Github
Criminal behavior is very wide spread, arrests are most common at the bottom. EX: How many top bankers have we arrested after the banking crisis?
Insightful comment thanks for your anecdote.
Analysts who have looked at it from the outside suggest Uber may at best be worth 1/3 its last financing round valuation. You are not alone.
Try this:

https://www.forbes.com/sites/timworstall/2015/03/23/leaving-...

'So, obviously, it's not in fact the leaving or not of the EU that causes the changes in the economy. It's the policies of openness to trade that do.'
I didn't see mention of first/follow sets. Might be handy to have that in there?
correct. they've fucked themselves. i'm really curious what their financials look like, because i bet google has an approximation, and google may know that this lawsuit's costs will break the camel's back.
Can you give us a source for your claim that EU accounts are not audited?
This is a funny one. The economic argument was principally a Remain argument, and was for the most part ignored. I think this was for two reasons 1) there's plenty of people who just didn't buy it, there was enough smoke thrown for many believe it wasn't settled, but I think more powerfully 2) a lot of people don't really think their economic well-being is linked to the country's economic well-being. In particular, there's a belief that a worse economy will principally affect London. (Sadly, it appears the opposite is the case.)

Anecdotally, I've spoken to a number of Leavers who talk about taking back control (most of them also believe immigration is a problem). They tend to be working class and feel that the government doesn't listen to them. I really seriously doubt this vote will make a blind bit of difference on that front.
For me, one of the most rewarding task in learning a programming language is writing a compiler that can compile itself though more complex programming languages like Haskell and perl6 are very challenging but doable.
Spring Cleaning Tips and Tricks for Homeowners from HouseLogic
My source for the explanation of motors in household appliances wearing out, is from people who are in the commodity metals recycling industry (i.e. metals like steel/copper/alu sold for scrap and recycled). So it is based on what they are seeing - there might be some bias, as obviously they are only seeing those units that have been sent off for scrap.

Aluminum wiring in houses, has some known problems, such as metal fatigue and differences in thermal expansion between copper and aluminum: http://www.alwirerepair.com/aluminum-wiring-whats-the-proble...

What might be the case, is that as copper increased in price, manufacturers quickly switched to aluminum but did not allow/adjust properly either for the greater expansion of aluminum when heated, or, did not have their anti-oxidation finishes that coat both the wire and the terminals, perfectly adjusted.

If so, current "second generation" motors should be failing at a much lower frequency - but we might not see that as an effect yet due to that group being newer overall.

Aluminum conducts electricity much better than aluminum oxide, which forms almost immediately if aluminum is scratched or otherwise exposed to air, thus the anti-oxidation finish.
Smart home apps
I experienced nearly the exact same thing except it was from a guy that worked for a heating and cooling manufacturer. He specifically talked about how they tested their products to last 2 times longer than the warranty. If they lasted longer then they looked for cost saving opportunities. This was in 2001.
Apple is bringing more augmented reality experts to work on future iPhones
I don't think you should be downvoted.

Historically complaining on HN has been an excellent way to get the attention of people who care and can do something about things at these big faceless companies that skint on customer support.

I for one remember when Matt or Android devs etc would wade in if one of the community got their point across on HN.
And how the hell do you "hold accountable" a traditional old media? They are big powerful conglomerates that are only really accountable to the politicians that pay their salaries, the few cents you give them by buying the paper is a drop in the ocean. At least with FaceBook you're on a level playing field with everyone else that's posting shit, and there are a LOT of people posting, so you have more freedom to pick your sources based on their objective truth or any other metric you care about. And if you don't want to hear the truth, you won't be reading the Washington Whatsit, you'll be reading the Daily Mail in the first place.
Sometimes in school (and life in general) there are things you aren't super interested in but must learn anyway to satisfy.
There used to be some kind of automated reporting form at https://www.fact-uk.org.uk/ but I haven't checked in a while. (I was trying to report someone for singing "Happy Birthday" in a restaurant back before that case was settled.) Another thing you could try is posing as a potential subscriber who isn't smart enough to understand PayPal and ask them if they'll accept a payment by bank transfer. When you have their bank account details you can report them to the police. I did that once to a craigslist property rental scammer and the police wrote back to me that they didn't have enough time to follow it up, but I'll bet copyright infringement is a much higher priority of theirs.
Official announcement: https://dolphin-emu.org/blog/2017/03/16/proof-of-purchase/
I'm still dubious of any micro benchmark that says "x is better than y" since these are often not real world work loads.

Tuning/optimization starts with using the right schema.
> eastern European wages

The caricatures of Middle America really never top, do they? Good developers in St. Louis, where I'm from, make six figures.

The GDP per capita in Romania (to pick a totally random example (it's literally just the first place I thought to check)) is $9,499. In Missouri it's $42,984.

There's this weird perception that the Midwest is like a third-world country, a perception that's plainly ignorant.
Yes, but those are not free-range New Zealand Lambs which have grazed high in the mountains.
Remember to consider both sides in your analysis.

It is absolutely true that longer patents would help some small businesses. But it is ALSO true that longer patents would HARM some small businesses. After all, large businesses own most of the patents. So long as their product only requires one patent, the small business is at no real risk from existing patents and is free to use their own patent to establish a foothold in the market. But do most products require only one patent? (Do any in this day and age?)

If a small business requires several patents to conduct their business and these are largely owned by existing, established firms, then patents may actually harm small businesses more than they help. I would be interested to see actual statistics on the size of each effect: I would be unsurprised if it turned out that patents do more harm than good to small businesses, even if the small business holds a patent.
My house is about 70 years old. When I bough it in 2008, there were several old appliances (probably on the order of 25-30 years old) and they worked like champs, until the washing machine failed. I replaced it with a used old washing machine.

Eventually the dryer stopped working and I started looking for replacements. I stopped at a local used appliance place and described the problem, the guy who worked there suggested that since it was one of the old sturdy types, it might be a simple repair. I had him come out and he took a looks. It was a bad fuse. $40 later, I was back in business.

I dread the day when I can no longer have them repaired and have to replace them with disposable appliances.
In general most states in the US are very similar to each other in terms of laws. There are some newsworthy exceptions, but in most people's day-to-day lives, basically every state is going to be the same with regards to laws and freedoms.

The biggest difference you'll see is different cultures, but a culture doesn't tend to define itself by the state. Most cultures in the US are centered around geographical region (West Cost, Deep South, Midwest, etc) and even then vary wildly based on the city you're in (Buffalo is very different from NYC, Sacramento is very different from San Fransisco, Portland is very different from Eugene, etc).
Someone please explain to reporters that the universe isn't zero sum.
Apple are superb at introducing aging, but specialized tech to the mainstream masses.
Show HN: A better bias estimation for HyperLogLog
Ah yes, the Radar Range: https://youtu.be/uEywGpIt0vw?t=12

(That's Mike from Breaking Bad I think...)
In her defence (not that she really deserves it), Theresa May was fucked either way by setting March as the deadline. The sad part is I'm sure it was incompetence rather than a calculated slight.
The EU is controlled by an informal body that doesn't exist on paper called the "Eurogroup". Decisions taken there, affect the entire continent. That group is tightly controlled by the German Finance Minister with his Hollander counterpart acting as a messenger. All other European Bodies hold literally no formal powers, while at the same time trying to somehow justify their existence.

I'd say that the UK would have a problem in the long run if the EU had any chance of reforming Brussels. I don't see how this can happen. The EU is disintegrating as we speak.

Regarding the anti-immigrant feeling of Britons. It's not just the UK. Greece has Nazis in parliament since 2010 or 2012 AFAIK. Anti-immigrant policies are enforced by socialist governments throughout Europe (Hollande, Merkel, etc.) as result of Brussel's austerity policy which led to a financial stagnation, but hey if it brings votes to the party. Far right parties already set the agenda in the EU, without being in power, because their positions are the ones that bring votes.

Picturing the EU as a nice place is misleading at best.
Some humans can not make mouth sounds; some humans don't have arms.
You already can't hit that baseline with one language.

As somebody who has done a great deal of idle bloviation about ideal languages, I can say that there are many obstacles. For example, you need to add a true noun because a new material is discovered and it's getting very popular. You want a short and efficient name for it, but all the space is allocated. So you add it to your table of weights, and suddenly every prefix-coded word is pronounced and written completely differently.

If you can't use prefix trees, how will you allocate the words efficiently?
Groan. Rust fanboy here, but c'mon. Are you a member of the "Rust Evangelism Strikeforce" (as seen at http://n-gate.com/)?
And someone can still love their job even if the language in common use isn't their personal preference.
Almost 2 years old Adware found on Google Play with 50K+ installs