skysight-inc/HackerNews huggingface dataset:
This was grey-downvoted, but it's correct: Win16/32 MessageBox() modals are not resizeable.

Not only that, but window resizing was something that had to be implemented for each window, so lots of applications had unresizeable dialogs and only the "document" area was resizeable.

Even worse, the use of pixel positioning meant that nothing was scaleable. High-DPI display? Choose (a) not being able to read anything or (b) bad linear rescale by a limited number of scales.

I too am a fan of the simplicity and clarity of the old Windows UI, and Microsoft haven't really managed to improve on it, but let's not pretend it doesn't have serious limitations.
I'm not sure about noe but for a very long time Adobe Photoshop did not support complex bidirectional text.
Unfortunately you can't use the sugar-in-honey tests on this page if the honey is already integrated in processed foods. At least with most processed foods - I might just try these on one of those yogurts where you have separate honey (?) to pour into it. Then again, if it's not "real" honey, they have an obligation to mention that in the ingredients list, so looking at that should be enough...

But yeah, I was also thinking "if people really have to do these tests themselves, something is going seriously wrong".
Pubs can be nice places to go to without needing to drink alcohol. In Britain there are some fantastic pub buildings and gardens.

Personally I meet many of my friends in pubs and the alcohol isn't a factor at all. We manage to have deep and meaningful conversations often.
Webinar: Turning LangChain Agents into profitable startup
You do miss out, but of course the value of what you miss out is nothing compared to the devastating consequences to their life that practically everyone using heroin experience.

On the other hand, many people drink alcohol and live perfectly normal lives. So I don't think that's an informative comparison.
For what it's worth I was a teetotaler for religious reasons till 18, they I drank through my 20s (usually 1-2 beers in pub with friends, on weddings etc I drank wódka pretty heavily cause I'm in Poland, but that was maybe twice a year thing). I stopped again in 30s for health reasons (unrelated to drinking).

There isn't much difference IMHO. Most people don't care if you drink. The single biggest issue is dancing without alcohol, but I managed in high school so I'm fine now.
There is a "mock location" feature in developer settings. As I understand it, you download an app that provides "mock location data" and select it, then it will provide mock locations in whatever manner it was written to do.
Doesn't Rust with WebAssembly require any JavaScript to run?

If not, can you show me a webpage that uses WebAssembly and doesn't contain any JavaScript?

If yes, what is the advantage over just compiling to JavaScript?

> However, not only will this be fixed in browsers at some point,

This has been promised for several years, and is still nowhere to be seen.

> yew.rs, a mature wasm framework, is faster than react.

Being faster than React is not a high bar.
From reading the comments here, it would appear the problem is sending out position updates to all the clients. If each client is on a TCP connection, this will end up being a problem as each movement causes everyone else within range to receive a message. If everyone is moving, that's a heck of a lot of messages everyone is getting. Not only that, everyone needs a copy of the message in their TCP pipe, one at a time, sent from the server. So it quickly explodes. I guess you can think of it as O(N) clients each causing O(N) messages to go out, so it explodes quadratically.

This isn't likely what I'm about to suggest, but you could move to a broadcast type system where you have some sort of UDP broadcast where you simply tell everyone about all the movements, and a alternative negative-ack channel where clients can ask for missed broadcasts. That way only O(N) messages are sent (the magic happens in the network devices). The issue with that is the internet isn't great for packet loss or multicast routing, so if you have O(N) resend requests you're not much better off. If you had all your clients in one datacenter it might work :)
That's exactly what I'd wear to a pub, bar, restaurant or cafe so not sure why you'd think that would be an issue. Even most nightclubs don't bother about dress codes much these days.
>> Google cannot be bothered to maintain anything that does not make as much revenue as search and ads

> I think Google would be happy to maintain such a product. Their problem is that they have no idea how to build it. They haven't created a single highly-profitable product since the launch of AdWords more than 20 years ago.

They just sold one of these products (Google Domains). What makes you think they'd want to keep another one?
Like most Guinness World Records, this absolutely isn't even true. I've regularly seen hypixel with more players than this in the past couple years.

GWR is purely just marketing, none of their records should be taken with any merit.
> Each player loads in a lot of living entities (monsters/animals/...) and block entities (furnaces, redstone, ...) that all need to update.

Sure, but that list of entities in the area is close to static (apart from crazy redstone magic). One would expect them to be pooled and not have many allocations for each tick.
The ability to easily see and clear the amount of SSD space that images are wasting on my system is probably supposed to attract me to the proprietary Docker desktop application.
But that's not a lottery, like e.g. getting lung cancer if you smoke. You can be responsible and make sure to drink a moderate amount of alcohol.
And what if you are not rich and you can't work for home? Would you spend hours per day commuting? That translates in loosing some years from your life.
And many of those societies have huge issues on their own. Equality for example. But that's not related to alcohol. It's just.. human, I guess.
Containers are more than "just" running a binary now though. If your "deploy" script is:

docker build -t my-app . && docker push my-app

Then all of a sudden it's a reproducible, reusable deployment script that works for any language, any application, and that any other dev on your team can run (as opposed to playing "which flavor of coreutils did they use when they wrote this?"). It's provider agnostic - you can run it on DO, AWS, GCP, whatver. You get free rolling/blue green/canary/whatever you prefer deployments, a "basic" cross compilation out of the box. They're not magic, but they are an excellent abstraction, despite the warts.
> That's just anecdata

Er...no. The statistics completely back this up.

https://www.ncadd.us/about-addiction/addiction-update/alcoho...
Are you willing to bet your house?
Coolest post on this subreddit.
> I don’t mind meeting and knowing new people, but honestly just don’t see the net benefit.

This sounds rather self-absorbed.
DragDiffusion: Diffusion Models for Interactive Point-Based Image Editing
im 38 years old, never seen or heard of anyone outside of maybe a particular religious group(maybe mormons?) doing something like this.
I don't believe this is true, it doesn't make sense from a physics perspective. Could you explain what you mean?
No webcam, mic or internal speakers as far as I know?
> Elections are largely monopolized by older people who mostly tend to be homeowners.

This is just a self-defeating excuse. "Monopolised" implies that they're somehow preventing younger people from voting. The only way in which this is a thing is by scheduling elections on days that are inconvenient for younger people to vote.

If you want change in who represents you, the first thing you need to do is vote. The second thing is to get others to vote.
I want to use Minecraft as a sort of platform for teaching my kid how to code.

Which one is the least headache?
Well I don't know New York but in a proper pub they will be fine with whatever trousers and shoes you have. For that matter I once walked into a country pub (not one where they know me) in only wet swimming trunks and we persuaded them to serve us on credit.
> There's multiple overlapping standards, each with a dozen different variants. The Keycloak OIDC config refers to OAuth2 over a dozen times.

To put it simply, OIDC = OAuth2 + id_token (a standard way for the provider to let your client knows who the user is)

> There's thousands of blogs and articles, each 1000s of words long and each recommending different things. I have yet to find a concrete guideline for what a 'sane default' set of choices are.

There's only one sane default for client-side application: Authorization Code with PKCE

> Am I vulnerable to the issue described in the article? I guess I must be, given I don't see the server-side JWT validator doing anything special beyond validating the signature, so there's no validation of whether the token was generated for my app.[1][2]

The id_token provide by OIDC has the standard field `aud`, which should contain you `client_id`. Match them together and you can check whether the tokens was issued for your app.

> What are best practices for "client scopes"? I notice that the more I add the larger the JWT, but are there any gotchas to watch out for?

Best practice for "client scopes" is as small as possible, the only required scope for OIDC is `openid`, which allows you to fetch the `id_token`. Any other scope like `email`, `profile`, etc... is optional, and provider-specific so should be look up from the provider documents.
Upvote for this, because that is funny reading person who never drinks not realizing that normal people spend most of their lives being sober.

-- disclaimer I refer to "normal" people who drink but are not addicted. Non drinking people are normal as well.
"Ain't Nothing But..." blues bar in Soho. Given the location I was expecting to be a bit too mainstream, but I was pleasantly surprised.
Mizuho Rolls Out Generative AI to All 45,000 Bank Staff in Japan
> I guess I always assumed that making your best customers slowly deaf surely wouldn't be very good for business.

Many venues with loud music caters to young people. Destroying their hearing is not a big problem, because they'll soon get tired/bored of your place (or the scene in general) and a new generation of young customers will come to replace them.
I’ve been turned away twice in my life for not wearing shoes, and once for not wearing pants. So thats something?
the problem is that the kind of games that warrant anticheat also can't cope with the increased delay (nor predictive inputs).
"Miegakure" was a promising game, but looks like it is still not released and even does not have a planed release date:

F.A.Q.

When is the game coming out?

As soon as possible, we are very far along but haven't announced a release date yet.

https://miegakure.com
eh, they have kind of just divided the company into 3 units, in order to cater for the US foreign policy of isolating China. Sequoia - and it's successor businesses - are well positioned to do well in all the markets it wants to stay in - and that is both US and China (and India)
Off topic rant but meanwhile I have windows programs from the 90's still running fine on my machine. It baffles me how anti-consumer modern phones are.
LangChain Tutorial – How to Build a Custom-Knowledge Chatbot
AI tools such as ChatPDF and CustomGPT AI have become very useful to people – and for good reason. Gone are the days where you need to scroll through a 50-page document just to find a simple answer. Instead, you can rely on AI to do the heavy lifting.

In this article, I'm going to introduce you to LangChain and show you how it's being used in combination with OpenAI's API to create these game-changing tools. Hopefully, I'll inspire one of you to come up with one of your own.
I used to play Minecraft as a child years ago, I also got into mod and plugin development as a kid.

I thoroughly enjoyed creating different game modes, similar to Hypixel. Whenever I would play on Hypixel I’d think about how the games had been implemented.

Seeing this thread brings back a lot of nostalgia. Reading through these comments makes me realise that a lot more work went into these servers than I had ever imagined. Naive me thinking it was just a bunch of spigot servers with bungeecord thrown on top.

I’d love to revisit and get back into it all. Alas, I’m stuck working on software nowadays instead.
Better user experience too. No mailing list sign-up beg-screen after three seconds.
Very cool ! To ensure there is only one JavaScript interface, I edit hackability to be without popups and print, then host it. Your tool sound easier. https://portswigger-labs.net/hackability
Funnily enough that part is completely absent in the official French version… it's just "Fédérale" there… and shouldn't any of DE, FR or IT be valid as a "source" for a Swiss to English translation? So if you choose to do FR→EN, it's just "federal polytechnic institute"…

(… to be fair, yes, "Fédérale" translates to "eidgenössisch" when the source is known to be Swiss French / fr_CH, but still. Oh the joys of locale details and translating natural language…)
Stochastic Sublinear Streaming Algorithms
Army of Crabs Protect Spy Robot from Stingray [video]
But how much time you have to spend in traffic each day?
It means that the Beatles (who the parent mentioned explicitly as a basic formulaic rock in contrast to the "peak" from the '90s) is much more well known now than Radiohead, and could even have been more popular than Radiohead even during the peak of Radiohead's popularity (with the general audience, of course). I doubt that the problem of alternative bands was media exposure, because they had plenty in their heyday. The issue is that their music appeal only to a small(ish) subset of people, and that most people would like something else. I don't mean this as a bad thing. It is what it is, but I find amusing how cultish their following is :)
I thought it was pretty widely understood that alcohol results in behavioural changes that increase the risk of violence or "inappropriateness"

See: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8729263
It's almost as if non-binding pledges to consider, thinking about, planning, to do something are not enough...
I keep it simple.

I'm not confident with ZFS terminology, but here goes:

I have one TimeMachine Pool:

Then a single RAIDZ1 with 5x 4TB external USB3 drives connected via a powered TP-Link hub.

I'm aware this is suboptimal on a couple of fronts;

• USB Drives

• 5x drives in a RAIDZ1

• Standard RAM, not ECC

But the drives are what I had, and the 7060 Micro was super cheap ex-lease.
I grabbed cheap used 32GB RAM from a local forum connection.

After seven months it's been super reliable, no issues.

I run 2x 515GB mirrored USB-C Samsung SSD drives as a VM-Pool, which is where I store my Linux VMs.

My Linux VMs run database backups, my Dashy Dashboard, a few Docker containers and general dev-ops experiments.

The 7060 itself has 32GB RAM and boots from mirrored 256GB internal SSD/NVME drives.

I should probably do a Blog post on the utility of Ex-Lease Dell Micros over going Raspberry Pi or similar. I'm a huge fan :-)
Agreed. Allocation is pretty cheap, but it can still be slowed by an order of magnitude by two things:

1. by using finalizers

2. by using object initialization blocks

If you avoid these two problems you get nano-second performance, because the JVM does not need to run code during object creation and GC.
I can kind of understand it. After over a decade of spending time in the influence zone of Bostrom, Eliezer, and LW crowd[0], I find myself torn. Half of me is acutely aware of the danger potential of what we're discussing. The other half wants to play with chaining the current LLMs, text-to-$X and $X-to-text models, and domain-specific classical software in hopes of bootstrapping a proto-AGI, because how cool it would be to pull it off.

Good my ADHD makes me write HN comments on LLM threads instead of working on the latter, because I'm not sure I could stop myself otherwise. But this also means I can very much imagine only thinking about the cool parts, and not considering the dangerous ones - because that's how I feel about 90% of the time when thinking about current SOTA models. It's just too damn exciting.

(Hell, it's the first thing in tech in the last decade, that I find exciting.)

--

[0] - Whatever one may think of them, I find it sadly ironic how Eliezer and his disciples were considered pseudo-scientific doomsday AI cultists a decade ago, back when the whole thing was only a far-future concern, how they're still considered pseudo-scientific doomsday AI cultists today, after AI field made a series of rapid jumps, landing us exactly in the scope of things they were harping about all that time - and how I bet they'll still be considered pseudo-scientific doomsday AI cultists after someone unleashes an unaligned AGI and ends us.
I'm also generally micro-service skeptical, but I'll do my best to give what I believe an answer is. The industry had a huge micro service phase for like the last decade, and I think in the end most of the same arguments given for micro services could be answered with just modules. Someone else can correct me where I'm wrong, but I think maybe the one argument for a separate service vs module is security, where you want literal process isolation for data.

I guess another benefit is micro services make it easier for teams to work in whatever language/tool they're comfortable with.

I think that's it really. Better defined ownership could be done with modules. Testability could be done with modules. Most of the usual arguments could just be answered basically with well defined code, and when the interfaces are all async then it even means even those modules could have micro services as their underlying implementation.
I don't understand what you are saying; first of all, this isn't the tech industry..
You mean they pay to live in that 1 out of 100 buildings of that age that is still standing and on which multiple extensive renovations have been conducted.
If some of these stories seem a little too fantastical to be true, it’s possible that they are.

Michael Finkel, the author of this article was fired from the Times in 2002 when he admitted that a character profile he had published was actually a “composite character” who didn’t really exist [0]. I wouldn’t be surprised if some embellishments has been added to this character sketch as well, at least in the book if not in this article.

[0]-https://nymag.com/nymetro/news/media/features/5740/
If there's a finite resource, you can't just say "if only the population worked harder, they'd have more money to spend so they can buy the thing we're discussing". Money is used as the tool to ration in our society, but it doesn't therefore mean that insufficient money is the problem behind rationing. This financializing of everything is the problem with too many analyses these days - fundamentally we need to think about provisioning before financing.
Ask HN: Why there is no “Get Jacked” Startup
It's kinda depressing the only way to get super jacked is by taking anabolics and sarms both of which affect our cardiovascular system and kill us sooner.

Why we've not put billions in funding a startup which can convert all fat into muscles.

US is now an obese country, how cool it would be if we can turn obese into jacked.
Fire resistance with CLT is not provided by chemicals. When it burns, the wood chars on the outside which then insulates the rest of the wood. So, it takes quite some time for this to escalate to the point where the structural integrity is compromised. And it takes quite a bit of heat to keep it burning to begin with. Basically, eventually it would fail if you don't extinguish the fire. But this takes quite some time. CLT is basically rated for how long that takes.

As for toxicity, CLT is basically laminated wood with modest amounts of glue (compared to other laminated woods that people use in their homes without much issues). Mostly the glue stays on the inside where the layers are. And of course the glues used have all sorts of desirable properties with respect to not being toxic, bad for the environment, etc.
See to me the whole idea of "drinking buddies" always felt a bit excessive.

With close friends I don't particularly need alcohol to let loose. I don't worry about how I come off or feel judged. I can be crass or obnoxious when the mood takes me. Their opinions of me have already been cemented over the years.

Sure sometimes you can get together and get trashed and turn it up a notch - but it's never necessary

To me all the benefits i illustrated are in the realm of meeting new people and making new connections - or trying to get with people from the acquaintance stage to the friend stage I suppose
Karl was proven wrong recently by the Swiss though, who voted against UBI in a referendum.
Not who you are replying to but I would expect any large organization (eg: almost every university and large research institute) to have a competent IT team that can help with most problems.

I would not expect them to make patches to packages or the kernel and I do not know how IT works, but I suspect this is the reason they presumed what they presumed.
You can be. But one of the well known effects of alcohol is to impair the judgment of those that consume it which can lead to the intention to drink a moderate amount of alcohol being (substantially) surpassed.

Between drunk drivers, abused spouses and abused children there is a ton of alcohol related misery. For me personally none of the positive effects of alcohol begin to offset those. Not everybody is able to deal with addictive substances in a responsible way.

I'm perfectly ok with other people drinking (as long as they don't negatively impact others), I just saw the generalization above and figured I would contribute a slightly different point of view.
https://en.m.wikipedia.org/wiki/Tanenbaum%E2%80%93Torvalds_d...
Make it seem to be profitable, obviously. France’s system is genius - supposedly, income can be shared between all household
members regardless of age.

So the marginal tax rate becomes very low if you have three kids. Even incentivizes one parent to work less.
Huh? No way, the energy needed goes up with the cube of the speed, but the mass moved only goes up linearly-- the reason is that you are having to accelerate a small mass a lot rather than a big mass a little. The most efficient is a big slow propeller, but size and mass constraints put limits on how big and slow you can go.
Seriously LLMs are remarkable tools, but they are horribly unreliable. What tasks could such autonomous agent do (beyond what a chat bot, perhaps extended with web access, already does)? I mean which task is so complex one can't just automate it with simple scripting and non critical if it goes wrong to the point of letting an AI LLM do it? BTW, running those models is rather expensive so also the task has to be quite expensive now, perhaps completed by a human.
It is not always bad to harvest data. As a developer, I understand that there are often valid reasons for doing so.

I'm not sure where everyone got the idea that tracking and harvesting data is always bad.

In addition, it is essentially impossible to have something harmful happen to you if you refrain from entering your bank password on websites.
It's not the way Canonical works though, so it's a clear line between what Red Hat does and what Canonical does. (SUSE is upstream first)
PS, do you really think muslim countries don't drink? They are in some ways the worst. The sheer amount of alcohol consumed by locals in places like Saudi Arabia, for example.
Please edit out personal attacks and swipes from your HN posts. Your comment would be fine without those bits.

https://news.ycombinator.com/newsguidelines.html
Plugin Surf: Discover All ChatGPT Plugins