skysight-inc/HackerNews huggingface dataset:
The first 2 questions remind me of the (fantastic) book I'm reading Doing Good Better. This is basically effective altruism.

This book argues that a dollar goes a lot farther in the third world. (Obviously.)

It also has a great story about how money spent on educational resources can have almost no effect while money spent on deworming (yes, worms) can greatly increase educational results. (Not so obvious.) This is a third world example but its fairly obvious the problems with US education aren't' resource or efficiency based.
Lee Hsien Loong is LKY's son.
Reading through the comments for this submission, I can't believe how many people didn't understand the specific phrase "on some Slavic shit".

The phrase "on some shit" comes from the United States, from urban AAVE (African-American Vernacular English). There's another commenter that refers to the phrase as 'hip hop lingo', which isn't too far off, but I think it's the wrong label.

The origins of the phrase are hard to pin down, but nowadays you'll see the idiom as "on some ____ shit", where you replace the blank with just about any noun or adjective. It has a fairly wide range of meaning, but the gist is 'acting ____', 'referencing ____', 'influenced by ____', 'in the style of ____' .

In this article, writing about Romanian language, saying, "[they're] on some Slavic shit" means "[they're] influenced by Slavic" or "[they're] referencing the Slavic style".
The Best Android Emulator on PC
Both of these examples would require implementation of a regex engine to provide the same set of functionality.

You’ve just given the syntactic sugar next to the ast parse, parsing a regex into an ast representation is fairly easy and can be done with recursive descent (it is trivial).

But this is supposed to be about DSLs not parsing, the DSL is either, because you’ve just given the DSL in two different forms. (One with sugar, one without).
Do you have some solution for http triggers? Like your own gateway? Because I found the AWS Gateway expensive to trigger Lambda by http events.
Just like when you start Windows for the first time, and get asked to sign in or register a Microsoft Online account to continue.
Blue-Cloner 7.00 Crack [Working] Download Free
I'm saying we, the public, are not in charge either way, and we're very lucky he wants to actually serve the public good.
I can't be the only one who wishes they spent nothing in the US on Education and direct it all to homelessness, so they can stop screwing up Education. Common Core is horrendous.
So is this the return to Maoist politics? Hope they learned a lesson from those days --getting rid if corruption is one thing, but concentrating power into a dictatoriat dies not bode well.
Not exactly. Long-term capital gains in the US max out at 20%. Short-term capital gains (those investments held < 1 yr) are taxed at your marginal tax rate, which can be significantly higher than 20%.

https://www.nerdwallet.com/blog/taxes/capital-gains-tax-rate...
It's hard to tell sometimes whether someone is being sarcastic, or just truly ignorant. If you're sarcastic, well played, if you're serious, you probably need to get out of your echochamber and travel a little bit!
Does he lobby for higher taxes?

Buffet, Gates etc. always say they should be taxed more but I haven't heard of them actively supporting candidates and causes that will actually do this. If they really want it to change they have a lot of power (money) to influence politicans and help make it happen.
So I did some preliminary testing with CapsNet, and it seems that while it was harder than all the other CNNs to find adversarial pixels to fool the network, it was still vulnerable to attack. See the README for quantitative results.
You think that was altruism?

At the end of the day Gates wanted to sell products for money, straight up cash transaction, take it or leave it. Google et al are sly and underhanded, you don’t know the price upfront, they try to turn you into the product...
In my company, each team has a scrum master (a SM being part of 2/3 teams). They have near-zero technical knowledge, and this is what they do (no particular order):

- Give an organisation to the team, and make sure that this organisation does not decay with time
- Help the devs work faster by helping them with the methodology
- Help identifying & solving problems (a problem goes from "a dev spent one hour more than expected on this ticket" to "the client has no vision on what the product should be"). This is probably the most important task
- Help the client to lead his project. This is a huge part too, the client does not know how to lead a project (they just came to us with a business problem they want to solve): there's no way the project will succeed if the client doesn't manage to have a clear vision for his product, prioritise tasks, build indicators, get user feedback...

Minor tasks:
- Organise meetings/demos
- Lead the meetings, make sure they're productive

We're a service company without management, "communicating status up" is a concept that doesn't exist.
Nice to see some competition in this space.

For those curious, the Xeon Ds are designed for low-power servers; one can get a 8 core/16 hyperthread D-1541 that has a TDP of 45W. Makes for a nice home server but Intel has been charging a lot for them. AMDs offering will hopefully be a good alternative that's more reasonably priced.
Polacode: Polaroid for your code
I’ve seen this claimed before. I think it’s based on an estimation of the computational sophistication of the human brain. Not what’s required to perfectly simulate a brain as such, much of the activity in brain cells is likely metabolic and not tied to their relevant behaviour, but what’s required to replicate the brain’s cognitive activity.

We may know little to nothing about AGI, but we do have one very common example of GI abundantly available to use as a point of reference.

I’m not sure what estimation the poster is using though, or how likely it might be to be accurate.
I'm not the GP, but I'm comfortable saying I'd prefer for people to decide what to do with their own money than have politicians do it for them, yes — even if they put it toward causes I don't personally consider wise.
I don't think Mao's time could be considered very equivalent to today. There were a lot of dictators around after WW2, but many gave way to stable democracies, and those that didn't weren't prosperous.

The problem with the CCP is that there is no real feedback loop. Their support is very fragile, and it would just take one recession to break it (they have no "lets throw the turkey's out" pressure valve).
very undemocratic for the wealthy to solely pick causes they care about

It's undemocratic, but is it actually worse? Looking at the results of democratic processes, I'm not so sure the answer is yes. Democracy optimizes for the popular, the sensational, the scandalous. The hard work on the ground that Bill & Melinda put in doesn't square with that model. The public has the attention span of a toddler; they just aren't captivated by a decades-long vaccination and prevention campaign against malaria or river blindness.
It's no longer an image, adding JS turned it into an application.

It's doubtful it will work outside of the browser, and even in a browser, it will be static when used in an <img> tag.
I am irked to no end how off the mark their entire foundation is. It's like the person with the least imagination on earth, got handed billions of dollars.

What is the lowest hanging fruit of all time? Right, the night-time ads on TV with poor children in a foreign country.

What is the least imaginative way of helping a developed nation? 'Better education'. Sigh.

Really? We just need to stop children from dying, educate the parents, and everything will be fine?

It's not that people are pessimistic - they are just REALISTIC, about what a crock of shit they're being handed, and Bill and Melinda's answer is to meet Steven Pinker and go 'hey, statistics show that everything's better than it ever was!' My god... We're talking billionaires, having no ideas, no imagination, and no idea that they have neither, and wondering why things kind of suck?

Because people with no ideas, no imagination, are the ones who get to make billions of dollars in our society? Maybe, just maybe, that has something to do with it Bill...
Most European public transportation companies have a majority stake by the government, and they work exceptionally well in executing their mission. A huge amount of banks are government-owned and they're as profitable as their private counterparts.

There's a huge number of examples (https://en.wikipedia.org/wiki/List_of_government-owned_compa...).
I think parent just doesn't hang around Xintiandi very much.
Poor countries are generally closer to the equator than Germany significantly increases solar efficiency, they also benifit from lower land and labor costs. So, as I said there are significant economic differences. As to China they added 19.3 GW of wind power generation capacity in 2016 and have about twice as much installed as the USA.

China has installed more solar power than any other country every year since 2013 recently passing 100 GW total which is again about twice the US capacity.

PS: China uses significantly more electricity than the US so on a percentage bases they are not that green. But the investment has been massive and increasing rapidly.
The current credit systems in China works very, very differently from what the western media describes. Major commercial systems like "Zhemaxinyong" are actually way more transparent than US credit system. You get to see a lot of the details about what's impacting your score at all time, and you have lots of control on where do you want to share your score to.

The official "social credit" system that the government wants to build is still at a very early stage right now, and it'll be no where close to what the western media imagined (or rather, hoped)

The fairy tales about Chinese social credit system denying loans because of private messages are malicious wishes of western media or Chinese activists at most
Accountability Bot – Guilt yourself into posting on your blog
China along with Russia have already been labeled "revisionist" powers by current policy makers in the US government. The Chinese might as well double down on their authoritarian worldview and prove them right.
Term limits are needed not just for the highest office but all elected officials. In my opinion the mess US is in currently is because of long term career politicians that are beholden to special interest groups. If they were limited to 1 or 2 terms most of them would care less about courting donations.
> is it impossible for a criminal to be a hero?

I think this is an awful question with awful answers.

http://squid314.livejournal.com/323694.html
I was hoping that it would be a svg that said, "today's date."
Computational power and memory estimates could be made based on existing knowledge of the human brain. The one big assumption being that the neuron is the source for human intelligence.
After reading the article, I wanted to comment about how Kindle might be actually one smart device better than the dumb alternative (paper). It's about the same size as a paperback, but much slimmer. About the same font size too. Paper has better contrast, but it's not too bad. For reading a lot of fiction, it's pretty much the ultimate option. And Kindle 4/5 are pretty much the ideal, I couldn't imagine doing anything better. Yet Amazon decided to make the new Kindle heavier, remove the great buttons and force to me to use touch screen. I use Kindle in freezing cold with my heavy gloves on, I use it in my bathroom with partially wet hands, the physical buttons just work. I'm still hoping to get a few more years out of my Kindle 5 (I bought two used ones on eBay, just to have a backup).
No, I don't assume that humanity will find a way to fix all those problems in a timely manner.

I'm pointing out that both are assumptions pulled out of thin air, and that we should not be too quick to get all pessimistic (or optimistic) based on mere assumptions.

People 100 years ago could not have had imagined the kind of technological and sociopolitical changes that we take for granted now. What more right do we have to make assumptions about what we'll have 100 years from now? Heck, I can't even trust anyone who says what will happen 10 years from now, whether good or bad.

Let's stop pretending to be prophets and actually start working on the problems. Only then will we know which of the assumptions were correct.
If there is one thing I learned it’s that “no managers” === “everyone is responsible”. That ends up as “no one is responsible”. Then chaos ensues due to no clear decision making and infighting because everyone is suddenly “boss”. As always YMMV.
That's good for the CC websites, I guess. Although I want my name in no way associated with this kind of activity, so I will probably never report anything there.
This puzzle is among the very nice offline set of Simon Tatham's "portable puzzles", with the name of "Untangle" [1]

[1] https://www.chiark.greenend.org.uk/~sgtatham/puzzles/
You will then likely enjoy the irony of ~1000 private jet trips to the climate change summit: https://www.washingtontimes.com/news/2018/jan/24/inside-the-...
I avoided focussing on the financial aspect, because even ownership of things/lands/rights can be, and is taken away from individuals by the society under certain conditions.

It is intellectually lazy and moot to say everybody is free to do what they want with what they have (be it money or not) because that's not how we live nor want to live.

A proposal to take from an inidivual for the greater good can be worth a discussion. Just crying out for extremist, reality-ignoring individualism is not an acceptable comment worthy of HN, in my eyes.
Why does the opinion of current policy makers in the US government have anything to do with what Chinese and Russian leaders should do? Is governing just about face?
The problem, of course, is not Bill Gates but the many other billionaires, who are less enlightened.

There are also billionaires who use their fortune to actively influence politics (in a way that is probably mostly beneficial to themselves - such as the Koch family supporting Trump). There must also be lots of billionaires who, just by passively remaining billionaires and taking no broader responsibility, add to the problem.
Many politicians and tech ceos have discussed a severe shortage of US citizens getting advanced degrees in STEM fields. Here's one such link. There has also been legislation proposed that would have made this a formal part of the immigration system, again specifically for advanced (preferably PhD) degrees in STEM fields (notably not law, medicine or business). The legislation did not pass, though largely because it was bogged down in part of a larger (and failed) effort to negotiate a general immigration system.

https://www.computerworld.com/article/3089314/it-careers/cli...

This isn't the entire issue, I'd agree with that. But it is definitely a relevant piece. And it is notable that tech ceos and politicians are calling this a "shortage" when organizations like RAND are simply seeing a rational, market-based aversion to certain fields.

I'm in the odd position of completely agreeing that the US should have a skills based immigration system like many other countries, but opposing a particular focus on STEM, as I don't like the idea of coercing would-be immigrants into studying this particular field as a condition of coming to the US, and I don't agree that there is any "shortage" that can't be explained as the product of rational decision making about careers.
With the Galaxy S9, Samsung put the fingerprint sensor where it belongs
We have always been at war with EastAsia.
This is completely uninsightful.
It appears to be part of the spec, [0] although there appears to be no requirement for the SVG User Agent to support any particular scripting language.

This is interesting from a security perspective, because it effectively means SVGs can contain scripts. If I was a security researcher, this sort of little-known but apparently widely supported feature is exactly where I would be looking for vulnerabilities.

[0] https://www.w3.org/TR/SVG/script.html#ScriptElement
That would be amazing. I'm hoping Copenhagen gets there in my lifetime.
>competing parties do not collude

That is literally the definition of collusion.

https://en.m.wikipedia.org/wiki/Collusion#Examples

https://www.cambridge.org/core/journals/world-politics/artic...
> "Looting" of companies by their management is starting to look like an increasing problem.

I think it's been a problem since the 80's. When I look at management pay issues and corporate raiding that was the era Buffett began talking about it if I remember correctly. Futurama even made fun of it indirectly in an episode.
Soylent Alternatives shipping to Canada
My reasoning is that it does one thing: Being a dumb head unit. Since it does just that one thing, it can be distributed as a big blob. You don't have to worry about changing that file or this file, following this instruction or that instruction, downloading this version or that version of the packages. It simplifies many things for the end user. I learned that from Retro Pie, a distro that I love.

Power users who want it to do many things can just run/read the scripts in the repo and make it a multi-purpose device. I'd imagine for $100 head unit, many people won't bother.

That being said, I really have to brush up on how to package Qt5 and OpenAuto as Debian packages.
What makes this a good write-up is you could give it to a project manager as quickly as an engineer. An updated version of this with links to current tech, esp low cost or easy to integrate, might be worthwhile. Other improvements since then include generating tests directly from the contracts, using contracts with automated provers, leaving contracts in as runtime checks while throwing fuzzers at that code, and using contracts for bug repair. They can't do everything but they're a very high-ROI technique with some immediate benefits plus maybe some down the road if your software/company gets bigger.

Write-ups or examples of some of the above:

https://hillelwayne.com/post/pbt-contracts/

http://www.skein-hash.info/sites/default/files/SPARKSkein.pd...

https://www.amazon.com/Building-High-Integrity-Applications-...

https://blog.adacore.com/running-american-fuzzy-lop-on-your-...

https://www.microsoft.com/en-us/research/wp-content/uploads/...
A recursive descent parser to convert between A and B is trivial.

But there are implementation details of functions vs code writing macros that are important. This is not about syntax at all.
Artificial Intelligence Local Images Search – Brian AI
“This Storm Is You”
Does anybody know of any software that implements Android Auto or Apple Car protocols to display content on existing head unit? Maybe something that could run on a Raspberry Pi.
Imagine how much further we could be if Microsoft didn't spend all that money subverting open source efforts, and spending infinite money to create a new generation of crippled developers.
> If I was a security researcher, this sort of little-known but apparently widely supported feature is exactly where I would be looking for vulnerabilities.

Well, it's not really a thing. In a browser (the only kind of UA that'll really run any scripts in an SVG), SVG basically gets treated as SGML, all the DOM stuff is the same. If you include it as an image tag, the scripts don't tend to run, AFAIK.

Added to clarify: The types of things you could exploit in a scripted SVG but which wouldn't also apply to HTML, would tend to be exploitable in a static SVG as well.
This guy has clearly been bitten by one type of bad manager. But let me assure you, there are many other types, and they often come from engineering backgrounds. You'll get all matter of micromanagement and communication issues that come from someone who is used to knowing all the intimate nuance of every issue. Also, even if you think they are a great manager because you have a great individual rapport, they may end up getting steam-rolled from above because they are bad at cross-functional communication or managing up, and guess who pays the price for that?

The fact of the matter is that management is its own skill, very contextual and difficult to master, and engineering experience is no silver bullet. Of all the best engineering managers I've worked with (both up, down, and lateral), only half had an engineering background. It depends on the project of course, but in general there are more important attributes than hard tech skills.
Ask HN: How to post a poll on HN?
It seems the poll feature is disabled. If so, I think reactivating it might be a good idea as it can summarize many viewpoints and facts. What do you think?
None of the 10 questions listed is "tough", and at least one (out of ten, so 10%) is of tabloid level: "What happens when the two of you disagree" -- the answer includes the nugget that there's a sculpture in front of their house, of two birds looking ahead in the same direction. Isn't that something.

If one doesn't like the idea of Internet voting or answering all questions, then let them hold a press conference with real journalists. But this is not it; this is nothing; this is a show with pictures of the couple laughing and showing a serious face in front of poor people; this is just marketing.

An interesting question would be, how do you justify speciesism[1].

When they describe how they're "optimists" and how the world is getting "better", they're obviously only talking about humans. The world is getting much much worse for every species of living things, except (some) humans, so the only way to consider that the world is indeed getting better in general is to consider that humans are so superior to any other living thing that any amount of suffering / extinction of other species is more than offset by the marginal utility we get out of it.

If you're religious, maybe your religion offers a way to accept that (depending on the religion).

But if, like the Gates (or me), you're atheists, how does this work exactly?

[1] https://en.wikipedia.org/wiki/Speciesism
I think it is quite relevant. China is undergoing today what Japan went thru at Mao's time.

My guess is that CCP is going to be popular and safe at the realm as long as growth is strong (so maybe we agree there).
That's a relief. I see from the page it's embedded as an iframe, which I didn't know you could do. Changing the iframe to an img on the page does indeed prevent the script executing, at least on Firefox.
For traveling salesmen problem there is Christofides algorithm which gives result that is no longer than 3/2 of optimal one. Theoretical bound on inapproximability of symmetrical TSP currently is 185/184.

https://arxiv.org/abs/1303.6437
US aviation authority: Boeing 787 bug could cause 'loss of control'
The Many Benefits, for Kids, of Playing Video Games
There are people working on a decentralized web that doesn't require clunky (impossible-to-fully-audit) web browsers and it is JavaScript free.
Samsung Galaxy S9 announced
Impact of health on intelligence
I have a feeling that many of these numbers would have looked similar 10, 20, 30 years ago.

Is the news here that these numbers are much lower than they used to be? Or just that we know them.
In our highly globalized world. A civil war in China, India, Europe, Russia, or America is almost guaranteed to spill out due vast amount of global resources already being fought over in light skirmishes, proxy wars, and shows of power at various borders.

In China's specific case, India and China are fighting over borders. China and the US (allies) are running into issues over resources in the South China Sea. Also Russia and the US both are increasingly their navy presence in the Pacific. It's a powder keg waiting to go off for sure.
This is a collection of insights from women visionaries around the world
Android Go Edition will bring PWAs to the masses