skysight-inc/HackerNews huggingface dataset:
A big drawback, and what killed many of the original forums, is spam management and maintenance. It's a very lucrative target to attack for two reasons. Popular public forums tend to be very central in pagerank, so if you manage to post comment spam, that's a big win. Forums also act as large databases of usernames and (maybe) hashed passwords, so if you manage to find a vulnerability in the software, you can sell those for decent cash.

This means that forums are always under attack on multiple fronts and require time consuming moderation and maintenance around the clock.

Centralized solutions like Discord and Reddit can use economies of scale to tackle the problem in a much more cost-effective way.
Tip for anyone looking to spend seven-figure or more sums on one-time egress: Direct Connect egress is $0.02/GB. Rent a rack at a Direct Connect facility and get as many 10G fiber Direct Connects as you need, with corresponding flat rate 10G Internet ports with HE/Cogent/whatever transit provider. If you're going to be spending millions on egress, you could just hire someone to set this up for you. With that kind of spend you'd be crazy to pay the full $0.09/GB.

Edit: Note also that Snowball egress is $0.03/GB. Slightly higher egress, much lower setup cost. You'll have to do the math but they're both clearly attractive options vs. full price $0.09/GB egress.
"You can't reason a person out of a position they didn't reason themselves into." -- (who knows? This quote is attributed to lots of people)
The short answer, as this story shows, is no.

The non-programmer gave terrible prompts and didn't know what to do with the answers. This just demonstrates that coding any real app is still a job exclusively for humans and will be for some time.
Nearly all displays are incapable of accurately representing colors at high brightness (L=100) levels. You can clearly see the sRGB gamut is quite narrow within the CIELAB color space at (L=100). The CIELAB color space represents all colors perceptible by humans in daylight. https://en.wikipedia.org/wiki/File:SRGB_gamut_within_CIELAB_...

It is clear that higher brightness levels worsen color volume (cubes at the bottom of page 4) https://www.researchgate.net/publication/323273667_Color_vol...
So, like context managers in Python, except you only have `__exit__` and not `__enter__`.

What's missing from the article is the semantics when there is an error. In Python, `__exit__` is always called (with the exception as param), but depending of if you return True or False, you reraise or not the exception.

Anyway, it's a useful addition.

While you can craft an API with this behavior in JS by accepting two callbacks, it's nice to have a standardized way to do it. Plus making it an official feature will encourage the pattern, which nurture the culture for better API.
If Apple's trademark conflicts with an older established trademark, shouldn't the older one win, and therefore invalidate Apple's trademark? I would strongly support a law that automatically invalidates trademarks when abused for silly nonsense like this. Give the big corps something to lose.
Is the "normal white" toned down to reduce eye-strain?
They say that there are two kinds of motorcyclists: those who have had a crash and those who will. I've been riding for 10 years now and haven't had mine yet, thankfully.

But I get unreasonably annoyed when people who don't ride, or are very new to riding, parrot statistics about rider injury and mortality rates compared to cars and essentially wag their finger in smug disapproval. The reality is that the "dangerousness" of motorcycling is nuanced. You are not simply X times more likely to die on a motorcycle than in a car, there are a whole host of factors involved, like: Did you take a safety class? Do you look for opportunities to improve your safety? Is your bike well-maintained? Did you inspect it before riding? Are you completely sober and awake? Are you stressed or worried about something? Are you wearing your helmet and gear? Is your gear reflective and/or bright? Do you typically ride along in your own little world or are you constantly scanning your environment for danger?

Around here, the two most common kinds of riders are pirates (on Harleys) and squids (on sport bikes) tend not to worry about trivial details such as these and both groups represent motorcycling quite poorly in the safety department. They generally don't wear helmets (or any riding gear at all), tend to have obnoxiously loud exhausts (which don't save lives), and are attracted to motorcycles as a means to achieve a certain kind of personal image and/or to fit in with their desired peer group.

There is a third, smaller group that believes you don't have to sacrifice much fun in order to get quite a lot of (relative) safety. I like to think I am part of this group. I would love to see some research comparing motorcycle-related injury rates, taking into account more factors than just, "was the vehicle a motorcycle or not?" I suspect that a safety-conscious rider is not THAT much more at risk than the average car driver. (Accounting of course for the fact that riders are not surrounded by a strong steel cage.)
You're telling it through the `using` statement?
Map of Orcas Vessels Attacks
Views of data. Very smart. I should find time to try this too.
So this is the trick that Facebook was using to make videos stand out more in the feed? I've noticed they are darkening rest of the page a little, but didn't know this also bumps backlighting brightness.
"I already have an account there," is a much more powerful force than some realize. Signup fatigue is real, and a lot of people will just hit the back button if it turns out they need to register a new account to participate.
The Mystery of the Disappearing Risk Premium
Stop learning SQL, you can just use English
> Next-generation perovskite solar panels are 50 per cent cheaper and 50 per cent more efficient than traditional silicon cells
> An application using Qt Commercial must not communicate with any another application using Qt LGPL-3.0 or Qt GPL, if both applications run on the same device. This is more restrictive than GPL.

https://embeddeduse.com/2023/01/06/using-qt-5-15-and-qt-6-un...
Like anything it depends what you're building. If you're just making an app that's basically a WebView, or a game using a cross platform engine, you will not find much that is specifically creative about Android development.

Android offers a huge and open api surface, and you can replace many user facing parts of the OS - alternative dialers, launchers, etc are fair game. There are fewer bounds on your creativity than many other platforms.

Android also offers an enormous variety of hardware, which includes very low spec affordable devices. Getting good performance on these devices requires effort put into efficient software design and an optimized implementation, and that constraint makes programming more enjoyable for certain types of people.

I've been developing for Android for about 11 years. Like all platforms there are bugs, there's legacy code, not every task you do is equally intellectually rewarding, but I've stuck with it because it's fun and I'm always learning new things.
Newcomers are also different. Some are actually experienced vs some are real newbies.

I’m wondering how could learn from games, making the content also adaptive to user levels/experiences.

It’s prob also the key agenda in education.
They aren't structural because the following doesn't work in C#, but would work (with tweaks to make it valid code) in a structurally typed language such as TypeScript:

var transformed = media.Select(m => {
var parts = m.Split('/');

return new {
addedAtUtc = "2023-05-15T05:59:31.398Z",
originTripUid = parts[4],
path = $"{parts[4]}/{parts[5]}",
rank = "",
size = 103978,
stored = true,
type = "document",
};
}).ToList();

transformed.AddRange(otherMedia.Select(m => {
var parts = m.Split('/');

return new {
addedAtUtc = "2023-05-15T05:59:31.398Z",
originTripUid = parts[4],
path = $"{parts[4]}/{parts[5]}",
rank = "",
size = 103978,
stored = true,
type = "document",
documentType = parts[6]
};
}));

Adding "documentType" breaks in C# but would work in a structurally typed language as a structural type checker can see that the second result fulfills all of the necessary properties. Doing this in C# would require creating an interface and being explicit.
"Show HN: Answer Overflow – Indexing Discord content into the web"

https://news.ycombinator.com/item?id=36383773 ( 19 hours ago )

Should've asked for a million dollar...
I don't know about discord, but the "economies" of scale for reddit were mostly to let the users do it, no? They didn't really develop (powerful) moderation tools in-house, and don't really do much moderation themselves. So I don't see why that shouldn't replicate nicely to multiple public forums.
I think it's worth actually looking at the link. The four freedoms and copyleft are explicitly in there and the copyleft licenses are at the top.

He's arguing that the messaging is messy, not the message.
You're never going to "teach a man to fish" on how to keep his one, mostly-reliable, tube type radio going. You can teach him to switch tubes, but eventually it's going to get more complicated than that, and you can only get so much experience from a touch of help every few years.
Bad decisions are evaluated & weighed, and often documented. I love the assumption that the RISC-V team is both infallible and immune to bias.
Sadly they're still called McDonalds here.
Thanks! Yes that example is subtly different.

I did also click through to the proposal but didn't see that issue. It does seem like it's still unclear what's intentional or not.
When do you need ip addresses but no sockets?
I wouldn't want to hold stock in such a situation. His ability to influence the business positively and therefore increase the return on his stock is limited.
> where the brain fills in missing frames.

The optical data rate is much lower than required, the brain makes stuff up almost all the time.

(ChatGPT is just trying to catch up.)
https://cloudflare-ipfs.com/ipfs/QmbpRxBZ5HDZDVRoeAU8xFYnoP4...

IPFS gateways may be subject to takedown requests, I don't know. But unless no node has it pinned it's unlikely to ever actually disappear.
This can't happen more often than not, because the client has no idea what a pentest is. They don't even know what a is XSS means, or even API. These things are negotiated by people that only can see the frontend, and if it looks great, _snappy_, _flashy_, with random animations and following current trends it's OK. The contractors know and can easily detect this, so they focus on frontend and don't waste their time in behind-the-scenes polish. You don't polish the security or find a costly query that could bring the site to their knees, but you add a scroll-spy that brings some images from nowhere.
I'm not quibbling about what state is - the author is very much confusing Nix with something like a control-loop based approach that converges on the desired state by examining the current state. Regardless of your definition of state, that's not what Nix is.
That was submited about a day ago https://news.ycombinator.com/item?id=36378496
Ask HN: What are your tips for working offline?
Can you share your tips/hacks/ideas/gadgets for offline work?

I currently work from a van (a 13" laptop, mobile data unlimited plan, 175 Wp solar panel and 180 Ah battery) but tips may be relevant also for working from a remote cabin, a boat, while travelling, during blackout, ...

Here are some examples/hints:

Hardware: a durable external monitor, VR headset, portable data storage, Starlink, laptop stand, ...

Software: tools for saving energy, offline documentation, low consumption OS, ...

What helped you to be more effective while working offline?

Any particular skills to hone?

Relevant: https://100r.co/site/working_offgrid_efficiently.html
Hey, you know what sounds fun?

Lets go fishing in East Palistine!
> A big drawback, and what killed many of the original forums, is spam management and maintenance.

It's also what's killed comment sections on a lot of blogs. Nobody wants to have to either periodically clean out spam or go through a queue and approve comments.
C# doesn't allow you to destructure a single property and as far as I can tell based on a quick test it doesn't allow you to combine a using declaration with destructuring. I agree that this is surprising syntax... as a C# dev my first interpretation of that code would be that connection is the thing being disposed since it's the variable being declared. I wonder if js/ts destructuring has always silently held a reference to the containing object or if they added that behavior to make this use case work?
FHS makes it more similar, but not compatible.

I'll quote from my blog post linked above:

> Different distributions make different choices, and therefore they are closely related operating systems, but not a single OS. Even Linux syscall interface subtly changes from distribution to distribution, as they pick and choose options to build their kernels.

> Every niche Linux distribution that does not follow the interface of a larger one is a unique OS, closely related but not compatible with other Linux OSes. This means the applications have to be ported.

> Application developers have to choose what targets their applications support. With Linux distributions being just a blip on the graph of operating systems popularity, the application developers may not invest significant amount of resources into porting and testing.

Basically, NixOS = zero QA effort from application developer -> nothing works.
C# had only block based using for a long time. It made a lot of code unreadable because the using statements introduced a ton clutter. The newer syntax is way better.
The Royal Academy covers every dialect of Spanish and their lexicon it's composed of all the Spanish language words spoken from Mexico to Patagonia among Iberia.

It's dictionary has nearly every Spanish term registered, no matter which side of the Atlantic you choose.

RAE doesn't dictate which dialect of the Spanish it's the "correct" one. Every Spanish language subdialect it's the correct one.

For instance, the spelling of z/c before a-o-u/e-i as either /s/ or /th/ depends on the dialect you choose.
https://dle.rae.es/c
Show HN: Chat about your dreams with AI
wasn't that the goal from the start
It's essentially the exact same thing as the using statement in C#, so if you search for that you should be able to find more info.

But as to your question "Could anyone here help me understand a more robust example where `try...finally` just won't work", using is just basically syntactic sugar for try/finally, but I'm very much in favor of syntax that gets rid of lots of verbose boilerplate that can obscure the real purpose of your code.
RAII doesn't work with a (non-refcounting) GC is the issue: when the scope ends, you've no idea how many references there are and which of these are live.

With static typing you could opt into affine or linear types and those could get special cased by the compiler (to ensure a single reference is possible, and trigger the drop in case of affine types), but first you do need static typing (that's not javascript), and then you need to update the entire language to correctly handle the new affine or linear behaviour.

And that can lead to a lot of weird shit with languages not designed for that (especially linear typing).
That is a great answer, thank you so much!
> Following a protracted back-and-forth between both parties, the IPI partially granted Apple’s request last fall, saying that Apple could have rights relating to only some of the goods it wanted, citing a legal principle that considers generic images of common goods—like apples—to be in the public domain. In the spring, Apple launched an appeal.

And the worst part is that Apple is wasting tax-payer money around the world with this kind of mitigations. While it avoids paying taxes, illegally for sure but difficult to prove, it wastes money that could have spend in public education or health care. Apple is so big that it becomes pure cartoonish evilness without even trying. It is time to break up all these monstrosities.
No, posting YouTube videos shouldn’t mean you can be forced to do things you don’t want to.

Ridiculous.
Sorry if this came off as a protest. It is not a protest. Maybe I am overthinking this but creating this page (which is a great idea) and then have a link from it point back to sourcehut (which is an open source business of yours IIRC) seems a bit off. It wouldn't be a lot of trouble to disclose the connection between the author of this page and the owner of sourcehut, would it? I think it'd be nice to do it so that it does not look like you are using the agenda of promoting free software to also promote your own open source business.
Was bankrupting businesses a problem for Donald Trump?
“It’s 20% brighter, isn’t it?”
Interesting. I sort of did a similar pattern in some of my code (https://github.com/bhouston/threeify/) but just with existing TS capabilities:

export function using<T extends { dispose(): void }>(
resource: T,
func: (resource: T) => void
) {
try {
func(resource);
} finally {
resource.dispose();
}
}

// usage
using(new Resource(), (resource) => {
// insert code that uses the resource
});
Because another supplier will happily agree to the "riskier" terms. Competition baby.
it's both possible and likely, depending on what you mean by extreme - doubt much is going on in the mantle or the core.
If your LED light doesn't last 50,000 hours you got a bum light. The frunk of an EV is far more useful than being able to replace something that should last longer than your car does.
The proposal[1] explains several cases where try…finally is verbose or even can result in subtle errors. The upshot for me is that this feature adds RAII to JavaScript. It makes resource management convenient and more maintainable. Seems like a no brainer to me.

[1] https://github.com/tc39/proposal-explicit-resource-managemen...
I'm no expert, but my understanding is that past a certain point in history, the life that could thrive depended on an environment that no longer exists.

For example, the Great_Oxidation_Event (https://en.wikipedia.org/wiki/Great_Oxidation_Event) that killed off many anerobic organisms. So there are still pockets environments that can support such anaerobes, but they are rare.

Many Archaea (https://en.wikipedia.org/wiki/Archaea) are inhabitants of extreme environments - the extremophiles - but are they the same organisms as the ancient life here, or also relatives?
This appears to be the vessel in question:

https://oceangate.com/our-subs/titan-submersible.html

Pressure hull made from titanium and carbon fiber, capable of diving to 4000m (13,000 ft).

I recall that one reason SpaceX switched from carbon fiber to stainless steel pressure vessels (fuel tanks) was the difficulty of detecting structural flaws.

Can any engineers comment on whether that task is easier for a vessel exposed to compression (under sea) as opposed to vacuum (space)?

How likely is a catastropic failure due to undetected flaws in carbon or composite (carbon + Ti) structures like these?
Makes me wish for an extension that would temporarily - for a few days or weeks - cache everything you see under a given URL[0], and 1) tell you if the content changed since your last visit, 2) allow you to browse history of versions, and, importantly, 3) diff entries in that history.

Plenty of times I had a vague hunch the page said something slightly or perhaps entirely different just minutes or hours earlier, but have no easy way of checking it. Even if I have it opened in another tab, most likely the browser already decided to unload the content and reloads the page when I try to view it.

Bonus points if it could sync across devices - e.g. between phone and desktop using Firefox sync. Even recently, I had a situation where I was convinced someone edited their HN comment to say something 180° opposite to what it said earlier, in the 30 minutes between me reading it on a phone, and then reading it on a desktop later. Of course, the phone tab unloaded itself long ago, so I have no way of checking if it indeed happened, or was it just my brain misreading it the first time...

--

[0] - +/- ignoring or employing some workarounds for SPAs that don't update URLs when the page content changes, or don't even use URLs to locate content in the first place.
FYI there is no such thing as a general purpose quantum computer. All quantum computes are special purpose.
Seeing a tweet like the one from Mitchell makes me want to try Nix. Or at least I want to want to try Nix. Then I read the comments here and am reminded that no one can even succinctly explain what Nix is. I've read dozens of comments here and I still don't have a clear idea!
Perhaps it's a bug in the front-end?
I toyed with this syntax a few years ago: https://gist.github.com/davidmurdoch/dc37781b0200a2892577363...
Oh no, I was finally enjoying Plasma 5
Why not do both? Get another job AND get back some income rightly owed you by a previous employer.
Thanks for that. The worker in the article doesn’t say that a foreman forced her to work without a break explicitly:

> Cruz, 46, said she had not been able to take a break all day because of the pressure to finish the job

The article also links a report I can’t download due to too many redirects so I’m not able to determine how many workers were surveyed etc
No, it literally explains it at the top of OPs link
I've only had one scenario where I actually needed something like this (and I don't know if the `using` proposal helps). I have a library (Prolog interpreter) that uses a Wasm module originally written in C, so I have to manage the memory manually. If users iterate through or close a query (e.g. with `for await`) it's fine and cleans itself up. But, it's possible to to create an AsyncGenerator, never call .return() on it (which won't run the `finally` block), and have that reference garbage collected. I used a finalizer on a local variable in the async generator to work around this :)
IRC has been heavily wounded by the Freenode implosion, which was for a while the last big public IRC network. I think a lot of types of people who would once have promoted IRC over Discord are now on Matrix instead as a result.

Usenet requires special software and often subscriptions, whereas Reddit doesn't.
It's puzzling. Discord is for real-time chat, not static posting/branching.
Completely different in my eyes.
I know why bosses/owners want it. I'm asking why a commentator is advocating for it
Honestly, that seems clever, I like it!
For the record, there is a place called Apples in Switzerland : https://en.wikipedia.org/wiki/Apples,_Vaud
The lack of very obvious attribution or association in the website copy from @sircmpwn is a little odd. The very-subtle-is-it-even-clickable circle top-right is the only indicator.

Otherwise this looks pretty good (though my first impression was "who is this? why should I read it?" so it took me a while to get into it) - I'll definitely be sending it to people; it's clean, tidy & straightforward.

One nit-pick: the term "free software" is often understood to be narrowly defined (copyleft), so including permissive licences is tricky, though they're at least described AFTER the copyleft section, which is nice.

Although... is MPL copyleft???
In philosophy everything can be anything else if you muddy the waters enough.

Concept of choices as actions reaffirming values doesn't sound like existentialism, if only because it's simple and clearly stated while existentialism has things like that to say about choices: https://plato.stanford.edu/entries/existentialism/#AnxiChoi
I'm on Feddit UK (https://feddit.uk/) as I realised that my primary use of Reddit was for the UK-based communities (DIY UK, UKPersonalFinance, Ask UK, UK Politics, Casual UK etc.)

It feels a bit sparse at the moment, but I'm hoping it grows steadily and not too much! :)
Social Turing Game matches you with an AI or another player