skysight-inc/HackerNews huggingface dataset:
I don’t disagree that China is a threat to our democracy, however I cannot accept that the US dictates what products I can buy as an EU citizen.

Remember the Snowden leaks and when the Obama administration made it clear that surveillance is targeting non-citizens? Remember when they made it clear that those of us, not living in the US, have no rights?

And indeed, we have no right to vote, we had no say in the Trump administration being elected and now we have no say in US’s economic war.

So you see, no matter what arguments you bring forth, as long as we have no say in it, our dependency on Android and other US technologies is becoming a serious problem.
A slightly redacted version of my earlier post.

Dear HN crowd, it might not feel like it but we are quite influential. We are rich and therefore have a non-negligible command over economy. Silicon Valley is cool and people look up to us (do they? I don't really know, but wasn't Steve Jobs a national hero?) and may follow our example.

Please, take the lead. Here are a few things an hornorable member of the HN community can do

- Stop flying to conferences. Go to a local meetup. It's fun. And cheaper. If you really need to get out of town, take a train. Don't think about it as not flying for the rest of your life. Rather, can we declare a moratorium on conferences for like three years? Let's hope by then Prometheus will give us carbon-neutral jet fuel https://news.ycombinator.com/item?id=19842240

- Shift your investments from fossil to green. If you can't find enough worthy greens, shift it to anything else. Some say it won't impact your returns http://www.lse.ac.uk/GranthamInstitute/news/the-mythical-per.... Move your deposits and savings to a more sustainable bank. This might be one of the most underappreciated yet simple and powerful tools https://fairfinanceguide.org

- Work less. Work part time, and part of that part time remotely. Reduce your commute. If your boss won't let you, find a job that will. In the current job market you can negotiate almost anything, and remote work must be the easiest thing to negotiate. http://cepr.net/documents/publications/climate-change-worksh.... A firm lets its employees work four days a week while being paid for five. Everyone is happy, lower electricity bills, fewer cars on the road https://www.nytimes.com/2018/07/19/world/asia/four-day-workw....

- Reduce your meat consumption as much as you can. I noticed that this one is quite controversial but I am mentioning it anyway. It's fine to not go fully vegan, but make meat a special treat, something you are looking forward to, not an everyday snack. They say these new vega burgers are not too bad. https://www.nytimes.com/interactive/2019/04/30/dining/climat....
The trade war started as a mercantilist-spat[1] and the targeted attack on Huawei for perceived "economic loss" as the biggest global south smartphone manufacturer that was due to surpass Apple is clear as day. Additionally any critical US infrastructure was already barred from acquiring ZTE/Huawei cell towers/5G access points.

[1]: https://reason.com/2019/05/15/trumps-malignant-mercantilism/
Google
The public face of the NSA
Reduce in Javascript has the initial value as an optional parameter.
> not sure how that particular iterator version is an improvement

In this case it is not. But if you want to do more complicated things, you can do several steps with iterators, and then crystallize an array (or sometimes a single reduced result) at the end.

* * *

Edit: whoops I had it correct it in my python shell and then mindlessly typed it wrong into this conversation.

Apologies!

* * *

Also yes sure you should use a list comprehension at the end in the Python, but again if you use generator expressions you can keep working on them for several lines of streaming transformations without needing to actually construct any full list along the way.

* * *

As an example, instead of TFA’s min/max example, we can do something like:

const
readings = [0.3, 1.2, 3.4, 0.2, 3.2, 5.5, 0.4],
[r0, r1] = tee(readings, 2),
running_min = accumulate(r0, Math.min),
running_max = accumulate(r1, Math.max),
[rmin, rmax] = last(zip(running_min, running_max));
That's actually typical reddit. If you go into almost any topic subreddit, especially the more popular topics, it will be filled with amateurs, non-experts, and teenagers. Expert voices get ignored, drowned out, or downvoted to invisibility because they don't even have the ability to recognize that it's an expert opinion.
'Half Summer, Half Winter' Manhattan Aerial Photo
CM50: From Entrepreneur to Intrapreneur: Disrupting Industries with Jonah Staw
Nanoparticles awaken immune cells to fight cancer (2017)
I don't think I've ever seen someone so well shreaded from labour before. Usually it's the sort of in-shape-out-of-shape guy, or thin and wiry. Gabriel looks like he's off the set of 300 or something.
Keeping antivenom on hand isn't that common for keepers. Antivenom production is limited, so is its shelf life, it makes more sense to keep it at centralized locations. In any case, doctors prefer not to give antivenom, because it can be worse than the bite itself.

Even tropical snakes can stay alive in a home, or a settlement. I wouldn't expect them to breed, except of course in Florida where apparently all kinds of reptiles can become pests.
New Delhi, the capital, recorded 47 C. Its a population center is it not?
In what way? The digging? Or the water? It seemed he only uses a very little bit of the available water.
Name me one major US company that does not have close links to the US government.

Name one.

As for the IP angle, what evidence do you have that Huawei in particular built their 5G, or phones off IP theft? I postulate that as soon as China passes the US in development of new IP, the US will find no shortage of excuses to politically interfere in the market... Just like it is doing now, actually.
But meritocracy imposes no obligations.
this is such a bullshit answer. some people in hitler’s army were just serving soup. You’re getting rich off of the “evil” work, and you get to pretend you’re totally disconnected from it.
Running water through pipes is going to destroy the surrounding forests how exactly?

It might modify where the wetter parts of the area are, but I don't think that equates to destroying it.
Huh? I read all my PDFs in firefox.
Performance is not Manifest v3's WebRequest changes goal
>that's what lawyers are for

One of the reasons the standard open-sources licenses such as the GPL and the permissive licenses are as popular as they are is the lowness of the probability that lawyers will ever be involved.

There was widespread use of GPL software in the 1980s and early 1990s for about 15 years IIRC before the first lawsuit involving GPLed software. Stallman and his legal advisor Eben Moglen did a great job in reducing ambiguity when writing the text of version 2 of the GPL and in explaining the ramifications of the license to developers and prospective users.
I've downloaded firefox ESR and am migrating my important addons to firefox equivalents. Up to now all of them, apart from _authy_ (a crucial one) have native versions.

For me extentions like _uBlock Origin BitWarden_ & _LastPass_ are vital

Now I have to look if the latest incarnations are not as CPU hungry as the ones that forced me to stop in 2013.

If it is good on this ageing #DAW, I have my response to google's FU to us, their users

Update:
Firefox still uses much more CPU on my machine, that will create a problem when google pushes their crap through our throats
This is a broken blogspam site reposting

https://www.bloomberg.com/news/articles/2019-05-27/vw-to-res...
Try to get a job at a major news outlet without recognised journalism qualifications.
They have Github developers already deep in Chromium for Electron which is powering VSCode so rather than maintain two separate teams, better to focus everybody on Chromium.
The Startup Party Is Over
Its absolutely not localized to Rajasthan. Almost the whole of north india is under a heat wave. And we recorded 37% humidity today in Delhi (The capital) with 47 C temprature and hot winds.
I agree. I'm a big fan of functional-style JS but I've seen people waste a ton of time tying themselves in knots trying to get a reduce solution working where a for loop would be trivial (and more readable).

For example, the "use reduce to run asynchronous calls in sequence" is an important pattern, and was pretty much the best way to do this (or another way that was basically equivalent) before async/await. With async/await, though, it's trivial (and in my opinion more readable) to just do this in a for loop with await. So I found it a bit odd that his reducer function used async/await syntax.

There was an article on HN recently about "don't compromise simplicity for dogma", and I think that applies here.
The act of having their nations destabilized by the US?
talk about branch sawing..
> But then you strongly talk about a startup, looking for V.C. funding with strong founder ethos. That's also an ideology.

Wanting to raise money is an ideology? It's better to describe it as a practical way of expanding a business.

> 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

I just looked it up and there are an estimated 400 coops in the US with around 7000 employees total. This does not qualify as a lot. Almost nobody with the desire to create and run a business wants to run a business this way.

Also you missed the most important criticism, which is why is tenure of all things being used to decide who gets how much equity?
Schumann Resonances – Earths Heartbeat
Good,... as long as you don't injure yourself using borax.
I would feel sad if I would have to go back to i3, though. The feeling of getting rid of X11 is very uplifting, to me.
Then slowly the climate change will come for you. Will your borders stop the climate?
That's a tad bit simplified, in reality, single countries can be overruled, it just doesn't happen that often [0], but it still happens.

In that context, I doubt the EU is gonna let itself get dictated what to do by the UK, which is in the process of leaving said EU. It would be like eating your cake and still having it.

[0] https://www.reddit.com/r/europe/comments/bvj3o7/eu_legislati...
>China incarcerates at an estimated 165/100k

Does that number include those in the concentration camps? China is refusing to give any numbers about them and classifies them as "vocational training centres" so they likely wouldn't show up under that statistic.
Which countries can I choose from, I cannot find Cuba there?
I had severe depression and I was a victim of such experiments. I lost two years of my life to these drugs and failed suicide two times at the end. What helped me get out of this mess was CBT therapy to change the way I think about things and how to deal with emotions, how to defuse going into the loops of sadness. I didn't need any drugs but doctors insisted it will make me feel better.
Yes, I was feeling better initially - actually sometimes I could feel the effects to similar to those of cannabis. But after few months I was getting hallucinations, weird thoughts and sudden urges to kill myself. The doctors response was to change the dose or try different one. I think this should be illegal.
Sales growth slowing for Uber in first earnings
Intelligent debate? Are you fucking kidding me with that dismissive bullshit?

Look closer at your prison system, asylum seekers and Gitmo.

I'm not saying there aren't reasons for all this, and I'm not saying the US is worse than China, let alone anywhere near as bad as Nazis.

But holy shit if you can't see a semblance I don't know what world you're living in.

P.S. saying they're illegals and that gives you the right to deport them is one thing, but saying it makes it ok to cage them and their kids up is a whole nother ball game. Nazis made it illegal to be Jewish too.
I've never held public office, yet I'm perfectly justified in complaining about politicians. I've never played football, yet I'm perfectly justified in yelling at my team's players on the tv. What's the point of your argument?
I thought Europe was frowning hard on huawei too
An Alternate Theory of Artificial General Intelligence
Use the right tool for the job. Array to potentially different sized array? Use flatMap (which he implements in his example, albeit not it an optimal way). Array to single object or value? Use reduce.
Not sure why you got downvote for an argument made with data sources but I gave you an upvote anyway.

Spirited debate is the best thing about this place.
"No guns = no shootings" is an idealized logical conclusion, not a pragmatic consideration for how an existing super-empowering technology can be used by individuals to decentralize and evenly distribute political power, which firearm rights fundamentally are. We are safer and more reliable when the State does not have a monopoly on force.
And this is attitude is the issue. You have a lot of geeks who know nothing about what businesses need to succeed because the hiring process is optimized for those who can memorize leetCode.
> It is an observable fact that unconditional basic income reduces stress. This fact is indisputable.

Except that's the reverse is true too.

An increase in tax expenses lead to an increase in stress. And to distribute $1,000 per month, you are gonna have to collect way more than $1,000 per month.
Here is the link to an article about the woman who retrains homeless to work on farms, if anyone is interested: https://www.japantimes.co.jp/news/2018/04/09/national/kanaga...
cmd+t opens new tabs in default profile, i'd like to either be able to assign which profile is default for each window (have a "work" window with some tabs, "personal" window with other tabs, etc) or for container to be inherited from current tab.

i've also tried native firefox profiles but they are somehow too isolated. chrome has this behavior where clicking a url outside the browser would open in new tab in most recently used chrome profile window. in firefox it's always the first(?) profile window that you opened.
How is the right to privacy being violated though?

Imagine you were a stripper or porn actress, your right to privacy wouldn't preclude someone recognizing you at the strip club or video.

Or suppose you went to the strip club or watched a video and then also happened to be on Facebook and saw the profile of someone you saw stripping at a strip club or in the video, matching the face and name in your head.

How is the slow case different fundamentally from the case where programming is used and throughput and speed is much higher and faster?

I mean would it be illegal for someone to just start going through Facebook profiles by hand trying to find an actress they just saw?
Goodhart’s Law: Are Academic Metrics Being Gamed?
What good is “building software systems” if you can’t produce products that people and businesses want? After all of these years and all of the initiatives, still almost all of their profits come from ad sales.
Depending on where you live, there may be a lot of government sponsored guidance on how best to manage the environmental impact of micro hydro schemes - see e.g. https://www.gov.scot/publications/hydro-schemes-planning-adv... .
The current issue is that Huawei is blacklisted due to US’s economic war.

Microsoft’s Windows Phone would have been no better, quite the contrary, at least you can fork Android, at least it supports alternative app stores.
Flink is popular. I believe Samza also fills a similar niche.

There's also Kafka Streams which is suitable for many cases that do not warrant a full cluster with all the management and trouble required.
IMO, AI has a better chance of replacing the other kind
Thats why i chose the word estimate. The reported incarceration rate from China is 110/100k Iirc

Edit: 118

http://www.prisonstudies.org/country/china

The 165 comes from footnotes here. It may be a bit higher now, but would have to be massively higher to close in to the 4x higher US number.

https://en.wikipedia.org/wiki/List_of_countries_by_incarcera...
These are all very common tricks that are often used by even the highest-profile publications. It might not have much to do with anti-UBI sentiment rather than just for-profit/click motivations, but I cannot personally know either way.

Although I do disagree with the author when they suggest that we can easily generalize results across countries, stating:

>As the behavioral economist Dan Ariely replied when asked if what is being learned in GiveDirectly’s 12-year UBI experiment in Kenya could be applied to the US, “If you think about the fundamental aspect that you’re testing, people are people.”

We know there will be fundamental similarities, but countries are vastly different and have vastly different problems, and direct political comparisons are thus rarely fair. For UBI to actually be implemented within a country like the US, you need a lot more than just a small trial in Kenya. Even performing trials in 'more similar' countries like the UK and Canada leaves a lot to be desired.
Zstandard Go Compression Package
I am happy to announce the availability of the first Zstandard compressor written in Go. This package will allow you to get very fast compression to Zstandard - an awesome compression format by Yann Collet.

The current compressor is focused mainly on speed and outperforms gzip/deflate typically by a factor of 3x for similar compression ratios. It is also within a reasonable margin, typically 0.75x the throughput of the reference library called with cgo.

Alongside the previously released decompressor, this will allow you to do very fast generic compression and decompression with unrivaled efficiency in pure Go.

Both a stream and byte blob compressor is made available and both operate without allocations if re-used, so it will also play nicely with the rest of your application.

As a bonus, there is a Snappy -> Zstandard stream converter. This was mainly a development tool, but could be useful for some.

Current status: The main goal for the initial release was to get something that would be a feasible replacement for both deflate/gzip and the cgo wrapper. The package in its current shape allows to replace both for scenarios where fast compression is required. The compressor has been (fuzz) tested, but may still contain subtle bugs - so if you are dealing with critical data, you might want to do your own testing first.

Feedback and experience reports are appreciated. This has taken most of my free time the last several months and has been a great learning experience. I plan to dive into the more efficient (and slower) compression modes next - but feel free to write if you desperately need something else.

Also, it seems like Go is the first language to get a Zstandard implementation that isn’t a wrapper around the reference library. Yay!

Package & info: https://github.com/klauspost/compress/tree/master/zstd#zstd
> When you leave your home, your privacy is gone

This is not true in Europe.
I am rolling my eyes at the thought that political correctness plays any major role in hiring at Google. Striving to improve diversity doesn’t mean that you only hire “PC-engineers”.
Unfortunately not in a way that can optimize these methods. This is one reason the Java Streams API, which has a similar purpose (e.g. map, filter, flatMap, reduce, etc.), is a better design IMO because you can chain together method calls without creating (and iterating) the full array at each step.
You do get a doctor to have a look at your hand or back. You can get pain relief medication. Stoicism is not philosophy for people at breaking point nor thos with real problems that needs to be solved actively. You as tech worker think about how others looks at you and consider social status. Poor miner needs fix for back that is hurting enough to prevent him to fully perform which puts him at risk to be even poorer.

My poit is that civil rights nor security regulations nor anything like that happened because people were stoic.

Moreover, places with those sucky-destroy-you miner jobs tend to, well, not be stoic. They have host of social problems, alcoholism, drugs, physical fights etc. These people are not signing to stoicism as philosophy. They are drawning and reacting to that.
No, skin in the game is merely the intertwining of self-interest. Taleb is talking about ways to incentivize those with power, authority, whatever to act in conformity with the common good by entwining their good with the good of everyone else such that a loss to any party is a loss to both parties. Noblesse oblige is about one's higher moral obligations toward others as a person of noble rank, full stop, such that the person in question lived up to the noble ideal of magnanimity.

Incidentally, as it turns out, people are social in nature and thus contribution to the common good (when it is truly such in keeping with one's own good) is by definition common. Thus, what Taleb is talking about is the narrow understanding of the common good. A "powerful" person who doesn't give a crap about the common good and actually does harm to it is actually harming himself by harming the society he is a part of. Taleb is suggesting that we deal with such people in positions of authority by working to entwine their interests (monetary, in his case) with the interests of others.
> ...people report a reduced therapeutic effect and more side effects from a generic-labelled placebo compared to a branded placebo

wa? the power of branding -- advertising can be beneficial?
Oh god! That's why my battery life is better since switching back to the standard resolution. What an awful bug.
On Android, Mozilla offers GeckoView.

I don't think that there's a desktop offering at the moment. There used to be quite a few (XULRunner, Prism, etc.) but they all died from lack of love.