skysight-inc/HackerNews huggingface dataset:
Ethiopia's GDP growth has been on a tear since 2000. [1]

If you visit the capital, you can't miss the Chinese influence. Last time I was there, a huge Chinese bank building was going up kiddy corner to the Airport in Addis.

BTW, if you haven't visited Ethiopia, put it on your list. It's an amazingly beautiful country.

[1] https://www.google.com/publicdata/explore?ds=d5bncppjof8f9_&...
Right, TS wants you to go full-on tagged union.

{type: 'a', a: number} | {type: 'b', b: string}

When you do this you consume it with a switch(x.type) statement, not an if() statement, so that you can write `default: assertImpossible(x.type)` for some function `assertImpossible(y: never): never` that throws an exception of your choice.

This gives clear fail-at-runtime semantics if JS hands you some crap your types weren’t anticipating, but also fail-at-compile-time semantics if your pattern match is no longer exhaustive (i.e. you added a new case, now TypeScript tells you everything you need to change).

In general it's really nice to view any data structure as isomorphic to the control structure that consumes it. “lists” are consumed by for..of loops, “dicts” are consumed by for..of Object.keys() loops, sum types are consumed by switches, objects are consumed by property accesses, etc.
Food aid dumps from the US to Africa are correlated to liquidation of crop surpluses and our government price supports.

Evidence has built up that food dumps destabilize areas, undermine local food costs, drive local farmers out of business, and exacerbate suffering.

https://abcnews.go.com/WN/Health/us-food-aid-contributing-af...

https://www.huffpost.com/entry/why-idead-aidi-is-dead-wr_b_1...

https://www.nytimes.com/2007/08/14/world/americas/14iht-food...

As is pointed out in another comment, this weather satellite on the otherhand is going to tremendously help local farmers.
poor lady. wonder if she deserves her grand kids criticizing her life choices with whataboutist arguments post mortem.
> “which is that the term Open Source has been taken over by opensource.org“

https://opensource.org/history claims that the term did not really exist before those behind OSI/opensource.org started using it. While the originality of any composition of dictionary terms is debatable, I'm quite willing to accept that claim. I remember hot debates about the conceptual differences between FSF and OSI but none about prior use of the term.
I bought a CO2 monitor, and did the same experiment at my office, few weeks ago. I work in a very crowded room, with only one window.

At first the CO2 measurement was "out of range" (>=3000 ppm), but it was not a surprise because I already suspected something was wrong with the ventilation system. It has been fixed now, but CO2 levels hardly fall under 1500 ppm.

My advice is to open one or more windows whenever possible, at least one hour per day. If possible, one window should be opened the whole day. CO2 tends to accumulate in ambient air and it takes times to dissipate, far more than I imagined.
Sadly, I came to the comments expecting some kind of othering and here it is right off the bat
Show HN: Ktfmt, a Kotlin code formatter powered by Google-Java-format
> What experiences does the child have that makes their opinion valid in parenting issues?

Well, their own. Those experiences likely give them better insight into their own preferences than an outsider, even at a young age.

Ignoring those preferences suppresses their individuality. It also reduces the chances of them finding something they're uniquely good at, restricts development to the parent's biases, and kneecaps entire suites of decision-making skills and development.
The extra frame that I mean is: console renders, vsync, compositor grabs it and renders, vsync. That is what happens on X11 with compositing AFAIK. Only one frame time / one vsync is really required before you consider specifics of the software involved. I've read somewhere that Windows also has an extra frame of latency for similar reasons as X11.
What you’re describing is the main driver for people pushing more innovation in school structure.
Not really, no. PyPy demonstrates that.
How could you possibly measure that? By the time that children even understand the concept of “optimism” (or even “future”), they have already had years (decades?) of positive or negative signals (either from their environment, or from their genes) that likely cause both optimism and success (such as non-abusive parents, health, etc.).
This mapping format was used in the (relatively recent) video game Detroit: Become Human [1]. I found it to be a refreshingly fantastic take on Telltale-style branching story paths; they're instantly upfront with how the choices you made played into the outcome of each chapter. Unlike most branch-driven walking simulators, they want you to try it again a couple times, and reach 100% to see everything, and they give you the tools to help make that easier.

[1] (not too many spoilers; this is the map for the very first chapter) http://www.powerpyx.com/wp-content/uploads/detroit-hostage-1...
Warning: Software engineering can be quite boring to someone who has done little programming. In my opinion, when your starting out it is better write anything that compiles and runs, then to write incomplete "proper" programs. Software engineering principles make more sense after you've hacked yourself though a bunch of badly written code.
It's a 70kg satellite. Would have to be a rideshare, not a primary payload.
As with many projects using semantic versioning, the major version bump just signifies there are some breaking changes. Most projects will just switch from 1.x to 2 work noticing.
I'm on Guidos side. When it's well used, it's a good thing -- problem is getting people to use it right. But the fact that many people didn't consider the use cases that were being proposed, immediately took strong and toxic positions about it, and were more interested in calling names rather than having a civilized discussion is what wore down the (then) BDFL and caused him to step down.
95% of Cryptocurrencies Currently Have No Liquidity
I feel like the competition angle is a scam. For all his faults, one of the things my father taught me (not intentionally, as me developing the habit enraged him) is that there is always a backdoor.

He did alright in school, studied hard sometimes, other times didn’t, dawdled around a bit after high school. He joined an organization that was a good fit for someone with reasonably good grades who dawdled around a bit after high school, but found himself much more intellectually developed and disciplined than most others. This is how you get put on the fast track.

I scored near the top of every standardized exam in school. However, I hated it and skipped constantly. My abusive and chaotic home life did not allow me to study and complete assignments properly, so even the apparent intelligence advantage frankly did not help me. So I quit, got a minimum wage job, read a lot in my off time, paid for my community college, found myself the smartest guy in most of my classes, won a bunch of scholarships to my state flagship. Did similar stuff there. In a few steps I’m in the same socioeconomic status (or higher) as the smart high achieving kids from my high school.

I believe one of the main issues is that most parents (including my own) won’t allow the children to consider such a path, and will begin to terrorize (“discipline”) them for things such as not making a high enough grade or exactly following the trajectory fellow parents peer pressure them into believing in. I have no sympathy for these types and think they are unfit to parent if they have such a low level of maturity. Many children may also be unfit for such a path and would just smoke weed and play games til age 35. Again I feel that it is a parent’s responsibility to understand their children.
Concentrating on the child abuse aspect:

Surely the hard part of eliminating child abuse is the acting on information about the whereabouts of pedophiles? That is hard part, the non-scaling part, the bit where real people have to go and make arrests and free the children and find a safe place for them to stay for the rest of their childhood.

Compared to that, finding the people swapping child abuse imagery online sounds rather easy, even when you can no longer look at individuals' messages.
I think that the social dynamics of being stuck with 20 to 30 same-age same-rank peers for many months is highly unusual. Only prison is like this.

In normal life, groups (Work, Family, social gatherings) are of mixed age, mixed experience, mixed rank. To become a better person, I had to forget the pettiness of High School social dynamics.
Or more likely the same thing will happen. People always think old people are useless and that young people will change everything. But in reality only a few people of any generation are willing to change how things are done (and that can happen at any age). The rest won't take any chances and perpetuate the sameness. Then the next generation will come along and will think, finally the old people are done and we can do things right. Yet the few will still change the world in defiance of the many.
Ask HN: Best Podcasts of 2019?
Fintech’s next decade will look radically different
Apple Drops 2013-2014 Models from Anti-Reflective Coating Repair Program
Some of the most positive people I’ve met have lived in the worst of circumstances. The mind decides what it wants about the situation. Optimism is a powerful tool, even if only the person using it can feel the difference.
Or that bug with Mac Keyboard Shortcuts[1]. I don't know how to explain something like that other than, no one working at Apple right now actually uses the custom keyboard shortcuts feature.

[1]https://eclecticlight.co/2019/03/03/last-week-on-my-mac-keyb...
The fundamental problem is that Typescript (and JavaScript) doesn't have tagged unions. In Rust or even C++ using std::variant this isn't a problem.
In the US this is called "Cafeteria Catholicism."
Our variation swapped the m and n keys to the same effect.

My go-to pranks on Magic Mouse users are to turn the mouse around or cover the laser. Righting the mouse is usually only the second or third thing they try.
So you’re saying that good brain chemistry causes optimism, low stress and longevity?
Also if it touches NTFS you end up with MFT contention on small files which really knackers performance on WSL 1.
Eeh, I never do a make install from the projects I download TBH, as the resulting files aren't tracked by the package manager.

A kernel module is just a matter of compiling and running `insmod` (or placing it in the correct path). You have to recompile it each time you upgrade your kernel, though.

But seriously, the proper way to do it is a kernel module which you then mainline. I wouldn't be surprised if Valve was to pick it up, since they mainlined some xpad improvements (and the wired version of those controllers)
So abstract mathematics are leaky, and applied mathematics are not (you don’t have to know how they work to apply them, e.g. regression).
Boeing’s chief executive resigns in wake of 737 Max crisis
That is a ridiculously niche term to worry about confusing with. I would put money on 99% of programmers having never heard of it.
I'd love to see a map of proportion of SUVs of all cars on the road in the UK - I'm sure it would correspond with population density.

e.g. Higher population density, greater proportion of SUVs.
How to use Roam Research to take notes
best we have ever had by many measurements

The problem with this view is that Easter Island was probably the best it ever was until the last tree was cut down.

Of COURSE your standard of living will be the highest it's ever been when you're on the upslope of resource utilization/credit expansion.

The few bears/grinches/negative nellies/chicken littles remaining aren't going around proclaiming how terrible things are right now - rather, we're pessimistic about what the future will bring. And we all want to be wrong, but don't think we are.
My problem is that it doesn't actually work on windows. Get the latest build, run it with no arguments, get a large error instead of the REPL.
You have misunderstood. Ankit Panda was simply stating that the image resolution was higher than anything that had been publicly released so far. It wasn't anything unexpected.

Melissa Hanham is a policy specialist, not a physicist or optics engineer. She has no particular expertise in this area.

If you don't believe me then do the math yourself. It's easy enough to figure out the maximum diameter of a KH-11 based on the size of the available launch vehicles. And from that you can calculate the maximum resolving power. They can play some tricks with adaptive optics and digital image processing but that doesn't add much.
Western countries condemn the Russian software rules and the Communist Firewall of China and VPN restrictions. Yet here we are with the UK trying the such things in a similar vain.
Since I was procrastinating writing timesheets and it was hard to estimate the hours worked weeks back from git commits, slack and Skype history, I hacked thyme to recognize my screensaver/lockscreen, put it into crontab and now I have visual logs about time my workstation was unlocked, which Windows were active and can recreate the timesheets much more easily.
I like your thoughts on this. Have to disagree about exclusion being the problem.

If community is a product, exclusion is it means of production. The problem with religion isn't exclusion, it's a partially outdated set of rules by which the filter is applied. (And a missing update functionality for the source code, respectively an inherit problem with the rate of change, as too much change in too short of a time defeats the purpose of rules, exclusivity and therefore community).
The Inkscape Sorcery! diverged significantly (and apparently increasingly) from the books though. Overall I'd rather have a computerised version that preserved the original text and mechanics.
It makes sense if we think about the adult mind as a rigid psychologic construct that temporarily loses rigidity when taking a psychodelic; so it doesn't has any effect if the mind has no rigid psy-construct to begin with.
I just watched a cppcon video where Bjarne himself lamented about the complexity of installing many libraries for use in C++.
I'm not sure, I'm not an expert, it says here the twin prime conjecture itself is still unproven.

"On April 17, 2013, Yitang Zhang announced a proof that for some integer N that is less than 70 million, there are infinitely many pairs of primes that differ by N."

https://en.wikipedia.org/wiki/Twin_prime
Boeing CEO Muilenburg out after 737 failure
Maybe we should get rid of the NHS, and oxygen as well, as those things have the potential to benefit bad people.

Absolute idots. Cryptography benefits _everyone_, and this bullshit is at the expense of everyone.
IME pure finite state machines are too limited. E.g. on Android, you have a "go back" stack that you can integrate into a custom state machine, but not into most state machine frameworks. Another difficulty is animated transitions. While transitioning, are you in the start state or the end state? It depends on why you're asking!

If you can make it work, a state machine for navigation is great, but it's often not so easy.
CacheQuery: Learning Replacement Policies from Hardware Caches
Survival camps cater to new fear: America's political unrest
How to Use Your CRM to Personalize Live Chat Customer Experiences
> The principles of the law makes it clear that it's far, far worse to have an innocent person in jail that a guilty person go free. Many legal principles revolve around this.

Yes, absolutely. But there are two issues in this context.

The first is that facial recognition isn't a conviction. Presumably if it identifies the wrong person then they'll have the opportunity to demonstrate who they are, e.g. by showing that the name on their ID is not the name of the suspect, before being convicted of the crime.

And the second is that ordinary application of that principle is incompatible with eliminating the disparity, because if you shift in favor of false negatives in general then it reduces the false positive rate for all races but the proportions stay the same. But if you shift it only for one race then you're only making the existing racial disparity in false negatives even worse, which is hardly fair to minority communities because it implies they'll have a higher proportion of criminals on the streets victimizing their communities.

That being said, in this context having a preference for false negatives over false positives in general probably is a good idea, and it does reduce the absolute (rather than proportional) racial disparity in false positives -- which is not nothing. But it's the proportional disparity that people are always complaining about.
As opposed to banning research on everything that hasn't already been researched because it could have some negative health effect we don't know about?
Took a lot of courage to share that story I'm sure. Thank you. I wish you and your son the best of luck. I hope you're reunited soon.
https://www.wolf359.fm/ for those who haven't yet heard this podcast audio drama. Tone changes a bit from early episodes 1-8 or so as the story picks up, but all of it is pretty impressive.
> I don't (usually) want my compiler to do linting, and I certainly don't want language authors to dictate my code style from on high.

Enforced code style consistency has considerable advantages. "Linting" probably shouldn't be a thing.
About. Freaking. Time.
I wonder if the Starliner failure to reach its intended orbit this week was the straw that broke the camel's back? Though obviously the 737Max is the bigger issue.
Have you given Nim a try, as a Python developer it seems like it would be right up your alley.
> Do others here have experience having somewhat deep relationships with people you've only interacted with online?

Sort of, not really, kinda, etc. I had to move pretty much right after graduating HS, went directly into the workforce and now just kinda move around every few years to take a new job. I'm in contact with maybe one friends from HS and will probably never develop close friendships like that again. On the other hand, I'm one few discord servers where we have become moderately close I suppose, and some of us have met up, despite being scattered across the world, but it still feels very superfical. The one advantage the internet gives me is the ability to meet people my age, with similar interests. In real life, theres people I'll hang out with occasionally or events I'll go to, but most of the time I'm the youngest by a decade and it's hard to make real connections.
Facebook Removes Accounts with AI-Generated Profile Photos
I work with Docker and Kubernetes do my dev environment is actually in my cluster rather than locally. I use Okteto to manage this dev env so I can even switch computers and all I need is the source code of my app and one 'okteto up' command, and I'm ready to go
Making a compiler break with pretty much any file saved from a windows text editor is a very bold opinion, I can't say it would be my choice if I wanted to grow my user base.
Predict Popularity of Songs and Win Prizes
Met a 91 year old guy during my travels in China. He was walking around and talking to people when I was there without help.

His family said he drinks a beer for breakfast every day. He drank Boju (instead of beer) before his wife died several years ago.

Maybe the secret to a long life is 40% alcohol, a happy marriage, and good genetics.

He looked very happy.
Deported it is own citizens ️

Is there an edit button?
That's fair. And to be clear, reading "POSIX-like" makes me expect it to act like a unix, but that hardly means that you should be bound to follow that exactly:) If you wanted to set expectations a bit, maybe "partially POSIX-inspired, with other influences from $FOO and $BAR" would be clearer?
The reddit post uses the word "shop" a few times in a way I'm not familiar with. Specifically, "all over the shop" apparently meaning "not appearing consistent with the rest of the scene". Does "shop" have a technical meaning here?
Thank you for sharing. I would like to share a documentary called Griefwalker that was very influential to me in dealing with loss.
_Society_ advances one funeral at a time.

...and that's just depressing :(
If you assume that everything will turn out bad, you wont even try. If you assume all people around you are assholes, you wont even try good relationships. Plus, people like better optimistically looking people and reward them more then pessimistic people with equal merit.

Moreover, outward apparent optimism create illusion of success even when there is not actual real success backing it. (The optimism does not even have to be real, you just have to be committed to consistently pretend it.)
Or perhaps both the NYTimes and Guardian articles the last 2 days faulting his handling of the crises? Too much bad pub.
Thanks for the awesome explanation and time put into it :)

It seems that you do not work in the software industry, correct me if I am wrong.

Do the night shifts affect your sleep schedule or you have adapted it to better fit your working needs?
Statistical Life Expectancy of a Roman Emperor
The GDP growth rate per capita is a better measure in my opinion. The population of Ethiopia is growing very fast and despite the high GDP growth rate there is still serious concern about the job market for the nation's under 18 population about to hit the labour market.
1st rear of rule death is most likely, if the 1st year is survived the danger gradually diminished to the 7th year. The safest years for an emperor are from 8th to 12th years of rule. After the 12th year the danger is increasing again. World politics in nutshell! In the study they compare Emperor's survival to a mechanical failure. I.e a car components are most likely to fail on it's first year. If first year is "survived" a car is "stable" till it's worn out on the 12th.

It is intuitive that chances of getting whacked are the highest on the 1st year. What is interesting are the other two markers 8th year the safest, 12th year is when the danger goes up again.
British government: "Please think of the children!"

Also British government: https://en.wikipedia.org/wiki/Rotherham_child_sexual_exploit...

Pardon me for not trusting them too much.
No, I am not trying to be cynical.

My point is that if the news/reporting on UFOs in the US is much more prevalent than in, say, France, it is no surprise that people jump to that conclusion quicker than elsewhere. The movies are one another reason for that.

This is just an idea, I do not know how statistically sound this is. To give a counterexample, everytime I switch on the radio on a station which is supposed to have people talking (France Culture for instance) and I hear music, I assume they are on strike. I do not think than an American would jump on that conclusion.
Have you read Mike Pall's proposal for a quad-color collector in LuaJIT?[0] That you took this approach leads me to think you'd find it interesting.

[0]: http://wiki.luajit.org/New-Garbage-Collector
> every Sunday afternoon at 2:00

Migraine can suck a lot. I'm glad I only get them once in a bluemoon. The pattern is interesting, though. Did you have a special sunday habit? Like having the same or similar meals on sundays, so that it could have been triggered by an ingredient? Going to church, where maybe incense was burned? Anything?
Which video conferencing software do you use?
I think that the point of school is in no way education. The point is to mold individuals in order to fit within 2 standard deviations of the norm, and it does all it can to do so (tests, medication, etc etc).

If you are in the upper percentiles, you are used to bring the lower percentiles up, if you are in the lower you are used to bring balance.

Now we are almost at the point of making not going to school illegal.
(you can argue if mandatory is the same as illegal)

-b
What is the difference between solving and resolving an open problem?