skysight-inc/HackerNews huggingface dataset:
Asyncio is for cooperative multitasking. I/O is the most common use case but it's not the only one. They're using the event loop to schedule their GUI tasks.

Textual is a framework for building desktop apps.

I assume the message queues are in-memory structures used to pass messages between tasks, hence no I/O.

This is really fairly standard stuff.

I understand you may not be familiar with GUI software and/or the Python ecosystem but jumping straight to condescension when you don't understand something is not really a good attitude.
Python is my strongest language. If you ask me to write some asynchronous code I will try my best not to write it in Python. Usually it's just not worth it.
task groups solve this problem
Exactly. I keep coming back to the fact that, between all the different ways AI can generate content, the entire user-contributed-internet is about to be completely flooded with amicable and true-sounding nonsense with a peppering of whatever viewpoint the bot-runner wants to push.

I honestly don't see any way out besides Digital ID -- if a person has to provide the host with information about who they really are, then once they're discovered the host can actually prevent further abuse. Otherwise, a single person can create infinite bots to shill whatever product or viewpoint they want.

Which is why I have conspiracy theories about the conspiracy theories about digital ID. The same actors who use the internet to push misinformation benefit from anonymity.
Ask HN: Should I Venture into iOS Development as a Hobby?
I work remotely as a fullstack web developer.

I always loved Mobile Development, and I want to learn iOS development as a hobby in my free time, possibly transitioning into an iOS developer in the future if a good opportunity comes along.

Anyone here achieved this with a full time job as a developer? Will I burn out? Is iOS even feasible?
This is so typical of the Canadian government.

The effectivly FORCE you to use this site as they try to cut costs and reduce "call in" support.

Then, they create a ToS which absolves them of all responsibility if they are hacked?

I would be willing to bet that if any Canadian business tried this the government would crack down and state it not permitted.

The government has a tendency of "do as i say not as i do".

Any Canadian can tell you that for the most part government IT is utter garbage.

<cough>arrive-can</cough><cough>Phoenix</cough>

....
There are a lot of metals in your diet. Iron and sodium are most famous, but others are present too. You need a little of most of them, but too much can be toxic. Probably there's a lot in this thing; it's not clear from the article if it's enough to cause a problem.
Credit where it's due: I was working with structured data as JSON for the completion, and the Typescript definition hugely increased reliability. I took that from helpful advice (on Twitter) from Noah Brier who afiak came up with the approach:

https://brxnd.substack.com/p/the-prompt-to-rule-all-prompts-...
Deconstruction Patterns for Java
Ubiquiti does that. I have motion detection alerts disabled but human motion detection enabled depending on the camera. You can also set regions in the view that it ignores for motion detection.
Thanks! Also, wondering how did you hear about Arize? Have you dealt with the pain of ML model monitoring in the past?
that seems like exactly something bing could give you
As an avid notepad2 user, thank you!
> At least, it should be locked to value at purchase adding only inflation

This completely eliminates the social upside of property taxes compared to other forms of taxes
In a world of AI-generated trash, provably genuine human-made content will be more valuable than ever.
It's strange to assume that freedom of speech means freedom from criticism.
How much storage do you need?

Unless it's proof to the negative, which in most jurisdictions isn't something you'd ever need to prove, as the burden is on something occurring, after some amount of time most recordings are useless?
Still there.

https://www.google.com/maps/search/ibm+research+yorktown+hei...
Since when has a class action lawsuit EVER cost a company a real amount of money?
It's basically a fancy way to do epoll() around file descriptors, but hide the need to keep a main loop and state, and keep it hidden as functions that run in fake concurrency, stopping whenever they block, and being executed again when their file descriptor has activity.

It doesn't necessarily improve performance. It's just a much easier way to do non-blocking I/O (note that blocking and threaded I/O is easier to do but much much heavier).
What happened on jun 14? (the dramatic drop in memory usage)

Edit: I guess this (https://github.com/ruby/ruby/pull/5944) PR was merged.
HN crowd is so very skeptical about the usefulness of a.i., especially related to content generation. I share the skepticism (the positive and hence out of control feedback loop of ai consuming its own content recursively). But on the other hand, when smart people enhance the primitives of the a.i. algorithms, a.i. might become better at rating the quality of its own output. Not by means of the question, 'does this look like anything found on the internet' , rather by the question, 'does this make sense, is this even possible, do the numbers add up' ? Also, it is not very hard to "freeze" a pre-ai knowledge base or NN, and use that as a reference for sensibility.
> Some masterfully crafted dog-whistles here.

Some people's brains are so addled they think they hear dog whistles when really it is an original thought struggling to breakthrough from the sludge they've buried their mind with. No bigger tell these days for someone being an ideologue than dog whistle talk.

Even the FBI is saying the lab leak is the most likely cause of Covid now. Must be a dog whistle I suppose (rolls eyes)
For me, the biggest concern with unchecked immigration is logistics. But I'd just assume having work Visa applications mostly based on having a job and place to live worked out before being able to come in. I'd also like to see pay floors as a scale from minimum wage for Visa employers to favor existing citizens first. Along with SSI style tax that doesn't go to the Visa worker.
If this really is true then @AlbertCory’s comment earlier in this thread about there just being one guy working on Groups is absolutely terrifying.
Yeah, Frigate is pretty cool, but here are the moving parts: https://docs.frigate.video/frigate/hardware/ and https://docs.frigate.video/guides/ha_notifications/ . I don't trust that to all work without maintenance.
Looks like Verbatim produced them at least until late 2015

https://www.independent.co.uk/tech/from-floppy-disks-to-beta...

I’ve seen a TDK pack from Japan with a date code of 2018.

You could get Floppies form Maplin in store in the UK until they went under 5 years ago.

There is still plenty of “fresh” stock out there that seems to be under a decade old, and I’m sure they are still produced in small batches for critical systems and well the Japanese government.
Well I'll be damned, so you can. With a watch alone they'd have limited access, but if you steal somebody's watch without the watch realising it's been removed & also steal their phone you can almost certainly unlock the phone with the watch (my partner + I use that all the time when driving... they pick up my phone, show it only their eyes, and the phone assumes it must be me wearing a mask and so it uses my unlocked watch on my wrist to unlock the phone).

The good news, however, is that you don't appear to be able to use the Apple Watch mask unlock feature to pass further Face ID checks deeper in the system once unlocked, so your banking apps & password manager is safe... but your messages & e-mails are not...
Acute toxicity of molybdenum (Mo), the metal in question, has not been seen in humans, and the toxicity depends strongly on the chemical state.

Studies on rats show a median lethal dose (LD50) as low as 180 mg/kg for some Mo compounds.

Although human toxicity data is unavailable, animal studies have shown that chronic ingestion of more than 10 mg/day of molybdenum can cause diarrhea, growth retardation, infertility, low birth weight, and gout; it can also affect the lungs, kidneys, and liver
Elon: If there is no owner of the requirement to have a steering wheel, then we won't take it as a requirement.
I discovered, viewed, and then nagivated to this comment from elfeed in emacs :)

Using:

("https://hnrss.org/newcomments?q=emacs" hackerNews comments emacs)
> Why would anyone put camera's in their home? This is lunacy. Outside, I can understand.

I thought so too at first glance. But the article explains, that they only come on when the security system is turned on. i.e. when one leaves the house. I could see investigating a burglary when at work, for example. Would not send it to the cloud, but can see the logic otherwise.
No, normally the government in Canada can be sued for this sort of thing.

not exactly the same thing, but this is a $500,000 class action lawsuit for losing a USB Key containing patient data:

https://www.thestar.com/news/gta/2012/05/28/durham_region_he...

The expectation is that the government protect your privacy or pay if they fail to do so.. as with any private data.
i somehow stumbled on a site covering zuse's concept of calculating space when i was a teenager, and i think the idea really struck me a lot harder than it seemed at the time.

https://en.m.wikipedia.org/wiki/Calculating_Space
The reason monk fruit and erythritol are mixed is to make the overall sweetness per volume 1:1 with sugar. Since erythritol is less sweet than sugar and monk fruit is much sweeter, you naturally get more erythritol than you do monk fruit.
It'll probably look something like this.
> Sometime later "upgraded" to a 486 running DOS/Win3.1 (not an upgrade).

I understand it wouldn't feel like much of an upgrade.
I suppose it depends on what you're searching for? In your example, you're looking for an answer to a very specific question. That's more of an "answer engine" sort of thing than a web search.

When I'm searching the web, I'm very rarely doing that sort of search. I'm more usually looking for a variety of websites that talk about a thing, not for a specific answer.
Your method of estimating instructions includes printing multiple lines which context switch to the kernel to perform IO. I'm not sure how an "instruction count" metric is useful anyway.

edit: I'm not actually sure you are counting the context switch, but I still don't think estimating instruction count that way is particularly useful.
You pulled that out of mschuster91's profile as an own, but actually I think that means they're probably pretty chill. I probably wouldn't have known that about them otherwise, thanks for sharing it!
Rebuilding the Ask YC AI App with No Code
Filmora revokes lifetime subscriptions [video]
This is something that came up constantly while Rust was working on `async`, and the main reason Rust doesn't use this approach is that the usual low-level concerns around allocation/memory layout get in the way of just plopping a `Monad` trait in there.

(There's a secondary reason which is that Rust does not have higher-kinded types and thus cannot even express `Monad` to begin with. It recently got GATs which can encode it, but that feature was designed as an intentional alternative to full complexity of higher-kinded types.)

The author of TFA wrote this thread on the subject: https://twitter.com/withoutboats/status/1027702531361857536
For extra credit, try running this under 8086tiny, an IBM PC XT emulator: https://github.com/alblue/8086tiny
The End of the Oil Age Gets Postponed Again
In the contract-negotiation world, signature versions of contracts are pretty much always Word documents that are saved to PDF and then "signed" electronically — a PDF document has more of a "feel" of immutability, even though altering a PDF is trivial for anyone with Acrobat Pro or equivalent, of course.
Take another look at the spec, looks like it has the dual core PRUs, an R5 & the A4 - whoops M4
> You should live where the government aligns with your phase of life and personal goals and be free to choose a new government later.

It should be noted that while this is good advice, this is a big luxury to have, and not something that is broadly applicable to most people. If you don't have the money, if your career is tied to a specific industry, if you have children from any past-and-now-divorced marriage, or a handful of other reasons, you may be locked to specific areas for a really long time.

Yes, move somewhere new if you can and you feel the grass is greener. But municipal government absolutely owe it to their residents and community to support the people they have, not just the people they wish they had.
>"Systems" as in those countries' social and economical systems. I don't know exactly what about those systems kills birthrates, but they are doubtless to blame, as other countries, and even those same countries some time in the past, had higher birthrates. Those systems caused that change.

I'd say that falling birthrates have much more to do with modern medicine (antibiotics and effective contraception anyone?) and better sanitation systems, as well as industrialization, than with government policies (China's failed "one child" policy notwithstanding).

If you're a farmer, more kids means more (relatively free) help on the farm. When almost half[0] of the children born died before the age of five, more kids were conceived, since many wouldn't survive to adulthood.

That's not government policy, that's technology.

[0] https://www.statista.com/statistics/1041693/united-states-al...
phpmyadmin coming back in style
I would say that if ownership of land and property are indeed a right... then being able to give that property to your descendants (or anyone else) is also a right.
would you mind sharing the go and python results running on your machine too? It is apples to orange comparation otherwise.

EDIT. My results on a 5950x (undervolted)

python3.8.exe test.py

100,000 tasks 139,130 tasks per/s

200,000 tasks 121,905 tasks per/s

300,000 tasks 120,000 tasks per/s

400,000 tasks 114,286 tasks per/s

500,000 tasks 119,403 tasks per/s

600,000 tasks 117,073 tasks per/s

700,000 tasks 130,612 tasks per/s

800,000 tasks 122,488 tasks per/s

900,000 tasks 120,000 tasks per/s

1,000,000 tasks 110,155 tasks per/s

python3.11.exe .\test.py

100,000 tasks 206,452 tasks per/s

200,000 tasks 185,507 tasks per/s

300,000 tasks 186,408 tasks per/s

400,000 tasks 179,021 tasks per/s

500,000 tasks 167,539 tasks per/s

600,000 tasks 177,778 tasks per/s

700,000 tasks 188,235 tasks per/s

800,000 tasks 180,919 tasks per/s

900,000 tasks 168,421 tasks per/s

.\test.exe (go 1.20 compiled)

100000 tasks 2710563.336378 tasks per/s

200000 tasks 3076885.207567 tasks per/s

300000 tasks 3332292.917434 tasks per/s

400000 tasks 3040479.422795 tasks per/s

500000 tasks 2810232.844653 tasks per/s

600000 tasks 3004138.200371 tasks per/s

700000 tasks 2738877.029117 tasks per/s

800000 tasks 2893730.985022 tasks per/s

900000 tasks 3043877.494077 tasks per/s

1000000 tasks 2857992.089078 tasks per/s
There is an unacknowledged knock-on effect though. I doubt anyone completely assimilates to the new locale, with the result becoming a mix of values. This may not suit so well with local residents (see opinions from ID and TX regarding new CA residents who “voted with their feet”)
Who owns it? The homeowner.

Who can access it? Anyone with an internet connection that can reach shodan.io.
Very few, but the closest approximation that I can find right now is DDG. Kagi might fulfill this role better. I haven't investigated it yet, though.
there's no checkout page. what kind of ecommerce site is this?
Oops, sorry about that.

Still waiting for the day that HN supports Markdown for inline code. :(
Consequences of punching down may be different than punching up. Even if the ideal is no one throwing punches.
This is sarcasm right? The answer being SMTP and email.
Absolutely true re evolution.
That's why it would have to probably be crate keywords rather than categories, I'm thinking.

This whole space about encoding library non-technical aspects like intent and status seems like it has a lot of possibilities. I wonder if there's prior art in other language ecosystems?
While certainly a cpu is working, I don’t classify any of that as computing. To me, computing is any app where your output is files for later use. So for instance, Apple Notes is borderline computing, and virtually anything using a browser isn’t, with the exception of running your own files.
IJWTS I'm very happy with the headline here.
ChatGPT does surprisingly well at this task. My question was very biased towards it knowing the answer because I asked it for examples of mid-80s Japanese ICs when google failed me, but it definitely knows a ton of model numbers for real parts from the era. Give it a shot with a real-world example and report back
Exactly. Very eloquently put.
Are you on a passive fiber network, like AT&T Fiber GPON?
It is an interesting approach and I appreciate it. However, an alphabetical list would be more useful for me when I am interested in topics and might not know where they are classified.
I am not a lawyer, but if it's provable that your data was stolen, why wouldn't a citizen be able to take an entity to court for what would be reason precautions and protections around their data?

If you can show that they didn't have audits, protections against their DB, etc. then I can imagine they'd be as liable as a private entity.

But as is mentioned, this is all but demanded of Canadians to use this service, and yet the government is absolving itself of liability.
Personal experience, it really helps. I credit it to having good dentist visits despite mediocre dental hygiene.
It makes concurrent programming much simpler than using threads.

Very few locking and care is needed with asyncio, as opposed to using threads. Race conditions are basically not a thing if you write reasonably idiomatic code.

It might be (or not) faster than using threads, but that's not the main benefit in my view - this easiness of use is.
Space Chantey. I read it when I was 10 or 11. A lot of fun.
I wouldn't necessarily reach for PCA. No reason to think that the first two principal components necessarily encode anything particularly interesting. If you want to lay out each point in 2D in a way which keeps similar points nearby, something like t-SNE is worth a try - visualizing embeddings is what it was invented for.
It's still under active investigation. The police won't update me about progress until/unless they need to.
Because it’s a power of 2…

It’s embarrassing you’re even asking this. Obviously we wouldn’t use 11 bits per byte because that’s nonsense.

Why don’t we use 4 bits? Because that’s like saying you could only write 2 digits for decimal numbers and never more. That’s not enough digits for practical use. I don’t want to have to write every single number as 10 pairs of two digits when I could just use numbers of a practical length.
In my experience, Whisper does a great job even with specialized terminology. It won't catch everything, but I think it will exceed your expectations. One of the hardest things about Whisper is choosing which model to use; they offer a variety of sizes, and sometimes the smaller ones do better than the larger ones. It's worth trying a few different models and deciding what is best for each particular application.

I will also say that I've personally been unimpressed with the new "large-v2" model, even though it supposedly scores better. The original "large-v1" model seems to work better than the "large-v2" model in the audio clips I've been testing Whisper against, but results will vary. In general, I find I'm really happy with what "small.en" and "medium.en" will emit, and they're much faster than the large models. (The ".en" models are specialized to English, and usually perform better for strictly English input, whereas the non-".en" models are trained on multiple languages.)
“We are not going to distribute this material, considering the proprietary nature of our processes and the intellectual property rights that exist.”

The fact that they are going to making independent verification impossible makes me highly highly suspicious. Most scientists I know in their position would be sharing the material widely (even ahead of publication) to have replication from other parties, to bolster this claim. Until there is replication, I trust NOTHING from this group which has outright fabricated data previously.

Extraordinary claims, from those who have previously faked data, require independent third-party verification.
This- fixing property tax to purchase price- is exactly what California's Prop 13 did, which has ended up gutting California local governments (https://edsource.org/2022/californias-prop-13s-unjust-legacy...). It has resulted in lots of people who aren't paying their fair share into the upkeep of their community, and driving CA house prices insane. It's been a giant fiasco, hurting California's growth, and locking people into their house so they can't move: https://www.nber.org/digest/apr05/lock-effect-californias-pr...

So, not a good solution. Got another idea?
Exactly! They alternative is a piece of paper, not "web standards".
There's a financial component to the 2A (and 1A) that doesn't really exist for the 4A. So the 4A will never have the same level of financial support as the other two.
> One of the big problems is that many of the coverage of the cases focuses on 2A and the 4A part gets hidden.

The cynic in me thinks that the 2A gets more press because it's easy to find commercial and foreign government support for their organizations. 4A proponents don't have much if anything to sell.
Could you mention or link the extension here? Thank you!
Couldn’t that social upside be captured through means that don’t force people from their homes?

It seems like the use of property tax as a major local finding mechanism has a lot of negative effects, from poor school performance to inflated housing costs.
None. Trust me, you need a mouse.
Did you get your stuff back?
Ask HN: Technical parents; how do you teach coding?
What are tools, techniques and programs do you use to teach young kids (1st grade) to code?
Respect to the OG
I’m not saying don’t help the police but I think it’s worth acknowledging that point of view when applied en made is how we end up with policies attempting to back door encryption etc.

I think making sure some decision basis should be applied (there was a break in, commotion, and a car speed chase which ended here is much different to ‘we just wanna see if this car drove past’)
I'm not sure what timing hacks you're referring to - using setTimeout() with 0 delay? I think that's being done to defer execution of heavier functions and let other timeouts be handled first. Seems more like an optimisation rather than a hack to achieve basic functionality.
Covid Origins Hearing Opens with Arguments for Lab Leak Theory
That's really impressive.

I've had a mild idea for ages to have a sort of annotated In Our Time. Listening to the podcast on a webpage as the text rolls by links could appear to explain or give background to the item or person being discussed.

SMIL is the multi-media mark up language. Generally if one thinks of something there's someone on the Internet who has already had that idea.

Additional: I think the BBC is very careful about transciptions. They've sold a book of the transcripts of several episodes, but it would be a great way to go through a subject.
In Our Time has been a life-long companion, one of things that makes me proud of the BBC