skysight-inc/HackerNews huggingface dataset:
I'm sure this was a joke meant to play on the sentence "I started out as a kid with DOS", which when humorously twisted around could be interpreted that as a child, he was a computer that ran DOS.

Stop all the downloadin.
It really depends on what you're aiming for. Getting a simple console up and running without caring much about fidelity is a fun project for many people; Dolphin emulates a complex console and tries for 100% compatibility which makes it significantly more complex.
What It's Like to Be an Extremely Attractive Woman
What limitations have you found with containers? I use them all the time and they work great especially when you set domains to open in a container by default.

Did chrome have better support for that?
The complaint about BPA was that it's an estrogen mimic (parts of the human body can react to it as if it were estrogen). If you eat a lot (a whole lot) of soy products, soy can do the same.

BPA has mostly been replaced with BPS ... which is also an estrogen mimic.
Thelio Fan Noise Hack
It doesn't, or it's at least better.
> has: present tense third-person singular of HAVE

Not only does this appear to be whataboutism, it doesn't even make sense. By modern standards the past activities of pretty much any nation are unacceptable.
Agreed. Riyadh has daily maxima of >40C from May to October, and >45C June-August, peaking about 49C in a normal year. It has low humidity and a little altitude (700m), so it is rarely over 50C (shade), but is certainly over 50C in the city, on the street, in the sun.

It's relatively easy to walk or run up to 30 minutes on the commute, or after work, when temperatures are up to 43C, without carrying any water.

A few years ago, there was more danger from the religious police for wearing running shorts, than from the high temperatures.
Being shown ads is a requirement for many web sites. Responding to them is not. The focus of ad blockers is all wrong; the priority should be to appear to see ads without actually seeing them, and to protect privacy.

A browser of the future will fail to display ads, while giving no hint of this to the ad source; ads need to be downloaded as usual.

A browser of the future will cloak its identity by sandboxing each website, manipulating browser signature and apparent IP address (some variation of VPN services) to destroy tracking.

The issue isn't saving resources, it's winning the privacy wars.
This false equivalence between China and the US and their modern human rights record is absurd.
Lately I’ve seen code bases where the Java devs don’t return empty arrays or collections but return null instead. Of course they have to test for null in their calling code. I suggested to return empty collections and objects implementing the NullObject pattern. I think this will make the code more readable, simpler and more secure, but I was answered with skepticism.
I'm sure they did the calculation of users lost vs advertising increase from users who still use them after they break adblockers.

Honestly though it makes me glad that I never stopped using FF as my primary browser, Chrome is used for dev/testing so this doesn't really affect me directly, I'll just make sure that Chrome can only access sites under dev/testing and carry on.
What has stopped Europe from doing this already? What conditions in Europe have prevented more innovation when it comes to hardware and software development?
This is FUD and rarely happens in the real world. (It happens with about the same frequency people abuse language features in other languages, like monkeypatching Python classes in an uncontrolled way, which is just as bad.)

Not once in my career have I heard someone either inspect or begin to learn Lisp and said “ya know what, all these new languages, not for me.” People usually don’t learn (Common) Lisp because it’s an old language, people don’t recognize benefits it has vis a vis other langs like Python/Go/Rust, it doesn’t look like anything they learned before, it more-or-less bolts you down to Emacs, it has no major corporate backer promoting the language, etc.
Does the web link work for anybody? Hasn't worked for me in a long time.
Precisely why it was important to make it illegal to do business which such an entity, Huawei. US business relies of trademark, patent, contract and license enforcement, which is where the government steps in.

The Chinese gov't doesn't abide by any of these rules, nor do they enforce them, and subsequently Chinese companies are run the same way. That's not even getting in the espionage and the links between Huawei and the CPC.
> 99% of people don't even know that adblockers exist.

How can that be when mainstream publishers complain about 20% and more of users using adblockers?
Behavioral ad targeting not paying off for publishers [pdf]
cant wait til he tries to wriggle out of this, too.
Stop with you and your logic.

That's like saying that if a woman could pass the same physical tests as a man they should be able to do the same things as a man!

People who don't believe in discrimination are weird, they have all these concepts of equality.
This is an absolutely non valid POV. The Polish government still existed back on the 17th of September when the USSR invaded, and Russia and Poland has signed a treaty of non-aggression that was renewed for 10 years in 1934 and was still claimed to be valid by both parties back in 1938.

There's no way you can deny that the USSR invaded a state of Poland that still existed and was still fighting against aggressors right when Russia troops passed the frontier.

One source, out of many: https://gallica.bnf.fr/ark:/12148/bpt6k4437527/f1.item.zoom

Note that your comment is actually pure propaganda from Staline's himself (this is exactly what the USSR claimed when they invaded Poland, and they presented themselves as liberators and protectors instead of invaders). Of course, you should know better than to trust the communist propaganda.
The next Chrome standard manifest says that ad blockers are a deprecated feature since they hurt Googles business.

Looking a bit further (into possible future business needs of Alphabet) you might see that chrome will refuse to serve anything not based on Googles AMP standard and globally remove anything that hurts their partnership with the Chinese government.

This is the single standard JS engine we are looking forward to.
I’m amazed at the tiny inconveniences that lead people to something is totally broken and completely unusable.
It’s pervasive, especially in the early days of marketing antidepressants to the general public.

Example, probably the most the most recognizable anti-depressant ad ever (at least in the US): https://m.youtube.com/watch?v=twhvtzd6gXA
@ 0:20
Ahh, that is a problem. Though I sort of like the idea that you are accidentally making macs into remotely operated lisp machines.
My two cents as someone who interviews tons of data scientists is that most portfolio projects are way too easy, and amount to getting generally clean data, then just calling some API from sklearn or tensorflow.

I'd like to see either more non trivial software/coding skills in getting the data and setting up a good data infrastructure or more depth on a innovative science solution.
Nope, China went from assembly lines to owning the entire chain 5-10 years ago (not always by fair play, but still)
> "that is not firmly entrenched in whatever ideology the author has"

But then you strongly talk about a startup, looking for V.C. funding with strong founder ethos. That's also an ideology. And if you want to do that, go ahead - this clearly isn't for you.

But a lot of people don't want to do that. And that's why workers co-ops were started in 1844 and have been going strong since - granted, a small fraction of the market - but a successful small fraction that has survived and is clearly not going away.

I'd just suggest people read up on them before dismissing this. And sure, I get that the majority of HN readers probably are going to decide this is not for them. But other people do like them, and have made a success of them, so if your interested at all in the original question, do check them out.
> Certainly countries with [...] fewer guns experience less shootings

Yes, which is the opposite of your claim that an armed population prevents mass shootings.

An armed population enables mass shootings, which is why, in total, per capita, and heck, probably even per gun, the US has the most mass shootings outside of actual organized armed conflicts anywhere in the world.
Which US, android-reliant phone manufacturers are there?
If the videos are published, and the social media profiles public, how can it be illegal to match the two? Supposedly if they show their face they already accept the danger of being recognized, unless the video was published illegally.

That said, why would someone, once someone was identified, just go about harassing them and telling all their friends they do porn? Like who does that?
Shameless plug: I just released https://highlyopinionated.co/swish, which includes 2x2 and 2x3 window tiling through two-finger swiping on the window's titlebar or the app's dock icon. It's primarily designed for Magic Trackpads and is faster (and more accurate on a multi-monitor setup) than any dragging-based window manager and — in my honest opinion — fits pretty well into Apple's design philosophy.
>This "solution" ignores the fallout of said actions. The British lost their highly profitable Indian colony because the citizens at home could not stomach the killings of hundreds of Indians. The average American would not be OK with seeing videos of millions of refugees being mowed down at the border.

When the alternative is living next to them, that perception might change. Time will tell.
Couldn't care less one way or the other about how many brown people there are in Europe, I'm curious if western culture will be significantly altered one way or the other though - there are elements of it I like and would hope would promulgate into the future is all.

It's interesting that you can't really broach it as a question though without it been implied that racism is involved, if you can't debate a subject without been accused of racism then you leave all debate of that subject to racists since they may not care about been accused of racism.

Too many people use race as a placeholder for culture and vice versa (same with religion).

Honestly things would be better if both sides would stop hurling slurs at each other and actually debate the issues but I figure it serves them to have this kind of fight as it gains both sides followers.

I'm seeing more and more of that kind of balkanization in the UK and it's worrying, Brexit has opened some pretty nasty wounds that may not heal in my lifetime.
In Europe there are a lot of small streams that used to house mills before electricity made those redundant. Most of the earth work is alread done, you would just have to change it from a stretch of fast-flowing water to power a mill wheel to a small drop to power a turbine, and add the turbine and electronics. In some places there might even be ancient still-valid permits you could aquire if you buy the original mill.

I would expect a lot of red tape, but depending on local jurisdiction that might be very doable in Europe if you're willing to buy the right place for it.
I already told you that intra-thread synchronization is to be avoided but you're still talking about it (promises, futures, tasks, etc.) so I don't know what to say. Nothing you're saying is going to work like you think it is, but it seems like you're going to have to figure that out for yourself.

Clearly you want to talk more than you want to program. Maybe reimplementing Stockfish on a GPU is too daunting of a task. Why don't you get something simple like TSCP running on a GPU and see how far you get with that? TSCP is only about 2k lines of code and probably half of those lines are comments. With the state of GPU cores and compilers these days maybe you can get the C code running on a GPU core directly without much modification. TSCP also uses less than 64k of RAM so it should fit nicely in an Nvidia SM.
There's a liberal/whig/enlightenment core belief that force can be reasoned out of existence through a sufficient amount of research and debate. That asking the soldier "Why are you pointing the gun at me, your brother, for the proven-corrupt king?" will turn the gun into a flower. That believing hard enough will bring tinkerbell back to life.
> That’s unnecessarily quadratic. So yes, definitely use the more readable `flatMap` (with appropriate polyfill):

> const investigators = fileLines.flatMap(line => line.split(','));

It’s often nice to use iterators, e.g. with pieces from https://observablehq.com/@jrus/itertools

const inspectors = Array.from(flatten(map(line => line.split(','), fileLines)))

Then the steps can be broken down into smaller pieces if desired, without needing to re-store all of the content temporarily at every step along the way.

Python’s generator expressions also often make this kind of thing even clearer:

list(name for line in fileLines for name in line.split(','))

Ideally there would also be a nice iterator-producing “split” method/function for scanning through the string incrementally so that it would be unnecessary to construct a separate array for each split.
Show HN: Alerts for the Cheapest Airline Tickets
Tab management is what keeping me from switching to FF on Android. The option to use extensions and to customize the browser to the desktop level is amazing though. I hope they will look into tabs' UX later when more people are going to use it.
The long term impact of this Huawei dispute will be China building out a complete vertical communications/computing stack from low level chips to operating system to phone design. They won't get any market share in the U.S. but they'll dominate China (obv), India, Africa, and have some decent minority share in Europe.

The ban is great for U.S. companies in the short term that are behind on 5G, but this will harm U.S. tech industry interests in the long term once China has that vertical stack up and running.

I wish the U.S. government had used their power to push for some form of a mandatory and transparent security audit to ensure data privacy.
Very recently actually: https://www.npr.org/2018/06/19/621065383/what-we-know-family...
"It is not a defect and it is a defect. I mean there is a big reasons behind such a response, but these reasons are often do not justify the severity of a response."

The issue is that the phrasing, and many peoples' mindset, seems to be that it's a trivial problem and solving it can be taken for granted; we just have to find the right trigger to enable the solution.

Generalizing from specific instances is the root of...well, isn't it the root of basically every intellectual and social problem there is? It's about as likely to have an on-off switch hidden somewhere as world peace.
That's my take, too. Google is good at designing and building software systems. They are also just fine at running them. Where they tend to have trouble is sales and customer support. I expect that's a product of where they had their biggest success: in help-yourself ad sales. I makes perfect sense that an organization would double down on its strengths.
So, the migration of large numbers of people from a low-energy-per-capita economy to a high-energy-per-capita economy will save lives, but also have the unintended side effect of increasing global temperatures?

If we refuse to reduce our energy expenditures in the US because [stubborn reasons] ... would it be easier to solve global warming by just having everyone in the US migrate to existing more efficient, low-energy-per-capita economies?
In general I'd agree. In practice, no.

I've meet people in their late 90s who have more wits than people in their 70s.

I've meet teenagers who were way wiser than adults.

I'm not sure why people are so afraid of letting things run on merit. Can things go wrong that way? Yes. But it's not like the other way is perfect either. And let's be clear, what you are advocating for is discrimination. I've found most people who advocate for that don't do so with intellectual honesty, they like to call it a 'requirement'.
The EU is built around veto powers and allowing a single country to dictate things that are very important to them.
> I've thought about how best to manage company ownership in a worker owned cooperative

What have you thought about? My email is in my profile
The reason Google won is that manufacturers were completely incompetent in coming up with their own phone OSs either because of technical lack of capability or internal politics

MS could have had a chance, but they didn't have the vision and Android was the better choice (until now) to most manufacturers
I mean, I'd love that if I could do it. I don't always have music in the shower but when I do I quite enjoy it.

Unfortunately those verbal AIs do a terrible job at understanding artist names and song names in my experience. Plus I have difficulty remembering exactly what the songs are called lol. Not a great interface for me.
Putting people in re-education camps because of their ethnicity or religion isn’t the same as detaining illegal aliens. The US isn’t putting people in camps because of ethnicity or religion. Illegal aliens are in “camps” because they entered the US illegally. Drawing an equivalence between concentration camps (of the Nazi variety) and US immigration enforcement is ridiculous. If that difference can’t be discerned, then any intelligent debate is impossible. The immigration policy of the US is worthy of debate, but comparing the US to China or Nazi Germany is just nonsense.
That's incorrect. All of those functions are implemented using iteration.

Consider this excerpt from the .map() polyfill on MDN:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

// 7. Let k be 0
k = 0;

// 8. Repeat, while k < len
while (k < len) {
// [loop body omitted]

// d. Increase k by 1.
k++;
}
Yea they should do that for apple and google too. Oh wait.
Immigrant detainment facilities are getting real close to the definition.

Not anywhere on the same scale though.
Might it be worth using a password manager instead, like 1Password, or KeePass and its variants?
Tell that to the millions of (mostly black and brown) people whose lives were ruined due to possession or sale of small amounts of cannabis. I’m sure as states legalize cannabis we’ll see a spike in crime now?

Even if we agree that tough-on-crime works (I do not agree, but say I did), the way the war on drugs applied tough on crime was predominately on people of color. If you were white and sold weed you were MUCH less likely to go to jail than if you were black or latino. We could have locked up all those white weed dealers and driven the crime rate down even lower. So at very very very best the war on drugs was the right policy applied in a racist way. At very best.
It looks like a good way to ruin an entire ecosystem.
Europe would have a bigger case by the numbers to be concerned at the US then china.

China incarcerates at an estimated 165/100k while the US at an reported 655/100k. The makeup of or prison population is skewed to certain minorities who are also more likely to go to prison vs the same charges to white suspects.

So the US has made it’s “concentration” bland and bureaucratic- but the overall system is still monstrous.
Hmm… not sure how that particular iterator version is an improvement.

Aside: the Python

inspectors = list(name for name in ','.split(line) for line in file_lines)

is backwards in two ways and should be

inspectors = [name for line in file_lines for name in line.split(',')]
If you are travelling because otherwise you will starve while dying from disease, you are a refugee. Economic migration generally assumes that you are not likely to die from returning. I do not think it is that wise to conflate the terms.
“Fuck You, Blog”: Warren Ellis about WordPress
I also made the switch but firefox is definitely slower than chrome and sometimes it borders on being unusable on some website where chrome's performance was spotless.
From PG about this article: https://twitter.com/paulg/status/1134755140802633730
No. In france we rarely see criminals with guns. It happens. But it's not a common event.
But megacorps hire in such volumes that it's simply not possible to ensure any quality at all by any measure. It's all just random people that even perform worse when put in a corporate environment. So overall it's below average quality.
I agree with this, and will add:

Not everyone will see every thread on a topic. Some may only see a TSA thread on HN once a month or quarter, if they're a light user.

The repetition is indicative of the community's feeling a topic is important. And that's what people come here for. To see what this community thinks is important.
Why not? Do you prefer to manage multiple languages in your stack, or cobble together half-baked “DSL”s with method dot-notation, decorators, etc.?

New syntax doesn’t have to mean new lexemes or characters. New syntax can be making something that wasn’t semantically meaningful before now meaningful.

In Lisp notation, if I just have a bare (F 5), I’ll get an error: F is undefined. If I define F, in some sense, I’m adding new syntax. I can now write something down that is meaningful.

Now, it’s not strictly true that it’s new syntax. But if you agree to that, then maybe you’ll agree that

(match X (P1 R1) (P2 R2) ...)

isn’t new syntax either. (Lisp programmers, however, call it “new syntax”.) That chunk of code could represent pattern matching X against the patterns Pi, and a successful match will return Ri.

Visually, lexically, and structurally, this isn’t actually “new” in a lot of ways. Still has parentheses. Looks like CASE. Doesn’t introduce any foreign evaluation semantics.

So why wouldn’t you want to be able to write things like this? What makes functions/classes/methods/variables—which we define day in and day out—more privileged than syntax like this?
CSAIL Smart-Glove Can Identify Objects by Touch
I like statically typed functional languages but I'm interested in understanding why people dislike them.
That's exactly it. The US is shooting itself in the foot. Because the message this sends to the bigger world is: don't get too successful or we will kill your business.

The irony is that that is exactly what western companies blame China for.
Pretty sure there's a big difference between being detained for an act and being detained for just existing.
A remote tech writing gig proved to be an old-school scam
Yes. Some interesting papers are:

* http://www.lsv.fr/Publis/PAPERS/PDF/Sch-aiml02.pdf

* http://www.lsv.fr/Publis/PAPERS/PDF/DLS-jcss-param.pdf

* https://www.cis.upenn.edu/~alur/Zohar03.pdf

What's important to put those results in context for those who are not familiar with the subject is that, in the context of complexity theory, the "model checking problem" does not refer to the complexity of a particular model checker algorithm, but to the inherent complexity of the problem of deciding whether a program M satisfies some property 𝜑 (i.e. whether M is a model of 𝜑 in the formal logic sense). The "model checking problem" is the closest to a mathematical description of what we usually mean when we talk of "reasoning about a program."

I've summarized these results and more here: https://pron.github.io/posts/correctness-and-complexity
Culture is process. I think you're right about the internal product incentives to launch vs maintain or grow.

Politically-correct hiring may also have poisoned the well, because PC-engineers are - by definition - more motivated by politics than product. Once you are no longer product-focused, process follows.
I just recovered from a stroke in my own locality. Drink water every 15 minutes guys. It is very painful if you don't and a dreadful time.