skysight-inc/HackerNews huggingface dataset:
I found that grep actually outperformed vector search for many queries. The only thing I was missing was when I didn't know how exactly to phrase something (the exact keyword to use).

Do keyword search systems have workarounds for this? My own idea was for each keyword to generate a list of neighbor keywords in semantic space. I figured with such a dataset, I'd get something approximating vector search for free.

I made some attempts at that (found neighbors by their proximity in text), but I ended up with a lot of noise (words that often go together without having the same meaning). So I'd probably have to use actual embeddings instead.

More generally, any suggestions for full-text indexing? Elasticsearch seems like overkill. I built my own keyword search in Python (simple tf-idf) which was surprisingly easy. (Long-term project is to have an offline copy of a useful/interesting subset of the internet. Acquiring the datasets is also an open question. Common Crawl is mostly random blogs and forum arguments...)
Which I already use. Thanks though.
It's actually pretty straightforward; we use tree-sitter for parsing and it takes me about 2-3 hours for each language. So I'm planning to add a lot more in the near future.

If you have any that you find especially valuable, let me know and I'll see if I can prioritize them.
All true. If you go in blindly without understanding where they actually are (and how they got there), then you are sure to muck things up pretty badly.
A lot of people seem to throw everything into graphql without any thought about usage patterns and potential pain points. As a spring user of it, it's been a dream, the front end team loves it and it sure beats repetitive REST endpoints for small/medium/large verions of the same object graph. The unified error handling is great as well. Truly one of the best things to come out in the last ten years.
I like Apple News+ except for one glaring problem: I know of no way to clip stories and save them. There’s no way of saving a story to Obsidian, no way of printing to PDF/OneNote, no way to send to Readwise, no way really of archiving anything really.

As such, it’s more an infotainment service rather than a service for the serious news reader. This is one example where Apple’s walled garden does not work.
If you go to the same school, you are more likely to be from the same social and circumstantial strata, which may be a bigger factor in openness to diagnosis and development of mental issues.
> It doesn't if it's sitting there, with no one really occupying it, and priced out of the free market's reach

It does. Reiterating: Supply and demand, not just supply. When someone builds a house and keeps it for themselves, occupied or not, that is "one less demand" for a different house. Not even banks want to own an infinite number of houses.

> price is not really being determined by a competitive free market.

What difference does that make? Supply and demand says nothing about competitive free markets. Hell, supply and demand is just as applicable to socialist command economies and everything else you can imagine. Supply and demand is even observable in animal populations. It is considered a law, and not in the legal sense, for good reason.
Show HN: I made an open-source Replit
I spent the past few weeks making an open source cloud code editing environment with an AI copilot and multiplayer collaboration! It's fully self-hostable in 5-10 minutes.

There's a lot of minor improvements to be made, and some are already listed in the Github issues. Let me know what you think and feel free to try it out.
I agree with the general sentiment: news sucks. On the other hand I find myself disliking it not because it's so predictable, but because how shallow it all is given the complexity of the current systems. This plus the intractable nature of reducing the complexity of the world to a short enough sound bite to keep people engaged. If what you say is true, you should have decent alpha playing in financial markets.

Sure, good 'back testing' (or understanding of history, people, and economies) helps with some of the core behaviors at play, but the way the coin lands these days is much more interesting and somewhat random. There are rhymes, but much of the complexity we're dealing with is new and unprecedented.
In a first, OpenAI removes influence operations tied to Russia, China and Israel
Committing felonies to deprive voters of information which could change the outcome an election isn’t exactly a minor crime, and it’s at least as bad for a democracy to have people everyone knows are guilty skate free because of their political power. I think the idea that no man is above the law is highly important so the correct path here should be having those cases be meaningful and carefully prosecuted, as was the case here.
It's nice having access to specialty magazines like Edge, APC, PLAY etc and the newspaper coverage is nice (The Australian, WSJ). The various 'feed' topics work reasonably well. There are some problems:

1. The (MacOS) reader app is not great when it comes to text readability, it's still awkward zooming around (some mags are just PDFs). I always feel a bit claustrophobic when using it.

2. It would be nice to be able to rotate the view 90 degrees to show more of a page at once (see above).

3. It would be nice to lose the damn adds (I'm paying after all): it's usually horrible AI image crap.

I'm always on the fence though, the 'free' version isn't THAT bad and $20/month is on the high side.
> And the big one that's everywhere today that you can't talk about.

If you're not going to say what you actually think, why hint at it?
> Strange, I don't recall people questioning the "relevance" of other popular things this week

I do. Just a few hours ago, the Supreme Court NRA first amendment decision got nuked from HN.
https://www.census.gov/newsroom/blogs/random-samplings/2016/...

You are right, but I think in the 10 years lots of the 55-59 people die off so wont be larger. Then the pyramid shrinks.
I lost my dad 14 years ago. I hope you get to have as much of the remaining time together as possible.

What's odd is that I still don't feel the need to look at photos of him. Like, no need whatsoever. I don't have a photo of my late dad on the wall, even though we had a truly excellent father-son relationship with a lot of warmth. The true memory of him resides in my head; and what's more, I notice myself replicating his exact body language at times. Explicitly realizing this always feels funny, almost like I want to express gratitude to him for "inheriting" those movements to me :). I think the bonds still hold strong, and they forever will, but, oddly, there's no need whatsoever to visualize it with a photo. It's simply much deeper than that.

On another side, I often miss the ability to ask my dad "factual", practical questions. E.g. -- because he was a construction engineer -- how to do some specific thing in grandpa's house renovations; how to position a beam, etc. During the first months after his death, this was a common recurring thought: I'm stuck while building something, but "hey, I'll just ask dad tomorrow how to do it right; yeah, I'll just call him" -- following by "oh, I forgot I can't". After this, there was always an interesting feeling of emptiness or standstill -- not sadness, just a really deep understanding that, no matter what, life moves on. And I still get to live mine. I actually came to enjoy those moments of emptiness.

Thanks for sharing your story, it is very moving. Grief will have different stages; to me, it has mostly been really deep introspection. Take it easy, mate.
> US politics is corrupt. Not quite as blatantly as in third world countries, but nonetheless corrupt.

It is a lot more corrupt after Trump. Trump is incredibly corrupt more then any other president we've had. Even after one term we started resembling the corruption in those third world countries where people have to bribe the dictator to get anything done. I hate to think what would happen with another term.

> He didn't achieve a lot in his first term. However, the way the establishment is pulling out all the stops to damage his chances in the coming election? They must be worried.

He didn't achieve much because he doesn't care about anyone other then himself and doesn't know anything about policy and doesn't want to learn.

Other than authoritarian corrupt and or xenophobic executive orders. And cutting some rich people's taxes. At least he didn't start any wars over Twitter. Yet(hopefully he doesn't get the chance to do so).

He's not able to accomplish anything positive only destruction and ruin and corruption.

Compared to a good president like Biden who actually does care and actually know something about policy. And who passed a bipartisan infrastructure bill and a vast environmental infrastructure bill(IRA) while Trump kept on announcing infrastructure week till it became a Washington in joke.

A lot of people in what you would call to establishment are terrified because of the damage she has already caused to the country and the worst damage he would cause if he was elected again.

> He's not the change anyone wants, but he may be the only kind of change possible.

So in other words you want to destroy our nice society to play joker or similar accelerationist nonsense?
> it's probably still possible to build adblockers by DLL hooking the browser.

I like this. or possibly the COM API. but I'm not a Windows expert.
Ask HN: How do you play synchronized audio across multiple receivers in 2024?
I last explored this in 2010, and there weren't any great solutions other than doing it yourself from first principles. Have things changed in 14 years?

I've got two empty pools and a few huge subs laying around...

It's crazy that it's 2024 and there isn't an ESP32 module which does this.
That's the beauty of theories in that they can be proven right or wrong. Thanks to the JWST, a lot of theories are needing to be updated. We're just now being able to actually test those theories. At some point, these types of charts will be updated.

As you stated, it is exciting times.
Got a link for that? I'm not into betting/betting sites, all I get is old articles about Mr. Orange being the favorite still
> It will go through the New York state appeal courts and end up in New York Supreme Court.

Nitpicking: New York's court nomenclature is super weird. "Supreme Courts" are their ordinary trial courts. Their highest level court is the Court of Appeals.
ISAs are not the hardware as the hardware is made up of Instruction Decoders and a micro-op engine and other parts that's implemented in the hardware and that is someone's bespoke design that's engineered to execute that ISA. So ISAs are just execution templates that are created to implement a standard execution model and standard encodings with rules that are to be followed by whoever has designed the hardware to execute that ISA(Standard).

The RISC-V ISA is just another standard with a multitude of different ways, in hardware, for someone to implement that ISA. The RISC-V ISA is only special in that it's License Free to use that RISC-V ISA and so no money has to change hands or no royalties have to get paid to utilize the RISC-V ISA/standard. And the RISC-V ISA has no limitations on any set/subset of Instructions that the end user must implement and so that's popular for making Micro-controllers that are never going to be used for any general purpose computing anyways.

There needs to be some Legal definition of just where the ISA ends and the Micro-Architecture begins as that's the de-marking line there as to where the Standard ends and someone's hardware implementation begins. Because on Modern Micro-Processors the ISA instructions/encodings get broken down into Micro-Ops and it's the Micro-ops that are actually what the micro-op engines are executing to get that work done.

I'm sure ARM Holdings does not like RISC-V as that's not good for their ISA Licensing business model but RISC-V is not going to be easily stopped as how easy is it to realistically stop some standardized way of doing things. The only thing that can get restricted is the actual hardware implementations that are engineered to execute the RISC-V ISA if those are created in the US/EU/"West" but that's never going to stop anyone from creating their own bespoke hardware that implements the RISC-V ISA Standard. Impossible to do that for any ISA that's implemented for internal use only.
Ark Alliance
Advertising is also vandalism
If you look further down in the paper, they mention the variables they adjusted for:

> [..] all models were
adjusted for sex, birth year, area-level urbanicity, area-level
morbidity, area-level educational level, area-level employ-
ment rate, school class size, school’s ninth grade size, parental
educational level, parental income, and parental mental health.

So a contaminant or other environmental factor that didn't correlate perfectly with those factors wouldn't be corrected for. How could it be, without knowing what it is?
Rules of thumb are meant to be broken, they aren't laws.
So GraphQL is bad because you didn't implement authorization, which you should have been doing regardless of the API technology you use?
You totally missed the nuance of the parenthetical part of the comment. "if you recorded it yourself" are the magic weasel words. Left unsaid is that if someone else recorded it where you were asked to perform for the person doing/paying for the recording whether you were paid or not means they own the copyright.
In Remembrance – Erik Bais
Compiling a tiny NIC test program that needs dpdk, cuda, and the oversized driver bundle. Seriously build me a binary that I can run on Ubuntu 18 or maybe 20 and I'll be happy. Bonus if you can tell me how to reproduce.
Inevitably our prosecutors must be humans, not angels.
I don't think it sounds bold or empowering. I think it describes reality accurately, without bullshit. I wish someone had explained it to me as a young man. In my father's home, any rule was absolute law, and the consequence was always outsized.

The real world isn't like that.
People tend to muddle through.

If we had the same lawyers available that Tesla does, humans too would be not responsible for much of anything.
Tesla Auto Wipers: Why They Don't Work and Why There Isn't an Easy Fix
Wordle in legal row with geography spinoff, Worldle
You would have a more permissive development environment where all queries are permitted. Then, once the change to FE code and related queries are finalized, you could automatically have the production whitelist updated before the FE is deployed to prod.
Japan's push to make all research open access
All this AI stuff is a godsend to the oppressive regimes. Makes their jobs a lot easier, effective, more believable, etc.

> “These operations may be using new technology, but they're still struggling with the old problem of how to get people to fall for it,” said Ben Nimmo

Even if true it’s just a matter of time before people will have absolutely no idea what truth really is.
The Lucifer Effect – understanding how good people turn evil
You can compile CLIPS (including your rules) into C code from within CLIPS itself, which then gets compiled to a dedicated binary.
Eeeh I have seen some pretty shoddy dealings in the not for profit sector.

It usually doesnt come out of the small guys tho. When the grifters get in its usually over.
Implement a distributed procedure framework for enhanced fault tolerance
> execs

> personally liable

LOL, yeah, right.
This comment brought to you by Wheeled DeBeers (aka Bugaboo).

Remember, if you don't spend at least a thousand on a brand new pushchair, you're a terrible, negligent parent.
I don't even know what teams is. Chat? Email? Calendar? Msword? It seems to do everything but also sometimes want to open a separate application that does these things too. And I'm not entirely sure where conversations go because I seem to have a million created by other people that all get abandoned at some point. It makes me feel rather stupid that I cannot figure this out. Especially since slack just seems to make sense to me.
We Migrated Our Data Warehouse from Snowflake to DuckDB
"A deep understanding of low-level details" and "attention to detail" is not Micromanagement. They're very different things.

An author who deliberately abuses terminology is someone whose work I do not trust.
I didn't look it up for this one specifically but usually those are when elixir is just directly applying a function from the core erlang module (ie erlang global fns).

As for why they do that, rather than wrap them into the appropriate module, I have no idea. There may be a valid reason: for a language that is otherwise so careful about naming, organization, and consistency it would be a bizarre unforced error.

Some of them have nonstandard (for elixir) names and parameter order too so they are definitely one of the few unpleasant quirks of the language.
> and it's been priced out of the market.

Whether that's likely is entirely based on the cost of the device. Some things are simple and cheap and extra hardware cuts deeply into the profit. Others are not but this sort of thing is also important because they are remote and you don't want to have a person go out on site. When the device is expensive enough or sending someone to the site is expensive enough, "just ship a replacement" is not really a viable solution, unless you're installing it in a high-availability capacity where you can fail over to it without physical intervention.

Obviously it's not a solution for every circumstance. Nothing really is. I don't think it's useful for us to assume that a solution has to be, as that doesn't really help us in the many instances when it's good enough.
Got it working again! Sorry about that, server crash possibly from being on HN :)
[dupe]

More discussion here: https://news.ycombinator.com/item?id=40529062
Did anyone else guess it was Feynman before clicking?
Yeah you definitely don't need to install anything. I don't know how to deploy React apps apparently (will try to fix), but it's just a regular website and I would never ask users to expect anything else.

Update: it's because create-react-app creates manifest.json in public/, which causes Chrome to prompt you for this. I've deleted it in the latest container image and I'll redeploy once traffic dies down a bit.
> Incorrect

Insufficient
> Jail time is rare.

The number I've heard is 10% of such cases get jail time, but that includes plea deals which are themselves >90% of cases.

It's a first time conviction but 34 charges with all the antics he's pulled? Who knows what happens.
> Turns out sometimes you gotta use these "orphan" functions even though they logically belong to a certain type (in this case, why isn't tuple_size called like Tuple.size or something?)

tuple_size/1 is a guard, and guards are built-in. The compiler itself uses them. Unlike regular functions, you are allowed to use guards in a function head, like:

def foo(my_tuple) when tuple_size(my_tuple) == 3 do ...

Official docs: https://hexdocs.pm/elixir/1.16.3/patterns-and-guards.html#gu...
That’s part of it. The other reason is that it’s really easy to pry Beagles away from their owners. Or put differently, it’s the reason you just can’t get enough Labradors.
Aren't all three of those tiling compositors?
What does “ Equities in Dallas is a big reality” mean?
Something seems off with these numbers.

NYT digital subscribers at the end of Q1 were at 9.9M.

There are apparently about 140M iPhone users in the US at the moment. Even if we assume that all Apple users are iPhone users (no Mac-only or iPad-only Apple customers), that all NYT subscribers are American, and that only Apple users subscribe to the NYT, you'd still end up with just 7% of the Apple users having a NYT subscription. Not 17% like claimed here. Fix any of those very optimistic assumptions, and the number moves even further away from what's claimed here.

You run into similar problems trying to reason about the change from 2020 to 2024 instead of just the end state, or if looking at WP or WSJ instead of NYT. Basically, either the source is being misrepresented in the article, or the source was based on garbage data.
> with REST I just have a simple endpoint that saves the data to the DB and then sends and email (or puts it in a queue)

With GraphQL you can just do the exact same thing? I do this all the time. I don't understand how you wouldn't be able to do that.
Look into Auditory Processing Disorder.

https://www.mayoclinic.org/diseases-conditions/auditory-proc...

A good hearing aid person or an audiologist can diagnose it. I found out that I likely have it, which explained alot of things in my life that I had experienced. In some scenarios, hearing aids can help, even though you don’t have a hearing problem per se.
Well that's some great news, I've been taking 2 pills of ciprofloxacin each day since February last year because of a really bad pseudomona infection which led to 4 hip surgeries and a prosthesis because my hip joint basically disintegrated itself, why do I mention it? Because I also suffer from chronic dysbiosis, that makes a really bad case of gut-not-working-as-expected, so along all the antibiotics I'm also taking probiotics to heal up the gut microbiome and a handful of other pills to ease the pain. So yeah, these are some really great news.
I wanted to say, this is really thoughtful comment and thank you. I love getting ideas like this about the business model and product/market fit.

The second half of the product is a lot more about everyday features e.g. "whose branches collide with mine" or "what are all the upcoming changes in this module", that type of thing. I'm hoping that shores up the long-termism a bit. We'll have to see, though; this whole thing is kind of an experiment and it may just be a miss, or serve a very specialized use case. If you have more thoughts, I'd welcome them.
No, the theory is to change the average behavior to remove excuses for the bad people.
Faster than Jim Keller's/Tenstorrent's RISC-V based Ascalon processor?
That is weird. Although OpenAI isn't even listed in their startup directory, so maybe the investment was done differently, and not through their normal channels. Or maybe they divested their share after a short period. Whether that means pg would have been more likely or less likely to know about it I have no idea.
I believe this very method is very common in games - you have similar logic for entities, but some have divergences that could occur in unknown ways after playtesting or future development.

Tho if done haphazardly by someone inexperienced, you might end up with subtle divergences that might look like they're meant to be copies, and debugging them in the future by another developer (without the history or knowledge) can get hard.

Then someone would wonder why there are these two very similar pieces of code, and mistakenly try to DRY it in the hopes of improving it, causing subtle mistakes to get introduced...
Zero shot key phrase extraction is a reasonably well-studied field. I don’t know what the current SOTA is, but the one that was pretty hot shit last time I needed one was kbir-inspec which is on HuggingFace and you can test it right on the page.

Might be worth a shot if performance is a tricky spot in your setup.
It was made so that the ecosystem could continue to evolve, particularly in terms of performance and security hardening. But okay, what was the reason System.Text.Json introduced in your opinion? What were the egregious problems with Newtonsoft.Json?
arguably we wouldn't have JWST without Hubble, so cost adjusted they're about the same, then again, there is probably some "prior art expensive project" associated with Manhattan, but I didn't check :)
Warehouse lady might also have added value by turning 5 pallets of low-value junk into one pallet of slightly more value plus 4 pallets of low-value junk.

If pallets normally bring say $100 each but by letting the stroller lady consolidate the strollers into one pallet that she'll pay $250 for, everybody won.