skysight-inc/HackerNews huggingface dataset:
Userspace scheduling of Goroutines, virtual stack and non-deterministic pointer type allocation in Go are as much magic if not more, the syntactic sugar of C# is there to get the language out of your way and usually comes at no cost :)

If you do not like the aesthetics of C# and find Elixir or OCaml family tolerable - perhaps try F#? If you use task CEs there you end up with roughly the same performance profile and get to access huge ecosystem making it one of the few FP languages that can be used in production with minimal risk.
Good to see NativeAOT getting positive press.

Go won because it served a need felt by many programmers: a garbage-collected language which compiled to native code, with robust libraries supported by a large corp.

With Native AOT, C# is walking into the same space. With arguably better library selection, equivalent performance, and native code compilation. And a much more powerful, well-thought-out language - at a slight complexity cost. If you're starting a project today (with the luxury of choosing a language), you should give C# + NativeAOT a consideration.
CO2 equiv from https://app.electricitymaps.com/map/24h:

France: 40g/kWh
Germany 557g/kWh

If the goal is decarbonation, using wind+solar is alright (renewables are a bigger part of the mix in Germany) but burning gas and lignite when there's no sun or wind is not.
Reddit is among the range of sites deemed 'social media' per the article. Reddit is practically a glorified forum where users directly influence which submissions rise above others via personal voting and self-curation of communities to follow. There's no voodoo there forcing non-subscribed things in one's feed unless one is logged out (ie: non-participating anyway).

Given the timeframe to come up with how it's meant to be practically implemented it's not hard to imagine on various services all users of all ages from the region would be required to submit standard ID rather than an idealized age verification the GP suggests that prevents either storing or leaking identity (in either direction). If it went that way it'd be a major blow to user privacy and data security concerns.

Looking at criticism of the legislation there were a range of organizations pointing out such issues, including UNICEF.
Nanny state is a term coined by tobacco industry in their lobbying against tobacco laws. Is it really a term you want to use here?

https://www.tobaccotactics.org/article/countering-industry-a...
Hetzner has been in this business for a very long time and I’m sure half the German small to medium sized companies use Hetzner. They have costs as well and with virtual servers they just assumed the usage pattern was similar to their eu data center and that didn’t work out so they increase the prices a bit. So that on average their calculation works out again.

Like, this is not Netflix tripling the prices over a few years.
Just a minor nitpick - this is the .NET Runtime vs JVM. My personal observations are that CPU wise they are close, but for reasons unknown JVM has always been more memory hoggish.

The JIT compiler that microsoft created has been nothing short of amazing.
It isn't always clear which is "source" and which is "destination" and now you need a bunch of new conventions about these things. Accounting already has these (admittedly arbitrary) conventions so we might as well use those.
> Drinking small amounts of wine at the family dinner table makes the educational difference.

So it sounds like responsible parenting is the key there.

> Most parents wouldn't allow them to drink when alone ... Social media is consumed without any family interaction

How do parents stop their kids from drinking alone? Why can't they prevent the overuse of social media in the same way?
> 1-bedroom studio flats, shared ownership, starting as low as £1.4m. Larger apartments PoA.
Thank you.
Well, I always write my posts in English, this one is an exception. Occasionally one or two French speakers drop by... And these days I know that browsers offer automatic translation. You'll have noticed that I've included a link to the home page, which is in English. Clicking on the name "start" opens the page editor, a simple HTML text area. You'll also have noticed that the interface has been reduced to its simplest form. It's a deliberate choice (less is more)... and one that I know turns off a lot of visitors. It's a bit like the column layout, which has earned me a lot of criticism, but which I can't live without. However, if you have an opinion about the content, the nature of language, lambdatalk, don't hesitate to let me know. Thanks again for your interest.
> No evidence of this and it doesn't even make sense.

How doesn't it make sense? Apple Music has fewer paying subscribers than Spotify, Apple Music prices just like Spotify's prices vary per market, Spotify pays out 70% of revenue to royalties but Apple Music is able to pay much more per stream even though it has fewer subscribers.

Now think: where does the money to cover Apple Music paying royalties comes from? If they pay double what Spotify pay and Spotify is spending 70% of revenue on royalties, how can Apple Music pay double without costing double? Something has to cover, Apple Music is a loss leader product.

> EU would have a field day with it and Apple likes making money wherever it can find it.

Apple is making money through its aggregated services (iCloud + TV+ + Apple Music), if Apple Music is a loss leader but makes people contract the bundle which is a money maker for Apple, they will lose money on Music.
Got a Sonos One for free when I bought a new phone once.

So many issues with setting it up with WiFi. Gave up and used an ethernet cable.

It's absolutely useless without a network connection, as it lacks bluetooth. You can't use it as a speaker for a Windows machine, only for MacOS (using AirPlay). I only use it for Spotify.

Wouldn't ever buy any of their stuff.
As a non Australian parent, I quite envy you.

Parents are almost as addicted as children and often take dozens of photos of every tiny event and post it on IG without permission of other children who are there in the pictures. Many kids have their own channels which are promoted by parents and their identities are based around them. I do what I can (don't give them devices till they're 18 etc.) but it's hard when the whole society around you is pushing the other way. Some kind of societal regulation like what's happened in Australia will be a good thing. It will add friction to kids getting onto these platforms and that will significantly slow down adoption.
It doesn't seem so fair if you didn't know that in advance. I don't do research on what actual costs a provider I sign up with has, and whether a product might be subsidized in some way. If I relied on those 20TB a month I now got a 100 to 400% price increase.

I really like hetzner and their service quality, but that does leave a bad taste... I seems like they badly miscalculated.
You could, and the tasks would run concurrently. Node is single threaded so unless you used one of the I/O calls backed by a thread pool, they would all execute sequentially .
> How does this relate to the topic?

The person you responded to is providing additional context regarding David Chang. His name might not be familiar to readers as someone who is famous for sending large volumes of cease and desist letters.

He is mentioned in the very first sentence of this HN post:

> Every day, thousands of Cease and Desist letters are issued, telling people to stop what they’re doing (Looking at you, David Chang). What a bummer!
At a glance, it looks quite similar to Python.
okay but how do you model a three-party transaction? say you want to collect fees or taxes
> If you have an addicted/bullied child would you make them a social pariah and create interminable arguments by taking away their devices?

They'd be addicted/bullied regardless?
> I rather doubt under-16s ever watched any news corpos

Well, no, because social media is a better alternative. Hence why they're getting it banned.
It is a travesty that western countries haven't banned TikTok altogether.
Your mistake was saying Synapse merely did what banks do. Banks don't lose track of money when they increase the money supply.
There’s an interview on The Rest is Politics Leading podcast with the politician Peter Malinauskas the premier of New South Wales who started the introduction of this law in his state first. I think it was maybe then taken up by the federal government.

https://podcasts.apple.com/gb/podcast/leading/id1665265193?i...

It’s very insightful and from listening to this it seems unlikely that murdoch was a huge influence on this.
Cgo in server projects makes using Alpine as a base a headache honestly.

If I can I always pick pure Go solutions just for this reason.
That's great for those that can implement that, many cant (don't have the time, education, willpower, etc...), maybe the majority.

Given the challenges of rebuilding a proper society, maybe this is a step in the right direction (maybe).

We don't allow kids to have other addictive substances, there's definitely an argument (and the co's agree, with 13 yo minimums?) for restricting an addictive medium.
Certainly not my experience of London transport. I get a combination of trains, tubes and busses most days. I also grew up in rural England so I know what shitty transport is really like.
Billing, or anything else involving money, is so easy to get wrong.

The data team I ended up leading at a previous company, had an unfortunate habit of "losing" money - it wasn't real money being lost in transit elsewhere, but records of something we should charge a customer.

Or if the team wasn't losing revenue, it was double charging, etc. etc.

Took us 3 years of hard work to regain the trust of the business leaders.
A solution I would be very OK with is the following:

* Enforce the age limits only on smartphones and tablets. This solves >95% of the problem and still leaves a way for people to be anonymous.

* Smartphone OS vendors come up with a common age verification framework that's based on zero knowledge proofs constructed over the electronic certificate in your passport - there are already working PoCs of this on Github

* Each identity can only be installed on one device at a time. Then parents cannot share identity with kids (unless the parents completely give up on all social media)

* For people who don't have a passport, offer a manual and thorough process for age verification, after which you get issued a small plastic card with identity certificate readable by NFC.
that. Or just using a C coroutine lib.
And presumably they're all selling almost exclusively to the aerospace industry. There's like a dozen COBOL compiler vendors too. It's not indicative of the health of the language ecosystem.
Because governments could mandate it.

Yes, we're at the stage now where democracies need to become far more dictatorial, otherwise their populations will continue mindlessly along the path of 'Tragedy of the Commons'.
most accounting software chooses one convention and sticks with it on all account types, to the chagrin of accountants
A Cheap Daily Supplement Seems to Boost Brain Function in Older People
> put that all together and we sure as shit can't make batteries.

US is a second largest battery maker
How far can your truck tow anything? We run a motorcycle race team in Spain and going electric for our logistics vehicles would be a nightmare. Currently we can get from Barcelona to Jerez in a day. With electric that becomes 2 days, sometimes three. Several hours to charge a vehicle is a huge amount of time waiting around, especially when paying drivers by the hour, not to mention the electric vehicles are so heavy that it means a 3500kg electric van doesn’t have nearly the same payload as the diesel equivalent. So we either need bigger vehicles (requiring a commercial license and more expense) or we have to have more vehicles to move the same stuff.
They replaced oil burning plants in France, when the global oil supply got disrupted.

If France had coal to burn they wouldn't have been burning oil in the first place.
Not OP but the syntax is off-puting for me, it's simply difficult to read.

I can parse and read all C/C++/TypeScript/Java/C# code with ease, it all makes sense and reads like poetry. Rust's syntax is just ugly, I have a visceral unpleasant feeling sort-of like when I have to read Perl code or (to a lesser degree) Objective-C.
This is true. So many CNCF projects for example these days have a lot of contributions from Chinese devs or originate from companies like Alibaba/Tencent etc
Thank you! That has been fixed.

What do you think would be considered a fast response time?
This is The Nightmare. Devs building systems they barely understand, complexity leaking all over the place, and someone inheriting that awful job of keeping it running without having made any bad decisions themselves.

Software is full of these systems.
i just went on the show to promote my tiny little startup and that was the same week microsoft pulled their co-pilot recall stunt

that’s the trifecta of intersection of moral bankruptcy of cybersecurity, ai, and software licensing

i asked my fellow contestants if that’s what they thought they were buying when they “bought” windows

nobody took their side that week. i believe this ftc enactment is also related to that week.

i don’t have a tell all, i have a solution that can out compete them, given a Window of opportunity.

this is me cleaning house.
I don't think you need to express any hunches when some sleuthing will reveal the interest/lobby groups, organizations, and politicians and their connections etc that pushed or advocated for this legislation.

That said, your legacy media hunch also doesn't make any sense because this writing on the wall and social media being a threat has been a thing for over twenty years now; they have fully embraced and integrated social media, and have filed lawsuits to get money from them: [0] says Rupert Murdoch's News Corp will get paid by Facebook for News Corp content, specifically in australia but this goes / went on everywhere.

[0] https://www.theguardian.com/media/2021/mar/16/rupert-murdoch...
Weaponizing SSO for Profit
There's a difference between "running a task that waits for 10 seconds" and "scheduling a wakeup in 10 seconds".

The code for several of the languages that are low-memory usage that do the second while the high memory usage results do the first. For example, on my machine the article's go code uses 2.5GB of memory but the following code uses only 124MB. That difference is in-line with the rust results.

package main

import (
"os"
"strconv"
"sync"
"time"
)

func main() {
numRoutines, _ := strconv.Atoi(os.Args[1])
var wg sync.WaitGroup
for i := 0; i < numRoutines; i++ {
wg.Add(1)
time.AfterFunc(10*time.Second, wg.Done)
}
wg.Wait()
}
You'd need to be able to store WEEKS of electricity to make wind+solar work.

Currently, battery grid-scale storage stores seconds.

You'd need an increase of several orders of magnitude for this to work.

Even if manufacturing costs were magically 0, the amount of lithium, copper and other materials required would be unsustainable.

It's not going to happen.
Not saying it wasn't written by AI, but it also looks a lot like Chinese to English translation
No, the argument is, the under 16 of today will be hooked on social media and will never read “classic” medias when they are older.
I agree mostly, but you'll find that we don't want a lot of those things here, especially in chemical and raw material extraction + production.

Places that used to do this in the U.S. have left major scars and real human impact. The lack of regulation and enforcement mean they are causing the same (or worse thanks to scale + neglect) in China.
I found a link from github
https://demo.vinceanalytics.com/v1/share/vinceanalytics.com?...
I had to correct my auntie that no, Morocco did not manipulate the weather to cause the floods in Spain. She didn't really believe me. The Facebook propaganda is intense
Western countries do the same thing with colour revolutions.
Show HN: Py-gen-ML – a library to generate robust ML code from a schema
py-gen-ml (https://jostosh.github.io/py-gen-ml) is a Python library that aims to simplify the process of configuring machine learning projects. It uses Protobuf schemas to define configurations and then automatically generates code based on those schemas. This includes code for Pydantic base models, patch configurations, sweep configurations, command-line interfaces, and entry points.

One of the key benefits of using py-gen-ml is that it reduces the amount of manual work that is required when making changes to configuration schemas and/or values. Atomic code generation guarantees consistency across Pydantic base models, YAML parsing, CLI parsing, sweeps and any other code that is generated.

Another benefit of py-gen-ml is that it offers strong typing. This means that the code that is generated is guaranteed to be correctly typed and easier to understand for you, your team, your IDE, and your type checker.

Similar to other config frameworks like Hydra, py-gen-ml supports flexible YAML configurations with advanced referencing and variable support within YAML files. In addition, generated JSON schemas can be used to validate YAMLs as you type.

py-gen-ml can be installed using pip:

> pip install py-gen-ml

There is a quick start guide available to help users get started with py-gen-ml. There is also additional documentation that covers topics such as the command-line interface, parameter sweeps, generated factories, and a Cifar 10 example project.

In short: using py-gen-ml can help you to manage complex ML projects more efficiently, streamline experiment running and hyperparameter tuning, and reduce the impact of configuration changes on your workflow.

The project is still at an early stage, but ready for feedback!
It’s worrying how this could ripple through small businesses and fishmongers who rely on these markets. Where’s the sustainable alternative for them?
Can google maps be held liable ?

Absolutely not.

Should the local government be held liable ? For sure.

It's their duty to mark the road off if the bridge is broken.
SV Tech Bros roasting themselves on HN.

Every engineer in London is laughing at this right now.

Wow double entry! Ledgers are hard! Wow. So true.
They don't. Source: Australian citizen that has voted many times.
I don't think it's an illusion. There are enough talented young engineers
On most mobile maps, you can adjust the angle by dragging up or down with two fingers.
> If this was publicly available document so I could fill in the missing bits, I'd send a dozen of these tomorrow.

It is: you can click on 'WRITE YOUR OWN CONTINUE AND PERSIST HERE!'[1] to be sent to a Google Doc with the template.

[1]: https://docs.google.com/document/d/1_Um9z87Zv_zLRZRRHpii-Mwm...
It is also the second largest consumer of them (making local production a good option). Excluding Tesla's in house production, all other battery makers of any scale are foreign companies.
Even if they were talking about interaction design (sometimes called IX) specifically, rather than experience design, the interaction is in handling, moving, and combining them. They don’t need to have a dynamic electronic interaction to be interactive. I’m not sure a toy with absolutely no interaction would still be a toy.
Someone linked the code in another comment, and the start time is most definitely recorded when the future is created: https://docs.rs/tokio/1.41.1/src/tokio/time/sleep.rs.html#12...
This feels like another instance of prioritizing short-term financial gain over preserving history and community infrastructure
They exist: https://en.m.wikipedia.org/wiki/Sanisette
Then how did John Howard get the GST passed?
That's certainly easier than sitting down and questioning your own decisions over the last couple of decades and wondering why people are voting in ways you don't like

(For the record I'm not a Tiktok user and I think it's a net negative to society)
The information warfare situation is highly asymmetric, and we seem to just let it fester on.

The west doesn't have ubiquitous mind control devices deployed behind the great firewall. That this situation persists is a signal, to me, that our leaders aren't well equipped to deal with the realities of tech in 2024.
But it's the internet; for every one site that implements this, there will be a thousand that don't, and for every one that the government takes down, another thousand will pop up. And that's just the actual porn sites, there's millions of other ways to get access, be it websites, privacy-conscious apps, file sharing, etc. If people want porn they'll find it.

Of course, it being more difficult, technically involved, or otherwise shady will probably reinforce a message that it's not normal, because another issue is the normalization of porn to the point where people watch it in public. I'm also very aware I am just echoing the same thing an older generation has said about things like raunchy video clips on MTV, magazines like Playboy, movies with Marilyn Monroe, and painters painting a hint of ankle.
Y2bTools-Suggestions Are Welcome
Looking for reliable YouTube to MP3/MP4 converters? Check out Y2bTools!

We’ve curated a list of the best converters to help you easily find the right tool. It’s free, ad-supported, and designed to save you time by avoiding unreliable sites.

Visit https://y2btools.org/ and start converting today!
Sheets and excel online can’t beat the real thing.
Germany has a system in their ID cards that allows anonymous age verification. No one uses it but it’s a technical marvel in my opinion.

The site asks for specific read permissions and the user can decide if he wants to grant them.

One of these permissions is age verification.

You put the phone on the ID card and there is a cryptographic proof that the user connecting to the site is in possession of an ID of a person above 16 (which he of course could have stolen).

So it is technically totally feasible to have good data privacy AND age verification.
Even if they were, aren't they are unlikely to gain much from this. I.e, when the average teenager can't consume social media platforms anymore, they surely won't go back to a more traditional outlet?
Those kinds of spots (places that are a bit rough around the edges but full of personality) are what make cities like London so special
I'm not sure, but is it possible to make it work on Android? I've tried on my pixel 7a, it gave me the code, I pasted it in another device in Safari, but it was only Loading... on the button.
You appear to be referring to Gisele Pelicot. From an article on the crimes:

> Dominique Pelicot, 71, a retired electrician, has admitted to orchestrating multiple rapes of Gisèle Pelicot, 72, offering her to a steady stream of men he met in an online chatroom

https://www.nbcnews.com/news/world/gisele-pelicot-dominique-...

So you’re going from

>Man finds dozens of rapists online

to

>At least 20% of men would commit rape if they didn’t fear getting caught

Do you understand that there are millions of men with internet access in France?

The claim that 20% or more of men are closet rapists is vicious hate speech. You should be ashamed of yourself.
Sure, it's not solid, but they knew I was a private customer, so what should they do? Do a request to a private credit bureau like the SCHUFA (like Equifax) to check if my provided details are valid?

It feels like it's a check to get a general feeling if things sound plausible. Like no Russian accent for a German name, some knowledge of the surroundings, a valid phone number.
Good idea. Elsewhere in the comments, user kynetic mentioned that their terms include:

> We may share Your information with Our business partners to offer You certain products, services or promotions.

Which somewhat takes the shine off this in my opinion.

(That, and also: How hard is it to post a letter yourself?)