skysight-inc/HackerNews huggingface dataset:
> The main limitation is, in my opinion, that the C specification isn't available in any form that a proof assistant can consume. Therefore, they had to translate the specification into that form manually. It is possible that this step contains mistakes. On the upside, every C compiler has this problem.

Most compiler bugs are not in their interpretation of the specification, but in various optimization passes. Compcert's formal verification ensures that all optimizations retain semantics; that alone makes it worth whatever they're charging.
Going to take a stab at defining measuring sticks for the problem:

Here's some metrics we should measure a "system for programming education," of whatever form, against.

--Success is measured against new students with zero programming background.

Todo would be defining zero programming background.

Ideally people who've never evaluated a statement before AND never used a CLI interface AND without an amazing mathematical background.

--Students do not feel regret, unhappiness or anxiety before they start or after they finish a 1-2 hour programming session. Students want to program in the future. All other things being equal.

--The level of expertise to target for a "solid programmer" is creating discrete systems using higher order abstractions from scratch. Whilst using a strong mental model of what higher order abstractions actually look like in their physical state to improve their creations.

A secondary KPI might be "can the student make a compiler." But a mental model of what higher order abstractions actually look like in logical state seems like a good goal.

--Currently underrepresented cultural backgrounds show end state success at the same rate as other cultural backgrounds, all other things being equal.

Programming stuff is difficult, when there are difficult academic barriers to overcome people on the south side of social inequality fail more. Thus it needs to be a metric.

--Could possibly program for money?.
I think wood, stone, concrete and glass are all not great insulators, so that should be found in thickness, layering with different materials and airtightness (assumjng mechanical ventillation preferably with heat exhange). You can do that (and mess it up) with any of said materials.
> If Nazi Germany could turn into regular Germany,

It didn’t, really; it was destroyed, and the destroyers erected states of their own design on its ruins.

Israel hasn’t picked fights with the right people for it to end up the way Nazi Germany did if it loses.
Jews and christians were there before Islam even existed and Arabs invade. Talking about propaganda, indeed the craziest of the world is Pallywood because it's so blunt, using takkia like this will give good points to go to heaven faster.

I'm from Algeria so I could go on all day long and even complain about the Arabs of FLN who stripped my grand parents from their lands.

But instead, I'd rather complain about how silly a lot of people are, eating pallywood propaganda without a single doubt, I mean, it's not like this article was showing the posts in question at all, the mere partial description they made of it are tailored to correspond the propaganda, really is there someone to believe that using the word "resist" online is enough to get an Israeli arrest?

> I will not succumb to the “peaceful solution,”

Yeah, maybe they were arrested for incitation because of the part that was before the "resist" line pointed by this article. So that's some nice takkia right there, all this to get some good points, and y'all fall for it like school kids, that's so cute!
If I wanna use something like a ™ I have to google how to enter it, or just google and copy the character. I don't want any extra glyphs in my code until it's just as easy to enter (at close to full speed) as the glyphs I already have access to.
> If you are on 7th gen Intel or 1st gen Ryzen, there is no mercy. A 2013 MacBook gets more support than a 2017 Windows laptop.

Lmao! I'll cite you whenever someone posts "but muh windowz receives updates for 20 years, why your shitdroid can't do the same?!!?".
tl;dr

-Measure success against "never done it before with average mathematics."

-End goal is able to make cool things with a mental model of fundamental logical state that helps at creating things in higher abstractions.

-No discriminatory bad news.

-No traumatizing for life and making them hate instructing computers.

-Employable?
> The initial suggestion was to use Discord, but I luckly averted that.

Why is Discord not a good choice in your opinion?
A good solution to this is the traditional[1][2] UNIX approach of separating mechanism and UI. First develop the core functionality without a UI as a library (or daemon or whatever). The actual UI is then developed as a front-end to the library. This allows multiple front-ends to coexist so a new UI can be developed without disturbing the people that like the old version.

Too many projects tightly couple their UI and mechanism, which always leads to problems.

[1] http://www.catb.org/~esr/writings/taoup/html/ch01s06.html#id...

[2] http://www.catb.org/~esr/writings/taoup/html/ch04s04.html
>>> world's second write-only programming language

I am not clever enough to comment on the meat of the article but I love that quote :-)
Just seems like a sure-fire way to ensure that sdoption rates are sluggish.
On transgender athletes and performance advantages
American houses aren't really built from "wood" as in directly from trees - they are build from "engineered wood" like fiberboard and particleboard.

That's a lot of industrial processing with a lot of oil-based glues and so on. By weight, the houses are almost more oil than wood.

Here's an enlightening chapter of "Well there's your problem" podcast about this with actual civil engineers https://www.youtube.com/watch?v=xVodkE47aLw
By this logic no C or C++ developer in history is a professional programmer. Approximately zero non-trivial programs have been written in C or C++ without memory management problems and/or vulnerabilities.
Non Linear Dynamics course by Elisabeth Bradley:
https://www.youtube.com/watch?v=MizhVorgywY

Started implementing some algs in Rust, just to learn it.
Liz Bradley seems super impressive as a teacher and researcher, haven't heard easier explanations for complex concepts :)
The course is mind blowing to me so far.

There's more on the https://www.complexityexplorer.org/ website.
Why does Google have an office in Beijing?
Masonry can be basically on any type of housing right?. Here in the Neherlands the inside is often concrete with lits if thernal mass, also in floors/ceilings, which are often big fat slabs of concrete.
What are you talking about? Arabs ARE represented in the Knesset.
>Some pretty major os bugs.

It think you "Barely" know what Mumble is.

>Most people can't get it to work first try.

Yeah sounds like a nice group of yours ;)
Interesting, thank you!

For those who like me wanted to see the edge case for the non-monotonic function, if you do:

-2 < -1

-2 is in fact less than -1.

However:

(-2)^2 < (-1)^2 ==becomes==> 4 < 1

And 4 is obviously not less than 1.
Curious not to see any mention of lye / baking soda / sodium bicarbonate. I think I learned this from either Good Eats or McGee or possibly both?

When frying onions in vegetable oil it rapidly speeds up the time taken to get from cold raw onions to unctuous brown goopy onions.

It isn’t quite the same as genuine 45 minute onions but I think it’s the same chemistry, at least. It is also a risky shortcut only to be used when needed. More than a tiny pinch will drastically affect the taste.
> I can't imagine many engineers would choose a job offer from Quora or Reddit over one from any other company.

Considering these dark patterns translate to growth (and thus more money), I don't know why they wouldn't. Lots of people are still working for the tobacco industry.
Not GP, put I was under this impression. I think I saw some instructions to that extent on the create-repo page in 2008 or 2009, which was changed at some point.
No it's more like K2. Everest has become mainstream...
Go hardly looks different than BCPL from 1967.
The video shows fried onions, these are not caramelized. Maybe you like them that way and it's fine. For some eggs and bacon you don't need any more than that. For french onion soup it takes me about 30-40 minutes to fully caramelize a pan of onions, no way this can be done in 10 minutes.
Compose, T, M.

https://en.wikipedia.org/wiki/Compose_key
I just learned about S6 recently. It simplified daemon supervision for me a lot.
> I think extraditions should be made illegal and declared "unconstitutional" since you cannot guarantee that the target country has the same quality/level of constitution as the country an individual is extradited from.

Extraditions are already approved by courts, and often are negated.

For a famous example it took >30 years to get Cesare Battisti[0] to an Italian jail since France, Mexico and Brazil denied his extradition.

[0] https://en.wikipedia.org/wiki/Cesare_Battisti_(born_1954)#Di...
> First: what's the carbon footprint of concrete? What is footprint of wood framing?

Carbon footprint of wood framing is terrible, because its mostly made of engineered wood with a lot of oil in it.
5 years is a long time. If I recall correctly, Linus took one year to churn out his first usable Unix clone. I wonder why this project took so much more time.

PS: This is not a criticism but genuine curiocity why basic OS projects are so expensive given so much already out there. Also, Linus spent majority of hours each day for a year while this might be just a side gig for you.
Hi I already addressed that in my post. That code would not fail.

The only plausible version of that I've seen was Java code, and the Java runtime would not have returned "Windows 9" to that API unless deliberately changed to do so.

Not to be rude, but did you skip the second line of my post after reading the first one? Your reply confuses me if you didn't.
I've had the same experience with baked potatoes. Every recipe I've read says something like 45 minutes and I've never managed to bake a potato in less than ~90 minutes.
> In other bad news, Microsoft developers on Twitter stated that 8th Gen Intel or 2nd Gen Ryzen CPUs will, actually, be required to install Windows 11 at all by RTM. If you are on 7th gen Intel or 1st gen Ryzen, there is no mercy. A 2013 MacBook gets more support than a 2017 Windows laptop.

By the time Windows 10 support is EOL (2025), those laptops and CPUs will be 8 years old. Right now, Monterey (successor of Big Sur (aka macOS 11) won't suppport MBP 2013. So when Catalina (aka macOS 10.15 / last macOS 10.x version) is EOL, which should happen next year, then MBP is only supported by Big Sur which is probably lasting one more year compared to Catalina. So in two years, the 8 year old MBP 2013 is no longer supported. While its already only receiving security and reliability fixes since that's what Big Sur and Catalina receive. All in all that's 10 years of support, quite massive (but then again there have been very little progress on the CPU performance between 2014 and 2020). You can still run some other OS on any of this hardware, such as Linux or ChomeOS.
You’re wrong and they’re ads.

If I’m on the home screen and I want to search across apps (a core feature) I’m routed through the TV app, which will try to make me buy new services or pay fees to watch content I already have access to on Netflix.

It will also mix in banners for shows/movies I don’t have access to without paying additional fees, and doesn’t allow a way to disable this.

This is exactly the problem people are having with the new Google TV app.

Don’t want Google ads? Cool, uninstall the Google TV launcher and remove massive amounts of functionality you already paid for (including universal search) and crack on with a terrible experience.

Don’t want Apple ads? Cool, move the TV app to your junk folder and remove massive amounts of functionality you already paid for (including universal search) and crack on with a terrible experience.

Even Prime video has a free to me button.

The ATV is not a subsidised device, this is shameless gouging and Apple again get a pass on here that other companies are (rightly) dragged for just because they’re Apple.
It's a matter of taste I guess, but I find Discord UI horrible.
It's also eating way too much resources for what it does.
“Flying Surfboards” on the River Thames
Compiler bugs are not rare - it's just that most people never notice them.
It seems that some functional programming languages are hard to sell to management due to the limited adoption, talent pool concerns and integration with existing systems and code. In the case of Clojure, despite being able to run in the JVM, Clojure has a unfamiliar lisp syntax to most Java developers and is dynamically typed which makes the life of IDEs harder since dynamically typed languages are hard to refactor, hard to figure out which types a function returns and so on. In the case of Scala, Kotlin seems to eating its launch due to be borned with full tooling support from Jetbrains and endorsement by Google on Android. In addition Kotlin is FP enough without over-engineering and compiles faster than Scala. Regarding the F# the problem might be that most tutorials about .NET platform are in C# and most codebases are in C# and Microsoft does not promote F# in the same extent as C#. Moreover C# is getting more in more functional features.

More and more languages are adding support functional-programming features, including Java, C#, Swift, D Language (DLang), Rust and also C++11, C++17 and C++20.
Not usually in the habit of giving much thought to Tesla, but suggesting that a proven correct C compiler created by a company that builds transportation devices that contain lots of computers might be interesting for another company that builds transportation devices that use lots of computers seems to me to be perfectly sensible.

Especially since that other company has a bit of a reputation for writing shoddy software.

In fact, the more I think about the more relevant this comment becomes. Building computerized transportation devices is hard and apparently one of the things you need to do it well is a proven correct C compiler. A far cry from the type of software development most people do, which involves slapping together some stuff we found on the internet and writing some glue code around it.
Can this work just as IM over Bluetooth? I've often wanted to message people who are nearby, but with no WiFi (e.g. trains, planes, and conference halls).
I was lucky enough to work with people working on CompCert in French public aerospace research labs.

I remember a presentation in which they presented the number of bugs they found on other compilers (GCC, Clang, MSVC) while developing test cases and benchmarks, and it was surprisingly high!

I don’t want to say any figures as I don’t remember it enough, but I think it was in the hundreds.

And there are many horror stories on Hacker News of people being impacted by compiler bugs in prod on non-critical software, sometimes with significant financial impact.

But yeah, not sure the price is worth it for non critical software in general.
For those wondering how it works and indeed how much it costs, there's a motor underwater: https://foilsurfing.co.uk/2020/01/15/takuma-electric-hydrofo... and the cost is “from” about £6000.
Most people are far underestimating the Chinese influence.

1. Chinese working within Google and Youtube are just like working in Facebook [1], from Peter Thiel .

> At Facebook, I’ll give you an example. You had with the Hong Kong protest a year ago, the employees from Hong Kong were all in favor of the protests and free speech. But there were more employees at Facebook who were born in China than who were born in Hong Kong. And the Chinese nationals actually said that, you know, it was just Western arrogance. And you shouldn’t be taking Hong Kong’s side and things like that. And then the rest of the employees at Facebook sort of stayed out of it. But the internal debate felt like people were actually more anti-Hong Kong than pro-Hong Kong.

And let me just say the last sentence was an understatement. ( He is on the Broad of Facebook after all ) And there are plenty more working in Youtube and Google as moderators. ( One day we may find out what happen to Tank Man on Bing Search Engine )

2. Chinese companies abroad. Just to give you an idea. Watch a game of Euro 2020 ( or 2021 ) that is going now, count how many ads were placed by Chinese companies.

3. Chinese invested interest and asset. Google accept ads from companies that has Chinese investment. You play any mobile games? You should count how many of the current top grossing Mobile Games have Tencent of other Chinese investment, one way of another. ( Or how many of those companies have outsource work with a Chinese company or Chinese working in it )

And I could go on and on.

[1] https://nixonseminar.com/2021/04/the-nixon-seminar-april-6-2...
Cars are similar to planes in that they're very complex electric/mechanical machines. They have lots of code where if it is done poorly (Toyota spaghetti code acceleration nightmare) people could be seriously injured or even die. Tesla isn't the only car company, but has a pretty strong fan base. The poster is just generalizing the OP to car software. Seems relevant to me.
Many projects, including mine, just use it without the voice features, as a modern replacement for IRC.

It does work great for that.
I like https://umurmur.net/ since it can run totally headless at the cost of some of Murmur's features. Mainline Murmur (the Mumble server) requires QT5 and mDNSResponder and various DB drivers and even D-Bus if you look at it crossways
Kodi has add-ons (e.g Quasar or Elementum) that provide this ability to browse popular/new movie shows and lets you download a torrent and watch it as a stream. Your waiting time depends only on how many seeders are available, which means that popular files are basically instant.
Dijkstra famously argued it was better for new students to learn Haskell than Java. https://www.chrisdone.com/posts/dijkstra-haskell-java/
Incremental backups and full backups on weekends. Operators doing the backups didn’t know it was incremental. With time, there were only two tapes dedicated to those. This was just an ad newspaper and they lost 2 days of ads. As it was only a local failure, they just ran at a loss for to
two days and the business didn’t suffer.
CakeML[0] is another formally verified compiler. Notably, unlike compcert, it is open source.

The language it implements (an sml dialect) is high-level and garbage collected, meaning that it is not usable in all of the same domains, but work is ongoing to reuse much of the compiler infrastructure for 'pancake', a low-level language.

0. https://github.com/CakeML/cakeml
Ada/Spark is also supposed to be pretty good here.
Wow the section on pistol shrimp is incredible - I had no idea that animals could weaponize bubbles!
Wiod yes, but as far as I understood, well isolated, which was the point a few posts up I think.
At this point I'd already be OK to pay 10% more for an equivalent certified China free phone.

E.g. I paid around $600 for my phone. If there was a rack next to it with the exact same model except it was certified China free and $60 more expensive I'd pick that. Edit: thinking about it it is also more than 10% and significantly more on smaller purchases.

That said, nothing against Chinese people. I'm on friendly terms with the Chinese at work, ny Chinese neighbours etc etc.

This is only about the CCP.
My colleague asked me to run crontab -l, which I misheard as crontab -r (a switch I was unaware of, which instantly removes all Cron jobs)

I still wonder why crontab has that switch? Who needs that?

We had to piece together all scheduled commands from run logs.
Show HN: I made a news aggregation app using Bootstrap5, Express and NewsAPI
To me this would be another way of developing intuition, via analogy across disciplines. E.g. Volk's Metapatterns draws patterns (but perhaps less rigorous and more loose) across discplines giving one intuition about many things.

In this case, seeing the connections across the disciplines isn't necessarily something I see or am pursuing because I'm searching for a shortcut (although I did mention O(1)), I just see that as a side benefit. What appeals to me more is developing the intuition you mention via the analogies. I feel like if the idea is restated in different ways (not necessarily just terms, but perhaps visualizations/re-conceptualizations) a more holistic/intuitive/fuzzy idea emerges rather than anything rigorous necessarily, but you know a lot more math than me so maybe I'm saying nonsense.
He knows, he plays at night ;)
The pandemic has been ongoing for quite some time.
Clearly the Gazans need missile guidance systems to get their kill count down to Israel's levels.
It looks like different people (probably including recipe writers) mean different things by "caramelized onions", which could be the origin of the issue. I'm not saying one is wrong and the other is right, just that there's obviously disparity.
Good step, but keep in mind you will have to stay in repentance all your life.
As for kids, I agree with you that the majority of them can potentially be good at almost every field. But as for adults, I’m not so sure. Most of us become way too rigid as we age, learning capability and more importantly motivation becomes way lowered. So someone who had trouble with basic algebra (at the time mostly due to a bad teacher/experience with math) will not generally be able to overcome his/her identity of “being bad at math”. Of course, there are exceptions.
The matrix library only truncates the printout of matrix entries. The output is, of course, full 32bit or 64bit floating point number.
Well… did the tests pass in production, at least?
Worse Ubuntu is "insecure" please upgrade to Microsoft Linux 2024.
I suspect many people on HN have an unrealistic view of how most of the population operates.

People who can do any version of STEM with some minimal basic competence are unusual. They're not exceptionally unusual, but they're certainly not the population median.

Media numeracy is around Level 3 on this list. Numeracy in the US is lower than the OECD median and is somewhere between Levels 2 and 3.

https://www.nationalnumeracy.org.uk/about/what-numeracy/what...

I'd estimate you need Level 4 for programming to make any sense at all and maybe get you started with very simple programming tasks, Level 5 to be able to do basic code construction on a daily basis, and Level 6 to be a competent senior with some useful modelling skills.

Level 5 is maybe 20-25% of the population. Level 6 is probably less than 10%.
My guess is that it's a compiler setting, so that in theory they could make another assembly, but don't want to because of optimizations.
Normal theory is you don't remember anything before 3 years old.

You will only have memories of memories before three.

Given his belief seem to go to after 3 years it just fits with the current theory.

Pop Science article - https://www.zmescience.com/research/why-we-cant-remember-bef...
No, not frequently, it's basically Video Google Search + Music for me.