skysight-inc/HackerNews huggingface dataset:
What he is doing is largely in reponse to increasing protectionism by other countries. Examples:

US "web" companies must now store EU data in Europe. Any foreign company that wants to compete in Europe needs a European office and datacentres now. Good luck getting European customers for a US startup now.

China is notoriously protectionist. They manipulate their currency exchange rate, engage in market dumping to hurt competitors in other countries, require foreign firms to have a Chinese "partner" which is more like a parasite that steals money and IP.

There's many more examples. To a certain degree the US government has a job of protecting US businesses just like it protects it's citizens.

For important resources like steel and rare earth elements, US businesses have been driven out not because it's so expensive but because foreign countries heavily subsidize the industry and create artificially low prices. "Bringing the jobs back" will work but only if the US govt retaliates with import tariffs or subsidies of its own
Very interesting. Does that mean that there would have to be a central authority that has to sign new torrents? For the present purpose that may not be ideal because this system wouldn't be decentralized, and one institution (or a small set of institutions) would have all control. Ideally, there would be some consensus mechanism that determines which torrents are bad and shouldn't be distributed. Also, what happens when the key for singing torrents is stolen? In the case of a company using such a system, that situation can be handled but in a more decentralized system with an emphasis on long-term storage the loss of a key may be a bigger problem.
This is not true. The US taxes worldwide income regardless of country.
Ask HN: What do you do when you run into poor or deceptive customer service?
I have been chatting all day with Simple Mobile.

And honestly, I've never encountered such ugly service.

It now appears that a promotion that they sent out was actually a deceptive tactic for getting me to re-up. They offered 10GB extra data, only to later deny that any such promotion existed (even going so far as to say that they weren't responsible for the contents of a subdomain of theirs).

You may find my chat with them to be entertaining:

https://jmyles.github.io/simple-mobile-drama/chat-publish.html

What do you do when you encounter something like this?
To add detail I've had 3 different relo offers. Not to California but to NYC. The only one that was less than this included 3 months of paid corporate housing.
I watched some videos and read through the documentation that came with my Jeep. I did a few oil and filter changes. Before long, I realized I could do all the basic maintenance myself! But when I calculated how much money I had saved, I found that the loss of billable time (that I could have spent coding) was much greater than the money saved. So now I go to a local mechanic and bring my laptop with me.

This pretty much goes for everything from cleaning my apartment to repairing my family member's computers and laptops. I can do it myself, but it's cheaper for me to pay someone else to do it.
Getting out of the TPP affects tariffs. Getting out of NAFTA would have even larger effects. There will be negotiations with China. Tariff changes are coming, and businesses which import and export need to know what they are.
A very nice video and a very interesting attack.

That being said, this doesn't allow to duplicate a card (it relays the fraudulent transaction in real time to the real card while it's stuck into compromised hardware), the PIN is captured from video or the "la-cara"device, and you do need to have the "extracting" device mounted to a real ATM for prolonged periods until you can empty it (you can do it only as fast as the real transactions come in, and they do so at unpredictable intervals), which gives a nice opportunity to capture the involved people. It's a very powerful proof of concept, but harder to scale than the current "cashout crews"/mules - the logistic problems are somewhat comparable to the classic approach of setting up a completely fake ATM.
Denial of Service Vulnerability in ASP.net Core 1.1
Shut the fuck up, child.
There's growing evidence that breathing is linked to brain activity in interesting ways [1]. There's also the "4-7-8" breathing technique that is supposed to help you fall asleep faster. [2]

On top of that, concentrating on breathing takes your focus away from other inner monologue and intrusive thoughts; meditation programs typically start you off on that path.

[1] https://news.northwestern.edu/stories/2016/12/rhythm-of-brea...

[2] http://www.medicaldaily.com/life-hack-sleep-4-7-8-breathing-...
When you hit the reload button, the browsers would still revalidate resources with long expiration dates. The fixes in the Facebook post are that Chrome changed to no longer do this on any subresource, and Firefox changed to no longer do this on cache-control: immutable resources.
> The vast majority of Middle East refugees are Muslims in the majority in their countries, so here the Secretary of State is directed to prioritize non-Muslims.

Right, that's because those are the ones being persecuted and killed under dhimmitude by the Muslim majorities.

(Not PC to point this out, I realize.)
Complain on their social media channels. Public shaming works.
Some of Phoenix's best features, like presence and websockets, break the 12-factor application rules. State is stored in the app and nodes require linking together. Most container systems are not set up for this and you have to rely on something like etcd to do orchestration between nodes. That or just move the state back to redis.

I think the positives outweigh the negatives. It's nice to replace a lot of moving pieces in a RoR application with just Elixir and Phoenix.
To be honest, if an author puts a "TL;DR: Go fuck yourself if you enjoy some things that are of little importance to me, personally" header before reaching the article he/she wants to dictate on an internet page without a comment section, therefore free of repercussions, I have trouble reading the point they were trying to make. It's a toxic bitterness that pollutes any point they might have made.
ReBoot (1994)
You should boycott every company that kisses the ring: Uber, Tesla, IBM, Exxon.
HN discussion of that post: https://news.ycombinator.com/item?id=9086751
Hah, nice catch, I remember seeing it do that weird jig but didn't look rewind or look close enough to figure out why it did that.
Furthermore, Sam Altman and crew did not utter a word when people who they _can_ relate to - thousands of legal immigrants from India and China working in technology companies - have been discriminated against by per-country green card quotas. Now the same crowd feel for refugees and other legal immigrants from certain countries being discriminated against. The hypocrisy is amusing.
The problem is that when a user refreshes the page using the reload button the browser will revalidate even cached resources. This results in a lot of requests that get carry the `If-Modified-Since` header and 304 responses. Cache-Control: immutable avoids this revalidation altogether since it's guaranteed that the source won't ever change.
It's not America that did this it's a minority of America. The rest of us feel like prisoners in our own country when faced with this kind of complete and utter insanity.
> "First they came for the Socialists..."

Yep, and we are already all the way up to "arresting 6 journalists covering public protests against the unpopular ruler"
AWS and Google already charge five to ten times as much as dedicated hosting for cpu, storage, and bandwidth.
Is the site broken or delayed or something? There was 1 signature, I signed it (and verified my email) and it still says there is 1 signature.
You might find my post on what "reload" actually means in Chrome interesting: http://neugierig.org/software/chromium/notes/2010/02/reload.... (a bit old but the ideas are still relevant)
Great idea! Thank you.
The guidelines say don't comment on flagging. It's just not constructive. You're free to express other thoughts as long as they're civil and substantive. Why is this unreasonable?
Anybody else seeing that the site is broken? It says 1 vote still, even after signing and confirming my email.
If anyone is interested, David Blaine has an interesting TED Talk on holding your breath. https://www.youtube.com/watch?v=XFnGhrC_3Gs
Fuck. I can't handle your city at rush hour.
At the risk of sounding pedantic this is not a Level 4 demo. It is a Level 2 demo where the driver didn't have to intervene during the demonstrated route.

What's the difference? Apart from the legal requirement to have a diver ready to take over in test vehicles (which necessarily makes it Level 2), the fundamental difference is that you'd have to show a lot more than one demo to establish that you've achieved Level 4. Level 4s are supposed to be able to operate without human intervention at all within prescribed domains (e.g. downtown cities). That doesn't mean operate one trip or one day or one month without a disengagement -- that's still Level 2.

I'm super impressed by the demo but Cruise will have to show more data to back up a Level 4 claim.
It'll always be missing a bunch. Feel free to add them as proposed edits!
A lot of international students in UK think the same about Brexit, once pound hits 1:1 with Euro there will be less reasons to stay in the UK for them. What means less people will pay their student loans from government, and UK will lose access to European bailiffs...
That's pretty disingenuous. For the purpose of my argument, 48/46 is close enough to 50/50 to make my point that it was close to split.
Very thorough write-up, looks like a good approach.

A couple of points though:

1) You have a race condition in haproxy.js. If an addNode function is interleaved with a removeNode function, you could have the following result:

removeNode reads the file
removeNode replaces the matching line with nothing
addNode appends a line to the file
removeNode writes the string to the file

Now, addNode has returned true, but its given server is removed immediately because removeNode is not atomic.

2) in the // Remove Nodes block, why do you only kill the container when `n == rmNodes - 1`.
Say you have 2 nodes to remove, this would remove both from the HAProxy config, but only kill the second of the containers, right?
Since this is HN, and, frankly, this audience is bay area centric, lobbying California to push back early and often might help.

Many of us live in "sanctuary cities" with local governments that plan to stand up to Trump's immigration policies anyway.

Strong business support here could easily inspire action by Sacramento and our congress critters.

Action now will matter a lot more than after the feds broaden their target.
And three days later it was quietly ended with a comment that noted that it's impossible to separate politics from many the topics we discuss here: https://news.ycombinator.com/item?id=13131251
CO2 poisoning is insidious, and can go unrecognised, due to its cognitive effects. It's a known risk in using rebreathers when scuba diving.

The UK HSE has published a video of a real-life incident where someone experiences CO2 toxicity from a rebreather (the victim survived and recovered) [1].

[1] http://www.hse.gov.uk/diving/video/co2video.htm
I've read of surveys that show that something like 80% of doctors don't want to be resuscitated.
So I've been offered two different relocation packages over the past few years. I eventually took one of them up and moved to the Bay Area (you'll be able to guess which package I picked).

- Company A: $10k for relocation or cover the cost of a moving company to pack and move all of our stuff including our vehicles.

- Company B: $22k relocation "lump sum" (this varied depending on your circumstances; I was a home owner in another state so I got the max), company paid moving company to pack everything up and move it across the country including two vehicles, reimbursed airfare for flying out to house hunt and again for the final relocation airfare, paid for closing costs to sell our existing home, paid for company to help us buy or rent a home in the bay area. I also got a starting bonus but that wasn't technically part of relocation.

I know a lot of people who have relocated in the past. Everyone seemed to agree Company B offered probably one of the best and most thought the average for the area was a range with Company A at the low end and somewhere in the middle between Company A and Company B being at the high range.

Hope that's helpful!
Yah, an international relo is no joke. Negotiating the paperwork without proper counsel is a recipe to screw up your visa or green card. Expecting the employee to do this alone is irresponsible.
I strongly agree and I believe what Sam is doing is essential: People are hard wired to follow social norms, as I once heard a social scientist describe it. If we say nothing, we allow passivity or tacit acceptance of Trump to become a norm. That especially applies to leaders in every community, who have a special responsibility. Thanks Sam for making your voice heard.
Well put. But I don't remember "State servers owned by hackers" as part of the narrative. Is that "inside baseball," or was that reported? I'd think it would be part of the conversation on the Senate's possible investigations in that area now.
that's why one of my requirements was diversity of opinion.

no echo chamber would be important.
To clarify my original comment - when someone claims they can memorize a certain text, the way to verify the claim is to find the text. If you check the content, but not the source, you are only checking half the claim.

Why is it important to check the source? For the same reason that, when someone adds a reference to a paper, or a wikipedia article, people will often follow the reference and look for where it is exactly that it says what the referrer says it does- and complain if it turns out it doesn't.

So, for instance, if I mention that the minimax algorithm runs in time exponential to the number of nodes in a game tree, and you ask me how I know, and I reply that I read it in the 3d ed. of "AI: A modern approach" by Russel and Norvig, you are well within your rights to open the book, search for this information and, if you fail to find it, ask me whether I'm sure I got my refs right.

And that is true regardless of whether my claim about the running time is true or not- because that's only half the claim. The moment you add a reference your claim goes from "X is true" to "X is stated to be true in Y" and you have to be able to prove that "X is stated to be true in Y", not just that "X is true". And if "X is stated to be true in Y" is not true, but you go on to assume "X is true", then any other claim you make after that is up in the air, because you haven't yet told us how you know that X is true.

Which is important to know, because once you screw up your facts, as you inevitabley will, you (and everyone else) can at least trace your error back to all the things that you know, and the sources you drew that knowledge from, and have a glimmer of a hope to identify the error in your thinking.

Accordingly- if someone claims that "I memorised X from Y", you can check that X is stated in Y. If it is, then fine. If not, not fine.
How do people who own houses for less than 5-10 years relocate? If I sold my house right now, the real estate agents would eat most of the 30k up (and certainly would after taxes).
^same
The problem is that browsers didn't do the right thing, and now they can't do the right thing because web developers relied on actual browser behavior rather than idealized spec-compliant behavior. If you've heard that story before, it's because a dozen other minor warts (especially regarding HTTP headers) appeared for the exact same reason.
It's not like there's some sort of fuel that is exhausted by voting "no" on Trump's appointees. We will only get worn out if we let ourselves.
It doesn't, really.

Applications can use much more domain knowledge to do the dedup, possibly with less resource usage or better speed (memory, eg. because an index to dedup with already exists, or CPU, eg. it can use existing constraints on data and doesn't need to hash all data). FS-level deduplication is... well. For classic FSes it does exist [1], but it's a pretty ugly kludge, and is pretty much inherently an off-line process that can't happen during writing the data the first time. For CoW FSes it's less of a problem, and eg. ZFS and btrfs can do it, but it's often not a exactly a great fit. (Although one could see their snapshotting features also as deduplication)

[1] through extent sharing, ext4 does this, iirc experimental in XFS. duperemove uses this.
That's the new and improved version of FTP! Before "passive mode" the old one would try and directly connect with your machine on some random port. If you were behind a NAT firewall you couldn't use it at all.

On top of that there's never been a coherent standard for what directory listings are supposed to look like so there's no reliable way to emit directories in a machine readable format. It's always been arbitrary text.

The whole thing is junk and has deserved to die the day it was born.
The petition just got created under an hour ago, and the signature counter probably doesn't update in real time.
I don't know about their situation, but US Citizenship doesn't pass down from parent to child in an unlimited way (though it is often thought to).

https://en.wikipedia.org/wiki/United_States_nationality_law#...

If you're born abroad to a single citizen parent, that citizen parent must have lived in the US for at least 5 years total and at least 2 years after the citizen parent's 14th birthday. If the citizen parent doesn't satisfy that when you're born, you don't qualify for birthright citizenship.

So, the US requires a substantial period of residence prior to the child's birth in order to pass down citizenship to the child.
Not at all. I'm not afraid of terrorism, as far as I can tell it's mostly used as a reason to keep weapons manufacturers employed and a surveillance/police state chugging along smoothly. The actual odds of dying in a terrorist attack are lower than winning the lottery. I actually used to consider myself on to lean to the democratic side. At least during the Bush years when they appeared to be anti-war party. Just lately, everything has been so sanctimonious and hypocritical from them that I'm no longer able to vote for them.
Or it's a side image and one antler obscures the other
> This is why Democrats lose.

This is not about winning or losing elections. This is about winning or losing (big time) as a country in the future.

Rapid change is invariably bad, steady, slow changes and growth are good. The long view is the one to take, even if it can't be compressed down into juicy soundbites and isn't sexy.

See, if you 'win' but end up wrecking your country then you lost anyway, 'boring' in politics is good.

There is a reason that 'may you live in interesting times' is generally considered to be a curse, not a blessing.
how dare you emit an utterance that amounts to anything other than deification of our future self-driving overlords and the peter-theil-worshipping engineers who unleash them upon us!
My point was that they don't take a cavalier SV-style approach to testing things.
Personally I think the raspberryPi is a great place for kids to start. In particular look at what the Kano guys are doing.
https://kano.me/
None of the post-9/11 terrorists in the United States came from any of the targeted countries (and none were refugees) either. Both the 9/11 terrorists and the few non-domestic Muslim post-9/11 terrorists that actually carried out attacks were non-refugees from countries not covered by the order.
Does the White House Petition website still work? I mean, I am surprised it is still up. Surely the new administration would A) not pay attention to it and B) simply scrap it to avoid maintaining it.

As far as I understand, there is no legal requirement for the White House to even entertain the petitions.[1]

[1] https://en.wikipedia.org/wiki/We_the_People_(petitioning_sys...
Tesla's system has an order of magnitude or two of more miles driven than anyone else though, so I think it's unfair to speak of a higher risk based on current data.
Russian FSB cybersecurity implosion continues with more arrests
Be+Picked+Up+Or+Pick+Yourself+Up
Tesla appears to be extremely clear to users as to the current state of the system. Have you actually used Tesla autopilot? What did you think of it?
Show HN: Disrupting the options trading industry
California Could Cut Off Feds in Response to Trump Threats
Sure.

"Muslim immigrants as a group consume more in societal resources than they contribute in taxes or skilled labor."
Including banging your head against the wall!
Hopefully this will lead to a change in direction from delegation to the executive, to deliberated by congress.
Followup to: Russia’s FSB Cybersecurity Team Implodes” of 26 January
1. Thanks for the citations, but who the hell are F. Roger Devlin and Brett Stevens, and why should anybody care? Their blogs seem to be on the fringe, and not something one would see in day-to-day politics. I'm not saying you don't have a point. Our society certainly has a few of these weird eggs, but there brand of "thinking" is generally viewed as abject ignorance by mainstream society, isn't it?

2. How would your policy of physical violence be any different, or less self-superior, than the kind of violence you believe this type of talk incites? I'm not trying to be snarky. It's just that enforcing a prescribed way of thinking via violence tends to have a lot of ill side effects that people don't take into consideration before heading down that slippery slope.
I know many people who live in that city, very happily and safely. The comment is ignorant and it's important we don't, in our ignorance, connect skin color with other personal characteristics; it leads to very bad outcomes that hurt many people.
Amusing how Silicon Valley leadership is now bleeding their hearts out when legal immigrants from some countries are discriminated against. This same crowd had stood by silently when many of their workers - legal immigrants from India and China - had been discriminated against for many years in the name of per-country-green-card-quotas.

How is "we chose to discriminate against Muslim majority countries" any different from "we chose to discriminate against populous countries"? Both look arbitrary to me.
>causing a loss of time awareness and higher creativity

whatever you're doing when you take adderall, you'll be doing for the next 12 hours before you realize how much time has past.