skysight-inc/HackerNews huggingface dataset:
This is wrong - triSYCL is roughly the same age as ComputeCpp, and hipSYCL is only slightly younger. There has been a lot of academic interest in SYCL, but as with any new technology (especially niche technologies) it's always going to take time to get people on board.

Also, from a quick look at your profile, you seem to have quite a lot of comments criticizing or commenting on CodePlay. Do you have some sort of relationship or animosity with them?
Yes, Trump did something about China.

He got rid of the most effective global efforts to contain China’s growth through the TPP. I know HN hates the TPP because of amorphous claims about IP, but flouting IP norms forms the entire basis of these actions by Trump, and the whole point of TPP’a IP protections (which HN hated, apparently) was to make sure China’s neighbors would not flout IP protections the way China did, giving private companies incentives to move manufacturing and research from China to the neighboring countries instead.

That would have been a broad ranging global effort to ensure China followed rules, that would have cost the US nothing (in fact other countries were making concessions to the US for it), and would not have required 2-3 years of barely legal efforts to contain 1 Chinese company and even there only in the US market, but would have instead affected all Chinese companies, non Chinese companies manufacturing in China, and not just the US market but also eastern Asian and Australasian markets.

So yeah, if by Trump did something you mean he dismantled an effort that would have been more effective by orders of magnitude and cost the US nothing but actually won it more friends in favor of a barely legal effort that is pissing off even allies that are not friendly to China and has taken 3 years to maybe impact 1 Chinese company, then sure.
I just tried - comfortable practice requires more supple dexterity than I can muster.
Or you could just say that this is an assertion of “I am intelligent enough to pick the path I would like to go given the fact that the choice of a path is irrelevant for both of us”.

The fact that you lack confidence doesn’t suddenly make others alpha fe/males.
> Dicks are easy to ignore

Deleted comments are also easy to ignore. Deleting your comments regularly might be construed as a dick move by some people, but as you say, dicks are easy to ignore.
Show HN: Match HN comments to their parent game [Phoenix LiveView]
Chinese Number Gestures
I painted a home (imagine a 5yo painting a home)(a square, and a triangle for the roof)(with door, windows, chimney smoke), and right next to it I drew a penis.. it didn't mind at all to have a "house sized" penis next to the house.
No, there are no ‘human rights’ in America. There are only ‘American rights’. Non US citizens are not protected by the Constitution. Do not have free speech, etc...
Obama was quietly working on the TPP. It or something like it would probably have been the better strategy to check Chinese power and put us on a path to decouple from them, while boosting friendly allies in their orbit.

Trump pulled out of the deal and decided to do a trade war instead.
It's important (when considering censorship) to quantify the impact of the UX as well.

If you post an opinion that gets downvoted a lot, your account will be given a 10 minute timer before you can reply to anyone, or post a new comment.

As a result, users must weigh the implications of compromising their ability to use all the features of the website, versus having the freedom to voice their opinion. In most cases if you want to express your opinion on some topic which is against the prevailing narrative, and you don't want it to affect your ability to post about completely unrelated things like Power Tools or Automobiles, then your only options are to self-censor, or use a different account, or wait 10 minutes between comments.

The ceddit website will show you censored content, but there are likely millions of similar comments that users did not post because the algorithm discourages wrongthink
> if a person offers value, they should be paid for that value regardless.

That sounds nice on paper, but in practice I guess you wouldn't want to get paid what your equivalent in eastern Europe or Asia currently earns.
Source[0] | MIT licensed

I've had this silly idea for a while, and I decided to try Phoenix for the first time to make this website. If anyone has any suggestions for features, or code review ideas, please let me know.

Impressions: I already love elixir, but I really liked using Phoenix. As usual, if you find problems you need to google around things a little bit more than for more popular frameworks, but overall, just like elixir, development is pretty painless and easy.

On the other hand, deployment took a bit of reading, I'm not gonna lie.

[0]: https://github.com/ldd/hn_comments_game
And yet, a lot of experienced programmers have noted that even when they write their first time naïve Rust, it turns out to be really fast.
> I'm basing this on the government's paralysis in this case.

What paralysis? It's moving through the court system at the court systems typical pace. (Which is slower than I would like... but that's just a general comment about our court system)

> Canada's system of laws is being abused by the Trump administration

This is primarily an argument for amending our laws in response to this case, not ignoring them in this case. Admittedly it's partially an argument that might be raised to say that the laws do not support extradition in this case, but of course at the time we detained Meng Wanzhou this was nowhere near as clear, and her lawyers are more then capable of making this argument to the court.

> The possible US reaction to not extraditing Meng Wanzhou would be just as - if not more - scary.

Indeed, and we should pay as little attention to that as we do to China's threats and retaliatory arrests. I have complete faith that our courts are paying as little attention to it.
For your young inventors and scientists:

> Dyson engineers have designed these challenges specifically for children. Ideal for home or in the classroom, they encourage inquisitive young minds to get excited about engineering.

https://www.jamesdysonfoundation.com/content/dam/pdf/US%20ch...?

https://www.jamesdysonfoundation.com/resources/challenge-car...
They usually ask for C/C++, but what they really mean is C++.
Lots of large places are looking at Kubernetes as a way to reduce provider lock-in. Being able to sit down with the CIO and say you have a great migration path for their on-premise setup and it can seamlessly manage cloud workloads is a really nice pitch.

Google theoretically has a similar pitch with Anthos but they’re really not good at sales and GCP has a lot of basic catch-up to do in most areas other than GKE. Say what you will about VMware, they know how to sell effectively and don’t ignore features which aren’t cool CS problems.
Earth View indeed has some stunning aerial pictures!
Thanks for leaving the link, I would have missed it otherwise :)
Security tips to protect yourself from hackers
Testosterone, a key hormone in the context of Covid-19 pandemic
'Could' and 'Currently has a well know and active program dedicated to' are two entirely different things. Kind of moot to worry about hypotheticals when the existing reality is problematic enough.
I've been mowing my lawn myself, rather than paying someone to do it. Does that count as a side project?
My friends and I are working on a managed IAP backend for consumable purchases.

https://purchasepoint.landen.co/

We've made a few apps in the past that monetize with consumable purchases (specifically things like virtual currency, extra swipes for a dating app, etc.) and realized the backend we wrote each time for storing user inventory after making an in-app purchase was almost identical. PurchasePoint handles the details of Apple StoreKit and Google IAB transactions to track user inventory for you.
>It is very difficult to make a positive difference in anyone’s life with his given skills.

Based on what? Anecdotal, but my partner is a data scientist and statistician full-time . She regularly volunteers or contracts her skillset to a range of projects, including medical research and criminal justice. It's very impactful work - some of the research will massively improve people's lives. And there is definitely enough work to mostly focus on those projects if someone wants to.
I wonder if tsmc is getting a sweetheart defense contract for this fab.
Google, Apple, Facebook Plan Returns to the Office Post Covid-19
> million dollar mansion in Vancouver

So, a condo then.
It would be fun to compare the timeline of stock transactions by legislators with the timeline of public statements by those legislators and their colleagues pertaining to the companies’ stocks they’re selling, or those companies’ industries in general. Not that I expect such nakedly corrupt pumping and dumping or hyping... but I’ve been more surprised in the past.
Aquinas on Torture (2006)
A pretty visible example of this is Iran on r/worldnews. Back when there was the US-Iran conflict in early January, the front page was filled with pro-Iranian content [0]. This is after hundreds of civilians were killed for protesting. It could just be that the people on that subreddit support Iran, but given that on many of the posts the comments were full of people saying they disagreed, and given that Iran has been previously found spreading propaganda on that subreddit in particular [1], I think it is suspicious. The posts seemed to mostly stop after they decided to shoot down a civilian airliner.

[0] https://web.archive.org/web/20200107185156/https://www.reddi...

[1] https://www.nbcnews.com/tech/tech-news/volunteers-found-iran...
I've been working on a data frame implementation for Python. I think API-wise we can do a lot better than Pandas. Especially after having seen and almost daily used dplyr with R, when having to use something else, I miss that convenience of a clear and consistent API and the chaining of operations. I don't know yet if this project makes sense in terms of speed and corner case handling. I haven't done any real-world work with it yet, but at least it's been a good learning project.

https://github.com/otsaloma/dataiter

https://github.com/otsaloma/dataiter/blob/master/dataiter/da...
From the anecdotal experience of developing such software as a side-project for myself, the hardest parts technically were dealing with concurrency and race conditions caused by it. Other skills for prosperity is understanding statistical significance and randomness. Also, writing reliable software and designing both the best-case and worst-case scenarios is required when interfacing with remote systems: brokers return error or exception cases saying you were too slow all the time, which means your software is dependant on that information and must run in probabilistic state conditions while waiting for the answers to remain performant.
Ask HN: How does a JAMstack website like Smashing Magazine get hacked?
So Smashing Magazine got hacked yesterday[1] and I was quite surprised by this because they've moved off WordPress 3 years ago and have been promoting JAMstack ever since for its performance and security.

I doubt they will be doing a post-mortem on this, but where would the entry point be? A weak GitHub account without two-factor authentication or something else?

[1] https://twitter.com/tonyciccarone/status/1261100239206957056
`Linux should be a solved problem right now`

This is a joke right? Unix is not even a solved problem and it's been around 50+ years.
And yet you still gets paid a lot more than your equivalent in a lower-cost country. Yet employees in Europe or Asia aren't expected to produce less either.
These folks also do the same thing for Adsense on sites. For a site, I am running for a long time. 10+ years. And earned multiples of 100ks worth of revenue from it.

They sent a vague email, regarding violation and suspended Ad serving. Never ever had any issue before.

I can only suspect that their policies have changed because of the current pandemic. But isn't it disingenuous, in that case. Similar to laying off an employee, and cooking up a shady reason for it.

They will only make me kill the business, which in turn will stop payments (reduce significantly) to AWS. Thereby enabling more slow down.

Very very unhappy with them.
I've finally gotten around to working on a idea of mine, the ability to clip podcast segments and share them. Still figuring out some stuff but the beginning stages are looking and feeling great!
The Richest Neighborhoods Emptied Out Most as Coronavirus Hit New York City
The problem for the US is that it is difficult to imagine a realistic, and peaceful, scenario in which China does not ultimately become a larger global power than the US.

The actions they are taking are delaying tactics but do not change the fundamentals. In fact, blocking shipments of semiconductors may even hasten the rise of a competing Chinese industry.

I think being #1 is deeply embedded in the American psyche and it is shocking for them to even imagine otherwise (Edit: as we see in these very comments and the reactions...), which is actually a risk for world peace, IMHO.
> What other broad topics are informing your experience?

I'll bite.

So, I find the Austrian school Economists best at explaining the impact the Federal Reserve has on markets. I consider several individuals who claim to be from that school to be my preferred experts when I want to understand what is happening with the Federal Reserve.

However, I would not proclaim these experts to be the "country's top Federal Reserve experts" simply because there can be no authoritative source for this claim as there are other experts in the field with very different (and equally well supported) positions on Federal Reserve activity.
Active discussion on front page:

https://news.ycombinator.com/item?id=23191055
> Commerce Secretary Wilbur Ross told Fox Business “there has been a very highly technical loophole through which Huawei has been in able, in effect, to use U.S. technology with foreign fab producers.” Ross called the rule change a “highly tailored thing to try to correct that loophole.”

This is very vague. Does anyone understand what they are talking about?
I don't think this is true having read some of the later chapters and not knowing measure theory. And if you don't trust me, Gelman doesn't know measure theory either (https://statmodeling.stat.columbia.edu/2008/01/14/what_to_le...) and he wrote the book...
> Maybe make sure they maintain a few different links that are, if not controlled by the africans themselves, at least can be controlled by Brazilians, or Russians, or Chinese.

Russia and China? The US is more trustworthy than both of them, by a lot, and if there is one thing China is good at, it is extortion.
Clipboard sync would double attack surface if secrets are ever copied.
That seems to be a scraper.

I wonder if it is legal to scrape stock market data and then republish it.
> allocation free algorithms

Do you have any good sources for information about this concept? I'm having trouble understanding how a algorithm could produce useful work without allocating anything.
I was doing simple experiments with my 3-year-old for a while when the lockdowns started happening. She was really interested in going through the whole process of getting materials, coming up with a hypothesis, testing it out, etc.

Then she wanted to start experimenting with stuff within other activities, like taking what she learned from our experiments and trying to apply them to her toys and outdoor activities. So I realized it's fun for her to learn about science and experiments but I was running out of ideas for other ways to spend time with her and the experiments were beginning to get almost too formal.

So I made a simple app that picks out a list of activities to do with kids, which still includes some science experiments in addition to other things like games, scavenger hunts, etc. Note: the activities content could use some improvement and there's a form for people to submit their own activities.

http://activitiesforkids.netlify.app

If anyone has had any particular success entertaining kids, you can submit your activity ideas to the app here: https://activitiesforkids.netlify.app/submit
How the Spanish flu changed the world
I like adding "Server: Windows 95", "X-Powered-By: PHP 2.0" or something like that. You know, just to mess with people. Make them wonder what the fuck they just stumbled upon.
It's a valid distinction. The decades-long many orders-orders-of-magnitude drop in the price of computing hasn't been responsible for investment money periodically drying up, but it has put a 90's era supercomputer into everyone's pocket.
Could be, but I've been shocked by some of the products I've seen that have a full blown ARM in them these days. My friend bought a mouse with a full 32 ARM MCU in it.
worked for a main competitor of Huawei building UMTS/LTE base stations which at the time weren't even properly standardized (early systems design). Searched for my own name on github. Found source code I wrote for said vendor which was taken from somebody who worked for our Hangzhou office and had access to the same internal VCS[1] as me. The guy downloaded anything he had access to then moved to Huawei and from there to another Chinese state owned company. He uploaded everything to his own github account (under his real name). Not even an isolated case. They don't even have to plant a mole in your org in the West they can simply just coerce Chinese based employees to extract interesting IP from your sites in China. These guys just don't give a f*ck! (also Nokia, Ericsson management were never held accountable for enabling this by opening up sites in China without thinking this won't bite them. they all did it because of promise of cheap manufacture and they all got rolled. thousands of jobs lost in Europe and the US as a consequence so it's not just the Chinese who are to blame here)

note: I was involved in early tech standardization on 3GPP for many years. yes Huawei contributes a lot. That doesn't mean they also don't steal your shit. They do it because there literally is no way to hold them accountable. You just got to make sure you don't travel to a country that may extradite you to the US. And by the way they are _not_ the leader in 5G. This is constantly parroted propaganda. You can get the same "mature" Tech for 5G from Ericsson, Nokia ... yes Huawei might have more patents but you can only sell what the standard supports in terms of interoperability, and so the constant claim that the only 5G player is Huawei is plain wrong.

[1] obviously we didn't use github to manage our source code.
For those that don’t know, Vitamin d is created when sunlight hits skin.

“The major natural source of the vitamin is synthesis of cholecalciferol in the lower layers of skin epidermis through a chemical reaction that is dependent on sun exposure (specifically UVB radiation)”

https://en.m.wikipedia.org/wiki/Vitamin_D

Which unfortunately doesn’t work well in the winter depending on how far you are from the equator.

It’s fat soluble so levels can be tested.
I'm fine with risks, so long as they're calculated from a position of expertise. I don't trust Trump to take smart risks, given his business history, narcissism and well documented disdain for expert advice. Someone who ignores intelligence briefings because he thinks he's too smart to need them shouldn't be acting like a maverick on the world stage.

Simply doing something, anything, for the sake of having something be done is even worse than the status quo.
Hell, I remember 2003-2005 and being _excited_ to switch to InDesign. I think the issue pro software has is that at some point it's basically "done", with only small updates still required, yet the developers of said pro software need to make their sales numbers.

I'd be fine with cloud subscription software if the TCO ended up being lower than buying a boxed product, but it's seemingly more expensive than it ever was. $10USD/mo doesn't seem bad, but if you're comparing to a two-year, $200 upgrade price, then you're spending $40 more and can't opt to skip the latest menu reshuffle.
>Pulling this crap only incentives China to develop their own silicon.

Operating under the assumption this isnt already a priority to them, which I would say is a big assumption.

You're looking at this as if it was in absence of the rest of the trade footings of the two countries.

The west is building stuff in this industry - semi conductors. The east is operating heavy industrial espionage to try and steal all the secrets of it so they can take it from the west.

I'm not sure why you think this trade war situation is indicative of the US not making things - its exactly a heavily US industry where China steals technology to leapfrog actual competition.

If China steals all your research you're going to have trouble affording coffee beans. If they steal your research and then open factories up you're going broke.

So the importance of producing is true, but its tied to the importance of protecting your advantages, national and otherwise.
> to try and equate what the US does to what China does is simply ludicrous

This is such a West-centric viewpoint. The fact is that they're only only different in where they're the most horrible. China is worse on the domestic front and the U.S. bullies more on the foreign front. Then there's soft power, where Hollywood makes you think the U.S. actually cares about democracy and human rights, (while supporting the likes of Saudi Arabia at the same time), which are quite powerful tools of propaganda.

The 90% of civilians targeted by U.S. drones would probably strongly disagree with your assertion. Is just that there's not a strong voice speaking for them on TV, where's there's plenty on China.
I think that's a good thing. A C "enum" is just a shorthand for declaring an int alias and some constants. You can do that in Rust easily enough.

A Rust enum is an actual enumeration type, which C does not have. This is far more powerful.