skysight-inc/HackerNews huggingface dataset:
That's ridiculous. The Supreme Leader's Council of Guardians personally certify any and all Presidential candidates. They may choose to allow candidates from other factions from time to time for political reasons, but they're still choosing. In a Democracy, the leader don't get to decide who is allowed to run for office.

And while we're talking about him, the "Supreme Leader" serves a lifetime term. They personally appoint the heads of the military, the government, and the judiciary. They directly choose the ministers of Defense, Intelligence and Foreign Affairs, and Science. Their successor is selected by a body appointed directly by them. The same person has held the position since 1989.

That's a fairly pure dictatorship, but agreeing with that statement might cause an Iranian to run afoul of Iran's Les Majeste laws, and Iranians are routinely punished for questioning or insulting the Supreme Leader.
Are you from Iran? I am iranian and regularly in touch with friends and family in iran and its a dictatorship. (I guess Theocracy works too). The ayatollah has complete unimpeded rule, he allows a moderate to be president because a vast majority of iranians are very unhappy with him and his government. If Rouhani wants to do something and the ayatollah disagrees, then whatever the ayatollah says goes, no questions.
No, it's taken into the spec. It affects unsigned <-> signed conversions and maybe other things. Not integer overflow though.
Mortgage rates in the US are much higher (though still low by historical standards) than in Europe.

You can get a pretty decent house in the Bay Area for $1M in areas like East and South San Jose.
Nation-states need to be consigned to the ash heap of history. They do not bring value in the 21st century, the lessons of the 20th ought to show we need to be implementing better solutions for organizing people, making decisions and building public infrastructure.
>Tone is a voice analysis tool that uses machine learning “to analyze energy and positivity in a customer’s voice so they can better understand how they may sound to others, helping improve their communication and relationships.”

well nobody should get the damn thing, it sounds like they're trying to turn people into smiling customer service zombies, did the people at Amazon read Brave New World and thought Soma was something they should actually build?

"All the advantages of Christianity and alcohol; none of their defects"
UXDX 2020 – Europe's fastest growing conference on Product, UX, Design and Dev
Would love to read the write up!
Yeah that was me (I had also created an earlier HN thread about it -> https://news.ycombinator.com/item?id=24360801).

I know it's written with a smile, but being serious for a second, it won't happen since sanctions on Iran only apply to the public sector, or perhaps companies, but certainly not individuals.
Some of the leading vaccines present their own logistical challenges. Some of the leading vaccines (Moderna, Pfizer) are quite fragile and are hard to transport and store. Moderna needs to be shipped and stored at -20C (-4F) this is tricky but not that hard, since it is in the range of commercial freezers. The Pfizer vaccine needs to be shipped and stored at -70C (-94F) which is outside the range of ordinary freezers (bio labs have them but doctors labs do not). Pfizer can be packed in dry ice to ship, but the ice needs to be replenished every 24 hours. https://twitter.com/LizSzabo/status/1298646754884300800
It's actually easy to get there, you just have to believe that your group is inherently superior to outsiders. You owe them nothing, you try to outcompete them. That's the morality behind the cops, and it should terrify you.
> your example is incorrect. Evading police retribution is one of the few exploits explicitly forbidden by game rules

But his example was not about evading police retribution. It was about mechanics related to self-protection from suicide ships.
>1. Torturing is illegal and prohibited by constitution in Iran. A single sign of torture can easily make a judge dismiss the trial.

uhh... https://news.ycombinator.com/item?id=24365648
Who knows, maybe in the next version, you'll be able to link up your heart rate monitor.

(I'm joking, of course, unless this somehow becomes a serious use case at some point xD)
American conservatives think the NYTimes are socialists, and American socialists think the NYTimes are conservative. I think this sort of split reputation is characteristic of American media with a centrist bias.
> One example is regular files, which cannot be made non-blocking.

AFAIK this is true on Linux but it’s not true on Windows, which allows “overlapped I/O” on files. Not sure about other operating systems.
The Perfect Agile Team Size
This is very nicely done, kudos to the author. I'm sure many will find this useful.

Personally I've gotten away from using SQL RDBMSs. Since I primarily build on AWS I use DynamoDB but the same principle would apply elsewhere. I like to store data in the format that best supports the read model. Event sourcing allows me to change the structure of the read model, or add new read models, or vary strategies depending on data, as needed. I like that I no longer have the impedance mis-match of the normalized relational model.

It was a big jump to make, and I had to unlearn a lot. I'm not dismissing the value of RDBMSs at all. I love them, especially star schemas for analysis. I just want to share that it's ok to not use an relational model for your transaction store.
the template syntax reminds me of an other postgres libary https://github.com/porsager/postgres
Doesn't change that people will be able to use this against him in the future, perhaps violently.
The whole thing is a facade..

Like picking presidential candidates that have all been vetted to have acceptable viewpoints. "You can pick anyone that believes what I believe."

Laws, but if someone in the government suspects you of a crime or just doesn't like you, they through you into an interrogation cell and torture you until they get what they want.

There's no rule of law. And there's no democracy in Iran.
I used to live in a flat (I guess you would call it a condo in the US) with heating provided by the building. My landlord who I lived with left the heating on 24/7 during the winter and the flat would get ridiculously hot. Even though he was the one paying for it indirectly through service charges. This arrangement is becoming quite common for new build flats in the UK but I would actively avoid if I was looking to buy.
> "IANAL .... where a layperson-accessible ..."

as a side note, let's not separate ourselves from lawyers in our ability to reason about and determine what's fair, ethical, and just. it's well within our power to interpret and rationalize about human relations.

a little specialized training in argumentation doesn't give lawyers special powers in this regard. that is, let's not fall for either regulatory capture or an appeal to authority (that's not to say that lawyers don't often have relevant specialized experience to bring to bear in litigation and negotiation).
In these cases often optics matter more than facts. Using something common that has some israelian authors? Probably fine. Personally accepting a contribution from someone with a very israelian sounding name? Possibly treason, I would want to take chances.
Sure, if that is what they correctly predicted. If the Chinese did that, well, it kind of didn't work, because they also got a trade war and generally unfavorable development. If the Russians did it, they also got a nice proxy war going that they probably didn't want, with their local client state in the area losing ground and the US ally next door annexing part of it.

Rolling the dice is great, you can win big (or bigly?), but it's a dice. Unless you've manipulated it and made sure it can only show whatever side you want, there's a good chance you'll lose.
I've had my own share of this. Among the emails I've received, there have been some from within the New Zealand Parliament, a fire department in Oregon, an OB/GYN on the east coast of the US, car loans, home loans, concert tickets, plane tickets, and other less consequential things.
You don't want to be running a CA. Because devices don't implement "name constraints", once you import your CA Root cert into a device, all HTTPS communications on that device can be subverted if someone gets ahold of your Root CA's cert/private key.

I find it incredibly annoying that i can't tell chrome to use THIS CA Root Cert only for *.mydomain.com and not my banking domains, email, etc.
So is US. Last time I checked it was not possible for an outsider (third party candidate) to participate in US election.

Forgot about outsider, look what they did to Bernie Sanders. Both 2016 and 2020. Should I explain more? Let alone third party candidates like Jill Stein.

You have really bought the brand of bs the media is selling you don’t you?
> Look how many artistically important movies are not really available anymore

Yeah like for example the moon landing videos that NASA deleted by accident. Had they been freely available in hires digitized copies we would still have them. But alas we only have low res copies.
I happen to know that two popular machine learning libraries (MLPack and Vowpal Wabbit) have merged pull requests from North Korea. I know this because I was teaching a class on open source software development to North Korean students in 2015 (at PUST, a university in North Korea), and this was the final project for two student groups. The pull requests got merged fine, and the country of origin was never an issue.

FWIW, I am an American citizen and former military officer with a top secret clearance. I never broke US law, and I never feared any retaliation from the US government.
Oddly, I interpreted "objectively," as necessarily immeasurable, in contrast to commenters here who state the prerequisite is that "good," be measurable. The example I think of is judged sports, which are essentially arts with a measurement criteria bolted on to them after the fact to facilitate governance. In these cases, the interpretation of the performance does more to legitimize the governance and the judges than it does to meaningfully evaluate the performance itself.

In this sense, I'd posit "objectively good," is a question of beauty, and not measurement criteria. Those sports suffer from the Goodhart's Law problem (https://en.wikipedia.org/wiki/Goodhart%27s_law), where you don't need a competition to recognize someone is objectively good at something if they perform it beautifully.

The idea of "good," as a set of measurable scalar quantities presumes that you can express the object in those terms, which in the case of writing or a performance, you can't. There is no set of instructions that can reproduce a "real" performance.

You can produce something where people won't care about its difference from the "real" one (lots of economics and cog.sci on that one), but the existence of a simulation does not change the fact of the existence of the real.

For example, if some future GPT-7 produced the literary equivalent to crack cocaine, it would still not be Ted Chiang, whose work is beautiful and could be said to be objectively good. People might prefer this new crack-lit, which mutes their ability to sense ugliness, parasitism, disgust, or horror, but its existence does not obviate the existence of Chiang. That essential existence is what makes Chiang an objective phenomenon, and the beauty of his work is what makes it good.

I don't think there are short answers to this question though. :)
I would hesitate before calling these conditions "lifelong maladies present from birth". It's much more accurate to call them predispositions that may or may not manifest. And even so, the degree of manifestation may depend on the degree of trauma, addiction, or other challenges the person happens to face in life. This variation is what makes me doubt any clean division into adaptive/maladaptive cases. Not everyone so predisposed is triggered into these mental reactions through their life experiences, and not everyone who is so diagnosed is a lost cause, and furthermore, those who can manage their conditions may take offence at being called "malfunctioning" when they did in fact "adapt".
I get so tired of the churn claim. Let's look over some stuff

ES6 -- 2015

jQuery -- 2006

React -- 2013

React Native -- 2015

Redux -- 2015

VueJS -- 2013

6to5 (now Babel) -- 2015

Webpack -- 2012

ESLint -- 2013

jslint -- 2002

ExpressJS -- 2010

Lodash -- 2012

UnderscoreJS (basically the same API as Lodash) -- 2009

D3 -- 2011

Blockly -- 2012

Node Red -- 2013?? (I'm not sure when IBM first released the project)

Bootstrap -- 2011

PDF.js -- 2011

WinJS -- 2012

SocketIO -- 2012

ThreeJS -- 2010

dotenv -- 2015

momentJS -- 2011

node-sass -- 2012

Winston -- 2014

yargs -- 2011

Modernizr -- 2009

Jasmine -- 2010

Mocha -- 2011

Jest -- 2015

All of these are at least 5 year old and most are 8-9 years old. Look over the most downloaded npm packages and you'll find this to be generally true for all the top packages.
Does anybody know why there are line breaks in the sed command?
The question is not whether your mental model is incorrect, but whether the deficiencies in your model cause problematic consequences. For example if my model of how wings work is that "the slower you go the more lift you get", should I pilot a plane I'd probably end up getting in trouble.
Short, potentially inaccurate:

Render functions are only called when a component is being rendered. React keeps track of which component is currently being rendered. When you call `useState`, React knows which component is currently being rendered and keeps track behind the scenes which state that component has.

The way it knows which value it should return for `a` ties directly in with why you need to call `useState` calls in the same order -- React basically keeps a list of the state behind the scenes, and returns the (secret behind the scenes) state in order. If you change around the order of `useState` calls, it can't use the ordering of the calls to determine which state needs to be returned.
Can you give an example, personal or otherwise?
If GP meant what I think he meant and he did manage to swim out of troubled waters.. I think yeah. And in general I remember that I was born to survive not to die. That every tuesday I get a happy moment.. so things are not fully broken. But I need to remove the noxious part of my life so more happy moments come than sad ones.

Again it's not a universal solution but very often when you change context, you find yourself having it easier. You're not even trying to be happy, it just grows around.
Definitely. I've certainly found my own sources for the kinds of news that I'm interested in. A lot of it is independent journalists/*loggers.

Often enough I can check their sources and check multiple points of view on the same topic. The problem is that's a lot of work. Other people I might want to educate about the facts haven't put in that work -- they've just watched CNN/MSNBC/FOX or read the NYT/etc.

And most of those get it wrong.
I'm not sure if I would describe it as boilerplate because it includes very real cognitive overhead. The best example is the lifecycle methods: if you access a prop in componentDidMount you need to remember to handle what happens if that prop changes in componentDidUpdate. It was incredibly easy to write broken components using the class API and much harder with the hook API.
> Doesn't change that people will be able to use this against him in the future, perhaps violently.

The Iranian government already has a case against him then, he is using PHP and committing code on github.
This is where I make a joke about "local government" and finding "proof of work"
Growing up in one small town in the Midwest, and currently living in a slightly larger but less vibrant small town in the Midwest, the internet is the driving factor for most of the small businesses that I see thriving here.

Being able to do online sales, and have a small storefront where you keep your inventory and also have a showroom for the public seems to be a winning combination.

But running a small business takes a certain level of stubbornness, and it's often easier to just check out and take an office job.
Improving Apache Cassandra’s Front Door and Backpressure
Optimizely Acquired by Episerver
Look at his profile.
it's a default API for brains, but ideas will trigger neurochemistry too .. well I'm sure you got that already
As I said, I think they have approximately the same content and biases as CNN. I think they come out better than CNN because they have better writers and editors.

CNN articles seem like they were written by highschoolers and rubber stamped by editors who can't be bothered to read anything.
Music to Hack To: A Bishop Fox Mixtape
> Moreover... "Appeared." If the author believes Trump was saying that, then say Trump said it. However, the author knows that's not true, so the author said he "appeared" / his words could be twisted. Utter cowardice.

Trump is so confused and unclear sometimes that it's hard to tell exactly what he's trying to say, hence the "appeared.". What he says is newsworthy, and some of the most likely interpretations are shocking, so it can't just be ignored. It wouldn't surprise me if he advised his supporters to do something that clearly amounted to voter fraud without actually understanding that it was fraud.

> Where Trump clearly explains that people should go to their polling places so that the poll workers can check the voter rolls and confirm whether their ballots have been received. If so, then voters will be turned away. If no, they'll already be at the polling place and will be able to cast a ballot. You, I, WECT, and CNN all know that Trump isn't saying to lie about whether you mailed a ballot. To say otherwise is to lie.

I don't know how it is in North Carolina, but where I live they never ask if you've already mailed in a ballot at the polling place. They just ask for your name, look it up in the voter roll, and cross it off, and give you a ballot.

North Carolina accepts absentee ballots postmarked on election day (https://www.ncsbe.gov/voting/vote-mail/five-steps-vote-mail-...), so following Trump's advice could potentially bypass the poll worker check if the poll workers are like those in my state. I believe North Carolina has other checks to prevent double absentee/in-person votes from being counted, but fraud is still fraud if the deception doesn't work.
Is there any doc about how this caching is implemented ? I still don't understand why we need to feed this dependency array to have an up to date version of the count variable.
No worries! And yeah I went through a phase a few months ago of trying out the completion packages again, it's worth just trying and seeing if you like it. Here's the relevant bits of my config if that helps: https://gist.github.com/nikki93/6ea403d3e2cbff2b3d32d4528edf...

coc.nvim has pretty much worked pretty well out of the box for many languages, and it works for me on macOS, Linux and Windows.
"Anxiety may be due to chronic activation of the fight or flight system. PTSD may occur when trauma triggers the freeze response which helps animals disconnect from pain before they die, and depression may be a chronic activation of that same freeze response."
Isn't this a quite good definition of disorders? If a system is chronically activated when it should not, it seems like a disorder.
How Do You Say Good Morning in Romantic 2020
Same can and should be applied to websites (including this one).
All presidential candidates must be approved by a religious council. It's not democratic they just let you pick which of the narrow approved candidates gets in.
That is because many people believe in extremes.
After a while people should learn that there is no absolute truth, everything has it's place.

ORM is good sometimes, pure queries are better on others.
So what is needed is more like relaxed ORMS.
One Family Has Delivered the Mail by Boat for 115 Years. Is This the Last?
Have you tried https://doc.e.foundation/devices/tissot/?
https://www.dropbox.com/s/ttgrk8yzwcouxpr/MeetingNinja-Intro...
> If most kinds of success or talent are usually perceived, can we ever truly say someone is "good" at something?

Only if there are established and accepted criteria, standards on which everyone agrees. The driving range of an electric car, for example.

By contrast, outside science and technology, "good" is a matter of individual taste.

My point? Standards must be defined and accepted by all interested parties.

Here's my favorite example of the opposite case: an optimist and a pessimist have a debate.

The optimist says, "This is the best of all possible worlds!"

The pessimist says, "That's right!"

Both declare victory.
All presidential candidates must be approved by a religious council. It's democracy pastiche at best
This is largely due to the wholesale destruction of the news industry by embarrassed capitalists and politicians over the last 30-40 years. Another reasons is that the same people have removed any ensemble of education which teach children to think even halfway critical about any topic.

We have journalists entering the workforce who have a good chance of having never consumed or witnessed any real journalism in their entire life.

So many of publications we used to know and love employed a sufficient amount of _professional_ copywriters, fact checkers, editors and so forth.

Editors were happy to let journalists take their time on stories that might not pay off for several years knowing it would pay to get things right.

Now-a-days, unless you work at the NYT, Guardian, or other company with mega-bucks and a robust subscription program you will probably never see a fact-checker, photographer, copywriter, and your editor will be not much more than an assembly line manager who may or may not care about the quality of the journalism you produce. If they do care, the likely have no leverage over the moneyed-interests who own the company.

A lot of people these days are not willing to pay for good journalism because they've been tricked into thinking they get "just as good" for free, which they most obviously do not.

And when they "discover" that their free news is run by rank amateurs who don't actually care about journalism and produce the kinds of things the OP rails against, it often seems to fester into a complete denunciation of the entire enterprise.

In fact, it is my belief that this is actually the goal of many unscrupulous practitioners of crappy journalism.

They know they can bankroll and support a crappy "news site" with the left hand and with the right hand use that to slowly tear down the firms putting out rigorous journalism, giving actual facts to citizens which show their ideology and politicians are nothing more than kleptocratic idiots.
I’ve been using it since the initial release when it wasn’t even its own tool, and it’s come a long way since then. There was a release that basically flipped a reliability switch and it was night and day in terms of responsiveness, stability, availability of completions, etc. Definitely update!
Inspector and Avo's $3M Seed round
OpenNebula EE Maintenance Release 5.12.3 is available
Checks in Python are pretty concise. If you just want to have a default value if the key my_value doesn't exist, this is all you need:

value_I_want = some_dict.get('my_value', default_value)

If you want a more strict check including type checking:

value_I_want = some_dict.get('my_value')
if type(value_I_want) is not str:
do_something()

In Java the real problem is nested JSON objects -- it's a real PITA to read those. You can't do something like this (Python):

value = some_dict.get("foo", {}).get("bar", {}).get("blah", default_value)
Show HN: Android Food Allergy Diary for tracking symptoms
Cardinal Richelieu is alive and well and living in the Tropics.

“Give me six lines written by the most honest man in the world, and I will find enough in them to hang him.”
Nearly fell out of my chair laughing when I saw "semi-democratic" XD