skysight-inc/HackerNews huggingface dataset:
Only if you drink Trumps racist FUD propaganda. All I see is US bullying China clearly

If Tiktok is the greatest "threat" than obviously there is less than meets the eye. More likely NSA can't spy on US citizens. Its so obviously easy to check out and block. If I were China, I just make things transparent in the age of built in backdoors would be huge untapped market.

It wouldnt work on five eye, but the other 200+ nations would be won [keep it coming haters]
Anytime there are humans involved, there is no way to 100% secure it
I hope it gets combat support eventually. The developers of DCS simply can't seem to keep up with their own creation
Funny, I stick with NVidia because they still offer more reliable, performant drivers for Linux (or these days FreeBSD), open source or no.
America Was Ripe for Humiliation
Preventing the purchase and import of physical equipment into the US is a lot different than preventing the import of code/speech. I fully understand the former is allowed, but I highly doubt the president possesses the authority to do the latter.
Under the Bernstein v. United States ruling software source code is protected under the 1st amendment, I do not know if this holds true for binaries as well though. I guess if TikTok distributed only its source code and it was compiled by the user the gov would be able to do nothing about it.
Even sale to Microsoft would looks legally dubious I think, if federal government is seen to be involved in brokering such a deal or ordering Microsoft to do it. I don't think the federal government or at least the executive should have that kind of authority like asking/forcing Microsoft to do a specific thing.

I don't know about China, but US executive and legislative have limits to their authority and I doubt such arbitrary bans are within that.

US seems least bothered about US apps/companies not being allowed in China and other countries, and retaliation for such does not seems the motive for US actions in this topic.

Anyways such straight reciprocal actions are often the naivest, and most simplistic of possible responses anyway.
Hi, I am glad you like it! Someone on the comments implemented a chrome extension that opens up a gif with the same ratios as breathe (4-4-4). It works great to be honest. Here is the link: https://github.com/b3ting/breathe

I think that the idea of breathe reminding you to do breathing exercises during regular intervals is great!
Nothing too fancy or accurate.
I use a Samsung Odyssey+ and play mostly Ultra Wings and War Thunder. It has been enough to put some life back in videogaming for me.
I looked around at the code in Envoy.

"As modern as it gets"? Very, very far from it. Everywhere I looked it was all-over public virtual functions. It looked, more than anything, like Java, which is essentially, more or less, C++92 with some bells on.

The code might be OK, but, as with typical Java code, everywhere I looked was boilerplate, hardly any of it doing any actual work. I would hate for somebody to look at Envoy and think that was what good, modern C++ code looks like.

Virtual functions are a good answer to certain problems that come up, once in a while--in C, for such a problem, you would use function pointers. Inheritance is a pretty good answer to certain problems that come up a little more often.

But neither is a good answer to any organizational need, and a big project that reaches for virtual functions and inheritance as first resort makes me shiver.
If we are being needlessly pedantic, the traditional US definition of a "republic" is a democracy, but just not a direct democracy (I'm not aware of any modern countries that are), which I suspect is what you were trying to point out:

https://en.wikipedia.org/wiki/Republic#United_States

https://en.wikipedia.org/wiki/Representative_democracy
Looks more like US democracy is collapsing from the inside than due to external factors.
> but also keep in mind we have dealt with much stronger things in the past: https://en.wikipedia.org/wiki/Export_of_cryptography_from_th....

Which was ruled unconstitutional.
That is literally how almost every country’s debit card works
I think the biggest thing that bugs me is that the American public didn't let Vine grow and make money. Instead we're either banning and blocking TTok or giving China a huge amount of money. I don't like giving China money. Ban them
I appreciated how philosophical he was getting about everything. Honestly stoked my interest in a game I can't imagine playing much of.
In this context, "democracy" is used in the broad sense, meaning the codified national value of self-government by the population. The distinction that there are elected representatives rather than direct votes isn't relevant.
Consider switching. (Maybe even just within your company, if you like the place)

Working at FAANG as well, for ~10 years now, and nobody has ever given a lick about my degree. Good thing too, because I don't have one :) Neither do plenty of colleagues. There are plenty of colleagues from state schools too. AFAICT - nobody really cares, so it's not discussed that often.

It's not a big question when evaluating interviews or hiring, either. (I've seen by now a high three-digit number of interviews)

And, seriously: Get rid of that handle. You're telling yourself a story every time you see it.
Albums in Kpop world is a different thing.

Think of buying albums more like a kickstarter fundraising for fans to support their idols. The photo book or the chance to get a ticket for a fan meeting is arguably a bigger draw than that CD itself.

In fact, what I know, a lot of sales, especially oversee ones, those albums are not even physically sent back to the country where they originated at all. It is just a gesture to help their idols rank better on the music shows.
Just to add to this idea, it's important to understand when the circle is near the start or end especially. I found myself not sure when to start breathing and not sure when to stop. I think the color idea will definitely help but sure if this specifically addresses this issue.

Either way very cool idea for an app
AMD supported Radeon & AMDGPU rather than releasing their own drivers, there is no reason Nvidia can't provide documentation and a simple open source firmware for their GPUs.

We could care less about the hacks and cludges baked into the proprietary Nvidia drivers and firmware focused on DirectX powered gaming. The current path Nvidia has chosen with signed firmware locks out open source developers from much of the low level operations of their GPUs.
How Many People in the U.S. Are Hospitalized with Covid-19? Who Knows?
Good banks allow you to pick your own PIN. For some reason in Europe few do that.
Ah. But the thread was about whether it was GNOME or GTK that was responsible for file dialogs. (Or so I thought.)
Has the US ever done this before? Force internet providers to ban certain IP's? Because this also, ironically, is how China blocks the majority of the western internet
Republics are democracies. They're just not direct democracies.

This might also help: https://mises.org/wire/stop-saying-were-republic-not-democra...
I don’t think this is a particularly helpful path to take the conversation down. Both Trump and China can be threats to democracy, we don’t need to play one off the other to make one look better by comparison.
I tried some iOS apps and some of them had audible cues as very low chords (they were very relaxing) but since I am someone that listens to music a lot I thought they would bother other people...
Quick question: imagine I have a magic way to make you not miss any visual cues from the app, do you think it would still be nicer to have audible cues?
I cant find any evidence in their financial reports of Apple breaking down sales and cost of sales for the App store in early years. I would be very, very surprised though if it was not profitable almost immediately (unless you creatively move around numbers and claim 100% of the iPhone's R&D was a cost of sale for the app store).
No comment on the merit of one vs other but with experience selling software, sometimes fewer features is better (lets you target better initially.)
I assume any VPN would do.
America is dead and we have killed it. Long live China. Long live Russia. Long live Canada. Make way for the 21st century, Americans!
Teens would be able to figure it out within minutes. It’s not difficult, it just isn’t required knowledge for most users (yet?)
Phoenix vs. Rails Benchmark
Intel should start investing in RISC-V or opening up their own architecture. This is the only way they will keep market share in the next 10 years.
Give me windows subsystem on Linux any day (for mainly this reason). I need a windows machine but it's so jarring going from my Linux laptop running off a HDD running six months worth of updates and a kernel while I watch a film to windows needing a restart to update a .NET minor version(!?) when running off an SSD.
The problem as I see it is not that I can't pay or don't see the value in good software or journalism, but that charging $$ is negatively correlated with trustworthiness and quality. Or at least not positively correlated.
This is absurd. Why are people who insist on couching everything in economic terms refusing to believe that new music is a commodity that people demand? People don't need cars with new features, and yet the market exists for it. Loads of people throw out their wardrobes every 3 months and buy a whole new set. If that's not demand, what is it? If you can only apply "demand" to basic necessities, and literally no luxury goods, then what is the point of the term? That's not to say the commodification of art is a good thing for artists or listeners, in my estimation, in fact I'd say the artificially induced demand of mainstream music is feeding into the current crisis. Marketers push a homogenized sound and then the force of the industry moves to capture that segment of the market. In fact I'd argue there's unmet demand that exists for quality alternative music that won't be satiated by these models.
Wake up 4 AM. If I feel sleepy I go back to sleep and wake at 6. Sounds crazy but it's less crazy than sleeping at 2 AM, where I'm also prone to making dumb decisions like spending another hour on HN. Whatever I was doing late at night, I can do really early morning while the kids are asleep and my brain is awake.

I have a list of things I need to get done every day. It's usually really minor and takes 2 minutes. Like take notes of a book. Watch a technical video at least 2 minutes long. Work on my side project 2 minutes. Do 10 push ups.

All of these are completely doable by 7 AM regardless of when I wake up. But I never do.

Sometimes I'm in the mood for a run, so I end up spending the morning doing that. Sometimes I feel like doing some debugging and I do that. If I'm in the mood for gaming or a movie, I can just rush through all of them and still have a minimally productive day.

There are times I feel lazy and wake up late or miss out on a lot of these. I can do them later in the day - even on a busy day I can still read a book for 2 minutes. Sometimes I miss a lot.

The key is it keeps me from falling into a procrastination loop, where I can't start because it's too much effort to start and I'm in a bad mood because I've been unproductive all week.

I stick to this routine on weekends and rest days too, because it's too much effort to "fix" my schedule on weekdays. Some people like to sleep in on weekend mornings. I prefer to just get a nice cup of tea, do a few pull ups and read a chapter at 0430, and then play CS:GO from 5-8 AM while the kids are asleep.
It's not "more power over tech," it's the job of government. Distribution of power, promoting competition, tweaking the rules as little as is deemed necessary.

Is it really so outrageous to consider there might be a consolidation of power in a way we haven't dealt with before, seeing Amazon crush partners overnight, or Facebook impacting elections?

The very same HN that longs for the early internet, with web rings and personality, doesn't have a problem with Google scrapping content from pages you would have otherwise visited, further limiting smaller website's revenue opportunity?

For those of you not seeing clear anticompetitive behaviors that warrant discovery -- where is your line?
> Is there just no market for this thing?

Well, I know of at least two people who want it. I’d probably even be willing to pay a monthly subscription.
While parent's "many many megabytes" might be an overstatement, today's editors are expected to display any number of languages and alphabets simultaneously, using user-configurable, scalable, variable-width fonts that render in a variety of different resolutions with sub-pixel smoothing. Things like that add to the complexity of both the OS and the application itself.
I am sad Vine died, but "American Public didn't let Vine grow" is not accurate. More "Twitter couldn't figure out how to make Vine a thing"...
This was probably more necessary when "democracy" usually referred to Athenian democracy, which obviously doesn't scale much beyond a city state.
Been coming across lot of these issues. Asyncio requires slightly different thought processes.

As soon as you have an `await` anywhere in the code, you've got to assume that your code will be re-entered. Lots of asyncio.Locks all over the place for me.

Glad people are bringing this up. I had to learn this on my own.
"If you're the smartest person in the room, find a better room" is popular in my circle :)
Hopefully this will raise awareness on PWAs. Hopefully using PWAs on mobile will be normalized by the 18-24 year olds. TikTok's PWA seems intentionally gimped (you can't even search) but I will bet it will suddenly start working once it disappears from the Western app stores. Is there anything TikTok does that the Web Platform + WASM cannot do? (besides spying)
Ever heard of market regulation?

Also, don't forget the "winners" are appointed by the consumers, if everyone likes your product what can you do about it?

Are consumers supposed to skip the best option just because the company behind it is getting too big?
You can still access tik tok via its website. Though uploading videos may be much more difficult
IL2 is where it's at.
This is maybe a slight tangent, but it’s made me reflect on how much had changed since the Napster era. If it launched today then Apple and Google would pull it from their app stores immediately. That kind of central control simply didn’t exist back then.
No, republic is just a form of government, which may or may not be democratic. People’s Republic of China, Democratic People’s Republic of Korea and the Islamic Republic of Iran are prime exemples.
I’m torn. On one hand, we’ve seen how TikTok has been used by the CCP to extend the reach of its censorship, oppression, and surveillance. On the other hand, I’m not sure if the government should be deciding what software we’re allowed to have.
So, there federal government will not be allowed to use TikTok? That's not much of a "ban".
Calc is my favourite example too. Win+R+calc+enter and start typing, it used to work no matter how fast I was. Not anymore, I sit waiting at its convenience.

Android is pretty inconsistent too, the same series of steps are instant or hang the UI for 5 seconds depending on the current moon phase or something I haven't worked out yet.
Which VPN company is public traded? ;)
Well if you have to pick a line, a point in time where the industry crossed a threshold, I'd say the author picked a good one.

There were people who didn't care about software quality in 1960 and there will be people who do in 2060, so no matter what year he chose, a lot of people would dismiss any chosen year as hyperbole.

As time moves forward, and more "healthy" ecosystems grow up around languages (like unwanted mold or fungus always does) software is going to get slower and slower and slower. And saying that it's a problem will always be an "old man is shouting nonsense again" moment to most young developers.
Strongly agree and I don’t know why you get downvoted...
Where did GP mention violent crime or killing people?
I put in “Nova” first since that’s the best instance of this problem I know, only to learn that it’s an urban legend!
I think client-side password hashing is generally in addition to server-side hashing. Not instead of it.
The stock when down for a couple of days, that should teach them. On a serious and besides note, it's such a clash between company and user-experience (i.e. every NA citizen) incentives that credit scores companies have a stock in the first place.
Maybe I am the odd one out but I actually enjoy Tiktok and I don't like the idea of the president being able to ban apps unilaterally.

I hope this doesn't go through.
Are you or your visitors using Social Logins?
Social login = Sign into a website with Facebook/Google/Twitter/etc.

I suppose the average HN user, like me, signed up to many, many websites and I cannot imagine my life without a password manager.

If you use Social Login:
- What is your strategy to remember which Social Login you used on which website?
- Are you also using a password manager? If so, why not stick to generated passwords? If not, why are you not using a password manager?

Bonus question: If you use Social Logins in your projects? What percentage of people are using these and what is your target audience?

I can understand how a non-tech audience would use Social Logins to sign into consumer websites. But I was just curious about the "tech" audience.
Which platform? Apple (probably intentionally) doesn’t support many (any?) of the core features of PWAs on iOS.
Data isn’t just being collected from your phone. It’s being used to score you
.xxx, presumably.
Agreed.

Also, systemd seems similarly hostile and is also from redhat.

Wayland... does seem to be solving some real problems, but the transition hasn’t been going well either.
What point are you trying to make here? That the US Government does not have the sovereign authority to determine what companies operate within its borders?

Edit: Yeah, instead of downvoting this into oblivion, how about making an argument that the US Government doesn't have the authority to determine what companies operate within its borders.
I know for iOS you can change the location of your account and have access to download apps outside the US. I wonder if Tik Tok users will do this and download/use the app anyways
He will as soon as he get his license to Tweet to their masses.
I have been using it all day and I felt way calmer. For me (I think I am a fast breather) it feels like I am meditating when I am able to follow the breathing exercise. Since it has been a day since I started using it I can't tell anything about productivity but what I can tell you I have been working happier :)
Jamstack Tools, APIs and Services Compared
Wasn't microsoft trying to acquire tiktok? Why not just let that happen rather than try to do something so extreme?

I'm not partial to tiktok at all but this is way to much of a big government move than I feel comfortable with.

Isn't this a violation of our first amendment rights?
This times 1000. PWA's + WASM are the only hope of we have of tearing down the walled gardens that are the modern app stores!
It wouldn’t matter. To make it effective the FCC would likely ask all the ISPs and Carriers to block TikTok IPs at the network level.
Interesting to see the internal debate, even if i totally disagree with what they decided on. Has anyone ever tried to run a company will full transparency?
> I thought you generally needed a warrant to obtain private information in Europe.

Sadly you thought wrong. Using France as just one example, they allow warrantless wiretaps, require ISPs to forward intercepted traffic (again without a warrant), and whole bunch of other completely unsavoury stuff.

https://www.vox.com/2015/11/14/11620670/france-has-a-powerfu...

Anything an EU government collects will also be shared freely with all of its SIGINT allies (including the US).

https://theintercept.com/2018/03/01/nsa-global-surveillance-...

If this was an issue the EU was actually trying to address, you’d quickly find that many member states intelligence collection practices are incompatible with EU privacy laws, along with their intelligence sharing arrangements.
Shows how far the balance of power has shifted in the last 20 years back when the Chinese government was banning western products to prevent "spiritual pollution" and "western influence". Now we got the reverse and it's also for ideological reasons (at least at face value).

Wonder if WeChat is next. That would be fairly effective in prevent overseas Chinese from communicating with the mainland and a lot of mom and pop businesses that operate through Wechat like the students who buy products for people back in China and advertise and transfer money using WeChat.

We'll be back to buying calling cards and dialing telephones, but I guess this is the era of decoupling one way or the other.

Maybe people will have to invent some kind of transformer software, like you plug a western chat app on one side and it passes messages through a third party relay to a chinese messaging app.
Could this be the same as a tit for tat measure like with tariffs? China has banned a lot of US services and forced US corporations to pull content from their stores too [0] [1].

Genuinely asking and want to remain open-minded about this.

0:https://www.gadgetsnow.com/slideshows/10-popular-apps-and-we...

1: https://www.google.com/amp/s/www.news18.com/amp/news/tech/ch...
If TikTok distributed its source code, people would have a much clearer understanding of things that the app does and doesn't do.

One could not inspect the data flow after it left the client, but it would still show far more than we normally see from major social-media vendors.
If the state can order tech companies to blacklist apps, the state can order tech companies to add certain sites to their "malicious browsing" filters or order ISPs to IP-block arbitrary hosts. The state simply has no legal authority under which it may ban apps. If the big tech companies roll over for this and say "yes, sir", they'll do anything.

I'm a huge proponent of regulating big tech companies, but all regulation needs to done under the framework of public and universal rules established in advance, not randomly banning individual apps without proof of wrongdoing or a way to mount a defense.
If you're using cpython since python 3.2, you don't need to lock. You can use `dict.setdefaut` or another similar method that is guaranteed to be atomic.

initialized = D.setdefault('initialized', True)
...