MurphyA/hacker-news huggingface dataset:
by valyala | 2025-04-27 10:12:47+00:00
Loki doesn't work well with structured logs and wide events because it has weak support for log fields with many unique values such as trace_id, span_id, user_id, etc. (aka high-cardinality fields). The recommended way to store structured logs with such fields in Loki is to put them into a big JSON and store it as log message. Later this JSON must be parsed at query time in order to apply various filters and aggregations on log fields. Such an approach doesn't scale well, since Loki needs to read all the log messages with all the logs fields encoded inside JSON log messages during query execution. This requires a lot of additional read IO and CPU for reading, unpacking and parsing the log messages. This also worsens data compression at the storage, which slows down query execution even more.

The much better approach is to store data per every log field into column-based storage. This significantly improves query performance, since only the data for the requested columns must be read from the storage, and this per-column data usually has much better compression rate, so it occupies less storage space.

Read more about this at https://itnext.io/why-victorialogs-is-a-better-alternative-t...
by mschuster91 | 2025-04-27 10:12:48+00:00
> The criteria for diagnosing ASD today are vastly different

Not that much.

The difference between now and 50 years ago is that a) we don't just throw them into asylums, b) we actually have accessibility of getting diagnosed, c) employment opportunities suitable for many people with mental disabilities (such as factory line assembly) have gone down the drain.
by tokioyoyo | 2025-04-27 10:13:20+00:00
You chose very interesting two different outcomes. Super vast majority of people just hang out with decent people, have drinks, talk about stupid stuff and call it a day. I’d like to think that people don’t strive to have friends for “networking” or are scared to have friends because “wrong crowds”. It just feels wrong.

My friends have been there at my low lows, and knowing that I can theoretically call them at any point of my day just makes me feel good about myself. Conversely, I’d like to think that my friends can call me at any point of the day for no reason at all. Stupid stuff like having a small joke group chat of “rags to riches” where we just share stupid ideas is just liberating. Meeting them in person and doing stuff together, even if some of them (or me) hates it, is still objectively a nice feeling.
by doublerabbit | 2025-04-27 10:13:54+00:00
Most older C developers I've spoken to find Go and Python as a fresh breath of air and refuse to head back.

The younger generations totally sideline C completely.

Myself a non-coder but experienced SysAdmin who can write cool Perl, TCL scripts, C almost feels almost natural when reading it. I just haven't had the time available to dive in.

It could be that I was exposed to it at 14 (2003) but chose perl because MSN/Y!M/AOL messenger bots were the discord bots of today. Still, eager to dive in. Some reason Java too.
by reify | 2025-04-27 10:14:07+00:00
misleading title as usual

Its not a personality, its the fanstasy called GPT-4o.

absolutely rubbish as a therapist unless it uses basic CBT concepts.

To be honest a schoolboy could teach you the A,B.C's of CBT after reading an introduction guide.

A. The activating event.

B. Your beliefs about the event.

C. Consequences, which includes your behavioral or emotional response to the event.

see, its easy
by Spivak | 2025-04-27 10:14:21+00:00
Nit, nobody actually cares all that much about transvestites. Vest like from vestments meaning clothes. They're cross-dressers. Historically transsexual or transgender (depends on the country which one is the more prominent term) people have been called transvestites but it was a mischaracterization. Someone born with XX chromosomes but who lives his life full-time as a man is very different from a woman who likes to dress up like a man for sexual or other pleasure.
by II2II | 2025-04-27 10:14:32+00:00
You're right. Even though I was thinking along the line hardware and software compatibility, repairs certainly fit the bill. It's not like today, where a flaky drive is simply replaced. A floppy drive of that era costed as much as an entire computer today. And let's not forget the MS-DOS era, when people were pretty much expected to tweak their system's memory configuration to play games (and different games required different profiles).

Out of curiosity, does kid-you remember whether the drive came poorly tuned from the factory or if it drifted after the fact. (Or perhaps it was the disk at fault, having been written on a poorly tuned drive.)
by lazide | 2025-04-27 10:14:33+00:00
It’s just an expansion of the same rules as CSAM (which typically - but sometimes not for a short period of time in some locales - includes generated content).

I imagine it won’t be long before this is used to try to ban porn entirely, since ‘there is no way to be sure’. And then crack down on chat groups, social media, etc. since that is where any of the legit problematic content is going to be distributed most of the time eh?
by bot403 | 2025-04-27 10:15:25+00:00
The author makes the assertion that the mpg targets are easier and it's implied it's because the number is lower.

I'd like to see that assertion actually supported with evidence.

Making a heavier car, with higher ground clearance, and a less aerodynamic shape (squared rear) means it will get less mpg by default.

So what makes it easier to hit the mpg target vs a sedan?
by nickkell | 2025-04-27 10:19:23+00:00
I use it in my project to document the schema. We keep the markdown file in source control so that we update it whenever we make database changes. We also have an extension that allows viewing it as the diagram in vscode in our .vscode\extensions.json file.

There are some disadvantages however:

1. The foreign key relationships aren't completely clear

2. The diagram became difficult to navigate in vscode as our schema grew in size
by brailsafe | 2025-04-27 10:19:26+00:00
I have a fairly strong grasp on CSS, at one point having what I felt was as close to as knowledgeable as I'd care to be about it, but one thing always stuck out as a neverending battle; style organization. I think Tailwind does have all those problems to some extent, but CSS alone didn't find cultural consensus around how best to implement it, always leaning on whichever flavour of the month conceptual framework that was often just one more system to try to manage. There's some virtue in writing the stuff you do cleanly, but sometimes it's just not as valuable to someone who's primarily doing what could be described as complex software development. Sometimes the marginal benefit to a clean implementation and a slightly messy redundant one of the same interactive caliber just isn't that important relatively, especially when the negative qualities are somewhat mitigated by component re-use and scoping.
by jsheard | 2025-04-27 10:20:04+00:00
> shortly after the abolishment of lobotomy

That's an important bit of context whenever RFK Jr. talks about how conditions like Autism and ADHD weren't a thing when he was growing up - his own aunt, who may well have had one of those conditions, was dealt with by giving her a lobotomy and then hiding her away. Those are the supposedly better times he's harkening back to.

https://en.wikipedia.org/wiki/Rosemary_Kennedy
by emmericp | 2025-04-27 10:22:01+00:00
I'm surprised that the recent advances in applying typography to engineering problems [1, 2] are not published at SIGBOVIK but are apparently going to a more serious journal.

[1] https://www.researchgate.net/publication/390635826_Structura...

[2] https://www.youtube.com/watch?v=azDaPm13CT8
by doublerabbit | 2025-04-27 10:22:46+00:00
The issue I always find with these tutorials that they never seem explain the finer details.

On the Array Page:

/* print the 7th number from the array, which has an index of 6 */

printf("The 7th number in the array is %d", numbers[6]);

There is no mention of what %d is or does. Once you know, it's fine, it's the display placeholder for the variable but that's what throws me off on tutorials.
by alextoti991 | 2025-04-27 10:23:13+00:00
1) There are 3 central memory indexes, that can be accessed by any of the clients supported, Long Term Memories (generated for the agent specifically, while chatting, from new events etc), Knowledge (which will be able to be added by the user) and Global Knowledge (which will be knowledge shared between all agents)

2) Right now, when an agent changes owner, then the memories are wiped (long & short term) to avoid any privac issues, only thing that is staying is the strategies for gigaverse

3) Right now there are more L1 NFTs supported, just through the marketplace, there will be more plans announced for general usage
by moomin | 2025-04-27 10:24:15+00:00
The thing is, we used to do this. Walk around London or Florence or Rome and you will see era-adjusted sights that are equally impressive. For that matter, go check out Blenheim Palace. It’s a reasonable question to ask: What happened? But the answer is prosaic. These sights all come from times of _incredible_ inequality. Which you don’t see in these pictures but is vastly more relevant to the day to day lives of most citizens.

Show me a place that looks like that where no-one goes hungry, has to worry about medical bills and doesn’t live in fear of the rich and powerful and then I’ll be impressed.
by ddtaylor | 2025-04-27 10:24:29+00:00
Linux or Deck setup will actually work out of the box. We have multiple Steam PCs in the house that can all do Steam Link with our tablets and stuff in the house.

The amount of time we specifically use the spare Windows PC as the Steam Link source is pretty low. Most of the time we connect to our media server, which is the Linux machine.

The idea that it's "only 70%" to me is pretty mind boggling. I think there is a lot of the experience that works correctly because of properly supported hardware (AMD)
Show HN: I built SecretCrush AI – an AI chat companion app - entirely using AI
by gfai | 2025-04-27 10:26:18+00:00
My previous post didn't have the Show HN prefix in title so here's the repost.

The whole stack was built using AI, from infra pipelines, backend API, frontend, to the AI chat server.

Next step: build an agent to improve user experience by doing the following: - test chatting with AI characters - analyze the experience - improve the system prompts for characters - then repeat
by K0nserv | 2025-04-27 10:27:49+00:00
It's possible to use with vanilla, but probably not a good experience. You want either components or at least a templating system where you can break things down into reusable parts.

It's somewhat similar to raw HTML vs something like PHP, you can have thousand of HTML files, but if you wanna change something common (say the header) it's not fun with thousands of individual files.

Lastly you can combine Tailwind with regular css classes

.btn-primary { @apply bg-blue-500 px-2 py-1; }

but at that point I'm not sure how much you are gaining by using Tailwind
by lazide | 2025-04-27 10:28:40+00:00
In this scenario, random women aren’t typically the threat - it’s the women closest to you.

The reason it becomes like this is due to a fight for control, often a pathological one.

Men will make terrible comments and poison the well to try to drive women (and other men) to them for ‘safety’, as a show of force. No one wants to be on the losing/weak side. And by painting all men as scary, they undermine their competition, and by being blatantly the scariest without consequence they show they are the strongest. See what is happening in US politics. Being visibly scary is a form of marketing/recruitment.

Women will make terrible comments and poison the well to stop men (and other women) from leaving because the outside world is too scary, or the alternatives are too scary. No one wants to leave ‘safety’ to get eaten by a monster. And better the devil you know, than the one you don’t eh? Women will often be covertly scary, because their goal is usually retention, not recruitment.

You’re watching the war of control unfold.
by JimDabell | 2025-04-27 10:29:12+00:00
There’s an aspect of this that is not readily apparent unless you were a web developer around the time this was created.

Before CSS, layouts were implemented by abusing table elements to create a grid. Then images were sliced up into sections, and each section was placed into the table. This has generally been remembered in the present day, however what seems to have been forgotten was the pushback against CSS.

There was a large number of web developers who were happy with the status quo and refused to learn CSS. One of the most persistent myths was that you couldn’t make anything look nice with CSS. Specifically, CSS was accused of only being able to create “boring, boxy” designs.

It wasn’t true at all. Even back in the early days of CSS, you could create great layouts. It was especially absurd because the approach favoured by the people saying this was literally abusing tables to create grids.

So along comes Dave Shea and points out that this is ridiculous, that CSS is capable of great designs, and puts the CSS Zen Garden up. A whole bunch of people contribute good-looking designs and make it impossible for people to claim that “CSS can only produce boring, boxy designs”. I think it’s amusing that he won the argument so conclusively that people forget it was even an argument in the first place.
by Freak_NL | 2025-04-27 10:29:12+00:00
The type of person driving this pointless cultural war would like to make it seem that this is essentially all about men dressing up as women telling children things they shouldn't know — both erasing the fact that trans men exist, and deliberately linking both drag and transgenderism to sexual perversion and implied paedophilia while lumping the two groups together.

So let's keep the words we use sensible and devoid from (intended or unintended) bigotry.

Besides, drag queens and kings usually are not transgender¹. It is a type of performance featuring a carefully crafted, over-the-top persona, not a full-time endeavour, and it is, crucially, an act. A transgender person isn't acting.

1: I would guess not more so than other groups of people.
by K0balt | 2025-04-27 10:29:21+00:00
Last time I used it to work on some text is switched to some kind of roleplayish overacting. It gave me filthy waifu pillow vibes. Whatever they did to make it more “personal” gave it unresolved emotional trauma or something. Ick.

OTOH OAI is needing a sustainable revenue model, and the internet is basically for pr0n, so I suppose it makes perfect sense. Role play is probably a strong market segment.
by BoostandEthanol | 2025-04-27 10:30:50+00:00
The CAFE standards were introduced in 1975[1]. I’m on my phone so investigating links properly is awkward, but it appears the footprint legislation was brought into effect in 2008[2]. Or in other words, before Obama.

I had to go and double check because a fact I was certain of was the PT Cruiser was designed to be classified as a light truck in order to require a lower CAFE standard, far before the 2008 reform. I’m sure there are many examples of this. The system in general is gamed aggressively. I can give a recent example:

The Honda CR-V. Look at the front bumpers of a European and US spec car

European: https://upload.wikimedia.org/wikipedia/commons/4/4a/Honda_CR...

US: https://file.kelleybluebookimages.com/kbb/base/house/2012/20...

The difference in front bumpers is due to a front approach angle requirement in CAFE’s regulations (18 degrees, off the top of my head?) to get a light truck classification.

Footprint isn’t really the issue. It’s related, and certainly why cars are getting bigger than they once were, but to my understanding the bounds of footprint for each classification hasn’t changed since the legislation was brought in, while cars are ballooning regardless. I think part of it is just consumer preference for more car.

[1] https://en.wikipedia.org/wiki/Corporate_average_fuel_economy

[2] https://web.archive.org/web/20081216085824/http://www.nhtsa....
by e-clinton | 2025-04-27 10:31:13+00:00
A journalist digging for details before writing a story is what one expects. The real question is how reputable is this journalist and outlet? What's the risk here? That they'll quit their job and go copy your thing instead? If answering that question puts your company at risk, then the issue may be the level of value you provide on top of whatever tools/frameworks you used.
by cruzcampo | 2025-04-27 10:33:16+00:00
https://en.wikipedia.org/wiki/Life_unworthy_of_life#/media/F...

This poster (published in the NSDAP's Office of Racial Policy's monthly magazine Neues Volk around 1938) urges support for Nazi eugenics to control the public expense of sustaining people with genetic disorders. The poster says: "This person who suffers a hereditary disease has a lifelong cost of 60,000 Reichsmarks to the National Community. Fellow German, that is your money as well."
by ignoreusernames | 2025-04-27 10:33:53+00:00
I recommend anyone who works with databases to write a simple engine. It's a lot simpler than you may think and it's a great exercise. If using python, sqlglot (https://github.com/tobymao/sqlglot) let's you skip all the parsing and it even does some simple optimizations. From the parsed query tree it's pretty straightforward to build a logical plan and execute that. You can even use python's builtin ast module to convert sql expressions into python ones (so no need for a custom interpreter!)
by cherryteastain | 2025-04-27 10:37:12+00:00
> Almost everyone responded really well to that

That's the impression I got at first as well. However, then I realized a really big proportion of people I'd contact this way would say they'd love to meet up but either repeatedly decline suggestions to meet up or even ghost me. I feel like the positive response is just out of general politeness, not willingness to reconnect.

> It’s okay to be the one who initiates...The only issue with always being the initiator is that no reciprocation is a bit of an… issue to our social brains.

It's also about gauging whether the other person cares about you. I carried out the experiment where I stopped texting people with whom I was always the contact initiator. Years later, they still haven't written a single message to me. To me, it's clear that those people never cared about me, I was just their plan B for a saturday hangout in case their real plans fell through.
by JimDabell | 2025-04-27 10:39:24+00:00
How do you cope with page URLs, with JavaScript classes, variables, methods, Git branches, CSS filenames, image filenames, directory structure, etc.?

I know the joke is that naming things is hard, but it really isn’t and every web developer successfully and effortlessly names things all day long without even thinking about it.

If I have a sidebar, coming up with the name “sidebar” for a CSS class is not a serious problem I need Tailwind to help me avoid. I don’t find it plausible that other people genuinely feel pain over this one particular instance of naming things without demanding solutions for all the other things they have to name. Can you point to many Tailwind advocates who complain about how difficult it is to pick filenames, or page URLs?

I think it’s really strange Tailwind advocates latch onto this one particular thing – naming things is a problem – when they seem to successfully name things all day long in every other context. It doesn’t feel like a real problem. What happens when you need to create a file? Do you get paralysed by the myriad choices of filenames available? Or do you just pick a name and move on?
by anshumankmr | 2025-04-27 10:39:27+00:00
I know a couple of people who have sort of done that, including one person who made an app to view all books in all libraries of Delhi. He bought a nice sedan with his seed money and bragged about it. (probably worth a few lakhs easily, not like a high end one but better than what I had cause I had just graduated and was interning)
by ndsipa_pomu | 2025-04-27 10:39:48+00:00
I don't understand why I should have to be judging just the "service" which is usually just taking the order and delivering the food. I find other aspects of restaurants to be more important such as the food quality, the comfort of the furniture and often the noise level (I don't want to have to be shouting to get heard above loud background music and everyone else having to shout).

If there's any logic behind it, why don't people tip their post delivery people for their service?
by jasode | 2025-04-27 10:40:02+00:00
>This means we have enormous control over what is going on. The combined software meanwhile runs on databases and services which we also run ourselves. [...] A well known example is the Netflix streaming service, which consists of Netflix-owned hardware that streams stupendous amounts of video using very limited space in a data center. Netflix would simply not be economical if they did not have full control over the stack.

That blog paragraph presents an incomplete and inadvertently misleading architecture of Netflix.

Netflix actually uses AWS and is very much "locked in" to Amazon's cloud ecosystem. The specific item the author is talking about is the Netflix CDN "appliance" that is installed at edge datacenters. However, those appliances can be seen as a "dumb box". The "smart management" of the CDN is controlled by Netflix code deployed on databases and servers at AWS. Also, the Netflix customer accounts, billing, recommendation systems runs on AWS.

https://www.google.com/search?q=netflix+AWS+manage+CDN
by ang_cire | 2025-04-27 10:40:57+00:00
> understanding of various areas increased due to the stopping of this practice

Yes, this absolutely. You can't study something after altering it.

The "treatments" for people with any kind of neurodivergence (real, or imagined) in the past were often interventions that destroyed enough of their brain or body to prevent them from exhibiting any neurodivergent symptoms (e.g. lobotomy, EST/ECT, teeth-pulling[1], etc).

[1]: https://www.amusingplanet.com/2019/01/henry-cotton-psychiatr...
by graemep | 2025-04-27 10:41:18+00:00
In the UK if the funds cannot be recovered the bank takes the loss for push fraud.

https://www.which.co.uk/consumer-rights/advice/what-to-do-if...

It has made banks very nervous about transfers as even payments to a legitimate business can be part of a a fraud (e.g. buy gold and hand it over to the fraudster for "safe keeping") and people have complained they have had problems making legitimate transfers.
by imtringued | 2025-04-27 10:43:28+00:00
Inverse kinematics are piss easy.

When grasping an object you need to know the normal force on the contact point of the object and check that you're still in the friction cone.

This is hard, because you need to know the friction coefficient of the object and finger tip combination, you need to know the exact coordinates on the object you're putting that finger plus the orientation and graspable surfaces of the object and you have an imperfect model of the robot dynamics that doesn't account for friction or the dynamics of the manipulated objects.

Basically nothing is easy. You don't know anything about what you're manipulating.
by pydry | 2025-04-27 10:43:46+00:00
Europe and America have no industrial strategy to speak of and powerful lobbies dedicated to perpetuating the war on affordable housing.

I doubt this is something that can or will be reversed gradually. The consolidation of oligarchic power has been building up over many decades and only shows signs of acceleration.

In order for the power structures responsible for this to be overturned something pretty cataclysmic will need to happen - losing a large scale war, economic collapse, etc. (e.g. like in post WW2 Japan where America dismantled and disenfranchised the Japanese oligarchy).