skysight-inc/HackerNews huggingface dataset:
The Runescape wiki is simply amazing. It’s one of the most well built fit for purpose pieces of quality software+content that I have ever come across. It’s clean and crisp visually and well organized at the IA level despite being exactly the type of content problem that resists such attempts by nature. What a solid community. The software doesn't fell clunky, it’s fast and responsive and still feels modern. I can only assume that’s a testament to the quality of mediawiki. I’m glad that it’s getting the attention it deserves.
WASI CGI is the new CGI. :-)

https://codeberg.org/valpackett/caddy-wasm-wcgi

Sorry, I'll use this rare opportunity to bring up WCGI for Caddy. :-)
It is a Caddy web server plugin that runs CGI applications compiled to Wasm, which includes scripting language runtimes.
The project isn't mine, and I haven't tried it for anything beyond a "Hello, world!".
I think it is a neat hack.
Yeah, at the moment I only have line charts but I can add other charts using ChartJS.
I also think it could be useful to share some initial prototypes with less technical folks.
Best developer website ever? Built-in analytics
With Hurricane Milton looming, Florida's NPR stations went text-only online
People can be harmed by medical procedures when someone does something wrong, but people can also be harmed during medical procedures without anyone doing anything wrong.

Ideally patients would be protected not only if someone made a mistake, but also if they were one of the unlucky people who got a bad outcome from a procedure that is normally beneficial.
Congrats on the launch, UI looks sleek! Is tracking logs available in the free plan?
My gut says there are sharks circling this issue waiting to pounce once this storm passes.
They want to see it gutted so they can strip the carcass to the bone and try to extract rent from half the internet.

Enshittification comes for everything, eventually.
> Also ring binders were a pain in the ass.

My suggestion would be to just turn them around so the spiral is on the right side
Google identifies low noise "phase transition" in its quantum processor
JavaScript is all fun and games until a type confusion bug in V8 allows arbitrary code execution from a simple piece of JavaScript code…
Didn't know about this! Will look into it, one nice thing here is that you do not need "ordering" like in imperative programming when you define your cells.

Is that possible too in Obsidian? Or perhaps it's not useful...
Is this karma for dropping Rust? (please don't explain how Rust actually wouldn't fix this)
Yes they do exists as you say. However in last 30 years or so 90% of small banks are merged into Too big to fail banks.
That's the most straight-forward example of undefined behavior badness you'll find. Things on practice are usually way less intuitive than this (mostly because people notice and avoid writing those straight-forward problems).
I agree. Fake questions are popular in other platform, but they make people angry here, and angry people flag the post. My recomendations is to use a escriptive title like "Habox: Store or share files as easily as chatting".
A bit disappointing that the site itself requires 6.5MB to be transferred.
That's true, and I even considered doing so, but I, for one, already do commission a lot of art. I'm currently sitting in two artist's queues, actually.

I also don't want to commission something for another project. They should get creative control in the process, else it just feels weird.
A woman who revolutionized the fantasy genre is finally getting her due
Yeah, this was my reaction... I wonder if they collect logs of how many people use the triple shift function. I do like GDS' focus on research and service design, but this feels slighly over-engineered from that space.
Looks nice. I wonder how much it costs.
Unfortunately the chain approach breaks down when if you need to `map` to a different type, for example. Go does not allow generic typed methods.
I’m one of the folks whose fans go wild. Are they running crypto?
> Just write:

if key not in table:
return default_value
value = table[key]

I think this could/should be shortened to

value = table.get(key, default_value)
...
return value

No?

In case you disagree, I'd be happy to hear your thoughts!
I thought the problem was the hefty upfront price to pay for loading the runtime.
I think they have a financial asset risk situation and they're shitting bricks. That is why they are panicking and doing pointless things such as these which actually harm awareness of their games.

Case in point: there's a new zelda out and nobody seems to be playing it.
Even with the relatively strong tooling for 2D art it's still very difficult to push the generated image in novel directions though, hence the heavy reliance on LoRAs trained on prior examples. There doesn't seem to be an answer to "how would you create [artists] style with AI" that doesn't require [artist] to already exist so you can throw their life's work into a blender and make a model that copies it.

I've found this to be observable in practice - I follow hundreds of artists who I could reliably name by seeing a new example of their work, even if they're only amateurs, but I find that AI art just blurs together into a samey mush with nothing to distinguish the person at the wheel from anyone else using the same models. The tool speaks much louder than the person supposedly directing it, which isn't the case with say Photoshop, Clip Studio or Blender.
pay an artist $20 to draw something for it

Where are you finding skilled graphic artists willing to do a project like that of $20? Having hired freelance graphic artists for projects for work, even the smallest things costs hundreds of dollars.
> But if someone steals your car, the government won't put $30k in your account for a new one.

I understand your point and get that you didn't say this to argue with what I've said. I just want to emphasize that the situation here is different.

Here, though, we have a situation where people who are significantly harmed medically try and find malpractice even if none occurred, and juries are usually sympathetic. The consequence is medicine has become a much more defensive and adversarial system.

I'm sure that an effort to insure for morbidity from bad outcomes will cause fraud, but it might also save a lot of malpractice litigation costs and reduce the amount of resources spent on defensive medicine, too.
No thankyou. I will stick with a human that is not full of sensors uploading data to leaky clouds and selling or sharing sensor data. Make that a closed, on-site, entirely non-networked that is running in my home then maybe I would consider it if it was 100% open source hardware and software that I was encouraged to tinker with and it never at any pointed was able to upload even a single bit of data. If I want to share the data then it needs to provide a plain text file using only alpha-numeric characters that I can move to an isolated printer.
Interesting effort.. I'd just spin up a Jupyter Notebook instance, but hey.
prisoner’s dilemma is a dilemma for a reason: it optimizes the total outcome badly. maybe this is why the pessimization of the modern business cycle everyone loves to cry about always works out that way — we’re all interacting in a commons where trying to screw everyone else as hard as possible is the rule, not the exception.
"There are only two kinds of languages: the ones people complain about and the ones nobody uses." This is a famous quote from Bjarne Stroustrup in defense of C++. Source: https://www.stroustrup.com/quotes.html

IMO, it's ironic to see Rust proponents using his quote in defense of Rust (and not crediting him).
A friend's young son asked him how people got online back in the days before computers were invented.
Likewise, no third party is entitled to loading resources on my computer or displaying content on my screen without my permission.
So is .net
This is called "extend and pretend." It's what's happening now with office loans.

Conversely during the GFC the Obama administration put a plan together to allow people to get their loan terms adjusted (write down). The plan was very long, bureaucratic, and difficult to follow. Nearly everyone who attempted to use the scheme failed to successfully complete it and receive the write down.

When asked about this, an administration official explained that the plan was never designed to give homeowners relief. Instead the purpose was to dangle a carrot in front of their nose to get them to struggle and sacrifice to continue to make full payments as long as possible so that the banks didn't have to take losses as quickly.
Jeez so many people sign up for that?? I'm surprised.

I tried one of the telegram chatbot "girlfriends" posted here but I wasn't impressed. Not sure why you'd want it. And I'd only run it locally anyway.
GP specifically called out (Swype-style) slide-typing, which is indeed not in the AOSP keyboard.
Real-world performance: not enough to be measurable, certainly remotely enough to make up for the time we lose to debugging.

But no-one cares about real-world performance, people pick C and pick a C compiler because they want the thing that's fastest on artificial microbenchmarks.
> Jolla/Sailfish make a mobile operating system with a handful of people

My biggest question is how long they can stay at a handful if they become popular. The increased burden of security patches alone would likely turn that handful into a small army.

Security through obscurity is often mocked (for good reason), but it actually does work in cases like this as long as you don't reach Android's scale.
As far as I can tell, almost nobody, whether engineers, product owners, sales people, or sometimes even executives, has a firm grasp on how a company creates value for its customers. Sometimes this is because the company destroys value instead and everybody’s trying not to know it. But even at productive companies that should be proud of their products and services, most people can’t explain how the business works.

This is bad. If you know why you’re making money, it’s a lot easier to make the right decision.
> Well-designed automation should look like a funnel, rather than a subway map.

Do you have any examples of this? Like an example project?

> never target automation of 100% of incoming workload. Ever.

A new product owner came in last year and wanted to "automate everything". They wanted a web page where builds, branches, commits, and more were all on one page that showed exactly which commit was deployed where, by whom, etc etc. They wanted this extravaganza for a 2-person application that was in maintenance with no new features.

They're also the kind of person who consults chatgpt or copilot on a subject while you're explaining that subject to them, to check that the LLM agrees with what you are saying. They'll even challenge people to prove some copilot output is incorrect. It seems to me that they consider LLMs more reliable than people.
Sure, and if you find one of those, you can trade it in for $25k or more [1]

[1] https://bughunters.google.com/about/rules/chrome-friends/574...
Their iOS app for Gboard has been abandoned for more than two years despite frequent crashes. I've tried to move off of it multiple times, but nothing yet seems to match its swipe to text or autocomplete/autocorrect suggestions.
I don’t really care about Chrome or Android. Sounds like helping Chrome and Android has nothing to do with the acceptability of a near monopoly.
But it's not a web browser? It now seems to use Tauri just for UI and do the actual rendering with mpv.
The article is about origins of a quote and has variations on the numbers.
1,000 vs 1,000,000
100 vs 100,000,000
100 vs 100,000

More than smart-ass quotes, I'm curios about these sorts of flips in risk/value in a general abstract sense. What is this sort of thing called? What are examples on other domains beyond lending?
The Tech Coup: How the Unchecked Power of Companies Is Destabilizing Governance
Exception: high up moves

They work the way they work because the people want to work together. The motivation is not a one time bonus. It is working with people you want to work with and who want to work with you.

A lot of people are not the kind of people other people want to work with. That’s what happened to their careers,
> Eventually, in 1994, the economist Lant Pritchett discovered the most powerful national fertility predictor ever detected. That decisive factor turned out to be simple: what women want. Because survey data conventionally focus on female fertility preferences, not those of their husbands or partners, scholars know much more about women’s desire for children than men’s. Pritchett determined that there is an almost one-to-one correspondence around the world between national fertility levels and the number of babies women say they want to have. This finding underscored the central role of volition—of human agency—in fertility patterns.

I want to draw attention to this specific quote, because it gets to the root cause of the depopulation situation. Fertility rates are aligning to desired fertility of women, and while this perspective might seem dated based on the 1994 date in the quote, I believe there is substantial evidence that this thesis still holds true today (citations provided in my comments in the subthread below).

If this is indeed the case, and population decline is truly caused by aggregate intentional choice with regards to reduced/lower fertility, it is unlikely this (if one considers it a challenge) can be solved for by increasing fertility rates via policy. Therefore, humanity should attempt to forecast the future, and plan mitigations and contingencies around the fact there there will be less humans and labor in the future.
Not sure about entering houses, but a friend’s 5 year old just got bitten by a stray dog on the stomach during a month stay in India, she had to go through a course of rabies shots in the stomach.
Even today you "just" need qualify for slightly premium accounts - top ~2% or so will qualify at some banks - to get a named contact person at the bank you can contact, but of course at that level they still have far too many accounts per person to actively manage anything.
> I can only assume that’s a testament to the quality of mediawiki.

I was curious about this so I poked around both and I think I disagree. Both load very fast for me and are snappy and look pretty nice. The one difference is that the Runescape wiki has a single ad in the sidebar or at the bottom, below the content footer. While the Fandom wikis have 3+ ads, far larger, one of which covers content until interacted with (like being closed). For me, Fandom's ad approach absolutely falls within "offensively bad," while the Runescape ad approach reminds me of early 2000s, "here's an ad to pay the bills. We've tried to keep it well out of your way."

So I'd opine that it has less to do with the quality of mediawiki, and more about how much money both Wiki hosts are seeking to gain from the existence of these resources.
It does: https://valibot.dev/guides/optionals/#use-in-objects

import * as v from 'valibot';
const OptionalKeySchema = v.object({ key: v.optional(v.string()) });
type t1 = v.InferInput<typeof OptionalKeySchema>; // { key?: string }

const UndefinedKeySchema = v.object({ key: v.undefinedable(v.string()) });
type t2 = v.InferInput<typeof UndefinedKeySchema>; // { key: undefined }
VAT (and sales taxes) are absolutely paid by the company, not by the consumer. I as a consumer don't need to keep track of my purchases and pay VAT on them at the end of the month or year. Companies instead keep track of their sales and need to pay the associated VAT to the state every month.

And the final consumer of a good can also be a business, in which case VAT is still paid for that good. For example, if you buy a company car for use by your employees, you can't get back the VAT on that purchase (only if you buy a car to sell it on to someone else can you get the VAT back).

And, of course, given that consumers make purchase decisions based on the nominal price of a good, which includes the VAT, the market price of a good will depend on VAT as well. If an increase in VAT risks to push the price so high that demand decreases, companies can choose to reduce the price before tax so that the final price is low enough not to affect demand.

So, again, VAT is essentially a tax on all sales revenue a company makes. It's true that it doesn't apply to other sources of revenue.
The search worked for me to find a single app I needed when I was setting up a single-use tablet recently, but I haven't used it hugely beyond that. YMMV
Here's one: https://github.com/szmcdull/glinq It doesn't do function chaining though.
Well, if domain names change, then those people will have to change configurations. But is that actually a huge problem? If so, then it would be a good opportunity to fix things so changing in the future is easier. Domain names do change sometimes, after all.
Show HN: B2B Tool to Target Startups with VC Money
Isn’t it normal and human to be sad about someone’s passing, even if it’s expected?
> Can the C compiler really optimize foo to always return 0?

Yes

> That seems extremely unintuitive to me.

C compilers are extremely unintuitive. This is a relatively sane case, they do things that are much more surprising than this.
No, because in practice that "wait until" operation will act as a memory barrier. The obvious one is a function call. Functions are allowed to have side effects, one possible side effect is to change the value pointed to by an externally-received pointer.

At lower levels, you might have something like an IPC primitive there, which would be protected by a spinlock or similar abstraction, the inline assembly for which will include a memory barrier.

And even farther down still, the memory pointed to by "x" might be shared with another async context entirely and the "wait for" operation might be a delay loop waiting on external hardware to complete. In that case this code would be buggy and you should have declared the data volatile.
I think that similar arguments were made about Ma Bell and Bell Labs back in the day. And it's true, a lot of great things did come out of Bell Labs.

In fact, it almost seems like the only people able to produce great things in the 1970s were massive entrenched corporations like Ma Bell.

Funny, that.

Come to think of it, wasn't there a much more vibrant browser ecosystem in the late 90s and early 2000s, before Google used its dominant position in the ad market to undercut the competition? There used to be a lot more mobile operating systems out there, too.

I wonder what happened to all that competition? It's almost like some sort of massive anti-competitive influence came into force in the tech scene somewhere in the 2000s. . .
Very cool. I've always thought there's a lot of untapped potential in literate programming [0].

There are lots of reports and documents that should be this instead of static Word files.

[0] https://en.wikipedia.org/wiki/Literate_programming
These things come with a dedicated keyboard?? TIL...
What you're describing is why Google is willing to sink money into Chrome, and you're right. But that doesn't mean that Chrome can become a viable independent company.

Chrome synergizes with the rest of Google's portfolio.
Right, something that's potentially difficult with Jupyter is sharing something that looks nice with non technical folks where they can easily change values and see the result change immediately without having to execute cells.
The Reverse implementation seems off to me -- it runs through the iterator twice, once collecting into a slice, and then a second time filling the same slice in reverse. (So basically the first Collect call is only being used to find the length of the iterated sequence.) I'm not sure about Go conventions†, but I imagine it would be considered better form to only run through the iterator once, reversing the collected slice in-place via a series of swaps.

(† Are iterators even expected/required to be reusable? If they are reusable, are they expected to be stable?)
I assume that Fandom pays Google for that placement
That IA was simultaneously breached and assaulted with DDOS attack is unusual. I do not recall any service simultaneously experiencing both kinds of attacks as they are very different.
Tenno is the name of the faction in the video game Warframe the player characters are comprised of. Just want to point that out.
> Costs nothing to host, but then you need to train every user, which demands time

It's more than that - imagine that marketers want a contact form on such static site, well nice, you can add that easily. But now there is a lot of spam coming through, okay that can be dealt with. Now they want to have multiple, editable forms. And Hubspot integration, and analytics integration, and now one of forms needs to be 2-step, another needs to have dynamic part shown/hidden based on conditions. etc etc
All of that is already solved issue in the Wordpress world - one can pick proven and tested solutions from multiple vendors and deliver results.

And that is ONE component, form - sure it can be replaced with some 3rd party embedded widget but that never comes without hidden costs/annoyances. There are multiple components similar to used "form" example
Which ones aren't under his control? HR? Legal? Because no sane person would be letting him do this
Before Murati’s exit from OpenAI staff grumbled o1 had been released prematurely
Tmux as a ClusterSSH Alternative
Try editing anything on a Fandom wiki and that's where the real differences in experience comes from.

Fandom makes it extremely difficult (nigh impossible) to do something as simple as access the page of an image asset.
Perfect response. I'm chuckling, so thank you.

What's also humorous to me is this entire discussion is centered around vernacular usage of a word versus the scientific definition. Cocaine is cocaine, but "cocaine" means different things to some people and not to others.
I fully understand YouTube on this. Banning promoted/sponsored segments would be censoring the creators. Practically it's also too difficult to draw a line.
There is no spoon.

Put it another way: serverless and stateless don't mean what you think they mean.
https://archive.is/1VzhT
I've been using this for a couple of days now, love it!
This post does need more upvotes..!
Who are "they"? How did the complaint move forward? I'm Indian and seen too many cases of this and the bad guys always win.
What I'm saying is that HN reflects the current mood and interests of silicon valley, and silicon valley has a very strong tendency toward fads. Right now, the fad is AI.

I'm not saying AI will go away as a topic. I'm saying that AI stories won't always be so dominant on HN, because sooner or later (likely on the sooner side of later), SV's hype train will move on to something else. Then the people who aren't so interested in the new fad will be complaining about how stories related to it are too dominant on HN.

Cryptocurrency is the last great example of this. The hype train has moved on to AI, and crypto isn't the the Hot New Thing anymore. So stories about it don't dominate HN anymore. Crypto stories still appear regardless, but at a more reasonable rate.
The big conceptual difference is that Flash, ActiveX etc allowed code to reach outside of the browser sandbox. WASM remains _inside_ the browser sandbox.

Also no corporate overlord control.
This was my first thought, probably will make searching stuff difficult.
Not punk. Punk is about being bad at your instrument and looking ugly and being the underdog and still creating a community. When Dookie came out, every highschool and college kid was lined up to buy it, it had constant airplay, and was blasting in every classroom and dorm room. That's not punk: that is 100% mainstream pop. Which is Green Day in a nutshell. Commidified dissent x100.
Factorio and Rimworld have amazing wikis as well. And they're both maintained by the developers AFAIK...