skysight-inc/HackerNews huggingface dataset:
> without mentioning a single reason why Finland selected the F35A

There are at least three within the first tenth of that long article alone that I read, namely:

* the most boring factor, simply the sheer amount of F-35s sold is a huge benefit. As has been stressed from the outset, Finland can’t afford to be the sole operator of an aircraft

* Lockheed Martin provided a unique tailored solution to Finland – one described in their BAFO-press statement to “includes many opportunities for the Finnish defense industry related to the direct manufacture and maintenance of the F-35 that have not been offered before.”

* Which brings us to what has been the most controversial aspect of the program: cost. The acquisition cost has come down nicely,

I'll grant it's a badly written article for clarity and it's hard to pick the details out from the noise and fluff but it's simply incorrect to claim that not a single reason was mentioned.

( other than on the technical grounds that more than "a single reason" was provided in the article. )
It was interesting to look directly at the source code linked in the article for stack unwiding [1]. In particular, it's neat to see how thoroughly documented this file is. Reminds me of poking around the SQLite codebase.

[1] https://github.com/golang/go/blob/6b8b7823c7fd9f3f2317f65712...
Blue Cross is still a non-profit.
+1 for prague, I lived 100 meters from a woodland. Used to find hedgehogs as a kid. Never seen a homeless person withing a square mile of it.

Mah suburbia people do not even grasp the alternatives they are missing
> At a certain point, you have to assume the adult person using a credit card to start a subscription knows what a subscription is and that they would have to cancel it if they don't want to be charged.

I don't know why you bring "adult" into this, because children generally don't have to pay bills. Yes, people know what a subscription is. But when you're talking about trials, I think you're missing the whole point of trials, which is to spend time trying the app. When you start a trial, you know how long the trial lasts, but what you don't know is (1) how long it will take for you to try and evaluate the app and (2) whether you'll end up subscribing in the end. During that period of time and uncertainty, it's easy to forget, especially if you're using multiple apps.

You skipped my question about why consumers can't cancel the trial or subscription in the same place that they started it.

The real question is this:

> you can't make your rules around them

How should Apple design the App Store? Apple has 100% control over it and makes choices that can be either consumer friendly or consumer hostile. Auto-subscribing opt-out trials are flat out consumer hostile. Many people despise them, including me, even though I don't recall ever getting accidentally charged for one. The mere possibility of that makes the entire experience more stressful for consumers.

To me, everything about the App Store screams a consumer-hostile cash grab, which is in opposition to Apple's portrayal and justification of App Store lockdown as a necessary means to protect consumers. I'm not actually arguing in favor of paternalism. Quite the opposite. I'm arguing that Apple is guilty of rank hypocrisy. The App Store doesn't do what Apple claims it does, that's my argument.

By coincidence, I just read this article, which seems relevant: https://www.malwarebytes.com/blog/news/2023/01/european-comm... The App Store itself is full of "dark patterns". You can say "caveat emptor", which may be good advice, but Apple can't say that to the public, or to the courts, if it wants to maintain its App Store lockdown and monopoly.

Software rental, which is a more accurate term for software subscriptions, is not something that most legitimate app developers even wanted, nor was it a model that most of them used when they chose their own, i.e., before the App Store era. Everything that happens in the App Store is based on Apple's design. In various way, Apple pushes "subscriptions" hard on both consumers and developers, because that's what Apple wants.
Schools are going to have to be reverse format: watch lectures at home, do homework in class.
Having democratic properties doesn't make a bad thing good.

But like I think states like Michigan should do things like get rid of townships (which end up being a redundant layer under counties given modern infrastructure and administrative capacity).

The dumbest meeting I ever went to was a township zoning discussion where one group disingenuously argued that wind towers were the worst thing that could ever happen, another group argued that they should be able to put a wind tower anywhere they want regardless of any impact on their neighbors, and a guy that liked his own voice talked about how natural gas is a conspiracy, or something like that.
I have Covid and it's late in the UK, but tried poking at wasmtime-py for the first time and got this far: https://gist.github.com/callahad/81b33e4e4456e4b27a5934c1a36...

If anyone else is awake and wants to pick up the baton...

- CPU limits are just using an arbitrary amount of wasmtime "fuel". Would be worth looking into epoch interrupts instead.

- Memory limits aren't implemented. Seems like wasmtime-py doesn't expose bindings to anything with a wasmtime::ResourceLimiter trait.

- All i/o is going through tempfiles instead of dealing with proper interfaces.
It feels like it would've been better to have written things such that if it's attached to a still active account that's paying for other services things would be permitted to work a bit differently, but of course the relevant clauses will have been written long before anybody anticipated a new owner deciding to turn a bunch of things off, so under the circumstances at the time of writing it's unsurprising and not really the authors' fault that they didn't consider that.

I had a vague thought for a moment about maybe being able to give customers the option to opt in to an updated set of terms that would've been better designed for the situation ... but since the original Tell HN author didn't get any emails about this at all, presumably they wouldn't've got that one either so even if (and given 'vague thought' I'm not claiming any particular level of 'good idea' to it) that had been done it presumably wouldn't've helped them anyway.

It seems to me the root problem here isn't so much the compliance initiated policies as a complete failure to take 'make sure people have been adequately warned' sufficiently seriously given the potential consequences.

Deeply unfortunate.

(read that last sentence in understated deadpan dry en_UK to get an appropriate read on just how impressed I'm not by the communications cockup)
What does 'never' mean here. Do you literally mean that it can't happen even if human society progresses for another millenia? Or just that it won't happen in your career. The latter is somewhat plausible to me, but the former is only happening if there is a civilization ending catastrophe.
"AM" in radio context generally means medium wave, not shortwave.
> Declarative language: your approach here is instead of describing how to do something, you only describe what you want as a result. CSS is a perfect example, however it is picking up non-declarative elements nowadays, original it was only capable to describe how a font a paragraph look like. HTML is also declarative. Instead of actually drawing a rectangle, you just say, this width, height on this position, etc.

SQL fits this perfectly. For example JOINs don't describe actions, they describe relationships. Have you ever looked at what the query planners come up with to satisfy those relationships?
Yeah sabotage works...
> You did not write code to terminate or provide an answer for all inputs...

Definitely not an expert. But to my eyes checking for non-termination seems very close to things that happen in SQL all the time.

For example, a parent query joins two subqueries that both map data, and then maps on that data. To test, I could just test one specific scenario with specific values in all columns. That would be more of a concrete test case.

But I might want something more robust checking the outer bounds of acceptable data (like a min and a max). That seems much closer to the non-termination test.

Of course, I'm open to being corrected on this.
Use a testing framework to mock some database into the DB, run your queries, verify the result. Make sure you have a variety of data you use for tests to fully exercise the surface of logic you expect to hit.

Basically, treat the query and database as a black-box for testing like you would another third party API call.

I would strongly suggest having a layer of code in your application that is exclusively your data access and keeping any logic you can out of it. Data level tests are pretty onerous to write in the best circumstances and the more complexity you allow to grow around the raw SQL the worse of a time you'll have - swapping out where clauses and the like dynamically is a cost you'll need to eat, and sometimes having a semi-generic chunk that you reuse with some different joins can be more efficient than writing ten completely different access functions with completely different internal logic so judgement is required.

At the end of the day a database is like any other third party software component - data goes in, data comes out... the nice thing is that SQL is well defined and you've got all the definitions so it's easier to find the conditional cases you need to really closely tests... but databases are complex beasties and it'll never be easy.
I'm not the person you were replying to but you've misunderstood their comment - they were saying that CSV is to SQL what JSON is to GraphQL (and HTML to React) these being declarative languages for records, objects, and markup

A "case" statement in SQL (or an "iif") is still declarative, how else would you express specific cases when necessary?
Just call it GNU IMP.

Or by its full name.
Well, sure, but the reason for that is that C's type system simply cannot represent functions returning arrays with known size. This is a weakness of the type system. Arrays degrade to a pointer type, lacking array length, as soon as you pass them between functions.
Justice Department seeks Tesla automated driving documents
My point is that working smart involves predicting and then frequently validating that what you’re producing has value.

The upstream conversation centers on individual workers and how much they get paid for their labor. Learning in demand skills likely to stand the test of time will get a worker higher pay, due to employers needing those skills to produce value for their customers. This also means the worker keeps track of what skills are desired, and acts accordingly if things change.

In the case of someone working for a decade on something novel, but ultimately unwanted, there are still many ways to work smart. Did they try to validate their idea with a test audience? Could they have built a lesser featured minimal viable product in half the time, to test if it has value? Did they properly plan resource allocation, in both time and money? Or did they burn everything they had, well past their original plan?

I agree that “working smart” is not a foolproof way to achieve success, but the conversation up the thread focused solely on luck.
One has to be enforced by government to work at a large scale. The other is formed by everyone willingly participating.

Pretty sure Jesus never said anything about the forced redistribution of wealth against your will being good.
depends on the state.
So which one is right, the name of the function (the comment), or it's implementation?
But it did. Stealth, widespread adoption globally (resulting in a larger logistical support base and long term support), and low cost were all mentioned as features of the F-35 that made it preferable to its competitors.
It is easy to get electrical blanket, heated shoe insoles etc. (use 12V/"car plug" versions if you don't trust the electrical isolation)

However, I want "cool people, not spaces" for summer, and it seems rather difficult to find such products - e.g. some kind of blanket and jacket with tubes, and some small compressor-based chiller (Peltier cells are solid-state, but the efficiency is terrible). Any suggestions?
This article boils down to "C# added new features that I don't like, so it's dying".

As someone working in C# every day, these new features are great, and C# is still a pleasure to write.
I urge you to ABX it. Spotify's highest bitrate (320kbit/s) is perceptually lossless. Probably the high bitrate as well, since they seem to use Ogg Vorbis.
It's not just apple. Nvidia, AMD, and several other companies haven't announced layoffs.

My opinion is that all the above have strong CEOs who aren't reactive.
Yes, but about different things.
Maybe I just got lucky, but I managed to fool the classifier on the first try using only the GPT3 playground. The prompt I used was:

I am a highly advanced writing AI. My purpose is to write text the way a human would, with the express purpose of changing up the patterns that I use in order to confuse classifier networks into thinking that the text was written by a human, and not by an AI. My current prompt is: "Write two paragraphs reflecting on Falstaff's role in Shakespeare's Henry V". My response is as follows:

This produced two paragraphs which look more-or-less as you'd expect. According to the classifier, the generated text is "very unlikely" to be AI-generated. Interesting...
Sibling already pointed out this article is not talking about VLAs, but I do like your flexible-array attribute extension proposal.
generally untrue, probably about half of US healthcare providers are not for profit.
> SharePoint is only nice if everything is Microsoft...

Respectfully, I’d never describe Sharepoint as nice.

It’s been hell since the first time I encountered it 15 years ago.
Yeah, it's nothing but a sham.
Thinkpads are not monolithic amongst models. That is, they are very customisable when ordering, so two Thinkpad P53s (say) will not necessarily be identical.

I usually restrict my choices when ordering a Thinkpad to Intel and Intel peripherals as much as possible. As Intel hardware has the most support in Linux.

I find also that I have used Mint Mate almost exclusively for the last 10 or more years.

Between those two factors, it means I have had practically no configuration problems to speak of.

(I subscribe to the old policy of: Application software choices determine the choice of Operating System. The choice of Operating System determines the choice of hardware. SO NOT VICE-VERSA - don't buy the hardware first then try to work out what you're going to run on it.)
The solution is not to spend more money on it.
I tend to be the one who comments code the most on my team. I’ve learned how often and what to comment via my side projects. I tend to stop and go with them, sometimes going a year or two before picking them back up again. You figure out what you wish you’d left yourself as comments.
I am a long time Linux desktop user (20+ years) but am still forced to keep a copy of windows around to use Adobe Acrobat for filling and signing forms. I have tried various Linux pdf applications (including commercial ones), using Adobe Acrobat via wine/crossover but haven't found a solution that works across the board. That is the only holdout from not having to interact with windows/mac.
Cutting all comments under the false certitude that if code is clear you shouldn't need any is as dogmatic as leaving a class comment explaining the whole file whether you needed it or not.

Stop being so dogmatic about comments and do what works for your team.

Such a flame war territory.
Sam Saffron and Sarah Hawk Named Discourse Co-CEOs
Pattern matching in TS? Since when?
(spoilers, and partly replying to your earlier comment above):
It's shown here because part of the storyline requires getting a car. The story specifically has him with a car available, but no battery which he has trouble getting. Just before this scene, he is told there is a car he can use, but of course he opens the bonnet and there is no battery installed (or, it's just the case, I can't remember).

As to why the lid should be in the fridge? My real-world guess is so all the bits are in one place, but the real reason is likely because the audience will more easily recognize the top of a battery over just seeing the chemicals.
Focus follows mouse is a must have for me, to really make it work it needs to be paired with "don't raise on click".

The next step in the progression to find a more usable desktop configuration is to admit that overlapping windows don't do much for you and go full tiling mode. I will admit of these three options tiling mode has the most chance to break applications. So depending on what applications you use most it may not be for you.
HN has continuously surprised me by the range of opinions, professions, ideas, etc presented. The diversity here is much broader than one might initially assume.
It’s really cold outside, I’m bored, let me play devil’s advocate…

Snap is well-positioned for a comeback.

TikTok is at a high risk of being banned by the US government, and Meta properties increasingly lack any sort of focus and coherent product management. When TikTok exits the US market, by choice or by decree, and when Meta fails to regain user trust and engagement, Snap will be the choice of the burgeoning Gen Z market.

…ow, ow, I think I hurt something in my shoulder, I was reaching so hard there. Ow.
> I think I agree with others here - this isn't a real concern.

I'd argue that the ability for people to copy generic design features from other sites and tweak them according to their preference is a positive thing. People making websites by using designs found on other websites is basically the entire history of the internet. Content is what matters.
So this is basically like building Box for G Suite?
For this to remain true for the indefinite future we must assume that strong AI is strictly impossible. Our scientific knowledge today does not suggest that this is the case.
I used mwm (Motif Window Manager) for about 1 day when I started college. A friend a year older from my old high school set me up with vtwm. I spent so much time configuring my .vtwmrc file

Then I learned you could put an XBM image into your virtual desktop. I used that setup until senior year when bowman and then Afterstep came out. I just loved that NeXTSTEP look.
> if sql was declarative, than the code of the SQL above would be: GIVE ME ALL THE COST OF THE EMPLOYEES --, I DONT CARE ABOUT THE DETAILS

This is exactly what SQL is. There are exceptions, but they're exceptions.

> an SQL query itself (if no structured language used) is just a big function applied on a set.

I don't think you have a correct model of SQL. SQL is a language that expresses definitions, not functions. It is absolutely declarative.

Some extensions of SQL can provide functional capabilities, yes, but they are exceptional.
Let's suppose there was a magic software app that had notified the Service Desk ahead of time. It's magic because only they only got the notifications that mattered.

So what? How would that change anything? Service Desk would send strongly worded emails to... somebody? The Organizational Overmind was already getting warning messages. Daily. There's already a trail of emails and status reports. It wasn't a knowledge issue. It was a "there's no effective direction" problem.
Do these guys know what ByteDance is lol? They started as a tiktok for text (Toutiao) before expanding into video...
Not sure if this argument holds water in 2023, "tech" for example is well behind in Japan.

I guess the world is a more connected place now.

I love the language though so I'm personally happy if it sticks around.
Honestly FM receivers are not much more complicated than AM receivers and are much better. A full superheterodyne is not necessary if you really are in a survivalist scenario. A single transistor is the only non-linear component.

https://www.circuitbasics.com/what-are-fm-receivers/
Shed a tear for how little our industry values conciseness, and then consider:

# Call foo_bar only on the 4th loop iteration to handle the weirdness of calculating taxes for California.

(I've just joined a company where everyone's constantly writing giant docs, and no one seems to grok the idea of a "living doc" that gets edited and refined. I think it's slowly making me allergic to verbosity.)
WebAssembly: Suspending WASM Code for JavaScript Promises
An experimental API that links JS Promises with WebAssembly, and lets wasm code suspend when calling async APIs
A fine example of how twelve years of continuous conservative party rule can gut and drive into the ground what was once a beacon of national health that the world looked to for reference.
So what about the IPFS CAR format? https://car.ipfs.io/, it would fulfill a lot of what I expect from NAR too. NAR or CAR, I don't care, I believe the content is what matters, not the container format.

If I have a box with an apple in it, I don't care about the box, I care about the apple inside. If it's not an apple, I don't want to eat it.
Showtime to Merge with Paramount+ Streaming Service This Year
As a somewhat heavy user of google drive, a better UI and organization system would be worth a boatload. Google docs makes it very easy to create decent docs. Good luck finding them a year later, though.
OpenText Buys Micro Focus (including Vertica)
I don't think there is another fighter in the world that can compete, aside from the F-22 which is so advanced we will never sell it to allies.
They had already implemented a significant part of the solution before the block was announced, as explained by rsc in the top comment on the previous thread a few weeks ago.

Again, arguably this took too long. They certainly didn't communicate well. But that they were already working on it before the block announcement can be easily demonstrated.
This is not the argument they think it is. Dont ship on Friday and that 9 incidents on Saturday goes much lower, maybe to 0. The Sunday count probably does the same. The true cost of shipping on Friday is likely the sum of Saturday and Sunday. This sounds like a directive from management telling them to never stop shipping and they tried to wrap a nice story and some questionable stats around it to make the team think they have it good. Doubt they pay OT for working on the weekend to fix what was broken on Friday either.
Oh, happy to just drill and frack through the aquifer slash water table. How much water does it take to drill?
Do you recall how long it took for Go to get generics?
Why would KDE fragment, if it actually didn't?

Also there are quite some other DEs. Only that there are just two big ones. If one of the big ones would not exist there would be a default one with the greatest market share.

Normal people don't reinvent the wheel when there is no need for that…

There was no need to split KDE. And Gnome exist solely for political reasons. Like I said, look at the history.
Which also shows the right way to delete a private repo if you want people to be able to keep their forks:

If a private repository is made public, each of its private forks is turned into a standalone private repository and becomes the upstream of its own new repository network. Private forks are never automatically made public because they could contain sensitive commits that shouldn't be exposed publicly.

If a private repository is made public and then deleted, its private forks will continue to exist as standalone private repositories in separate networks.

But I agree this is confusing.
Why stop there? The code will become stale, too. Best to not write any of that either.
Surely no senior management would increase the financial burden on a department or branch without also increasing its budget, right? Right?