skysight-inc/HackerNews huggingface dataset:
"Verifying" and "proving" are synonymous in this case. You prove or verify that the system satisfies some specification, i.e., properties. Your normally write the properties yourself, but sometimes the properties are hardcoded (e.g., your code doesn't panic).

You don't need a particularly strong formal background in CS or maths to verify code, but it's a challenging task never the less.

1. The first challenge where people often give up is that you will often need to reason about your code in a different language than the code itself (not necessarily true for Verus that's being discussed here). In that sense it helps a lot if you already know multiple programming languages, ideally using different paradigms.
2. The second challenge is that you will need to be actually precise in describing what your want your program to. This is a lot harder than it sounds; there's no hand-waving, no "works in practice", but even beyond that, it's actually really difficult to express what you want from the program succinctly, and often not even possible or feasible. On the other hand, this is possibly the most practical skill you will currently be able to take away from the verification tools; it absolutely can change the way how you work, how you collect requirements, and how you go about writing code.
3. The third challenge is then actually performing the verification/proofs. This is currently painfully hard; most literature I've seen comes up with a ration between 5-20x between the amount of code you're verifying (in terms of lines of code, say) and the number of "proof lines" you need to write in some form. This may make sense for extremely critical code where a bug can cost tons of money; e.g., aerospace, or huge companies with tons of users - AWS is doing proofs at a fairly large scale, Apple is now doing the same at a smaller scale too. I would generally recommend NOT writing proofs if you can, but using tools that can do some kind of limited or heuristic verification. Which tools exactly I would recommend for a "working programmer" depend on what you're trying to do. For example, if you are writing concurrent or distributed code, I would recommend using something like TLA and the associated TLC tool. For lower-level Rust code (data structures and similar), I'd recommend the Kani verifier over something like Verus. For many other languages, the choices are limited or non-existent.

Zero-knowledge proofs roughly allow you to convince someone that something is true, without leaving them any wiser WHY it's true. Generally this is not what's interesting for software verification, but it's nevertheless extremely cool (because it's super counterintuitive). Most of the excitement indeed comes from blockchains, where these things are used, but it's debatable whether they're really practical. You can use them to transfer crypto around already today, without revealing the identities of the sender or recipient for example. However they are still computationally quite expensive and only work because there's currently not so much volume in crypto.
I mean, Samsung has DeX. It’s exactly what you describe. I don’t like it, I don’t need it. I’d rather have a focused device than one that tries to be two things at once.
Do you think we are going to reach a point in which it’s very hard (perhaps impossible) to maintain big codebases (like postgres) due to the lack of maintainers? Would that mean the end of such projects? Or perhaps big corporations would take over at a high price (forking the project and publishing it under a price tag)?
There's multilingual countries with multiple local layouts. (Like Swiss German and Swiss French layouts for instance)
Mind the difference between AM and SSB (which may be considered a subset of AM). The efficiency increases with SSB, when compared to usual AM.
Maybe in some pop sociology books, but actual real sociology as a science does not treat it as an established truth at all. The sociology being "soft" does not mean you can cherry pick what suits you and pretend there is consensus about your cherry pick.

In that sense, not even physics is like physics.

Also, the actual sociology, if anything, tend to be very nuanced where majority of the claims are packed into conditionals and probabilities. As a science, it super rarely makes simplistic claims like this.
That seems to be the path being travelled on at the moment, and Germany and Poland seem to be planning for that outcome, but there will be serious lobbying - including from the U.K. - because it could be seen by Putin and the wider Kremlin system that keeps him in power as a gentle waving through of Russian tanks into Swedish, Finnish and former Soviet territory.
Lol yes though?
If you like Carbonyl, but want something simpler, you may also find my TUI browser Chawan[0] interesting. It supports CSS and JS (kind of...), but unlike Carbonyl, it has its own browser engine written from scratch. It also bears similarities to Dillo, in that it's easy to add custom protocols.

[0]: https://sr.ht/~bptato/chawan/
Your Versus example is how I write my Clojure code, with post and pre conditions on most of the functions. And the JVM has a flag that makes it easy to strip that out for production builds.
I don't know if just because someone is Israeli or Jewish it makes his opinion that much more valid - especially when people cherry pick the views that already conform to their opinion and ignore all the rest (e.g if the person is an Israeli anti zionist they will listen to him, if he's an Israeli Zionist they will cancel him).
As for the criticism itself, too much of the time (imo) it focuses on Israel as a uniquely colonizing and evil entity in the world and is completely one sided. One side is totally evil (the Israeli side), has no business existing and should self dismantle or get help from the world in dismantling. The other side (the Palestinian side) can pretty much do no wrong.
I feel more sorry that the planet is losing yet another species that took billions of years to evolve rather than the rites of some religion tbh, the agenda of this article is so weird.
Doctor M’Benga
India's young workforce conquers global blue-collar jobs
This has been the case for decades i.e Five Eyes alliance.

So not sure why you think your statement is somehow provocative.
Python http.server isn't particularly secure by default.

I don't understand why you keep ruminating about Django, which is obviously irrelevant as a comparison. If you want to use Django as a point of comparison you'd need to compare with Laravel.
Ain't that the truth. For me it was a reminder that the values of the company that chose to install malware on your PC[1] are alive and well. I personally dropped PSN and started boycotting them after I would not get a refund on a toddler purchased game.

[1]https://en.wikipedia.org/wiki/Sony_BMG_copy_protection_rootk...
Are you referring to the rootkit that came with audiocds in the early 2000s ?
This tbh
The short story it is based on can be found here:

https://pvto.weebly.com/uploads/9/1/5/0/91508780/eight_o’clo...
The only time the Ukrainian would have to pick the Russian flag would surely be if they selected the Russian language, and not the Ukrainian language which is not the same as Russian and doesn't even use the same alphabet. The languages and alphabets are undeniably similar and somewhat mutually intelligible, but they are not the same.

Only time this is a problem is when the Ukrainian localization isn't even supported and the Ukrainians are forced to use Russian, but then isn't that the bigger problem?
I'm sure that IT working in the council understand input sanitisation and escape sequences, but they're working to a broken standard.
That's not even a controversial opinion though. US has pretty much always favored its anglosphere allies. It's more or less the new form of the british empire. See Five Eyes, Special Relationship.
Thinking about "corruption" in Africa. It a double standard?
Bribes and Investors

When I came to Kenya I planned to never give a bribe; its just part of our "religion" as westerners that we take for granted (nevermind that at the highest levels of government everywhere quid pro quo is the norm).

Then I joined a business group in Kenya known for its high ethical standards. We visited eachothers businesses. All them were doing better than me and older than me.

It's not that some of them gave bribes. All of them did, and they were often very clever about it. Almost a core competency....

And was this really so bad? Imagine you're driving a truck of food to starving people and a police officer asks for $1. Would it be amoral NOT to give something small?

And considering democracy came on a boat and people back then had a perfectly well functioning system of giving something to the local chief who protected the area. Is backlash against quid pro quo neo-colonialism?

Bribes in the US only become important at the level of Boeing, Pfizer, Halliburton, etc but in Africa it’s part of everyday life for startup founders right from the beginning.

But western investors don't want to know about bribes in Africa. How do you handle this?

I blogged about some ideas on this in the title. I welcome your comments.
From the readme:

Xmake ≈ Make/Ninja + CMake/Meson + Vcpkg/Conan + distcc + ccache/sccache
I agree. There seems to be a lot of frustration, even in the pro NATO American institutions, at the lack of output from Canada & European allies.

South Korea alone seems to have more military industrial ambition than either France or Germany.
If you combine performance & stability of Dillo with better HTML5 support of Netsurf, you could get a great lightweight alternative to mainstream browsers.
Also we are working on same topic with an special function hub infrastructure that can easily install on-prem. https://github.com/Upsonic/Tiger
According[0] to Perplexity.ai, you could use std::optional<std::monostate> to get a C++ approximation of your Rust type.

I am neither an expert in modern C++ nor in Rust, but I have witnessed enough of C++'s evolution over time to know that if C++ language devs find a feature desirable enough they will do whatever it takes to frobnicate the language in order to claim support for that feature.

[0] https://www.perplexity.ai/search/is-it-possible-Sd3TML68TfKv...
The keyword is 'amalgam' - a lead crystal, a bit of wire and a headphone gets you AM reception: https://en.wikipedia.org/wiki/Crystal_radio

(the wire is optional if the signal is strong, and a 'headphone' is anything you can make vibrate with electricity)
Does the USA necessarily need to weaken NATO ties at the expense of AUKUS ties?
> Not leaving sensitive information in logs, backups etc is quite reasonable

We have evidence that Google execs instructed their relations to turn off chat specifically to avoid future discovery [1]. Excerpt from this document :

> In one Chat, Mr. Pichai began discussing a substantive topic, and then immediately wrote: “also can we change the setting of this group to history off.”1 Then, nine seconds later, Mr. Pichai apparently attempted (unsuccessfully) to delete this incriminating message.

[1]: https://ia601707.us.archive.org/28/items/gov.uscourts.cand.3...
> in over 150 countries

In 177 countries to be exact. For context, there are 195 countries in the world.
The British space/missile program in the 1950s - which focused on forcing peroxide through a silver mesh - was mostly tested in the Australian outback.
I vote with my wallet but I also vote at the ballot.

I want my delegates to regulate the market to make it more fun to me.
This is such a Googler comment, because it applies to basically everything at the company. “Everyone hates this when they join, but eventually they’re enlightened of the better way to do things, and it’s all good.” Dude, no. People write docs about stuff they care about but nobody writes docs about the weird error they got once that they needed a workaround for or whether their internal tool is named after a Pokémon or their favorite food. Believe me, I worked there, it was a massive pain. To say nothing of sending your boss something at 4 PM on a Friday and it being as if you never messaged them when they opened their laptop on Monday.
> Supports C++ modules (new in C++20).

Hmm, interesting. Has anyone tested this and seen how it compares against CMake's latest versions?
I don't read it as one. Culture, as a context, is important when considering actions of people. And the actions of a company are actions of the people who control that company.
I can guarantee you this is not the case, at least at the uni where I‘m doing my PhD. There is no name in the admission system, it‘s done automatically by grades or tests most of the time.
Hot take: this is good? It's a database, you want it to be predictable and reliable as it's literally the foundation of many applications and processes. It's not another toy project, mistakes can have disastrous consequences so you really want those extra layers of scrutiny.
Australia's long had subs, but they were, let's say, Indonesia range.

These new subs are South China Sea range. So it's an increase in Australia's strategic projection.
> The poster is making a critiques of how by treating historical persons contributors as cattle, we are considering them a dispensable, unnamed, a commodity that is easily replaced and interchangeable and missing their very real contribution, value, and humanity.

Beautifully said.
Kotlin has internal DSLs. They are a quite nice alternative to JSX. Easier to refactor, auto complete, etc.

You can use react with kotlin-js btw. Lots of people do this.
Because a poor intern is forced to work weekend to fix the mess made by superiors
Considering the 100k+ bad reviews already left in the past 3 days, it seems there is no impact beyond that.
> Meson's biggest advantage (aside from popularity): it's a declarative DSL rather

I personally don't consider this an advantage. We've ran into the limitations of a DSL way too often at work and at this point I prefer just having a plain programming language as an interface. This way you don't have to learn a custom DSL with its own quirsk, you always have the escape hatch of just writing custom code, and it tends to be less quirky.
> This is only an issue if the flag is the only information provided.

The next step is acknowledging that the flag doesn't contribute anything, but may cause confusion or negative associations with the flag's country. So what exactly is the point of using it at all?
When I think about how well terraforming is proceeding, I think of this film. Our planet is just another input.
Was it already a part of US military base in UK or completely new location?
> The culture is about creating explicit artifacts of knowledge

In the case of Google, the culture was, explicitly, about destroying potential evidence of wrongdoing [1].

[1]: https://ia601707.us.archive.org/28/items/gov.uscourts.cand.3...
https://RTCode.io, a real-time web playground without reloads (and without state resets) might greatly benefit anyone working with CSS animations/transitions!

Demo on https://RTCode.io

(To import pens, simply replace the hostname with xcodepen.io in your URLs.)
It was also broken at launch and was made optional.
That is true, but unless you develop an application yourself, it is always coming from somewhere else.

Web apps are better than native apps from a security perspective. Browsers have fairly decent built-in debugging tools that you could use to verify that data isn't being uploaded to a 3rd party.

On the other hand, to do the same with a native application you would need to use a separate network protocol analyzer application.

Web apps also run in a sandbox that users tend to have fairly good knowledge about. For example, they generally cannot access any file on your device unless you grant permission. What are the limits of the iOS, OSX, Android or Windows application sandboxes? Can apps on those platforms access files without explicit permission? I think the vast majority of users wouldn't be able to tell you.
I know Ukrainian and Russian are different languages, that’s why I specified “a Russian-speaking Ukrainian”. Plenty of Ukrainians are native Russian speakers.

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

Speaking a language natively is not the same thing as nationality or allegiance to a flag, and it can be grossly offensive to confuse the two.
Nice overview! Personally, I'd like to argue against storing credentials in plaintext on disk. The usual suspects all have ways to use SSH keys [0-2].

If you really prefer to store credentials, you can cache them for a temporary amount of time [3]. The basic command is:

git config --global credential.helper store

[0] GitHub: https://docs.github.com/en/authentication/connecting-to-gith...

[1] GitLab: https://docs.gitlab.com/ee/user/ssh.html

[2]: BitBucket: https://support.atlassian.com/bitbucket-cloud/docs/set-up-pe...

[3] https://techexpertise.medium.com/storing-git-credentials-wit...
The best way to farm karma on HN is to post a random Wikipedia article every day
> And of course quite a few countries still using English because they were formerly colonized/oppressed/etc. (take your pick) and might have a thing or two to say about having to deal with the British flag.

What about the fact that their language would be listed as "English", therefore reminding them it originated in England? Is listing the language as "English" significantly different from listing it as "<UK flag> English"? Should we rename the language to "Irish" ? Then what about the inhabitants of Ireland who don't identify as Irish?

You can always take the most offensive interpretation "This flag is claiming that Irish people are English, therefore contribute to historical oppression, etc".

But you can also take a more natural and charitable interpretation, which is that most people associate the UK flag to English, and the flag is therefore a convenient visual indication.

> it's complicated for English and it doesn't really get any better for other languages.

I agree, there is complexity and arbitrariness in any "language -> flag" mapping. I am arguing that you can make practical decisions even in the presence of complexity.

> Telling people to grow a tougher skin isn't particularly user friendly or that helpful.

Arguing you can't do something because someone will be offended is also not very helpful: you can almost always find some offensive interpretation of anything.
I write embedded stuff for many of the popular IoT chips/modules/devkits/boards.

So, yes, there's a lot of high-level GC'ed languages that "run" on these systems.

For hobbyist one-off projects (where you can overspec the hardware by 10x without any negative financial impact to the project) they are great. For mass-production of a device, the extra RAM (and resources in general) that they require tend to be double what you would ordinarily need if written in C (or a crippled dialect of C++).[1]

For the best high-level logic control of embedded devices, you cannot beat esphome, and that's because that project converts the high-level logic (specified in YAML) to native C and/or C++ code, which is then pushed OTA to the device. That approach keeps the firmware as lean as possible.

[1] My best experience with stuffing a more abstract language into something like an atmega328 (I believe that's what's used for Arduino) is with a special purpose-built compiler that compiled a PLC type language of my own design (only for controlling and switching digital IO and reading ADC) to a byte code, which was run by a tiny interpreter on the atmega, using three bytes per instruction+operand.

Such a scheme allowed tons of conditional logic to be stuffed into the flash area, as the 'interpreter' on the chip would read and execute 3 bytes at a time from flash. The native-code version of the same conditional logic could easily be 10x the size.
std::optional is a poor shadow of Option. It's what happens when C++ programmers who've seen a Maybe type in a window (years ago by the way, this isn't inspired by Rust, it was just stuck in the standardization process until C++ 17) but are starved of proper types and basic features like pattern matching try to imitate what they saw.

As a result for example std::optional<&T> doesn't exist, because to a C++ programmer it seems as though this might have assign-through semantics (!) and so WG21 decided to kick this can down the road. C++ 26 might get std::optional<&T>
Ask Sun, DEC, and Cray about that. Worse but better wins for business reasons that aren't related the quality of the underlying technology. I'm not saying they're colluding, or that there's some grand conspiracy, but because Apple has bought out the production lines at TSMC to make their Apple Silicon chips, Samsung can't use those lines which means comparing products from the two isn't fair because Apple has those lines and Samsung can't use them to produce chips for their phones. I'm saying we, the human race, could be further along, if we made the markets more of a fair fight.

Microsoft's OEM agreement, which came to light in 1998, was that a manufacturer, say Dell, had to pay Microsoft for every computer they sold, regardless of if it had Windows on it or not. This means, that if Dell sold a computer with BeOS on it, they still had to pay for a Microsoft Windows license for that box! From a business perspective, that means Dell doesn't need to bother selling BeOS. Business hasn't changed, so even though Arm and AMD and Apple and Huawei and Intel and Nvidia and Samsung haven't been taken to court on an antitrust case, there's all sorts of anti-competitive behavior going on.

I can't buy a Samsung phone with an Apple A17 chip as the CPU.

I think if the market were better regulated, I would be able to, but because we don't prohibit that kind of vertical integration, the result is an anti competitive market, and that's holding us back. We couldn't easily be generations ahead, because it's a lot of hard work, fighting lots of powerful people, but we could be.
Show HN: Supertasks.io – Quick Decision making tool with Keyboard-first approach
We made a developer-centric and keyboard-first tool for task management and decision-making.

The pace at which developers build does not match the pace at which they manage tasks, our aim with supertasks.io is to make it possible.

We built supertasks.io during the pandemic when we had multiple simultaneous projects to manage
but not the right tool that would load fast, be easy to use, and be keyboard friendly.

The tool can also be used without signup, however, for sync on multiple devices, login is required.
Yes, that is what is happening. But it is not an explanation for why, because by itself that action is going to reduce SIA's market and thereby revenue. There must be a technical/legal reason and other comments have already pointed out how the current system is both trashy for developers and legally risky.
In this video they can apparently hear the transmission by holding a blade of grass against the transmitter https://www.youtube.com/watch?v=b9UO9tn4MpI

The video looks convincing but it could also be faked, and I don't think it's possible. The signal coming into the radio tower (which is basically just a big antenna) would already be modulated to a much higher frequency (702khz or whatever).

I guess there could be some other effect that makes it audible when you hold a blade of grass or a hotdog to the transmitter, but I don't think it would be intuitive.