skysight-inc/HackerNews huggingface dataset:
This is not a lot of data. Without trying hard, you should be able to import the data within an hour. After that, it's basic postgres optimization. But it's hard to offer advice with such a vague description of the update you are attempting.
Hm. Not in Iowa. I see them on their one shelf in the grocery Wall of Dairy. Cows milk has 6 cases.
I don't think they are, but it's obviously the biggest. EU want a sea border keeping RoI/NI open, UK won't accept the break up of their union.
This is well done, thanks for sharing. It uses more of the page, though, if I get rid of the "float: left" on .frame and change min-width for textarea elements to 100%.
JavaScript Visualizer
I guess you're trolling
Goldman Sachs dives deeper into the crypto economy
>and it's hard to burst. Like, super hard to burst

What exactly does 'burst' mean in this context?
Damn not even paying the future of our kids enough money to live in the community they help build and mold. Let's pay the teachers right.
I had a conversation with a career coach recently and he said when he had direct reports, he always asked one or more of the following questions:

------------

What is something you did you were proud of?

What is something that challenged you?

What are you most nervous/challenged by in the coming week?

How are you going to approach these challenges?

What can I do to help you overcome the challenges?

------------

Of course, the report should drive the agenda, but having these in your back pocket can help with one to ones that are overly tactical ("can you help me with this problem I was working on just before we started talking").
Probably because the comments are a dumpster fire and triggered the flame-war detector.
Component Based Design System with Styled-System
Well I guess their PR would suffer, yeah. It just strikes me as so funny -- at 38 year old -- how so much of our world is pretending you don't do stuff for reasons X and Y while everybody knows you do those things for exactly those reasons. It's absurd and funny.

As for how to build companies, I wouldn't know, not a big business owner. But I am guessing from certain point and on they just want to commoditize stuff and make their management easier and quicker. It all starts with good intentions on paper and always ends up with horrific and dyfunctional teams. I have only seen 3 exceptions for 17 years of career of which 9.5 were spent in offices.
It says seaside at the bottom, which is a well known framework for it. But, yeah, they could do better.
Upcase by Thoughtbot – Learn Web Development Online
I agree. That's why it's important to talk about....the things we can talk about.

A friend of mine is visiting Europe. As a yank, he also doesn't have a strong opinion. His first night there, he was asked about Brexit.

He said something like "I don't know. Why not leave if you want to?" thinking that if people had voted for it, even the people against it would see how it looked from far away.

They did not. Instead he lost some friends that night, and it completely blindsided him.

Nobody wants to live in a bubble, but if the group is incapable of reasonable discussion, call it out. Let's move on. Just saying it's important isn't going to change the emotional dynamics. In fact, it'll probably just make them worse. The reason people can't discuss it reasonably is because they think it's so bloody important.
Unsafe is the default. Until a third party confirms its safety, then it’s not safe because safety needs evidence.

If you like to think in probabilities, the likelihood that this is unsafe is far greater, if you judge based on other modern, engineered foods.

Heck, judging by the damage of vegetable oils which are still considered to be “heart healthy”, I wouldn’t be surprised if this were approved only to discover it was a poison, a decade or two from now, which is about the time it takes to see the effects at large. Plus another two decades for health professionals to finally acknowledge it.

The burden of proof is on the inventor, not on the FDA or other organizations.

Given the complete clusterfuck that is nutrition, the though that this new cottonseed could be fed to the livestock we eat is terrifying.
What does 'authenticated records' actually get you?
It can certainly feel like that, but after looking into Brexit, I think we (USA) have things MUCH better.

As much as Trump is loose cannon, our trade was based on the USA being the 'importer of last resort' and many of the changes we're making are not THAT extreme compared to history, or compared to other developed nation's existing rules. Plus we are the ones choosing to make these changes.

With Brexit, GB has failed to make any sort of deal or even seemingly understand their negotiating position. The 'deal' they're eventually going to receive is 'having EU non-member rules forced upon them'.

Furthermore, even if the USA did the same thing and pulled out of all treaties instantaneously with no forethought or negotiation, we're a big enough economy that other countries would be forced to negotiate. Check out the comparison of US and UK economies. http://www.nationmaster.com/country-info/compare/United-King...
> The EU wants Northern Ireland to remain in the customs union to prevent a border on the island of Ireland,

Ireland and Northern Ireland desperately want to prevent a hard border in order to maintain the hard-won peace and prevent the return of the bloodshed that drenched the island (and the rest of the UK). Ireland being in the EU, the EU has put its weight behind Ireland. That's how amplification of international clout/power through shared institution works.

In fact, the UK government also claims to want to prevent a hard border, yet has provided no way of actually doing so except "magically it won't be there", and the only practical solution (discounting magic) is for NI to remain in the CU and SM. That has been clear from the start.
> oppressive regime of Germany, France, and the EU bureaucrats.

I'd like to understand what you are talking about. Could you give some more details on this "oppressive regime?"
EBay UK revs up to take on Auto Trader in car ads
No, but it is a big issue that involves messing with an agreement (the Good Friday Agreement) put in place to stop a bloody conflict. An agreement that is co-guaranteed by the USA and... the EU!
> The big question for me is: why now?

Midterm elections? Trying to sever Trump's relations with the saudi regime? A lot of ifs and whys. The fact that he has ties to the washingtonpost says he was involved with a lot of shady things.

> But what no one mentions is that his uncle was a famous billionaire and his cousin was Dodi al Fayed.

Wonder why? Wonder why the washingtonpost and the media are framing it like a "journalist" was murdered when the guy wasn't a journalist. He was a politically connected elite.

> Surely he has powerful family members who are outraged and connected.

Surely. And he has deep ties with western media and governments and most definitely the intelligence communities.

Also, why is Turkey so invested in this? It's not like Turkey cares one bit about "journalists".

Whatever the case, this "journalist", turkey and a major sector of the western media seems intent on putting pressure on saudi arabia. For what ends? I would have expected something like this against iran, but not saudi arabia.
Salvadoran ‘Immigrant,’ Public School Teacher Brutally Raped Woman in Maryland
Again... how would you do it though? Who would do the punishing? How would you enforce the punishment? Would clients build the punishment into the contract? Even if you could do that, the vendors have the advantage of how to construct the contract in their best interests and avoid punishment. Most ideas will go straight back to market forces. Again, the issue is expertise to choose good options, not the existence of market forces.
How to use Emule in 2018
I don’t understand why they don’t just have a second referendum on brexit as it’s actually occurring rather than the load of bullshit that was sold to the electorate.
I presume you had Metamask installed?
It's always been interesting to me that both Galois and Abel accomplished so much despite dying so young.

Most introductions to Galois theory that I've read have mentioned his duel.
>Which is irrational and silly.

Not really irrational. Half of what's published is PR in one form or another.
and if Stay wins, of course the result will be treated as Final?
Planet Money recently had a great episode about "Big Government Cheese", which covered the Carter administration's proposal to subsidize milk, which created a milk surplus so big that it had to create a bureaucracy to grade and store cheese, and then eventually, to repackage and give it away:

https://www.npr.org/templates/transcript/transcript.php?stor...

> DUFFIN: By the early 1980s, the dairy support program was costing taxpayers around $2 billion a year. The government was buying 1 in every 4 pounds of the country's cheddar cheese. They actually had to rent out space in multiple caves. At one point, the government was storing two pounds of cheese for every single American citizen.
Slant – remote system monitor
Pork was consumed in the Middle East until the chicken was introduced. It might be a simple as a prolonged drought afterwards that forced the issue.

https://link.springer.com/article/10.1007/s10814-015-9083-2

https://www.smithsonianmag.com/smart-news/people-ate-pork-mi...

The religious dietary restrictions or pork prohibition of Kosher/Halal came later.

(edit: just remembered this)
Some of the workers on the pyramids ate pork as well.
https://www.livescience.com/28961-ancient-giza-pyramid-build...
> Plain yogurt from Chobani: serving size 150g, of which 15g sugar. ( https://www.chobani.com/products/greek/plain/non-fat-plain/ )

Not sure where you've read that, the page lists 6g carbs (4g sugars), roughly in line with cow milk.

> Cookies-and-cream flavored yogurt from Yoplait: serving size 170g, of which 19g sugar.

"Sugars" is literally the second ingredient in the list, right behind low-fat milk.
Although tax "dumping" is infuriating, it's not the major problem within the EU (look at Delaware tax code vs the rest of the states, and USA is doing fine economically speaking).

The real issue for the EU is the lack of financial and political solidarity. You can bankrupt a EU country and expect the others to pick up the tab, even if there nothing written down in the EU constitution saying so. The Syrian migration issue is a glaring example of a lack of political collaboration.

EU countries needs to acknowledge the fact they are actually tightly bounded to the union and make changes in the way the EU works to reflect that situation.
That seems like more of a "sending the stream to people who haven't paid" problem than a "people who haven't paid having the decryption key" problem.
That's the ideal outcome. The problem is that rhetoric in the UK has shifted away from "Leave the EU in a structured manner with most of the bits intact" to "full-scale immediate departure with no planning for the future". That's going to be a medium-term disaster.

Honestly the problem isn't Brexit itself. I don't agree with that policy, but it's possible to see how it could be executed in a constructive and honest fashion. If we were able to accept that there are benefits to EU membership, but that we were willing to give those up in exchange for theoretically greater sovereignty, the situation would be better. If we were working towards a scenario that was minimally damaging, while importantly being honest about the tradeoffs, then the country would make some progress.

Instead we have an absolute catastrophe of untruth circulating. Large parts of the party of government appear to be aiming for a no-deal, cliff-edge event, claiming that everything will be fine. A huge share of the population seem to think that "no deal" means "status quo" instead of "immediate large-scale problems".

I don't know how we deal with that. We're genuinely in the time of post-facts, post-truth politics, and I don't know that we currently have the tools to fix that.
Gosh I've tried to write this list 3 times now and I've never felt anything was comprehensive enough to put on HN.

So, hopefully the attempt will be sufficient -

<speech boilerplate "want to protect my family, need to keep you informed, if you arent going to get off of the net, then you need to be prepared">

1) Humor is being used to weaponize and radicalize people. A significant group of people who identify as alt right were first introdcued to the ideas via humor. Please be careful of off colour humor. You and me may think it is a joke with no bearing on reality. But there are people who think that its not a joke, and that the ideas behind it

2) Be ware whatsapp - I'm in India and there is a spate of lynchings in rural areas because of whatsapp forwards. People have been killed because they are suspected of being child abductors.

I've personally seen the videos and they are horrific, they include videos of a live child being gutted - but its a gang video from mexico. Another video depicting an abduction, is from a child safety video in Pakistan - theyre spread between maids, drivers, auto-wallahs and office workers.

An Indian state has tried to grapple with this problem by direct communication with the villages, by using drummers, warning people to not trust forwards. Tragically one of the people paid to inform people was himself killed, on suspicion of being a child abductor.

3) Increasing polarizaiton - What started out as mild jokes are expanding into massive cracks in the fabric of my world. A North/South Indian divide has grown from an occasional joke, to an often oozing wound. Online media carries no tone or body language; when people interact in this impoverished environment, our brains end up responding to the strongest emotional versions of a comment. Small fights end up creating lasting grudges.

So don't EVER forward anything mildly polarizing and divisive.

4) Dont trust emotions - almost ANY item which generates an emotional response in you, should be treated as suspect. The best way people have to get you to stop thinking rationally, is by making you think emotionally.

Other things that come to mind are fake news, and the nature of the media formats to keep people on it, and the entire behavioral science behind it. (Skinnerian conditioning, reward schedules, the network effect, responsive design, social approval and so on).

A good point to bring up is depression, and the fact that material on social media is biased, few people talk about an average day or a terrible day or embarrassing things. Humans were not designed to be seduced into believing that the world is great for everyone else and average for me.

----

For the normal person listening in good faith, any one of those points is sufficient to create a sense of discomfort.

But ultimately, the main driver is the fact that most people are already uncomfortable with social media and are sitting on a pile of bad experiences.
The issue is that the leaders of several countries in western Europe seem to not listen at all at the public frustration.

I sympathize with Brexit voters, I would vote to leave the EU at any given day if given the chance.
I bought my 1080Ti two years ago and have custom watercooling on it. I can spend a lot of money now and get an AMD card that's a bit slower and consumes much more power. Sure, I should be voting with my wallet but it's not a cheap vote.
> The author of the "sealed" class definitely imagined all possible use cases and their code has absolutely no bugs, right?

...What?

You can compose an instance of the sealed class in yours. You lose all brittleness from inheritance in the process. I've been coding OOP most of my life and I am working with FP for 2 years now -- composition never introduced a bug. Sure it's anecdotal but after a trend repeats itself 5+ times, you start observing patterns and making conclusions.

Additionally, a number of FP languages offer Java-like and Go-like interfaces for an extra peace of mind.
I like to tell people that I could build them a blockchain in less than an hour. Of course, ordinary people including people who invest in cryptocurrencies don't believe this because they don't understand what a blockchain is at all. Upon firing up Codepen and making a simple blockchain, the concept immediately seems less cool to them.

To me, the whole blockchain aspect of cryptocurrencies and related technology isn't particularly interesting, but the idea of automated consensus is. You can tell if someone actually knows a thing or two if they aren't just slobbering over "the blockchain."
> I think it's safer to discuss religion

Totally agree. (Disclosure: I voted ‘remain’). If I do have to debate Brexit, I tend to focus on the massive opportunity cost [0] of the leave decision. To manage Brexit, the UK government has created a new department: Department for Exiting the European Union [1] which has ~650 full time employees, not including contractors and management consultants. Other existing government departments, and several companies, have staff devoted to developing Brexit plans and contingency plans. This need for people and their time will continue for years as new post-Brexit processes and laws come into effect.

All this at a time when the UK has several problems that need to be managed, e.g. the NHS’s funding crisis, the lack of affordable housing, and many others. Front-line services (the UK term for actual police on the beat, nurses on wards, social workers who help the vulnerable, etc) have been dramatically cut over the last few years as a result of austerity spending, and yet we have had to create a massive number of posts and roles to manage the Brexit process. Vast amounts of parliamentary time are also devoted to managing Brexit (or not) rather than dealing with other problems.

[0] https://en.wikipedia.org/wiki/Opportunity_cost

[1] https://en.wikipedia.org/wiki/Department_for_Exiting_the_Eur...
Toronto became the effective "capital" of Canada, in place of Montreal (Even the Bank of Montreal moved to Toronto)

Not everyone who left QC is a francophobic, and while I do understand some of the French side's worries, things like Loi 101 are sometimes "too much" (like requiring board games to be in French)
Ask HN: Need help with websocket / redis  and system design?
When user connects to server via websocket. Socket connections are stateful, the server it connected with, is the only server that would be able to communicate over that socket.

I'm designing a chat. There are n servers, each server containing n users/sockets connected to it.

Chat has a feature, connect to random, that connects you to a random user chosen from across all servers.

Currently using PUB/SUB via Redis to communicate among servers.

- Is Redis PUB/SUB the best way to handle communication between servers when most of the communication can be between two servers not 1 to N.

user x is in Server A, user y is in Server B. All N servers are subscribed to 'message' channel. x wants to send a message to y. Server A publishes on 'message' channel. All N servers are lit, when only Server B needed it. Can I keep track which server the partner of x, the y, is connected to using Redis pub/sub and only send to that server.. Broadcast vs Emit?

- How do I design protocol of partnering up users? First to describe the problem...

A -> Req (need partner for user x)

B <- Req

C <- Req

B -> Offer (user y available for user x)

C -X (no one available, doesn't do anything)

A <- Offer (process the offer)

C <- Offer (doesn't have user x, doesn't do anything)

A -> Accept (assigns user x's partner to be user y and let other server know)

B (server crashed no longer exists, problem)

How would, Server A, know that, Server B, with y has crashed / or y has left. And it should continue to search for online user. Right now it's just sitting, thinking that it has paired its user x with another live user.
But not in America! Please don't convince Americans to overcook pork into a hockey puck like our grandparents did.

Trichinosis in pork went away with tuberculosis etc 60 years ago. Today you find it only in a family-raised pig that is fed garbage (table scraps etc). Its not in any commercially-raised hog.
Properly installed residential gas piping should be able to handle triple digit pressures. Appliances should be able to handle double digit pressures because almost all appliances that can run on NG also can be equipped to run on propane which outputs at up to 30psi depending on the regulator. Manufacturers slap a safety factor on top because it's a consumer product and you don't want someone to blow up their house and sue you because they used the wrong regulator.

There's a reason some houses went bang and some houses didn't.

I know it's fashionable to blame the megacorp (and it sure looks like they have plenty of blame in this case) but there's plenty of blame to go around here. There's a reason some houses went bang and others didn't. I've worked residential construction in MA and plumbers as a group have a pretty bad reputation (well earned, at least based on my experience, you should see some of the corners these guys will cut). I would wager that the houses that went bang weren't the ones that had their gas pipes done by the apprentice who still does everything by the book but the "seasoned professional" who knows exactly what you can get away with when your work only needs to hold 1/2psi.

Like any large accident there are many dominoes that need to be lined up before they can all be knocked down at once. I think it's foolish to act like some contractor dutifully carrying out Colombia Gas's faulty work order is the only cause of this.
He was most definitely a journalist. You can find a list of his columns at the WaPo here: https://www.washingtonpost.com/people/jamal-khashoggi/
I hear what you're saying. But that's like saying that sausage on a bun is just a kind of hotdog. They're the same, but they're also not.

I love me a good chili fries and I love poutine. I especially love shawarma poutine which is a massive hit here in Ontario. People and their tastes are a very interesting thing.
Well...that's a very unfortunate example. Pressure cookers' blowout disks can get clogged by whatever you're cooking (beans specifically) and the whole lid blows out (embedding itself in the ceiling and painting the kitchen). Scary stuff.
Nouveau is useless for a card like the 1080Ti, you get 10% of the performance and much worse energy efficiency.

Yes, I also dislike nvidia but a few years ago AMD was absolutely awful under Linux.

Yeah, not much wrong with i3 but I really like what you're doing with Sway. :)
Indeed, referendums cannot be binding in the UK, because that would be taking sovereignty away from parliament.

There have only ever been 3 national referendums in Britain. One to join the EU, one to leave the EU, and one over Alternative Vote. They used to be considered unconstitutional, a tool for demagogues. I would be happy to ditch them forever.
By law in America, its frozen in liquid nitrogen?
> Can anyone imagine ANY uses for a centralized blockchain?

Sure. A centralized chain can be used for anything that a decentralized one can be used for (with one exception [1]), you just have to trust the provider.

[1] The exception is that a decentralized chain cannot be used to fairly distribute rewards to the participants in a decentralized protocol. That makes it harder to use a centralized chain as money because you need a separate mechanism for controlling the money supply than the one that maintains the ledger. In a distributed chain, the same mechanism serves both purposes.
It's like using Unix more than using an IDE. The globals dictionary and class variables etc are roughly analogous to the filesystem. Ordinary avoidance of unnecessary global state / global variables does the trick. Just as in Unix you wouldn't go around messing with e.g. stuff in /lib, you don't tend to find yourself messing with "mutating the whole world" unless you're experimenting with the limits of the system for fun or doing something weird, metaprogramish, or systems-level.
As much as the 1975 referendum to join was final!