skysight-inc/HackerNews huggingface dataset:
> But Trump has been bedfellows with white supremacists since day one.

Yes, but there were people who thought that once he became president his true nature would come out and things would be better and that he was merely using these people as a tool to get elected. Now, he probably did use them as a tool to get elected but at the same time I suspect that his real sympathies lie with them rather than with the groups that would like to consider everybody equal before the law.

> All of a sudden there are "optical disadvantages" of being closer to him?

Well, there probably always were disadvantages but they are becoming rather more pronounced now. People are calling for boycotts of the products of companies standing with Trump and every action that Trump takes that forces them to either go all in or denounce him will cause a few to break off. It's surprising me that so many companies are still on board.
"Hopscotch" by Julio Cortázar. It's a novel published in 60s. Fantastic language and atmosphere, strongly recommended.
Ok, but were an American to find themselves legally censored by another American individual or corporation, they could take their business elsewhere/start their own newspaper or webhost/become a soapbox preacher, whatever. None of those are options in the Chinese case.
That's the key question in this discussion.
Katahdin: a programming language where syntax, semantics are mutable at runtime
Thanks for the feedback.

I see now that regex may be an overkill, the main intent was to support keys that are not predefined.
It is easy to imagine a data set where a lot of keys can exist with the same prefix:
{ "text-decoration": "underline", "text-decoration-color": "red", "text-align": "center" }
For this situation it may be useful to query all the keys with prefix "text-", without exactly knowing what are the possible keys.
Since document databases and JavaScript are popular, we should open up the strict typing. Clients may have the right to store arbitrary metadata on their objects. In GraphQL you have this option, just add a metadata key as string and you can dump anything there, but this way you lose the option to filter on this. That exact missing feature inspired jrGQL.

1. Yes, it is not a new language, since it is always a valid JSON. This is useful since every validator, syntax highlighter already knows it. GraphQL created a new language just because they not considered to reuse an existing one.
You can say that jrGQL still needs parsing on top of JSON, but every query should be validated on the server side and that needs parsing too. Also we can call regex evaluation as parsing, but this is just a more by a substring() call than simple equality check to filter the result set.

2. Coloring is definitely a mistake, I'll fix it. I did not want to say that others are bad in anything. Man, those are production ready quality and this thing is just a concept with only a reference implementation. I just wanted to show where jrGQL is different from others.

3. This is about tastes, I should add that for me it is more readable. I don't like GetAllTheThingsQuery stuff, since it is defined by an other party, if you need that it is an other endpoint and you get what you were meant to get, but no control. With jrGQL you always get what you requested, so it is not WYSIWYG, but WYRIWYG.
But the moderate republican voters still vote republican.
Reason for existence of 2.5/5G does not have that much to do with the cost of PHYs themselves (it.s more or less the same circuitry as for 10G) but with power consumption.

Even 1000-base-T is surprisingly power hungry due to the fact that the used signaling is essentially analog and not some simple binary/ternary line code, which necessitates inefficient analog final Tx amplifiers and such things.

Probably all current 1G PHYs contain some TDR-ish magic that measures the length of attached cable and determines how much can be the Tx power scaled back in order for the link to still work (~10 years ago this feature was often the main point of manufacturers' advertising, today it is essentially must-have).

10G PHY is even more power hungry and 2.5/5G is way to not only scale Tx power back but to get additional power headroom by reducing the symbol rate.
I also do large doses of caffeine to get through the day. I have long-term severe insomnia, and have just been prescribed modafinil, which in theory does not affect sleep.

And definitely go see your doctor, if you are anxious about it, doing it will make you feel less anxious afterwards, even if the visit accomplishes nothing.
Ask HN: How do you deal with the shiny object syndrome?
Powerchords are usually only fundamental + fifth. you can play those on 2 strings only.

As long as you have 3 notes available you can make a full major or minor chord as it only involved a fundamental, third and fifth.

It will sound different on a ukulele especially because of the bourdon and wont sound as rich as it will hold less harmonics (no additional higher/lower strings to repeat the note) but that's still plenty of possibilities.

Too bad you had a bad experience with it but it still is a full fledged instrument capable of playing decent music.
Of course trying to play guitar songs on it will sound disappointing most of the time.
They look similar though so I can understand the confusion but they are different - one is drill and the other is just a holding tool. The end of the Yankee push drill rotates when you push or pull the handle. A pin vise just has a chuck, similar to a drill chuck, but no mechanism to rotate the held piece.
Bentham would have never imagined his Panopticon [1] would be implemented in this manner, across the entire society, in digital form.

[1] https://en.wikipedia.org/wiki/Panopticon
How can resigning in response to failure to condemn the KKK and Nazis be considered an extreme position?

It seems to me that "I condemn Nazis and the KKK" is pretty much a "motherhood"[1] statement and you'd have to be pretty extreme not to make it. Even Jeff Sessions condemned it, and many of those on the left consider him a complete bogeyman.

So while increased polarization might be a problem in US politics, I'm not at all sure we can see that here.

Edit: And who on earth downvotes a comment like this? I don't need to complain about downvotes, but what on earth are people thinking here? Is it people who support Nazis who downvote this, or is there some subtle point here I'm missing?

[1] Motherhood statements are those statements that politicians make that "everyone" agrees with; eg "I think motherhood is great"
What is the shiny object syndrome?
I still wish to find a good tutorial about memmap. The doc about it is very formal. Something with clear use cases, patterns, gotchas and best practice would probably make it more popular.
People in California grow huge San Pedro cacti in their garden, but that doesn't work so well when you are living in a colder climate.
Microsoft PowerApps – Build custom business apps
You're honestly putting too much stock in the media's narrative. Were you not watching the violence coming from left-wing protesters for the last couple of years? Such as Antifa and similar groups smashing towns and beating people with fists and shovels. It's a miracle the guy they were beating on the streets of Berkeley didn't die. Edit: and how about the Scalise shooting or the police officers killed at the hands of BLM supporters. Apparently those don't arouse the same response.

It turns out there's violent people of all political stripes who would do us harm.
Find out the cost of adding a new front end dependency to your project
Tech firm is fights federal order for data on visitors to an anti-Trump website
In this case you have not only peer pressure, and that is enormous, but also from the management - you not only suspect, but at this point you are sure you will be fired for expressing an opinion that may be true, but not in line with the official view. What incentives do you have to pursue the truth? More importantly, how can you be genuinely interested in improving the situation inside the company?
Apple's Q2 2017 MacBook Sales Increase 17 Percent Over the Previous Quarter
Vintage Advertising
I don't quite think so. There are specific laws governing the use of of, say, photographic equipment within a private property.

If a web server, on other other hand, willingly serves content to both a browser being operated by a human, as well as screen-scraping software, then it shouldn't try to prescribe how the screen-scraper uses that information.

It would be the equivalent to, every time, asking somebody that works in the museum if you can take a picture, and them saying "yes", and then wanting to complain (or sue) afterwards.
Trump was the most moderate Republican candidate.
And is the only one who got blasted by Trump.
Wait, what? The previous poster probably knows that, and is criticizing that a lot of people who talk about "mindfulness" don't know what they are talking about.

I've also met certain people who claim to practice "mindfulness" but in reality just lack reflection. (I'm not saying anything about mindfulness per se.)
Partly because it's been digitally retouched, including someone messing with the levels. The original is at https://commons.wikimedia.org/wiki/File:Palmercarpenter.jpg
We do pay for git hosting (why does everyone assume that I expect this to be free?)

The issue isn't so much with code hosting but more with code pipelining. We can live without being able to do `git push` for 24 hours(see footnote), but having our code pipeline down during a tight release cycle could be detrimental.

This obviously isn't Gitlab's problem, just a side effect of the current devops automation culture. But something I need to plan for - or at least have considered and weighed up the cost vs impact to business.

Footnote: I'm not implying Gitlab has outages lasting this long. I'm just plucking a figure out of thin air for the sake of a wider discussion regarding HA.
Calling the president a Nazi isn't a moderate position.
No idea. By blocking legit scripts. Disabling all extensions would be the second step I'd take, though, after having made sure that there is no malware or app using up all bandwidth.
For a while, the story was that watches were going to take over the world. Now, the story is that the overstock has to be got rid of somehow.
The AI Revolution Has Arrived, Will Testers Suffer
There's a time for that discussion. But not now. Nazis, KKK, and white supremacists terrorized a town and killed a women. And our morally depraved president couldn't bring himself to put a name to evil.
This why it's so hard to do controlled experiments: habits rarely come alone. When you change a habit, you often start a cascade that changes significant parts of your life. Some habits make your life considerably better, like exercising regularly leading to eating, sleeping, and working better, sometimes worse, like smoking leading to drinking.
a simple glance on that graph with knowledge of notable events in bitcoin timeline screams that the "omg blocks full mempool gigantic" argument is fishy. i don't really care that i can't convince you without spending hours and hours satisfying your standard of evidence, i have better things to do.
There was also the assassination of police officers in Dallas last year. That's on top of a series of ambush style killings of police officers.

EDIT: Would downvoters care to explain where I'm mistaken?
The moderate, peaceful Left

http://www.dailymail.co.uk/news/article-4789478/Several-Conf...
Coincidentally also the only one who wasn't white.
If the public web was broadcast at a range of radio frequencies the result would indeed be different. But it isn't. In my view, law should be tied to reality.

The web isn't an abstraction, it's a network of privately owned servers responding to requests. This order tells a company that they can't program their servers to look at who is making the request and refuse to respond on that basis.
I find F.lux useful because it allows easily disable the feature if you need it. Also you can automatically turn it off for full screen apps, like movies or games.
It took 2,500 photos and 4 days to shoot, followed by about 8 days of photoshopping & grading.
The site has been organzing and inciting a political movement whose endgame is genocide. They are not coy about this. Inciting violence is not legal.
When I give up I get bad headaches for 2 days then it gets easier after that.

Been off for a few months now.
There is violence on all sides ... however, only one side appears to have the tacit approval of POTUS. I think we can safely assume that he already (and quite rightly) disapproves of left wing violence -- but a lot of us remain unconvinced by his seemingly forced and totally unconvincing denunciations of violence committed by those who also vocally support him and claim to act in his name. WE need to condemn violence on both sides. The president, on the other hand, particularly and specifically needs to convincingly disown right wing violence and the language of division and hatred. We will take a lot of convincing after this.
Scraping Chinese or Japanese Language Text Websites
The author makes several important points, but I'm not sure he fully understands the mechanics of the market. As a founder, I don't necessarily have to think about solving a problem or making money. I just need to gather enough users. Once I go past a certain threshold, I can sell the company (with the users being the main value), and this is what many of my friends are trying to do. Of course at the heart of the app/service there is some benefit to the user, but few people have the illusion they're solving some world problems - they just want to find a smart way to earn substantial money while doing what they know and like to do.
Humans, Machines and Work: The Future Is Now
Don't forget Dow Chemical ...
Looking from across the pond, the left seem to have went full bananas. The identity politics and pushing "undocumented" migrants angle would be quite extreme in most of Europe. BLM look ridiculous too. While the right seem to be business as usual. Much more right than Euro right, but that's it.
Linkedin controls that response and can send back whatever it likes.

That's exactly what this injunction prohitibts them from doing: "To the extent LinkedIn has already put in place technology to prevent hiQ from accessing these public profiles, it is ordered to remove any such barriers"
Gates Makes Largest Donation Since 2000 with $4.6B Pledge
I didn't expect to be impressed by that.

I'm impressed by that.

Not sure I agree, but it is well argued and written.

(And yes, I know Rehage from his extended perambulation....)
That's fair. But people in this thread are already comparing left and right wing politics. If it's too soon for this discussion, there are up-thread comments it would be appropriate to object to as well.
I wonder how many people agree with that sort of thing (I do). It is not something I would bring up in public because I don't think most people would agree, but there are obviously some.
Crawling Password Protected Websites Online
If you are part of (or run) an established business, then I've read here on HN others living there now that the business can register with the government, and lease an authorized line with direct access to the global Internet. It is assumed the PRC government taps these leased lines. If anyone knows about this, a link to a PRC government site that describes the procedure would be helpful.

I'm assuming like many other government processes dealing with non-Chinese Internet content, the registration process and operation is opaque and arbitrarily run, but it's better than trying to run a business from within China only upon VPNs.
It is if the president is.

I'm not saying our current one is, just that logically, if the president is, then it would be moderate to describe him as he is.

Also, a comparison to them in the 1930s, say pre-Kristalnacht, is different and may have more relevance than a comparison to them in the mid-40s.
Con or doing inclusivity well
But they aren't sending the response as usual. That's why HiQ sued them, and what the court said they must do: "To the extent LinkedIn has already put in place technology to prevent hiQ from accessing these public profiles, it is ordered to remove any such barriers"
> I am not a politician. I am an engineer who has spent most of his career working in factories that manufacture the world’s most advanced devices. Yet, it is clear even to me that nearly every issue is now politicized to the point where significant progress is impossible. Promoting American manufacturing should not be a political issue.

There's something I can get behind. Angry people have a positive feedback loop, so if we all collectively talked about Monads there'd be fewer problems.
No that's not what's happening. What was happening is that the store clerk was noticing that an employee from a competitor was coming in and asking questions about the price, and then refused to answer the questions. The judge ordered LinkedIn to respond to the competitors HTTP requests.
I "quit" caffeine while dealing with a mysterious and persistent nausea which ended up being mild food allergies.

Either way, before I knew what was going on, I got frustrated at my textbook healthiness yielding no answers, went off the low-carb deep and and cut out grains and sugars almost entirely from my diet.

Because my insulin/glucose levels have now moved from the penthouse to a basement apartment, I no longer have dramatic swings in energy throughout the day. My energy at 7AM is roughly the same energy I have by half after 4. I don't need caffeine or sugar to push me though a tired spell, and I haven't felt a caffeine/insulin crash in months.

Caffeine control is one thing but insulin is the body's top dog energy regulator. If you have energy issues, start by focusing on insulin, not caffeine.
Ah okay.

All cities I've ever lived in, or ever been to, have used aquifers for their drinking water, and have never fluoritdated or chlorinated their water due to that. We currently use UV desinfection where I live.

Yeah, if you use rivers and lakes I could understand it, but I never actually knew places would do that.
FYI, this is called a path traversal attack.
Human desire might be, but human ability isn't. If we don't raise the level of education everyone can get, and to a lesser extent even if we do, some people just will not be able to do any of the jobs that aren't automated - that's already true today. As I said before - our current solution, call them disabled and provide for them specifically, would have to be expanded, or UBI would solve the problem universally.

As to it being an incentive - if you provide a UBI as an incentive, you will presumably get people moving there to receive that UBI. When enough people have moved to the place and the incentive is stopped, it could easily cause huge issues as those people who moved will be relying on it.

It's probably only an issue if the UBI is high enough.
LinkedIn is the one being sued, not the one suing.
Dunkirk is just one of many tragic defeats, retreats and Pyrrhic victories commemorated in Britain: retreat to Corunna, retreat from Kabul, Charge of the Light Brigade, Cawnpore, Gallipoli, Ypres, Somme, Crete, Narvik, Dieppe, Cassino, Arnhem ('A Bridge Too Far'), Imjin River...

As well as some desperate sieges following earlier incompetence: Lucknow, Mafeking, Rorke's Drift ('Zulu'), Malta, Myitkyina, Tobruk ('Tobruk'), more recently Sangin and Lashkar Gah.

But we do ignore the truly embarrassing ones: Yorktown, Maiwand, Isandlwana ('Zulu Dawn'), Spion Kop, Kut Al Amara, sinking of the Repulse & Prince of Wales, Singapore, Suez and more recently Basra.
How to design websites for blind and partially sighted people
Really nice work!

How did you do the shots where the cassette tape and the engine parts are moving around in the air?
I totally agree that capitalism can be a powerful force for positive change, and agree that if it makes businesses care about mental health, that's to be celebrated. However I also think it's important to acknowledge that there's no universal law connecting employee wellbeing and profit - right now that might be functionally the case but there's no reason the scales couldn't tip the other way, and so it's dangerous to unquestioningly embrace capitalism as an inherently positive model.

SlateStarCodex's excellent post "Meditations on Moloch", (http://slatestarcodex.com/2014/07/30/meditations-on-moloch/) says it way better than I could so I hope you'll forgive a slightly lengthy quote:

"
[M]any of the most important competitions / optimization processes in modern civilization are optimizing for human values. You win at capitalism partly by satisfying customers’ values. You win at democracy partly by satisfying voters’ values.

Suppose there’s a coffee plantation somewhere in Ethiopia that employs Ethiopians to grow coffee beans that get sold to the United States. Maybe it’s locked in a life-and-death struggle with other coffee plantations and wants to throw as many values under the bus as it can to pick up a slight advantage.

But it can’t sacrifice quality of coffee produced too much, or else the Americans won’t buy it. And it can’t sacrifice wages or working conditions too much, or else the Ethiopians won’t work there. And in fact, part of its competition-optimization process is finding the best ways to attract workers and customers that it can, as long as it doesn’t cost them too much money. So this is very promising.

But it’s important to remember exactly how fragile this beneficial equilibrium is.

Suppose the coffee plantations discover a toxic pesticide that will increase their yield but make their customers sick. But their customers don’t know about the pesticide, and the government hasn’t caught up to regulating it yet. Now there’s a tiny uncoupling between “selling to Americans” and “satisfying Americans’ values”, and so of course Americans’ values get thrown under the bus.

Or suppose that there’s a baby boom in Ethiopia and suddenly there are five workers competing for each job. Now the company can afford to lower wages and implement cruel working conditions down to whatever the physical limits are. As soon as there’s an uncoupling between “getting Ethiopians to work here” and “satisfying Ethiopian values”, it doesn’t look too good for Ethiopian values either.

Or suppose someone invents a robot that can pick coffee better and cheaper than a human. The company fires all its laborers and throws them onto the street to die. As soon as the utility of the Ethiopians is no longer necessary for profit, all pressure to maintain it disappears.
"
They don't have to apply equally. They just can't discriminate against a protected class. I can put up a "no hispters" sign on my restaurant and enforce it.
Check out Postum and Pero, the former being primarily wheat/barley, the latter mostly chicory.
The advantages that the article claims China has aren't unattainable for the West, but it does – as with other political issues — require new political movement that allows us to change our society to benefit from vast opportunities that technology brings and to avoid the dangers. China's ruthless pragmatism and decisiveness highlights the lack of political leadership and visions in the West. And those political movements we have are of little use, be it right or left.
Hard to say, more and more BTC in particular is being used as a shelter from the woes of fiat currencies. It's not the first time that a downturn in a fiat market leads to btc price increases as some players exchange their assets for btc.
No, they didn't tell HiQ. In fact, HiQ is suing LinkedIn because LinkedIn refuse to tell them.
Why don't we demand the same disavowal of left wing radical groups like Antifa from Democratic politicians. There is countless footage of peaceful right-wing protesters getting beat, fire bombed, etc. at Berkeley and elsewhere.