skysight-inc/HackerNews huggingface dataset:
> One of the biggest problems I consistently run into is that printing to the screen is a slow operation, every learns this day one of any graphics work, but things like console.log or Node.appendChild are the primary way to destroy someone's computer for a short period of time because orders of magnitude more operations are queued up before they can complete. I wonder if painting operations could be limited to some max number per second to prevent that orders of magnitude queue problem. And, more importantly, how do you code that limit?

For node.appendChild you have the whole virtual DOM thing leveraged by modern JS frameworks. If you hit issues try using any framework that boasts having a virtual DOM.

The same strategy could be done for the console to some extent.

The built-in console object is over-writable so you can add a layer that would batch console calls (if you do many in a short time). Note that this will break the call address you have on the right-hand side. Also IE11 does strange things with the console object depending if devtools are open or not.

The solution above is doable but it's a hack. If you really have to call console a lot of times in a short time adding a custom log method would be better.

globalThis.__debugLog = [];
globalThis.__printLog = () => globalThis.__debugLog.forEach(i => console.log(i));

const log = (...args) => globalThis.__debugLog.push(args);

// then in code:
log(whatever);

// and once you want to check it, call printLog in the console
__printLog();

Again with this solution you don't know where the call happens but it's a starting point. I recently started using the pattern above to debug performance and memoization issues I had in heavily used code. The console wasn't readable anymore without it. Console.table is helpful for printing out bigger sets of debug data btw.

For canvas setTimeout on requestAnimationFrame seems to do the trick https://stackoverflow.com/questions/19516307/limiting-framer... I don't to much with canvas besides using it indirectly with libraries.
at what point is competition stifled when large companies can just totally copy competition by throwing money at something. In ten years, we will have an American Samsung.
I don't disagree in principal, but in practice:

- I trust Laravel's auth code more than I would trust my own. Maybe that's naive, and it's probably an indictment of my own abilities, but the framework has hundreds of thousands of users and active support, while I am certainly no security expert.

- For a lot of the things I've listed, an application-specific implementation would be far from simple. You can certainly make the case that debugging something like background jobs is harder because Laravel supports multiple different queue drivers and does have to be very generalised (though in practice I find it's a very understandable codebase), but I will happily cede some control to not have to worry about that stuff myself, much in the same way I don't want to be writing my own database adaptor.

For what it's worth, I don't work on big systems. We mostly produce bespoke back-of-house systems that small to medium-sized companies use to manage their operations. I am well aware my priorities will not align with those who work on more important things.
I hate the arrogance of the Model 3 that everything should be touchscreen. It’s very dangerous to do even the simplest things while driving, like turning off the fan. You have to find the right location on the touchscreen and then hold it down for a few seconds. Trying to change the direction of the fan is basically impossible to do safely while driving. Things like those should have been physically things like knobs that people can change safely without having to look.
"free trade and free speech" post-communism were about US trade and speech, of which the US had more than plenty to export. A multipolar world forces both parties to take off their masks and be more honest.
While your Dockerfile helps you know how a project was built at a specific point in time, it's not going to work forever. Even if the file doesn't change over time, the build it produces will. It's mainly because of installing packages using something like "apt-get install $package". It also can change if the files you're adding with ADD or COPY change.
Floating points are absurd. It helps the scientific community and slows us down to solve interesting frictionless problems.
Floating points take too much computation power. The amount of power we spend for floating point math and return on knowledge gained doesn't make sense.

A: Hey, but floating points are main thing in scientific problems.

Me: Ignore scientific problems, it doesn't amount to nothing and scientific problems doesn't bring a smile on face. By the time we solve, we would have lost our sense of self. And that's why it is meaningless.

A: What do you propose? Me: Not proposing anything. Just putting my thoughts out. Chase only whole numbers. Even try to cut out division. It is the root cause of all the problems.

Me: Addition makes sense, Multiplication makes sense. Subtraction doesn't make sense. It is used to check the correctness not for real math. You may call, just like multiplication is repeated addition, division is repeated subtraction. I'll stop right there. Division gives two answers - reminder and a quotient. Both are useless.

IF YOU HAD FUN, I'm glad.
They could've glued ALL usb ports and simply plugged mice and keyboards into PS/2 sockets.
I'd think guardrails like this also serve at a psychological level - as in "this is a secure machine, don't try to break rules".

While these second order effects are immeasurable, they are quite tangible in my personal experience.
I mean, there is nothing to look at more than once. It was about 11GB in size. 6-7GB was photos, 1GB was drive.

I look at the old photos sometimes. The rest was just old mails, my location/steps walked/activity info, some YouTube videos I had liked and 2 comments. There was also some activity with Google Assistant
> You could check it on your computer of course

App Store-distributed ipas can’t be decrypted without keys burned into iOS hardware, so you can’t decrypt them on a Mac without a jailbroken iOS device. (You can hash the encrypted binary but of course that’s pretty useless for reproducibility.)

This might be about to change since Apple has announced support for running iOS apps directly on Apple Silicon Macs?
Internet Performance Covid-19 Impact Edition
I’ve once used cooking oil as a thermal paste substitute. Worked well enough and nothing went wrong.
What are you even talking about? Where's the law that Chinese companies cannot freely operate in the US? They can but they have to abide by the local laws. Just like US companies in China, European companies in the US or American companies in Europe.

I really hope Europeans take a closer look at Tesla. Just force them to sell their European business to VW or Daimler or ban them from the market. The horrendous privacy laws in the US should be enough of a justification - those are completely against European values anyway. And even if they aren't, it's not like fact or proof matters anymore. Just accuse and then force them to sell. Maybe that has to happen before other Americans see how ridiculous all of this is.
"Virtual threads" are fibers? When you say they aren't cooperative, you mean there's JVM infrastructure that actually pre-empts a fiber?
This seems... odd, in that presumably the regulators allowed the car to be sold with essential functions dependent on the touchscreen in the first place, so it's strange to fine someone for accessing essential functions. IMO the proper solution would have been to force Tesla to have a more sensible interface in the first place...
Yep, what so sad is things have become so transparently partisan. If it were Telegram or Yandex interfering on behalf of Putin, there would be endless hours of call outs about the abuse and need for sanctions, but because it’s China (who have economic sway on a lot of corps and pols), it’s unfashionable to call them out and castigate them (by most media and pols).
I wouldn't, the risk of disconnects is high.
> No other company has that kind of power over the web, certainly not Google since at any time people can switch away from Chrome.

it seems the android situation is not much different. Yes, you can install something else, but people won't.

It's Windows+IE all over again.
That's a fun story. Looking more into it, it seems that $10M is based on rumors and it was more likely $3M. [1] Doesn't change the point of the story though.

--

[1] https://www.networkworld.com/article/2220097/what-microsoft-...
Instagram Stories were not quite a Snapchat-killer, but they did take a huge chunk of the Snapchat market share. This could be similar.
isn't adding shelf space analogous to adding more ads? I mean I haven't really kept track but I am always seeing complaints on HN about how many more ads there on google nowadays so they must add some shelf space.
Europe’s Euclid Space Telescope Will See Cosmos with Panoramic Vision
The thing is, the whole world knows what Trump and the GOP are. From a German perspective, until the 'rona hit it was like watching a clown show on TV - you'd laugh your butt off but know that by a certain time the show ends and sanity resumes again.

Basically everyone is waiting for November. If Trump goes off, stuff will normalize again, and if the GOP gets flattened long-term confidence will rise. The really interesting scenario is Trump either winning outright, delaying the vote or refusing to leave office. At that point it's game over for the US on a global stage.
Who couldn't see this coming, honestly? Zero surprises and it's the obvious move to try to consolidate a market in which they are pretty big already.
It is not marked as flagged? The posts that were flagged have flagged written in the header.
I just realised, you were maybe asking about Facebook.

It had just chat (in a neat HTML format), photos posted and friends list.

The rest was useless info - liked posts, ads clicked on and instagram username
News article based on report [1]:

> Disruptions leapt 63% as lockdowns came into force after February

[1]
https://www.theregister.com/2020/08/05/covid19_internet_impa...
Dampening of the Senses Linked to Dementia Risk
The problem with calling a bluff is that if that bluff comes true, your valuation just plummets from $30-50B to zero in an instant.
The egg proteins are coagulated but dispersed in the colloidal solution. The motion brings them out of solution. You can try it at home by warming up some mayo in the microwave and then rubbing it between your hands: you'll get a stringy oily mess.
The spaces transition seems relatively fast for me with Accessibility > Display > Reduce Motion on. This switches it from sliding to crossfade.

Locating the window I'm looking for takes longer than the animation and I can start looking immediately during the fade. Even with the ctrl+number shortcuts, I can't get my hands back onto the home row before the animation finishes.
What you’re describing is the difference between a detonation and deflagration. Explosions are usually extremely regular in shape unless if obstructed in some way due to the way shock waves propagate in open air.

And the Beirut explosion wasn’t just one detonation. There were two explosions, with a large fire and small detonations prior to the largest detonation. In all of the videos you can see a huge plume of smoke before the final detonation, as well as fire and smaller explosions if the video was close enough.
Dude has ONE server and talks about having 0 downtime for his clients? What the hell?!

In a way, this is Darwinism for the IT industry and I'm happy the people involved got paid well. Due probably paid as much as it woulda costed him a new server. I bet he'll never forget this lesson.
Ancient part of immune system may underpin severe Covid
> Yeah, I must be crazy to think something SIGINT-wise is afoot.

The aim IMHO rather is to have an avenue to prevent Russian and Chinese propaganda from spreading.
Load times in this article are attributed to httparchive.org, which gathers data using WebPageTest. [1] By default, WebPageTest emulates a 5Mbps down / 1Mbps up connection speed for all tests, to provide a more stable basis for performance comparisons. httparchive.org's load times therefore aren't affected by improvements in general network speed.

Am I missing something here? httparchive.org is not an appropriate source for the comparison this article makes. A large repository of RUM data would be needed for that comparison.

Counterintuitively, the stability of page load times in httparchive.org suggests that page performance hasn't improved or worsened enough to make much difference on a 5Mbps connection.

[1] https://httparchive.org/faq#how-is-the-data-gathered
How would you address the problem when you can’t copyright a business model or an idea? It’s very true the value is in the execution, and in a lot of cases, an enormous tech company with effectively limitless resources will always be able to execute better than you.

I’m a fan of using regulation against such entities and behaviors, I’m just unsure what the antitrust or monopoly issue is on short social video clips. You could build something similar with Backblaze, Cloudflare, and mobile apps.
> Can't build scalable apps when I'm in callback hell

What? We've (JavaScript and developers dealing with asynchronous patterns) been able to build scalable (in terms of code and its maintenance) for many many years, probably 10+.

async/wait is simply syntactic sugar and doesn't drastically change anything, you still need to understand the asynchronicity underneath it all, and if you do, you won't have any problems building scalable apps using your knowledge.
>Yeah, I must be crazy to think something SIGINT-wise is afoot.

How is it useful to the NSA? I get how tiktok would be useful for propaganda purposes, but it doesn't seem useful for actual intelligence gathering. Are terrorists going to upload short video clips of themselves planning a bombing? Do criminals do their business transactions over tiktok?
Don't forget C, which has separate compilation as well ;-). And you can trivially make multiple interfaces, too.
The electrician was Croatian and, I presume, learned his trade there. It still terrified me.
He should have taken it offline without notifying this brain-dead manager. Probably wouldn't have noticed lol.

And then charge for those 5 hours for good measure.

In general, this stupid trend of wanting 0 downtime makes no sense to me. If you're not NASA, police or other emergency service you 100% can afford a few hours of downtime with scheduling it be forehead.
I really thought this post on HN was going to be that story. Thanks for digging it up.
If I crashed my regular car as a result of excessive attention paid to my old-school two-knob radio, it seems like that should quite sensibly be evidence of a road safety violation on my part as well, IMO.
There's almost certainly more data in each entry than just the IP addresses, so it won't be 8x. NAT also requires a second set of entries to track the NAT session, which further equalizes it.
I'm learning Rust as well; in my opinion, starting with small guided projects is the most stimulating and incremental approach, although unfortunately, I find that starting practicing Rust - differently from other languages - requires "having read the whole reference".

The resources I've reviewed are:

- Rustlings: I personally don't like the project; it's exercises for the sake of exercising, which may be good or not, depending on the person/approach.

- Ferrous systems exercises (set of mini projects): very small and simple, but interesting to work on. I think they're a very good resource to try immediately after reading the book.

- Rust Programming By Example (book): if one finds one or more projects interesting to work on, this is a very fun book. it's "not-perfectly-produced" though, if you know what I mean.

- Hands-On Data Structures and Algorithms in Rust (udemy): even if one doesn't like algorithms, I think working with data structures implicity develops an understanding of "getting the head into Rust".

- Build your own Jira with Rust (https://github.com/LukeMathWalker/build-your-own-jira-with-r...): An exercise-based approach to practice; probably a good alternative to the previous resource, for those who really don't want to work with A./D.S..

- Talent Plan (https://github.com/pingcap/talent-plan): like the previous, but more technical.

Have fun :-)
What kind of motherboard could take a PB of RAM?
Netgear Won’t Patch 45 Router Models Vulnerable to Serious Flaw
I had a spinning disk in my car back before we had all these cool embedded PCs. The disk was never an issue, these things can take a lot of abuse (Even New England roads). I had it mounted sideways so a large pothole wouldn't push the heads into the platter.
This is so fascinating in many ways.

This little indie game is having a blast, and reviews are raving about it.

I draw two main conclusions:

1) There is enormous interest in how we build cities, how we live in them, and how badly designed most of our cities are. It also happens to be a passion of mine.

2) Games don't need to have the best graphics, the biggest budgets, to be engaging.
No runtime has a better GC than Java's, certainly in the current version (14) which is worlds better than Java 8. The reason you don't think about it in other languages is because if you use other languages, you probably don't care too much about performance in the first place.
There were several others on that team with similar (or greater) degrees of insight and execution, none of whom got paid anywhere near that kind of bonus.
We don't need big studies. Huge swaths of the world are vegetarian. Few cultures are truly vegan, though.
Tech workforce in defense and aerospace targeted in latest phishing attack
Wow. That's terrible.
It's either unregulated social networks are a threat to free and fair elections or they are not.

If you have the former position, which seems to be embraced by the majority of HN users, you can't accept to have Tik Tok, a chinese controlled social network, taking over everyone under 30 in the US.

How would this not be a major threat? As opposed to bot farms on FB/Twitter controlled by foreign actors?
Has anyone noticed the emergence of axios.com articles trending on HackerNews in the last week?

Is this being engineered or is it because of the Trump interview on Axios?
Add Your Phone to the Covid Fight – Help Virginia Stop Covid-19
British Dental Association members targeted by hackers
Hands-On Guide to Vaex – Tool to Overcome Drawbacks of Pandas
The article is a little unclear about this. The Telstar satellites made it possible for IBM to send digital data but it would also stream analog video.

https://en.m.wikipedia.org/wiki/Telstar
Previous discussion here: https://news.ycombinator.com/item?id=24025100
I migrated away from SF in 30 days and lived to tell the tale
I think a better analogy might be telling a restaurant to cut down their oversized menu so that they can actually make at least one good meal
Tangentially related: there's a HN thread now on "Townscape" [0], a game with no goals, no levels, no enemy, etc - you can simply build cities and villages by clicking around.

[0] https://store.steampowered.com/app/1291340/Townscaper/
Uber handles this by not letting drivers know the destination before they arrive for pickup. Can't instacart offer the same functionality? Like you see the order, shop location, but do not see the amount and other "lucrativity" info. And there is a penalty for cancelling after you accepted.
> the US move against TikTok is setting a dangerous precedent that may eventually kill the internet as a truly global network

Well no. For many years now, the internet is no longer a truly global network, considering at least how China has been treating foreign-owned properties (Great Firewall).

If you wanted to make a point in favor of a global internet, I guess you could suggest that the US should take the high road and reap the benefits of openness and competition, rather than get down to mudslinging Chinese foreign investors. Not that we should preserve something that in reality has been gone for over a decade now.
Java is getting virtual threads/fibers instead of async/await.

From https://cr.openjdk.java.net/~rpressler/loom/Loom-Proposal.ht...

-------------

An alternative solution to that of fibers to concurrency's simplicity vs. performance issue is known as async/await, and has been adopted by C# and Node.js, and will likely be adopted by standard JavaScript. Continuations and fibers dominate async/await in the sense that async/await is easily implemented with continuations (in fact, it can be implemented with a weak form of delimited continuations known as stackless continuations, that don't capture an entire call-stack but only the local context of a single subroutine), but not vice-versa.

While implementing async/await is easier than full-blown continuations and fibers, that solution falls far too short of addressing the problem. While async/await makes code simpler and gives it the appearance of normal, sequential code, like asynchronous code it still requires significant changes to existing code, explicit support in libraries, and does not interoperate well with synchronous code. In other words, it does not solve what's known as the "colored function" problem.
Lol what smartphones are you buying?
> Each Tuesday I have been looking at the performance results of all the PRs merged in the past week

I really appreciate the work described here, but it seems to me that the performance tests are in exactly the wrong place. The correct time to benchmark a PR is before it is merged; not after. It's the same for any other kind of test; your tests should pass before you merge, not after.

Sure, there will be exceptions where a performance regression is appropriate. But that should be known and agreed on before merging it.

I don't see a strong reason that the performance tests have to be done afterwards. I presume that it's okay to have a delay between creating the pull request and its merge, since humans will typically want to be able to review it!
No, literally TS. It compiles to plain Lua, doesn't add any language features apart from types, has an equivalent strict mode and uses .d.tl files just like .d.ts
This site gives me such major deja vu that I’m genuinely beginning to question my memory seeing shit like this.

I swear I read this exact same thread yesterday about the repost, I swear I read this exact same fucking comment yesterday but it says coolspot posted it 10 minutes ago.

Am I going insane?
I wonder if the driver could, in turn, sue Tesla. Tesla sold him a car without legally usable wiper controls.
Microsoft should take a hard look at why people feel the need to use software like this. Personally I just accept that using Windows is going to be a terrible experience, something that you do for work because you have to, but people I've met who try to make it less terrible have used CCleaner in the past. They use CCleaner on a new machine to strip out OEM crapware, and install it first as a matter of habit. Microsoft needs to lead here and not, for instance, allow a Windows 10 Pro machine like the one I was provisioned for work to be sold with BS like "Xbox Console Companion."
The rights owners for pong (Atari?) had it and any mirrors they could find taken down.

A quick search suggests that there are downloadable copies out there. 1.3c was the latest release. Check WayBackMachine from 2007-Sep-13 (https://web.archive.org/web/20070913204145/http://www.plasma...) or older if you want more info, after that the site is an "Atari told us to take this down" message for a while and is currently held by someone else talking about other games.
Twitter Could Face $250M FTC Fine over Improper Data Use