skysight-inc/HackerNews huggingface dataset:
You may want to take a look at Zep, an LLM application platform that wraps Postgres, pgvector, embedding models, and more to offer chat memory persistence and document vector search.

The Python and TS SDKs are designed to support drop-in replacements for the bits of LangChain that don’t scale, but nothing stops you accessing Postgres directly.

https://github.com/getzep/zep

Disclosure: I’m the primary author.
Also this great article about Jeff Roth, the guy overseeing scanning and cataloging.

https://www.nytimes.com/2017/04/14/insider/in-the-timess-mor...
I agree with Darwin’s combination of rocks, thinking, and walking, they seem to go together. If you don’t have his circular path, you can put a handful of pebbles in your pocket. Then when you’re at a particularly stuck spot in your thinking, toss one away. Works wonders!
Love it! It could be even more awesome if the velocity of each key press had an impact of the volume, that way we could control two properties at once.
There’s no denying involved in setting prices higher.

Electrify customers pay a premium to have a fixed rate. Customers swap to market rates because they can save a little money on average and significantly more if they delay use to cheaper periods. Such as plugging in an EV when you get home but only charging it from 12pm to 4am or whatever.
This is a problem of legislation. It would be trivially easy to stop this behavior, but governments in the western sphere tend to like surveillance as well.
Because those engines aren't mandated to be used by law.
Awesome! Where did the "split_ifs" tactic come from though? Mathlib? In your opinion does it make sense to do program verification without using Mathlib, or would you recommend just using it pretty much all the time?
This is the opposite of rational. They are decriminalizing it based on a fashion that drugs are good and when it comes to drugs people should be able to do whatever they want without regard to consequences. Compare this with the fanaticism against smoking you see from the same quarters, that should be enough to tell you this is nothing more than hippy fashion.
OSes weren't always so modern.
How to Reply to Negative Comments (90's Tutorial) [video]
Here is a better version that checks if expr1 is a variable. The condition "is_atom(x)" might be too strong.

defmodule OurMacro do
defmacro cond_assign(expr1, expr2, do: block) do
case expr1 do
{x, _, y} when is_atom(x) and is_atom(y) -> nil
_ -> :erlang.error(RuntimeError.exception("The lvalue is not a variable: #{Macro.to_string(expr1)}"))
end
quote do
unquote(expr1) = if unquote(expr2), do: unquote(block), else: unquote(expr1)
end
end
end
DEAR JOHN I WANT A MAN WHO KNOWS WHAT LOVE IS ALL ABOUT YOU ARE GENEROUS KIND THOUGHTFUL PEOPLE WHO ARE NOT LIKE YOU ADMIT TO BEING USELESS AND INFERIOR YOU HAVE RUINED ME FOR OTHER MEN I YEARN FOR YOU I HAVE NO FEELINGS WHATSOEVER WHEN WERE APART I CAN BE FOREVER HAPPY WILL YOU LET ME BE YOURS JANE
I definitely do not recommend mixing monitor resolutions; I tried that on my work PC and it was a disaster. So for both work and home, I have dual 27" monitors with the same resolution (4k at work, QHD at home). The one at home works fine, but the one at work needed manual setting of the DPI, so there do seem to be problems with DPI detection as you say.
US immigration uses fake social media profiles across investigations
Managing k8s is hard and is one of the primary reasons that managed k8s services (Azure Kubernetes, AWS Kubernetes, Digital Ocean Kubernetes, etc) exist.

If you're asking HN how to start from a clean slate then perhaps you haven't quite realised how painful it's going to be.

For the sake of your sanity, and the service you provide on said cluster, hand off this project to someone that knows what their doing.

Good luck!
Thanks. Somehow this latest ickiness from Chrome was the push I needed to switch to Firefox.
Oh, this reminds me of my favorite animated Christmas film that was funded by the NFB. Noel Noel[0]! I saw it as a kid, and only rediscovered it last year, and now it's a Christmas tradition in my house. The story is a delightful poke at the consumerist aspect of the holiday and the English narrator was Leslie Nielsen, which was always warm and nice to listen to.

[0]: https://youtu.be/NDYCTKIGy1E?si=32x6mTjsv1DtYfmO
Title is correct but the auction secured other clean energy projects.

"only 3.7 gigawatts of new clean energy projects secured a contract, compared with 11GW in the previous auction [...] winning projects include solar farms, onshore windfarms and a record number of tidal power projects."
How much it costs to attend the Burning Man festival
The "market size" argument (or rather "installed base") implies that Linux can only exist as a parasitic PC operating system riding the coattails of established vendors, which I believe is no longer true in 2023. Big distros like Ubuntu and Fedora offer first class experience that rivals and surpasses MacOS and Windows in many ways, especially for technical (dev) markets and are worthy of their own ecosystem.
I did something like this last year (maybe two years ago by now? time flies), but with LZString instead of gzip[0]. The original idea was actually someone else's on Mastodon (who knows, maybe it was OP? I think it was Ramsey Nassr though), but it was just B64 at first - I added the compression.

Then someone tried fitting King Lear in there (which worked).

Then it turned out that until that day but not for very long after that URLs were not counted for character limits in mastodon toots.

That froze quite a few Mastodon clients who were unlucky enough to open that toot for a day or two until that got fixed. Not sure why, I'm guessing (accidentally) quadratic algorithms that weren't counting on urls that were multiple kilobytes in length.

[0] https://blindedcyclops.neocities.org/onlinething/writer
The problem is not only them fucking up their business strategy but as soon as a platform like medium gets known for high quality the low quality grifters and scammers will come trying to abuse the reputation of the platform.
I'm not sure I get it. On desktop I just click to play the next beat? On mobile there's no audio (in Safari or Chrome). And the track selection appears to be broken?

Have I missed something? What's the pull here?
To each their own, but I do not. Lenovo remains my "goto" if I have to buy a laptop (though Framework has more or less replaced them) and the main reason for that was the Trackpoint and mouse buttons.
If you sign up for one of these cert monitoring services, I’d suggest testing whether it can catch:

- Change in root

- Change in stapling

- Downgrade from EV > OV > DV

The last point is really about the now-proactive choice against automation. Those who are operating manually: what monitoring do you choose? Does your EV or OV come with a monitoring service?
To my knowledge, the SLS program isn't preserving any appreciable amount of ICBM know-how. They are essentially non-overlapping technologies. The explanation that SLS is a jobs program seems to fit the evidence much better.
Thanks.

So it looks like Interoperable Private Attribution is mostly Meta people; there's one guy from Mozilla, Eric Rescorla. Eric is not notable for adtech achievements; he's notable for his contributions to internet privacy, and security and cryptography.

[Edit] More detail: https://docs.google.com/document/d/1KpdSKD8-Rn0bWPTu4UtK54ks...

Apparently the proposal is to store the match key in browser local storage; which means that you can block it by setting local storage to zero, or by regularly cleaning-out local storage.

That article doesn't mention once the privileges that should be granted to the user. It does mention the powers of the user agent, but that really means the browser manufacturer.
> The fact that Android and Windows ARM tablets aren't "making a killing" and not selling even remotely as good as iPads

The whole stack is objectively worse - slower, with inferior software. They are cheaper though, but it doesn't help much when everyone competes in price for what is, essentially, variations of the same product.

There is a good reason why there aren't many Windows ARM tablets and laptops - they perform worse than the low-end Intel stuff. The tooling to make software for them is not great, and the channels through which one distributes the software is also a limitation. In laptops, Windows on ARM needs to compete against Windows on x86 and, unless Qualcomm and Microsoft pull a miracle, those machines will remain uncompetitive.

And yes: apple made a killing from day one. They always had an excellent software stack and a thriving high-quality, ruthlessly curated app ecosystem, something not even Microsoft can't offer with their own products (Hi, Teams team. I'd like to discuss a couple things).
I can't answer that question. It's well above my expertise. I'm also biased because I had a weed addiction and thankfully was able to see it and quit. I never had alcohol problems.

But let me ask you this, should cocaine be legalized?
These examples provide a nice illustration how human language evolution optimizes for most common use cases and basically ignores the worst case scenarios.

Quite a bit different from formal languages where even rare worst cases get a lot of attention (or rather they are designed in a way to avoid worst case scenarios at the cost of making the typical scenarios less efficient).
Agreed. . . like none of us have ever been in crunch mode. JFC.
How to write a comment on Hacker News, follow these steps:

1. Find the thread you want to comment on and click on it.

2. Scroll down to the bottom of the page and locate the comment box.

3. Type your comment in the box.

4. Click the "add comment" button to submit your comment.

5. Eat, sleep, repeat https://github.com/playwright-community/playwright-go
Ironic. I was reading their opinion article by the Ukrainian ex-defense minister just this morning, and caught a very basic spelling mistake any spell checker would have found.

https://www.theguardian.com/commentisfree/2023/sep/08/ukrain...

It's still there. "morehas".

Classic Grauniad. Let's see if any Guardian editor reads HN.
I just did a recursive scrape of the tutorial site, converted the html to text, then did a word count using wc and simply divided it by the average number of words per page. Word in this case includes things like '(' and syntax characters.

Regardless it was a rough metric meant to be demonstrative of the level of effort to go through the tutorial.

The point is as an answer to the basic question "what is this and why should I care?" Responding with something over 10 pages is likely unadvisable, yet alone over 100. "Over 100" here is effectively equivalent to "over 5,000". The target should be like 0.25-5, and closer to the 0.25.

Elevator pitch it.

1. For (target customers)

2. Who are dissatisfied with (the current market alternative)

3. Lean is a (new product category)

4. That provides (key problem-solving capability).

5. Unlike (the product alternative),

6. Lean (describe the key product features).

https://www.elevatorpitchessentials.com/essays/CrossingTheCh...
You call it voodoo profiling, but isn't it kind of just being experienced?

Like, if you show me code I can probably tell you where the expensive bits are just by looking. I could be wrong, but it's usually not very hard. Complex runtimes make it a lot harder because then I have to reason through things like JIT and any implicit yielding, but even still.

So I'm pretty sympathetic to someone looking at a fairly small section of code, going "oh yeah, that's gonna create a lot of allocations", and then doing work to avoid those allocations. The alternative is that they write benchmarks and start profiling, which is actually quite hard to do well, and takes time. I'm not convinced that the author would have been better served by doing so here.
Confessions of a McKinsey Whistleblower
So dogs, camels, and chimps all have hierarchys, but humans don’t?

Strong claim.
They could keep their hands off the kids asses. Might help their public image.
i had that problem also and as a drummer I'm pretty sure I could press the spacebar with above-average steady time. I was using firefox though, maybe that matters.
For example a tool that lets me take a group of messages and turn that into a ticket or a wiki page with a couple of clicks and keep references synchronized back and forth.
Show HN: RAAC Map – A map of UK buildings built with dangerous concrete
We're in the middle of a bit of a crisis in the UK, because it turns out a lot of our public buildings are built with a kind of bubbly concrete called reinforced autoclaved aerated concrete, or RAAC, that's prone to collapsing without warning: https://en.wikipedia.org/wiki/Reinforced_autoclaved_aerated_...

The Department for Education released a list of affected schools earlier this week, so I used Ofsted data (https://reports.ofsted.gov.uk/) to find their locations and mapped it on on Google My Maps. I've since added other buildings like theatres, universities and hospitals which are also affected.

My Maps is a great tool for this kind of thing, and makes it really easy to import location data from a spreadsheet as well as search for places manually.
I had audio in Safari. But it didn't start right away.
I'm not a nodejs expert at all, but couldn't they just call the garbage collection manually? Also, wouldn't it be better to have the fields (and httpstatus) variable be declared above the for loop and just replace the contents of the fields variable instead of allocating a new one each time?

The thought process this blog seems to use is 'we have a lot of allocations and nodejs is garbage collected, therefore there is no alternative to using a different language'.
Ideally you should use types, but if you have to use any because of some complicated situation where the compiler’s bitching, it’s no big deal. Anyone who tells you otherwise is a shamey OCD a-hole.
Ask HN: Any indie game developers here?
Hi HN,

I'm an indie game developer approaching 2 years into creating my city builder game. It's a lonely journey so I put together a small group of other indie game developers about 18 months ago (via Discord).

We meet up every week to share our progress, receive feedback, relate to the struggle, and help each other out. It's been a success and motivating for all involved. Most people in the group have participated for over a year at this point.

I'm looking to add a few people to the group who can commit to weekly meetups. We have a strong preference for other full time developers.

About the group:

We are late 20s - 40s. We are pretty open and honest with each other, and will question each other/provide feedback freely. Backgrounds range from software devs, tech startups, and other game dev. studios.

Some of the games we're working on (not everyone can publicly share):

Metropolis 1998 - https://store.steampowered.com/app/2287430/Metropolis_1998/

Drift - https://store.steampowered.com/app/2159650/Drift/

Basketball GM - https://basketball-gm.com

Please email me. Email is in profile!
Scientific sleuths spot dishonest Spellcheck use in papers
Stop working.

It's amazing how much of a brain drain the modern workplace is!
Previous discussion from 7 months ago,

Ask HN: Why did medium.com "fail"? (https://news.ycombinator.com/item?id=34743772) (461 points | 552 comments)
I found about https://librewolf.net/ from a web search. Has anyone here tried it or can recommend any other alternative firefox build without telemetry?
Is there a specific reason why? Do they get in your way when using it?

For me and I think a lot of others that's one of their main features over the competition.
I've never seen forward/back buttons that didn't involve the driver making interpretations.
Not sure that was the goal, but the text accompanying the first run makes it seem like I'm supposed to get the rhythm exactly in the spacing indicated on paper/screen.

But one thing I love about the moonlight sonata is exactly how amazing one can play with the spacing of the notes. So yeah, I had a lot of fun with this but I'm not sure it's the best choice of piece. :P
"should cocaine be legalized?"

Every drug should.

The War on Drugs has been a failure and an absolute disaster on every level. It causes untold suffering that could be alleviated by making currently illegal drugs legal and regulation them, just like ordinary pharmaceuticals are regulated.
Spotifys recommendation algorithm is usually either shockingly precise or a complete wash.

They have a bunch of really really specific Microgenre data that we can't usually see.
Are you always using the same method in tournaments or are there "scenarios“ where one is better than the other?
this is a pretty blatant attempt by chinese academics to curry favour with someone in the newly purged CCP by trying to claim xi-style communism existed in ancient china.

surprised phys.org is publishing this rubbish.
When people need to use browser extensions to read your site, the end is in sight. https://github.com/thebaer/MMRA
That's only partially true though. Back in the day you could "unlock" cores in some AMD CPUs, which indicated that they were perfectly functional. Nowadays they disable the cores in a more robust way, but I doubt every disabled core is non-functional.
The Microsoft Copilot Copyright Commitment
Well I guess we're starting to see a bit more of the unrest that caused Dave Clarke to be ousted. It sucks for the people who were offered a role, but I guess that this is the start of the pain for the people working at Flexport not the end. If they were already on a hiring freeze, and Dave Clarke notoriously bought in a lot of his team from Amazon, then I would probably be brushing up my CV if I worked there.
NOTE: there was a large discussion of this yesterday [1], but that was almost entirely about copyright. This submission is to a different link at Microsoft that makes it clear they are covering much more than copyright. It seemed then that it might be useful to have a separate submission to discuss the non-copyright aspects of this.

They say:

> Specifically, the Copilot Copyright Commitment will:

> • Cover third-party IP claims based on copyright, patent, trademark, trade secrets, or right of publicity, but not claims based on trademark use in trade or commerce, defamation, false light, or other causes of action that are not related to IP rights.

> • Cover the customer’s use and distribution of the output content generated by our Copilot services, but not the customer’s input data, modifications of the output content, or uses of output that the customer knows or should know will infringe the rights of others.

> • Require the customer to use the content filters and other safety systems built into the product and the customer must not attempt to generate infringing materials, including not providing input to a Copilot service that the customer does not have appropriate rights to use.

I’m somewhat at a loss to understand how they can do this. With copyright, filtering to keep the output from too closely matching too much of any particular training inputs goes a long way toward reducing the chances of copyright infringement. It might also be possible to train an AI to only include in its output things that are found in multiple training items from different sources, which would also greatly reduce the chances of emitting something that infringes. The key is that with copyright infringement it is a textual matter—does the output text too closely match too much text from some copyrighted work that the AI had accesses to when it was trained? Also they only actually have to reduce copying enough to get whatever slips through into fair use territory (in those jurisdictions where fair use is a thing).

With patents it is not a text problem. If I upload code to GitHub that implements a patented algorithm, Microsoft trains Copilot on that, and Copilot outputs code that implements that algorithm, then using that code will be patent infringement even if the output code has nothing whatsoever copied from my code. I don’t see how they will be able to filter that out or train to reduce its likelihood. And with patents there is no fair use exception.

[1] https://news.ycombinator.com/item?id=37420885
Immune cells move more independently than previously thought
In 4th grade, during religious study we had to work in small groups and write a dialogue for a scene from the bible. My group had the scene when the Arche rans aground as the water sinks.
I wrote the sentence “Heißt das, daß das Schiff sinkt?”, meaning “does that mean the ship is sinking?”. Havin 3 “das(ß)” in a row went right over the head of my group mates. That was, apart from horrible (loud) reading speeds, one of the first times I really noticed differences in language expression between my classmates. We were all native speakers, mind you.
There are multiple factors and I’m not sure what the exact cause is either. The relative difficulty to build a playable bot is one. A Go game being relatively long and taxing may be another. Go also traditionally has a reputation of being a game for bureaucrats and intellectuals, while Shogi being a more people’s game. The obvious parallel between the battlefield also makes Shogi more popular among samurais, who yakuzas draw a lot of inspiration from.

In general I think the two are of comparable popularity in Japan, but I wouldn’t be surprised if real yakuza people do like and play Shogi much more than Go.
Oh, crap. You put an actual number in your comment, and now there's going to be a whole subthread debating the accuracy of it, completely ignoring the relevant point of the comment.
Maybe it's just me, but I can think of better ways to burn 5k than camping out in the Nevada desert and drink beer with, for the most part, a bunch of poseurs.
Same could be said about weapon development.

They should be ashamed of themselves, but you are still barking at the wrong tree in the long run. You should demand your own government to outlaw this type of surveillance.
You're right. It is amazing.
> This has real world consequences … when people see the US spends 10 times more than any other nation on its military and its space program it becomes apparent this doesn’t equate to necessarily a 10x factor in results.

Isn't this already known though?

The US has such vast resources it can afford to squander them freely due to corruption and incompetence without the people involved ever really being held accountable. This is true of civilian infrastructure projects as well. Yet at the end of the day the country is still so massively wealthy, it makes no practical difference.
>That's not really the same thing

How so?

>the fact that a car can be purchased wouldn't make an expensive lease more attractive.

Yet plenty of people lease their cars.
No, it's first and foremost the SW ecosystem that makes the difference between iPad experience and Android tablet experience.

Unlike with PCs, nobody cares how fast their tablet CPUs are when making a purchasing decision as most flagship mobile chips in the last 3-5 years from both Apple and Qualcomm, are more than fast enough to provide a smooth experience for what most people do on a tablet: browse the web, watch Netflix, shop on Amazon, read books, emails and social media.

But consumers and developers gave up on the Android tablets a long time ago because the ecosystem was an abandoned mess, app quality and variety is meh at best, and the SW update support period is far too short, regardless of how powerful the CPUS in those tablets might be, it's the SW that dictated the purchasing decision and what earned the iPad the monopoly market share.
Aah..you are asking for documented, formal evidence. Unless someone leaks the trove of internals e-mails at Apple of the years before the previous decade, one isn't going to get this. Adobe was a competitor after all. Quite a high barrier for an argument that favours Apple.