skysight-inc/HackerNews huggingface dataset:
Show HN: App for remote Christmas draws with family, office or school
Building an Audience Through Technical Writing: Strategies and Mistakes
Posted case does not enforce GPL
> do you have a specific need for low global write latency, or is it motivated by something else?

It's motivated by liking of reliable systems that keep working when a node fails.

There are a bunch of non-webscale companies that pick mysql over postgresql because they can use either percona xtradb cluster or galera cluster.

Having an open source multi-master solution would mean that postgresql could finally be used over there as well.
Hello HN community!

I am excited to announce the first release of our open-source web widget UI that makes it effortless to embed OpenAI Assistant chats into your website.

Why This Matters:

Integrating AI-powered chat functionality can be complex and time-consuming. Our widget simplifies this process, allowing you to add a customizable chat interface without building it from scratch.

Key Features:

Easy Integration: Add the widget to your site with minimal code.
Customizable UI: Modify the look and feel to match your brand.
Open-Source: Released under the MIT License—community contributions are welcome.
Powered by OpenAI: Leverage the capabilities of OpenAI's language models.

Get Started: Look at Github repo https://github.com/widgetplatform/widget-oa or website https://widgetplatform.com

We Need Your Feedback:

Your insights are invaluable. Whether it's feature suggestions, bug reports, or contributions, we welcome your input to improve this tool for everyone.

Looking forward to your thoughts and questions!
Like I said, React has nothing to do with the slowness issues of messenger.com.
CD Projekt Red will use Unreal engine for their next games
Advent of Code – Extra Challenge: Code Golf
Composite primary key support lands in Django
Django keeps jazzing strongly.
Why are they using an AI image for an article complaining about human autonomy being taken out of education and healthcare? People just don't get it.
marginalia.nu
The ASML machines are modular and each generation gets new upgrades that pushes Moore’s law further. For example, with the previous generation, the Chinese SMCI modified the machines to be competitive with the newer chips from EUV machines. So there is a lot of expectation on the new EUV machines still. Also in terms of productivity.

With the stamping approach there might be less upgradability possible. But it might also still unlock new markets.
Indeed, it might be the case that there’s more than that disabled, since numbers are somewhat surprising:

> Still, the Cyberpunk 2077 data bothers me. Performance counters also indicate higher average IPC with the loop buffer enabled when the game is running on the VCache die. Specifically, it averages 1.25 IPC with the loop buffer on, and 1.07 IPC with the loop buffer disabled. And, there is a tiny performance dip on the new BIOS.

Smells of microcode mitigations if you ask me, but naturally let’s wait for the CVE.
Makes one wonder. El Salvador brilliantly fixed the high homicide rate issue. But did they fixed also the huge corruption issue? Could they tackle both together? I wouldn't expect so.
Thing that i observe in myself and that makes me frightened: i am longing to become independently rich because i see it as only plausible way to not be actively evil.
I don't remember the sneaker phone, but I do remember the football phone:

https://www.rollingstone.com/culture/culture-sports/the-funk...
I re-read the intro and the fact it mentions leetcode and the like was enough for me to decide that it's an ultimately pointless endeavour for me.

I have no interest at all in competitive programming or maths; I spend 40+ hours a week doing programming for work, I want games and challenges that pull me away from that so I continue to have a life outside of my job.
Are there any VOIP boxes that work with dial phones?
There are some "filter" days for sure, usually those are when the solution needs a major leap in your approach such as concurrency, dynamic programming, or geometry equations.
You should do a ShowHN on it!
https://archive.is/3pI2n

https://archive.today/3pI2n

https://archive.is/https://www.nytimes.com/2024/07/08/opinio...
And equally abhorrently, as the 13th amendment and now California can attest, to the incarcerated

> Neither slavery nor involuntary servitude, except as punishment for crime whereof the party shall have been duly convicted, shall exist within the United States, or any place subject to their jurisdiction.

“Californians voted against outlawing slavery. Why did proposition 6 fail?”

https://www.kqed.org/news/12013392/californians-voted-agains...
Current AIs don't learn like us.

But the context length is around what a human goes through in a day so it can feel like it, and they can use tools such as databases to make direct record of "important" things, and fine-tuning on sessions is also already possible.

I'm going to ignore "proper" continuous learning until that actually gets into the big-name models, because although there's plenty of "first 90%" tech demos, the Tesla FSD is also at that point and yet the cars today still come with steering wheels. Meanwhile, here's the research SOTA: https://github.com/Wang-ML-Lab/llm-continual-learning-survey

Ironically, continuously updating a Markov chain is easy, given how small most of them are in practice. But a Markov chain large enough to act like an LLM would collapse into a black hole 7x10^32 times larger than the universe*, so that's kinda hard to update.

* assuming the algebra was correct: http://www.wolframalpha.com/input/?i=sqrt%2812%2A%28%2850000...

Edit: I made at least two errors with that algebra, one of which was a typo; I now think it's 4.2x10^4750 universe diameters…

…unless there's another error I missed: http://www.wolframalpha.com/input/?i=sqrt%2812%2A%28%2850000...
> ("the likes of Amazon are moving to monoliths!1")

I've been at an amazon-scale company, and the thing is: yes, such companies do use a service-oriented architecture... but they do split the services into microservices because that means they can a) further optimise throughput/latency and b) they can delegate responsibilities (ie: split teams when they get too large).

The throughput gains you can get when your software only does one thing are really incredible. FAANG-sized companies do optimize everything then: software, operating systems, hardware. And they can do that because their software is highly specialized. But most non-faang companies? They barely optimize the software, they don't even consider much optimizing the OS or the hardware.

Outside of FAANGs many companies do split stuff into microservices mostly because they want to be trendy and stay on whatever the latest craze is and only secondarily to delegate responsibility and split teams.

I think most "microservices" could be a module or a library within a monolith. The boundary would largely be the same (API contracts) minus the operating overhead. Integration testing would cover the usual issues, and needless to say there would be less "distributed-systems-headache".

Don't get me wrong, I'm not against microservices: it's just that it's often over-used in my opinion.
What if you don't get up?
Gargoyles, stained glass and the spire: How Notre-Dame was restored
> So, there must be some really good evolutionary reason for sleep.

Just one, but partitioning activities in time allows for further specialization. For example, instead of having generalist eyeballs that are okay at seeing in light and dark, you can have specialist ones that are really good at one or the other. Then another species in the same area that utilizes similar resources can specialize in the opposite, reducing competition between the two species (this is called resource partitioning).

Then, once there's a chunk of the day that is less productive than the other, it makes more sense for the body to devote that time to various recovery mechanisms. Then that chunk of time is even less productive, making using that time for recovery even more attractive.
> none of the data should be available

As written, that's not required. The data should not be retrieveable by query, but ACID only specifies what happens at the client-server boundary, not what happens at the server-storage boundary (Durability prescribes that the server must persist the data, but not how to persist it). A database that implements DELETEs by only tombstoning the row and doesn't discard the data until the next re-index or vacuum operation would still be ACID-compliant.
Can't help that the religion which emphasises compassion and selflessness has become unpopular.

That said, it's the inevitable outcome of a more heterogeneous society.
It's not exactly irrelevant, as it does signal someone gamifying finance which just raises all sorts of red flags for me. At that point, I'd be much more suspicious of anything else they said. This isn't a free toaster. This is someone playing with money in a way that is just suspect.

After all of that to then find out that the company isn't a bank yet claims FDIC insured while using a 3rd party to handle to the money because they aren't actually licensed for that while still claiming to be a bank? It's so bewildering I'm typing run on sentences
Unzip was nice, will remember that one!

This is also what I like, reading other's solutions and learning new stuff. I browse the subreddit after solving it myself to see all kinds of cool approaches.
> Vanilla HTML, CSS, and JS

This is a non-answer. It only really is an admissible solution if you're just working by yourself. React solves real problems when building web applications. If you use vanilla HTML, CSS and JS, you're going to have to solve those same problems. How are you going to do it? How are you going to manage state? How are you going to synchronize your state with the DOM? How are you going to organize your components?

Teams that use vanilla HTML, CSS, and JS end up eventually building an internal, buggy, half-implemented, undocumented version of React.
Thankfully? It didn't work well or you weren't satisfied with the technology? Rendering too slow?
That’s an impressively broken website on mobile. Really, I haven’t seen a site I wasn’t able to scroll horizontally before.
So this person has a few good reasons (and one bad one) and instead of doing some deeper analysis on those reasons they come up with

> The most important story about why Americans have become sad and alienated and rude, I believe, is also the simplest: We inhabit a society in which people are no longer trained in how to treat others with kindness and consideration.

And then spends like 2000 words talking about training people to be more polite as a solution. What an awful article.
What's the Markovian interpretation of the notion of embeddings in a high-dimensional space?

Or of attention?

The term is being tortured beyond endurance by being forced to describe what LLMs do.
From the about page: "... However, you should do Advent of Code in a way that is useful to you, and so it is completely fine to choose an approach that meets your goals and ignore the leaderboard entirely."
And then there is GitS 2, which is... something else...
> But it’s extremely configurable in all the wrong ways

Damn that feels exactly like my experience with Zoneminder. I’m sure it is decent software under the hood, but the UX is downright hostile to anyone who just wants to get IP cameras to do very basic motion detection to record some full resolution footage, which feels like the major, obvious use case that should be optimized for.

I am thankful for OSS existing in this realm, but why do so many solutions make the same mistakes? Am I crazy in thinking that a good out of the box experience is important? Is some critical part of the formula locked behind private walls? Something else? Genuinely curious.
It’s only ever elves finding and losing things
Great high level doc on Lambda.

Personally, I love this service. My most critical personal software runs on Lambda. It's insanely cheap and easy to deploy (with Serverless.io, though i would like to move to Open tofu at some point).

Testing is difficult if you rely on Lambda's out of the box runtimes. I recommend using Docker images with the Lambda RIC built in. Way easier to test (with the Lambda RIE) and tons more flexibility.
The article offers a few explanations. Aside from the abandonment of moral education, the one that stands out to me/comes to mind is the prioritization of scores. For example, I knew kids who started studying for the SAT as soon as they hit high school. They were taking the PSAT as early as 9th grade, maybe 10th. They were also busy outside of that with accelerated courses and other enrichment. And college was more of the same. Can anyone really say that this is balanced?

Attention and energy are finite. If success in education or in your job require a disproportionate amount of energy, then there's less to go around for giving a shit. It doesn't even have to be success, some people are struggling to make ends meet. So I guess that's the economy story?
AI screen monitoring right
I wish it supported WGSL. WebGPU seems 5 years away from being standard on devices and browsers.
So long as you have the budget to hire for that, the world is your oyster. Alternatively you could take the risk and pass the savings on to the consumer - it's all up to you, my friend.
Why do you believe his proposed solution is a bad one?
Well, of course the ongoing war does make for poor PR and bad rep, but when things will have settled down people will see it again as the truly compassionate way of thought it promotes.
Not only that, there are 'parasitic genes' that are wholly bad for the animal and the species.
Why would it be a solution? It's just painting over the cracks.
Hey Komod, good callouts. It could be improved, I'll clarify these points on the site.

- We cannot see your YouTube activity => ie what you watch, search for, like, subscribe to. This is clearly explained beneath the TLDR section. What we CAN see is also explained.

- Your chats are only visible to you => as in, they aren't public. That could be clarified. We do state before that that we save your chats.

- We don't mention them by name, but the second line of the TLDR is "• We track Extension usage statistics to improve the product." Have added an explanation for each of them.

Appreciate your help with this. What did you think otherwise?
This is interesting! I understand the reference implementation of the client being in a specific language, since it kind of has to be to be runnable. But I’m a little off put by the selection of a Python-only serialization format as well. So to implement this in another language, both the Jinbase model concepts as well as the serializer/deserializer have to be implemented. Wouldn’t it have made more sense to use MessagePack or Protobuf or one of the other formats that already has ubiquitous language support? I understand you are the author of the Paradict format but it seems like a non-starter for wide adoption of Jinbase across languages.
yes it showed me all the rules even using "The Pit," which i didnt read through all to learn about the bull and the bear. Rather asked GPT a follow up question "what is the bull and the bear?"
Blog post is 2017, but the book is 4th (and latest) edition 2007, year before first author Freedman died, 1st edition published 1978, which fits the cartoon illustrations.

Table of contents and section 1:

https://homepages.dcc.ufmg.br/~assuncao/EstatCC/Slides/Extra...
It's usually not concurrency FWIW, it's almost always algorithmic in nature. On a modern machine, even highly concurrent* code would only execute 10-20x as fast and you could just wait a bit.

One common AoC trick is that you can brute-force part one (e.g. O(n^2) complexity or worse), but part two scales up `n` to make that intractable.

*ignore my sloppy conflating of concurrency and parallelism
> Hetzner volumes are, in my experience, too slow for a production database. While you may in the past have had a good experience running customer-facing databases on AWS EBS, with Hetzner's volumes we were seeing >50ms of IOWAIT with very low IOPS.

There is a surprisingly easy way to address this issue: use (ridiculously cheap) Hetzner metal machines as nodes. The ones with nvme storage offer excellent performance for dbs and often have generous amounts of RAM. I'd go as far as to say you'd be better off to invest in two or more beefy bare metal machines for a master-replica(s) setup rather than run the db on k8s.

If you don't want to be bothered with the setup, you can use one of many modern packages such as Pigsty: https://pigsty.cc/ (not affiliated but a huge fan).
I think Aristotle had the greatest mind of any human who ever lived.

The older I get the more I realize that there are a thousand true and intelligent things you can say about any topic. Magazines, journals, and libraries are full to the brim of intelligent people writing intelligent things. But an extremely minuscule portion of that huge mass is made of writing that gets right to the heart of the matter.

And Aristotle is the writer I've encountered the most who constantly gets right to the essence or core of what he's discussing, moving past the trivialities and the unessential to illuminate deep truths in a logical way. It's why a short essay like his Poetics--which in many ways is a limited work for the modern day because it deals wiih a very specific type of ancient literature--is still pored over by modern writers and screenwriters because of the deep dramatic truths it lays out.
Catch 22: you don't become rich without some good old evil first!
I use Sleep as Android and Tasker. When I go to sleep, I set my alarm with Sleep as Android. Tasker uses that event as a trigger and makes an http request to my home automation hub. That http request is pushing a virtual button. That button puts my house into sleep mode. So the end effect is that I turn on my alarm and my house goes to sleep. I can also push a physical button on the wall to enable sleep mode, so I don't have to use this automation, but I like the way this works.

I also use Tasker to enable Do Not Disturb when using a set of applications: Kindle for ebooks, my meditation app, etc.
One click migrate all your repos to a different git hosting.
ChatGPT can't output certain names, anyone has any idea why this happens?
it can't say Jonathan Zittrain or david mayer for some reason no matter how you try to make him do it, if you try the API version it works but other than that you always get " I'm unable to produce a response. "
Does anyone have any idea why this is happening?
Can you elaborate on this? I presume you mean Christianity, but in the USA as of 2020, 63% identify as Christian. Clearly, identifying as Christian is not as as commonplace as in, say, 1950, but that doesn't mean its become unpopular. Just driving errands, I see very obviously Christian church buildings all over the place. I do not see synagogues or mosques or other religion's edifices.

The author of this piece is Jewish, btw.
I've seen this nonsensical equivalence several times now so I'm going to make an example out of you to prove a point. Define the state space for the human Markov chain.
That's what I've been doing with some older AOC puzzles. I solve it, then paste my solution into Claude and ask for tips on making it more idiomatic. It's been pretty nice so far. I learned about Haskell Arrows which I would probably have never come across otherwise.
I read that headline as blogs and was really confused.
Researchers use AI to turn sound recordings into street images
All those enchantations are never good enough for Microsoft’s email servers.
Learn to let go of the constant need to be productive.
I read the entire page and I don't see anywhere that it actually lists what the puzzles are, I'm so confused.
If you're going to completely ignore the entire category of "research", then I don't know what to tell you. Because the whole subject here is what impressive things Google has done. How can you possibly exclude anything that derives from their research?

And no, Waymo didn't "come out in 2009". It still hasn't come out except in three limited areas, but it's shown astonishing success where it has. So again, if you're only going to count the year a project was started, and not the decades of work it takes to build a world-changing business... I don't know what to tell you.

Except just... talk about moving the goalposts. Geez. I'm pretty sure there isn't a single company on earth that you're going to find impressive enough.
Nothing a quick antenna desolder job or trace cut to shut that little vector down.
Has Volkswagen Lost Its Way? [video]
Eat enough Cosmic Crisps and you will definitely be sharding.
I use it to learn new languages - this year it's Ada -

https://blog.adacore.com/announcing-advent-of-ada-2024-codin...
I'm pretty sure that only applies to Postgres.
This article[0] has some good possible reasons. It concludes by saying that OpenAI hasn't given a reason. I predict they won't. Nor will they ever speak to any specific moderation decision or the behavior of the filtering tools (and other controls) that run on the API before you get to it. It would be antithetical to their business model to discuss any of that.

[0] https://techstory.in/chatgpt-bug-prevents-mention-of-david-m...
ColdMac
Everyone is so obsessed with WA and MN apples that they miss out on the good ones grown in New York, which used to be known for its apples!

Shizukas can be grown here, which I strongly recommend. But honestly most varieties you can get direct from a farm are edible (except Red Delicious, which for some reason continues to be grown even in independent farms even though it's universally acknowledged to be trash).
Films by Jean Epstein. Experimental use of close-ups, slow-motion (as a way to better explore "present time"). Must watch films:

- Faithful Heart / Cœur fidèle

- The Fall of the House of Usher / La chute de la maison Usher

Early dramas by Ernst Lubitsch. Very distinct and sophisticated style, ahead of its time. You may start with any film starring proto-femme-fatale actress Pola Negri:

- Madame DuBarry / Passion

- Carmen / Gipsy Blood

- Die Flamme / The Flame
Love this! a testament to what can be done with pure JS no frameworks, how does the sync work? I'm assuming websockets for the transport layer, does the backend store the full state of the image being drawn or is it sort of p2p/client owned?
The blog posts was not about customers.

It was about how to bait VCs using a pitch deck.
> Redirect all the positive energy to something that will make you proud when you are old or help with an earlier retirement. This won't.

So if some activity [work] doesn't contribute to your ability to never have to work again [retirement], you shouldn't do it?

What if I've retired, am I allowed to do AOC then? Or then does the first rule of, only do something the future you would be proud of apply?

What if all of the things I'm proud of are just a false sense of accomplishments? How do I know when I'm actually allowed to be proud of it, or if it's just a false sense of pride?
Sending row IDs to your frontend has two potential problems:

- Row IDs can be reused when the row is deleted. So when the frontend sends a message to the backend to modify that data, it might accidentally modify a different row that was created after the original was deleted.

- You may be leaking the total number of rows (this allows detecting when new rows are created etc. which can be problematic).

If you have nothing else to uniquely identify a row, then you can always create a random unique identifier and put a unique constraint on it.
Surround Yourself with People Who Invest in Your Success