skysight-inc/HackerNews huggingface dataset:
> async/await allows you to do multiple things in parallel. I don't see how you can do that in the virtual threading model, although I haven't used it and only read this article. You would have to spin up threads and wait for them to finish, which IMO is much more complicated and hard to read

I think there's a fundamental point of confusion here. In both python and JS, you can't do anything in parallel, since node/v8 and cpython are single-threaded (yes if you dip down into C you can spawn threads to your heart's content). You can only do them concurrently, since only when a virtual thread blocks can you move on and schedule another thread in your runtime.

In c++ (idk the java syntax, imagine these are runtime threads):

std::thread t1(doThingOne, arg1);
std::thread t2(doThingTwo, arg2);
t1.join();
t2.join();
// boost has a join_all

I'm sure there's some kind of `join_all` function in Java somewhere. Imo this is even more clear than your async await example: we have a main thread, it spawns two children, and then waits until they're done before proceeding.

The traditional problem with async/await is that it forces a "are your functions red or blue" decision up-front (see classic essay https://journal.stuffwithstuff.com/2015/02/01/what-color-is-...).

> Finally it's generally much easier implement new libraries with a promise/future based async/await system than with a system based on threads

How so? Having written a bunch of libraries myself, I have to say that not worrying about marking functions as async or not is a great boon to development. Just let the runtime handle it.
OCaml Meets Cosmopolitan Libc
> The only metric that matters to most managers in Google seems to be the size of their teams. The larger a team, the more "successful" a manager will likely to be

sounds like... bullshit jobs? [0]

[0] https://en.wikipedia.org/wiki/Bullshit_Jobs
They do! Although they require a correction factor to better match the government's fancy air quality monitors when measuring smoke. The EPA published a paper on it: https://github.com/shanet/ClearAir/blob/master/docs/PurpleAi...

While we're on the topic: Shamless plug for a PurpleAir clone I made last year that uses the same sensors but at half the cost (and keeps all of the data within your LAN): https://github.com/shanet/ClearAir and https://www.digikey.com/en/products/detail/adafruit-industri...
Does it matter with regards to the above comments? In this context, right now, it's clear. As we start losing track of the precise meaning of words, we'll get an increasing population size that doesn't even know the alternative exists. It's inevitable to then start using them in contexts where both spellings/meanings are valid and using the wrong one results in confusion.
Now there is a budding seismologist's answer! ;-)
0-Day RCE Vulnerability Against Microsoft Exchange Servers
I wanted to ask for a link, then I thought the server on the local ISP might not have the resources to withstand HN traffic, then I thought such a small efficient website wouldn't require many resources!
The browser. It’s the most powerful app so far. Everything else feels like decoration/toys.
Have you ever lived in a society that welcomes and celebrates sex work? The only one that springs to mind is Holland, and they have a great society. I would much rather Australia had Dutch attitudes to this (and a bunch of other stuff; Aussies are secretly very authoritarian)
Zero is a special value you know, since zero times anything is zero.

Edit: Except infinity ...
You've got some bugs with the nav link highlighting
Gmail was a 20% project apparently.
Interestingly, WW2 was one of these times.
Indeed, my company had a case in front of him, and like most companies do, we settled because it was cheaper than taking it to trial.
And people in Germany - a minority, for sure, but still - were demonstrating in the streets, demanding that Germany should make those concessions for gas.

Now you've got those same Russians screaming about how evil and awful it is that Germany is allied with the United States. Gee, who does that benefit?

Yet they missed a Russian sabotage operation?

Wouldn't they have caught an American sabotage operation? America as this mythical beast that's so powerful they can destroy a major gas pipeline without being noticed (or with everyone too scared to react) is precisely what makes your argument so farcical (well that and your insistence that the attacks happened in Danish territory).

And with the accusation you're making now that Russia did it (which is also a false flag accusation), it happened in Danish and Swedish waters.

No. The explosions happened in international waters.
| 6. Google Pay / Wallet

Since Google Wallet launched in 2011, they added a physical card, replaced that card with Android Pay, dropped NFC and limited it to Android Pay, merged Google Wallet and Android Pay into Google Pay, launched Tez in India and then rebranded that to Google Pay (which was an entirely different app than the first Google Pay), then rebranded the first Google Pay as Google Wallet, while people in India still use their Google Pay app.

I think. I still can't make sense of it.

Imagine being a store/vendor and trying to make sense of which app your POS supports while just trying to run your business, what an absolute nightmare.

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

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

https://en.m.wikipedia.org/wiki/Google_Pay_(mobile_app)

https://www.androidpolice.com/google-pay-becomes-google-wall...
Playstation Stars Launches in Asia
I get it. Fact checking is hard. And it is easy for fact checking to be manipulated for political purposes. There are people putting random translations out there that are misleading.

But let's not throw out the baby with the bathwater. Julia Davis is a reputable journalist providing real translations. My wife's first language is Russian, and she has verified enough of the translations that I know she is translating accurately.
You're watering down the definition of gatekeeping. God forbid someone add snark to an opinion on web homogenization. At least they credit it to looking nice at the end:

> Honestly this template does look really nice, though.
I'd dispute "most", as it does not match my experience across a number of languages. Yes, active record sorta does it but, as best I recall, those methods are all implemented generically as mixins, so not actually a part of the data object. This seems to be advocating for data specific queries to be added to each class.
OnlyFans has its struggles, and is distasteful in many ways, but plenty of folks have their own businesses built on that.
And Facebook didn't create it either
Should be gonutsshownuts.com, though that seems to be available too.

Not really sure what I'd do with that domain, though. A gallery of almonds and cashews would be good for a sensible chuckle, I suppose, but not really worth the effort.
· didn’t “gain the traction with users that we expected.” ·
>> GCP : I'm scared out of my mind
Why bother building a contemporary computer kit on MOS6502 chips[1]?

Because people want to. Who is anyone to be the arbiter of those desires, no matter the practical applications (which this has a ton of, as alluded to via the other repliers)?

1 - https://eater.net/6502
Former NSA Employee Arrested on Espionage-Related Charges
What I've realized in my 25+ years of using the internet is that letting the normies on here ruined everything.
The whole point was to diversify their business model.
The tech behind Stadia is very impressive, I could play Cyberpunk 2077 on my TV/Mobile/iPAD/Mac with no lag in 4K.
Stadia integrated into YouTube could have been a Twitch competitor.
With Covid it could have been the perfect time to really launch the product when no one could buy a PS5/XBOX.
Google didn't invest in games, closed down their own game studio.
It's reminiscent of Windows Phone having no apps.
And 9/11 required a person to fly a commercial airliner. Crazier things have happened.
> While I agree about the points you made, you cant take the zeroth element out of your shopping bag, you take the first one.

where does the first centimeter / inch start in a physical ruler ?
"Only the paranoid survive" is my motto :)
It's a good habit. The dependencies your method calls are externally facing, the same as it's API is.

Your method should follow a well rested interface for any touches that are outside of it:

* The input

* The return

* The side effects

You should be able to test that you've fixed a bug where you're calling a dependency 100 times instead of 1 time
I was wondering the same thing in the other thread about Text to Video. Someone asked about 3D Blender models, which made me think about animating blender models. Bang, now on this thread we see animated images… it does feel like we can get to asking for a 3D environment, put on a VR glass and experience it. And with outpainting, that we can even change it in real time.

It’s totally sci-fi, and at the same time seems to be possible? I am amazed how even image generation evolved over the last year, but that’s just me daydreaming.
I guess I don’t quite understand why using something like a debit card doesn’t work. The marijuana companies seem to have effectively figured how to take payments with almost no help from the traditional players (credit card companies, banks).
I managed to hold a whole conversation with me speaking in Hindi. Much better chatbot experience than previous products.
https://character.ai/p/gC3O31UUct4S6OfzJr7Ko9VjJsKeXR25g4C5_...
* UNDER CONSTRUCTION * 2022 edition!
After having a Steam Deck for a bit I really really hope either Valve or some other decent controller company like 8bitdo makes a controller with the same style of setup. The dual haptic trackpads+paddle buttons combined with the customizability is incredible. To me it is easily the biggest leap in controller tech since the analog stick with the N64.

I've never used the original Steam Controller and I still think the dual analog stick setup is better for some games but having the trackpads is good for many others.
> blatant double-dip business model of subscriptions + purchase stunk

FWIW, the subscription wasn't required. It just got you discounts on games, access to a rotating collection of "free" games, and 4k streaming (rather than 1080p you get without a subscription).

Their communication about all of this really sucked though, because most critics who didn't try Stadia (and even some who did) thought the subscription was required to use it at all.
Hope Apple made E-Readers. Would’ve bought in a heartbeat. Can pay 1K for that
If you scroll down to the details about the studies, you'll see that they just asked consumers what their stated preferences were, rather than observed what their actual behaviour was.

Anyone who's ever priced anything before will tell you this is pointless at best and misleading at worst. We shouldn't spend any more time discussing such a bad study.
Couldn't agree more. The problem in Google started as soon as it went public. Then "Don't be evil" went through the window and it's all a short-sighted vision driven by making as much money as possible for investors and pay dividends.
> The protagonists of state-sanctioned surveillance are cybersecurity experts hacking into smart phones’ operating systems from a suburban office park, Microsoft engineers refining a biometric camera’s algorithm from their home office, and plain-clothes soldiers parsing through geolocation data for someone else to carry out a drone strike.

I think it's more banal than that - Google, M$, Facebook etc probably allow direct access to whatever agencies, no tinkering required. Let's not forget Google was funded by inqtel, and Facebook started the same day Darpa's Lifelog ended.
Or, perhaps it is "whatever are most restrictive but still societally acceptable". Europe has impacted the web by forcing us all to accept cookies.

Though we reject Chinese style censorship which is more restrictive but unacceptable.
Hey there, writer here:

I can understand how it comes off that I consider rewarded ad formats bad, but that's actually not the case. I have the view that advertisers should know when their ad shows in that context. Those ad formats work for a lot of different kinds of advertisers, particularly mobile game developers.

What's most troubling here is that NONE of the advertisers knew this is how their ads were loading.

There are standards on how to disclose this kind of ad placement in an auction, but they weren't followed at all. Advertisers thought they were showing their ads to organic visitors of a website with high contextual relevance to their product / company values.
Running EGACS?

8 GBs And Constantly Swapping?
Mac Studio - 2TB disk - daily desktop/workstation

SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 26 Celsius
Available Spare: 100%
Available Spare Threshold: 99%
Percentage Used: 0%
Data Units Read: 44,959,209 [23.0 TB]
Data Units Written: 21,443,041 [10.9 TB]
Host Read Commands: 494,728,880
Host Write Commands: 379,601,575
Controller Busy Time: 0
Power Cycles: 291
Power On Hours: 469
Unsafe Shutdowns: 18
Media and Data Integrity Errors: 0
Error Information Log Entries: 0
This isn't true, though. Porn makes tremendous money, using normal payment methods like anything else. All of the repression is on user-generated content hosting platforms, not porn in general. So sure, direct performer to consumer without a studio is difficult to monetize, but that has always been the case. It hasn't become harder. User-generated content platforms largely didn't even exist a decade ago. Porn on the classic Internet people are pining for was still mostly studio-produced and stars needed agents.
although the case was initially handled by Judge Albright in Waco, the case was transferred in November 2021 to the Austin division and Judge Yeakel, who handled the case thereafter (including at the jury verdict stage).
Nope, wrong.
Microgrids for Anyone
You are reading my comment uncharitably.

I did not know that encryption had made it in the JWT spec. My comment was supposed to convey surprise, not some sort of snark or sarcasm. I read the spec after the OP comment and learned something new today.
Is it? If you're doing low-level stuff maybe, but I really haven't done much of that so I'm not even sure I know what you mean by "extending" an array (presumably has something to do with allocating contiguous memory?) and I can't actually think of any situation off the top of my head where I would ever need "the last index + 1" what with array methods existing and all.
I agree with you but for most things it honestly doesn't matter. The time you wasted researching is worth more than whatever difference there might be. I also think we don't need any of this junk in the first place.

Indoor air quality? Open a window. airnow.gov
Airships aren't going to be viable as air taxis either. Too expensive, too slow, too vulnerable to bad weather. The only real use case for airships is delivery of bulky cargo (like wind turbine blades) to remote areas that lack transportation infrastructure.
Barbarossa might have a word with you... And the Holocaust only got really going after that. So how again were Germany and Russia friendly during WW2?
> 3D

Then you're in luck today as this was just submitted: DreamFusion: Text-to-3D using 2D Diffusion

https://news.ycombinator.com/item?id=33025446
I understand your point about oscillations as an alternative cause, but we have enough data for at least a single full cycle of NAO.

While skimming some of the related work, I found a line in this paper (https://journals.ametsoc.org/view/journals/bams/100/10/bams-...) which roughly estimated six decades of data required to assess a modest (10%) increase in frequency of severe hurricanes in the Atlantic, taking into account natural variability from a range of sources. I don’t know how comprehensive that is, though.

The big picture view I have on this is that the skeptic perspective on this article has a big hurdle to overcome, namely that physical theories do support the empirical finding here. I think it is reasonable to keep alternate causes in mind here, but I don’t see too many that seem viable globally.
How is a terrible deal? I would literally need to spend at least a 1000 dollars for a gaming pc, and that is 4 years of GeForce now, without considering maintenance, the space, etc.

I’m playing cyberpunk 2077 max settings on a 2cm thick MacBook Pro, I don’t have a bulky pc to move every time I move, and most importantly, if I ever get bored I’ll simply stop paying instead of having a pc collecting dust
Your service is (forgive the crude language) fucking amazing. I have never seen a chatbot so coherent and actually possible to converse with. It even has a short term memory! Just that fact absolutely blows me away, and makes a whole range of conversations possible. And the side-swipe to select different responses? Absolutely delightful, because some of the non-default responses made me actually chuckle with glee at how good they are, in ways that I would absolutely not expect out of an AI. For a user willing to put in a little work and role-play elbow grease this will get some really good conversational results.

When you choose how to monetise this, please, please include an API so I can plug this into a voice assistant, or a command line utility, or whatever. This is promising to be far more useful than anything that Google Assistant, Alexa or Siri can achieve right now, even if it gets some facts wrong.

For anyone reading this: please try out the Librarian persona. It's one of my favourites.
As opposed to what, a centralized economy? Because that went well for the people who have suffered it...

Maybe when the AGI overlords land they'll know how to plan an economy properly.
After all the hoopla surrounding concurrency models, it seems that languages are conceding that green threads are more ergonomic to work with. Go and Java have it, and now .NET is even experimenting with it.

How long until OS vendors introduce abstractions to make this easier? Why aren't there OS-native green threads, or at the very least user-space scheduling affordances for runtimes that want to implement them without overhead in calling blocking code?
Are they even capable of launching any new products? Nobody trusts Google to keep anything.
Incentives.

Ensuring the security of a product doesn't have as tangible bragging points as shipping new features. Failing the former is unlikely to be blamed on product, but achieving the latter will almost certainly be credited to them. Responsibility for an insecure endpoint or poorly configured service falls to the engineers, despite the managerial influences that will often lead engineers to cut corners on things like security in the first place.
There are white squirrels?
> On the other hand using things like debuggers and reading stack traces in python/js "just work" for me. Maybe because the tooling and the language have evolved together over a longer period of time.

Well, Python and JS don't have threads, so async/await are their only concurrency construct, and it's supported by tools. But Java has had tooling that works with threads for a very long time. Adding async/await would have required teaching all of them about this new construct, not to mention the need for duplicate APIs.

> I also feel like the reimplementation of all functions to support async is not a big deal because the actual pattern is generally very simple. You can start by awaiting every async function at the call site.

First, you'd still need to duplicate existing APIs. Second, the async/await (cooperative) model is inherently inferior to the thread model (non-cooperative) because scheduling points must be statically known. This means that adding a blocking (i.e. async) operation to an existing subroutine requires changing all of its callers, who might be implicitly assuming there can't be a scheduling point. The non-cooperative model is much more composable, because any subroutine can enforce its own assumptions on scheduling: If it requires mutual exclusion, it can use some kind of mutex without affecting any of the subroutines it calls or any that call it.

Of course, locks have their own composability issues, but they're not as bad as async/await (which correspond to a single global lock everywhere except around blocking, i.e. async, calls)

So when is async/await more useful than threads? When you add it to an existing language that didn't have threads before, and so already had an implicit assumption of no scheduling points anywhere. That is the case of JavaScript.

> New libraries can be async only.

But why if you already have threads? New libraries get to enjoy high-scale concurrency and old libraries too!
Promising Alzheimer’s drug provides 2nd chance for Biogen and amyloid hypothesis
to take a less extreme example, if you search for “shop-lifting techniques” on google, or any other modern content provider, you’ll - exclusively - find moral anodised stuff about catching criminals. if you go on old internet portals or archives, you’ll find edgy indie websites telling you naughty secrets
Nuclear is the opposite of economically viable. It's the most expensive way to generate electricity.
they won't, it makes a lot of money, it's b2b, etc.

gcp has a lot of business continuity guarantees.

still, I don't recommend them. because google acts like a dangerous savant at this point.
They aren't.

Pretty sure if you're a vendor selling mail-order "adult" DVDs/BDs from major publishing houses, that's a business that you'll have no difficulty running with credit card sales.

Where you'll run into a problem is if you're a website that wants to charge subscriptions for access to loosely-sourced, user-generated content.
Are you really saying Germany is a hesitant ally

Germany is a hesitant ally in the Russian war. They want the Russian gas and they don't want to insert themselves into the conflict (hence being so reluctant to sell arms to Ukraine).

US or any other allied country would only risk losing support, there's barely any upside with Germany already committed to non-Russian gas imports.

Exactly. Why provoke a hesitant ally in a war that's winding down?
Yes.

https://en.wikipedia.org/wiki/Brown_note

https://en.wikipedia.org/wiki/Brownian_noise

https://southpark.fandom.com/wiki/The_Brown_Note
Apple VP leaves company after making off-color joke in viral TikTok video
I do think there should be a default expiry but I’ve absolutely went back many many months and found old versions of files in cases I didn’t have proper commits.
When is DNS always available?

I often update an A record and nobody except the heavens knows when the DNS server caches will update, when my clients will invalidate, often it's more reliable to just punch in the IPv4 off the top of my head when DNS is so unreliable about providing lighting-fast updates.

And then there are the DNS-poisoning Wi-Fi hotspots, I connect to some hotspot, go to http://myfoo.com/, get some stupid hotel login page, I just go "fuck it" and punch in the IPv4 instead and I'm in business.
It responds way too quickly. No human could have a duty-cycle like that for extended periods of time, while remaining an affordable Mechanical Turk style employee.
The numbers are exactly the same – only the number of wounded Russian soldiers (175,740) is missing in your source.

(Maybe because Ukraine's Ministry of Defence is only counting complete "liquidations".)
Since this was unbelievably hard to find: It's not a VPN, it's a TCP tunnel. https://news.ycombinator.com/item?id=32928222
Woof, those prices are so enterprise.
I don't think "touch grass" is an appropriate response to legitimate questions of professional ethics. Comments like this are why I think ethics courses should be mandatory for any CS or engineering degree.
Template looks great - I'm glad everyone uses it versus hand rolling six thousand other ones.
That is like 99% of all tech companies. They want drones not people with original ideas.
I'm not sure how it works for Apple's built-in SSD behaves, but in most laptops it is typical for the SSD to be fully powered off when the lid is closed and the system goes to sleep.