skysight-inc/HackerNews huggingface dataset:
Technically speaking: cool

Practically speaking: I worry this will become a parallel but subtlety different implementation of Kubernetes with it's own quirks.
Only if you assume a voting system like First Past The Post where the winner indeed takes all.

May countries have voting systems where candidates and parties take proportional seats in parliament according to their votes. This means there is a need for coalitions and consensus seeking across in order to get anything voted through parliament.
Doesn't the map show the trend? So it's not about how green it is but how mucher greener it's become over the last decade.
The point is pretty simple: damage control, and a refusal for change.

Society wants to discredit everyone who is a former felon (which itself is a sentence for life), and it wants to keep people who are cops from becoming a felon (those 'criminal cops' surely did worse things than 'convicted and sentenced for assaulting a carjacker'?). Supposedly because being a cop earned them credits or bonus points of some kind (I'd put my bet on that it costs society a lot of money to train cops and keep them from being dirty).

In that way, the list (of former felons) retains its value. If the State would prosecute and convict dirty cops, society may get the idea that cops (who are supposed to be a reflection of society) are less sincere than they may seem to be.

The problem can be solved pretty easily:

1) Prosecute dirty cops.

2) Stop with this 'former felon' sentence for life. Be pragmatic about people instead.

3) You'll find 'former felons' everywhere in society, including in government positions. However, felons stay in prison to serve their fair share.

4) The chance of becoming a felon will eventually decrease (it is ridiculous right now, with e.g. crimes involving something innocent as a little bit of cannabis).

Problem is, there's a lack of willpower society has to go for these steps. How can we stimulate society in the right way? I suppose one thing would be that those who are former felons like yourself open up about themselves. Put it out of the pandora's box where the light doesn't shine.
I really don't like it! It doesn't have the full flavour that malt vinegar has. Perhaps the british are just used to it now. That video forgot to say, the reason the chippies are using it is because it's a lot cheaper. I'll pay an extra 25c for proper vinegar please.
No mention of Döner when searching for Berlin.
Totally agree, management most of the time has no clue what is actually required because in early stage they dont know what they want in reality!

Glassdoor and similar reviews are completely useless.
never written 'hello world' before? got to learn the tool before you can solve previously unsolved problems
This is indeed a complicated subject and there exists a non-profit that tries to track freedom/democracy in the world. This is their latest report: https://freedomhouse.org/report/freedom-world/freedom-world-...
judging from the Chinese I personally know I'm fairly sure they do!

fwiw not just China, many Europeans (and nearly all Russians) I know think this way too. I too fall into that trap from time to time (either lashing out at the US, or China as a result). It's all pointless waste of breadth in the end. The problem from my perception is that the US is a superpower which faces difficulty in this new information age covering all its crimes the way it did 30 or 50 years ago. News of wrong-doing (which all governments do) spread like wildfire and are amplified by foreign propaganda (whether it's this article or FVEY member Australia screaming its head off about the natsec risks posed by Huawei - "screaming on behalf of the US" to amplify the message).

The beauty of Wikileaks, and twitter is that we can see the real faces of the players and their agenda (in every country). And it isn't pretty at all. In US case, news about secret prisons, (black sites), gitmo, Abu-Ghraib etc are much more depressing (than if we learn about such things happening by the hands of China). Maybe because the US is the strongest player and has sold itself (through hollywood) as a liberator and we want to see them as good. Or even a role model ... Instead we got corporations and lobbyists controlling who gets to play war. People like Trump/Bolton/Pence don't exactly portray the US in a positive light. Not long ago it was Bush/Wolfowitz/Rice/Cheney (even worse) and Obama did nothing to curb surveillance and incarceration of minorities. Obama had an easy job in regard to foreign policy. All he had to do is "not be Bush" - that's how much Bush was hated in Europe.

I'm not having a go at the US. To me any nation state sucks. But if somebody starts a conversation with me today and has an American accent, I'm now quick trying to find out who they're backing - just so I know what kind of level of crazy it is that I'm dealing with.
This already happens in most countries. No one votes for a lone representative's crazy proposal.

I notice something, with your proposal one person can keep proposing 100 to 1000 votes to make all taxes go to them, effectively killing the government.
probably nothing, is that a problem?
The Irish are pretty nice when they are drunk. Not all ofc, but with the amount of alcohol been drunk here in Dublin, the amount of drunk fights and things like that is quite low. At least in city centre.
Lived in the Docks for 3 years and every weekend was out in town.
> Welcome to 2019 where an "embedded" system has 1GB RAM.

Thirty years ago someone could have said the same when seeing laptop computers and remembering when computer literally used to occupy whole large rooms.

Come on, let's stop doing this kind of jokes, they add nothing to the discussion.
> The universe itself keeps on expanding and expanding In all of the directions it can whiz As fast as it can go, the speed of light you know Twelve million miles a minute and that's the fastest speed there is

Faster than that - the universe expands faster than the speed of light, because it's not the matter that is moving away, it is the space itself that grows between.
Ask HN: How do you ethically collect browser information?
I recently joined a company that offers browser-based products. I would like to collect some information about my users browsers for development purposes: browser vendor, engine, OS, CPU, and device type/model, screen resolution so that when they have a problem, I can reproduce it as close to their environment as possible. NOTE I'm not interested in fingerprinting, analytics etc. It's just to be able to quickly diagnose a problem.

How do you do that in an ethical, privacy-respecting manner? Are there any npm packages you can recommend?
There's actually a writeup of this technique on the Redis blog: http://antirez.com/news/96

In my case they overwrote ~/.ssh/authorized_keys, /etc/group and /etc/passwd as well.
After reading about the 10 dishes that define Singapore [0], yesterday, I thought you got inspired to post your project here as well. Unfortunately Singapore did not yet make it. To find Netherlands therefore was a surprise. Seems fairly accurate. Good job !

I also missed Portugal, which supposingly has more codfish recipes then days in a year...

[0] https://news.ycombinator.com/item?id=19248711
Seems like Mexico is missing, and that whilst Mexican food is seen as a cultural treasure by UNESCO. They also have some pretty 'identifying' food that spread around the world.

The idea behind the website is pretty fun though.
Yep. Look at his announcements from a few years ago. "How is he going to build that many charging stations?". I find it pretty impressive how much of that happened exactly the way it was announced.

Besides: The Germans are struggling just as much delivering their highly announced flagship EVs.
Artificial Intelligence at the Bank of England
that's a good point. But also people move because of jobs, higher salaries and adequate living conditions (including housing cost). The last one can't be said about Dublin.
Lots of friends of mine moved back to their countries even though wages were lower, but considering prices for food, entertainment and rent at the end of the month they have more money in the pocket.
But in that case they would want to have the English version of the website anyway.
Can such problems ever really be solved without associating every online account with a person's identity (at least internally) and enforcing one account per person per social platform?
I was in Bulgaria, and can't remember any dish from that list accept rakia.
I've done exactly that for my monthly time reports at work.

The company's official ERP in which we report our monthly activities is a horrendously slow and error-prone old-school GUI, where you basically punch a lot of numeric codes that represent customers and activities, and that can be pretty hard to get right. It looks like a spreadsheet with delays of several seconds after each cell is filled-in, because the apps commits everything over the network each time. I would waste several hours of life every month, typing one piece of rubbish at a time into that sad thing. It's a lot of pain and a colleague had written an automation tool based on the ERP's binary formats. However, his tool needed the code to be adjusted to each user, then compiling his thing was no easy task, then you needed to ask for special permissions to be able to feed the ERP with the binaries, and at last you realized that the binary output was a fragile thing, and so nobody used the tool.

So I wrote an automation script in Python with pluggable input sources which can be combined (text files that are easy to read and write, http connection to Redmine activities... later on a colleague took the tool and added a GrindStone source, and another guy plugged it into his Outlook calendar). The output stage to the ERP is built upon PyWinAuto, and it just simulates key-strokes on the proper window. It is not smart. It remains constrained by the ERP's slowness. But IT IS A HELL OF A FUN TO WATCH your monthly torture getting done all by itself, and enjoying a walk with a coffee in hand for that time, coming back from time to time to see your screen doing stuff.

All in all it took me about a whole day to write the script. It has been running for four years now. One ERP update broke the output stage. Fixing it was a matter of minutes : just write down the new keystrokes.
Depends on your perspective. Democracy is essentially an outcome and dynamic state of a society, formed by the opinions and opinion driven actions of individuals.

So in a different culture with different "influencers" at the top, and therefore a different public sphere, the outcome can be something completely different from what most people associate with democracy (positive and negative freedom). It's basically a shared experience.

Religion was first as centralizing force, then came the traditional mass media and now there is social media and individual influencers, everything is getting less gated.

The dilemma is that most people didn't learn the true hierarchies in school, or how the system and democracy really works and what holds it together. And those who research it on their own may easily drift off into conspiracy stuff, because conspiracies feed the people with tiny bits of the truth (among many lies) they weren't meant to know.
NL and SK fairly accurate. Some stuff that's not usually mentioned in tourist guides. Good job!
The headline is a lie. This is all about raising money to pad their pensions.
I'm curious to know how their algorithm works when a site offers truly unique items? In other words, if I was buying a custom hand-crafted ring what would it recommend?

Going a step further, if I was buying the Mona Lisa, would it know to recommend me other Da Vinci items, or other renaissance items, or would it fail to make that inference due to there being no co-occurrences in purchasing behaviour.
That statement itself seems like astroturfing.

How can one be sure those subreddits don't have any paid posters?

When you have a popular post that reaches the Reddit front page, you may receive messages from people asking if you'd like to promote their products.
"Statistics are useful for forecasting."

Meteorologists have long used a metric, forecast skill, to evaluate different techniques. It would be good if the researchers used standard benchmarks.

ML is probably much more useful in understanding the demand for power, the reaction to weather and current events. But even still, it seems a stretch.
Yes, this is why I'm saying it's the "common" failure case, rather than the absolute failure case.

To illustrate, there are very few cases in US law where you can shoot someone in the back.
Almost all "free" mobile apps?
- Internet banking (has wasn't the only one, but successful in it [he participated in what is now called PayPal])

- Commercial space launches (admittedly there's competition, but with different goals/ none have come this far) with LANDING ROCKETS

- Consumer electric vehicles (How would you disagree with this? There was nothing serious before Tesla. )

He hasn't invented much technology. But often enough he saw that we're not using our tech to its full potential and worked on doing exactly that. Pretty successfully, I would say.
Ask yourselves. How many 'regular' citizens would be able to keep their jobs, relationships, lives if committed only one of half the crimes suggested in the article above?
The Socialist Peoples Republic of California. Working hard to better the lives of themselves... not you!
Discontinuation of Coinhive
The host is required to not be damaged by a short circuit on the power lines.

That means a device can ignore the signalling entirely and just keep taking more power till the supply turns off, and then scale back 10 percent.

More and more Android phones do that, and it works very well.

Only disadvantage is if you plug it into a hub, it can cause the whole hub to go out for a bit. Devices solve that by not using the above algorithm when they detect any active signalling.
Indeed, better a list than searching at this point. Stopped looking after getting no results for Japan, South Korea, Malaysia, Taiwan, Singapore and Vietnam.
Rumoured: William Hartnell AI-Driven Reconstruction Coming for Doctor Who
German one has several typos a native German would not make. You can tell the pronounciation is a bit off. Content still correct.

Should also be further split up by region. Often that would be quite easy, because the name of the dish often contains the city/region it's from. If you don't do that, you get the German equivalent of ordering Mexican food in New York and Pizza in California or vice versa.
A lot of the “don’t want to work on killing people” rhetoric is arguably a bit naive. First, sometimes governments legitimately need to use weapons to defend us, and they don’t grow on trees. More relevant to big tech specifically, some of the technologies (facial recognition, AR etc.) can legitimately claim to help improve targeting (and thus reduce chances of killing innocent bystanders). It’s rarely black and white. At the end of the day, if you are an employee who (quite legitimately) is uncomfortable with it, is it ok to petition company should stop, as opposed to simply taking your labor elsewhere?
It's been one of the least problematic things in our infrastructure. We keep around for a bit of internal caching of things, transient state, and some non critical queueing. We have a couple of redis nodes that we've had for years. Saying it is a key value store is selling it short. What really makes it useful is things like queues, sets, ttls on keys, etc. The API has dozens of different operations and variants of operations. Mostly, redis is rock solid and stable but because it is not a transactional datastore you should not rely on it preserving your data. Bearing that in mind, you have to plan for the worst. IMHO treating it as a transient thing that can go at any point and that you don't back up is a sensible thing to do. Blindly restarting and wiping a redis node should not cause any harm. Mostly this never happens but when it does, we simply restart.

Redis cluster is more about availability than it is about consistency. If you are aware of that, it's a fine solution.

A couple of things I do with it:

- buffer log messages before we send them to elasticsearch via logstash. This is a simple queue. Technically it's a single point of failure but worst case we lose a few minutes of logging. This happens very rarely and typically not because of redis. This node is configured to drop older keys when memory runs out. We did this after a few log spikes killed our node by running out of memory. Since then, we've had zero issues.

- we have a few simple batch jobs that we trigger with an API or via a timed job in our cluster. To prevent these things running twice on different nodes, I implemented a simple lock mechanism via redis. Nodes that are about to run check first if they need to and abort if another node is already doing the same or recently completed doing this. This does not scale but it works great and I don't need extra moving parts for some routine things that we run a couple of times a day.

- some of our business logic ends up looking up or calculating the same things over and over again. We use a mix of on server in memory caching and shared state in redis for this. Keys for this have a ttl; if the key is missing the logic is to simply recalculate the value.

Once you have redis around, finding more uses for it is a bit of an antipattern. It does queuing but you probably should use a proper queue if you need one. It can store data but you probably want a proper database if you are going to store a lot of data, etc. It's great for prototyping though. Use it in moderation.
There is not supposed to be any superspeed+ branding. From USB-IF guidelines:

> NOTE: SuperSpeed Plus, Enhanced SuperSpeed and SuperSpeed+ are defined in the USB specifications however these terms are not intended to be used in product names, messaging, packaging or any other consumer-facing content.

> USB-IF’s recommended nomenclature for consumers is “SuperSpeed USB” for 5Gbps products, “SuperSpeed USB 10Gbps” for 10Gbps products and “SuperSpeed USB 20Gbps” for 20Gbps products

Those are hardly "ridiculously arcane". Full speed is not really relevant, so only thing consumers need to know is that superspeed > high speed, which I don't think as very high bar.
Was thinking same, now that certs are free I tend to just use single domain certs but maybe that is not ideal? Suppose you could modify this[1] to mv / symlink dir as final step for multi domain certs.
https://github.com/h0l0gram/letsencrypt-utils/blob/master/le...
I checked the analytics dashboard yesterday and updated the website: the only data that I'm not getting though is the users country/city and their provider. So in a sense it's better for your privacy: the IP is not your own!

I'm not an expert of Analytics but I'm also assuming that since the cookies are different (because the HTTP call to analytics happens on a different domain than usual) it shouldn't be able to track you just as well: G Analytics don't know your IP and have no trace of your previous anonymous IDs set in your cookies!
I'm sorry, but I don't see the relevancy to Syrian arms factories. Is your logic that all companies should be engaged in weapons development because there are Syrian arms factories?

Nor do I see how my comment is any more naive than your earlier one. (Indeed, my comment was meant to highlight why I didn't find your earlier comment persuasive.)

I think that not only is your analogy to global warming incorrect, but it's hard to make any good argument by analogy. Please instead make a counter-argument on the topic itself.

You write "Best form of protest is to quit".

The history of labor actions show that isn't always true.

Strikes - in effect, a threat of collective quitting rather than the slow effect of individual, uncoordinated quitting - can be more effective. (Though of course not always.)

I even pointed to the recent teacher strikes as a counter-example, so it's not like you needed to guess what I was referring to.

As another example, do you think that the best way for me to object to racist practices as my place of employment is to simply quit? US civil rights law says that not only do I have the right to object, and publicize my objection, but that my actions are protected, such that it is illegal for the company to retaliate.

Consider Google recent decision to end its relationship with the DoD's Project Maven. A dozen staff resigned, while thousands signed a petition in protest.

Do you think Google would have ended its relationship if only a dozen people resigned and no one else spoke up against it while being employed? How many people do you think would have needed to resign in order for Google to change its mind?
How do you submit what you've written?
It's a very typical pattern in speculative finance
Classic Style Intellectual Worlds
Collecting info should be optional so people can opt out. This needs to be communicated clearly. Purposes need to be stated.
Slightly off-topic, but what makes Redis cluster preferable over something like etcd as a K/V store?
We're still in a place where there are millions of embedded devices out there in actual real world use where these resource constraints are real.
Oh, boy. Spain is pretty bad [0]. Nobody eats paella that often. Nobody who isn't a tourist drinks sangría.

There is also no mention of northern cuisine except for pulpo a feira. Spanish gastronomy is a very regional thing.

[0]: https://what.toeat.in/spain/
Everything is that way in the UK: Substitute for cheaper everywhere you can.

That's why food is not great in general. Just using proper ingredients immediately improves things massively.
Kas būtu jāzina par ārdurvju skaņas izolāciju – MetaLux
SuperSpeed+ was never supposed to be exposed to consumers:

> NOTE: SuperSpeed Plus, Enhanced SuperSpeed and SuperSpeed+ are defined in the USB specifications however these terms are not intended to be used in product names, messaging, packaging or any other consumer-facing content.
This won't work AFAIK.

open takes a file path and gives you back a fd that doesn't know anything about fs paths (it tracks the underlying inode).

Thus, nginx may open(key) before the directory is renamed, and open(cert) afterwards. The first fd is now pointing to the old key, while the second fd points to the new cert.
Pure speculation. Like in many other cities the density is limited, often with silly excuses, in order to drive up the market.

Home owners, including large financial groups, sustain this policy.
Industrial espionage is a real thing, if you believe it or not.
Am Dutch, just looked out the window at what is considered a gas station with cheap prices (not next to a highway) and gas is €1.559/l, diesel is €1.319/l.

This comes to $6.72 per US gallon for gas. More than half of this price is VAT and duty. On top of this we pay road taxes based on the weight and fuel type of your vehicle, about €50/month for a small (1000kg) gas powered car.
IMO any program with a sufficiently high number of entities in a low level language contains an ad hoc informally-specified bug-ridden slow implementation of a garbage collector
I would dare to say that (Spain) the situation about ham (and pig breeds and their raising) is a bit more complex than what has been stated:

>...Spanish pigs who have been feed only with acorns which makes them legs black ...

Compare with:

https://elpais.com/elpais/2017/07/06/inenglish/1499366286_53...

https://en.wikipedia.org/wiki/Jamón_ibérico

The "pata negra" is a definite breed.
Manila is correct. Though the author is from "Manile" lol.

No Japan - wow, ok.

USA seems accurate, for thanksgiving. Deep dish pizza can be an "American" thing or a Chicago thing, depending whom you talk too.
25p