skysight-inc/HackerNews huggingface dataset:
Nice writeup! Here is another example of using LLMs is to augmenting existing software that we are exploring -- specifically SQL database systems. We are using LLMs inside a SQL query to power a "soft join" between SQL tables for when a correspondence is only implied (e.g. different address formats, etc.).

--- Create a reference table that maps neighborhoods to zipcodes using ChatGPT
CREATE TABLE reference_table AS
SELECT parkname, parktype,
ChatGPT(
"Return the San Francisco neighborhood name when provided with a zipcode. The
possible neighborhoods are: {neighbourhoods_str}. The response should an item from the
provided list. Do not add any more words.",
zipcode)
FROM postgres_db.recreational_park_dataset;

--- Map Airbnb listings to park
SELECT airbnb_listing.neighbourhood
FROM postgres_db.airbnb_listing
JOIN reference_table ON airbnb_listing.neighbourhood = reference_table.response;

More details on LLM-powered joins and EvaDB: https://medium.com/evadb-blog/augmenting-postgresql-with-ai-..., https://github.com/georgia-tech-db/evadb
Slightly more if we include the future 'campaign contributions' that may have been implied.
i wonder... things like this are known (mostly from trial and error bit not only) for 50-60+ years.. why they are not studied?

and every new kid on the block has to find-out/invent them ?
The modern internet and modern app experience has become so shitty. For example opening up Robinhood, transferring money from a bank account, and buying a stock is hidden behind a multitude of product driven dark patterns that turns what should be a low cognitive load task into a high cognitive load task. This is true for everything now days.

I predict llm based agents will be used as a 3rd party layer on top of the modern web to work in users favor against enshitification.
JDK 21 Release Notes – great changes
Is pinball seeing a resurgence in popularity?

A friend of mine is internationally ranked, and he started out much like the author:

> What if I built a wall cutting it in half and built a pinball room in the resulting new room

Their small apartment is now full of pinball machines, tools and parts
There are JVM implementations, like Azul, that use LLVM for their AOT/JIT compilers, so the last point isn't really a plus for C++.

Java like C and C++, enjoys multiple implementations.

Regarding monomorphization, it is still open how much Valhala will go into that front.

Even if Java will never be as good as C++ in generics, there are several other issues that usually tend to have Java chosen for instead of C++, even if C++ wins in the microbenchmark games.

Likewise most options for running Java on the GPU aren't as feature rich as C++, and that is certainly an area where C++ will be dominating in decades to come.
Depending on the day I’ll do my journaling through dictation on my phone or iPad while I exercise. There isn’t a video component but I’m guessing that the speaking component is more of what you’re bringing up.

As other commenters have said, it ends up more like a stream of consciousness and not something well thought out. My word choice isn’t as good. The prose just kind of sucks. I don’t learn much about myself from these sorts of entries.

This is something I’ve simply accepted will happen because I do this on days that I don’t have time to sit in front of a keyboard for 30m. Maybe having more well defined prompts would help improve the quality of these entries. I’m not sure.
Artificial sweeteners face more bad press – but is it unfair?
I'm pretty new to this community and this was my first exposure to this story. It's definitely going into my "anecdotes from the internet" mental repository.
Right -- I had the same thought coming back to this. We know planes aren't capable of this because as soon as they are you wouldn't have pilots. Maybe 'planes' is too strong since there are a bunch of people playing video game drones in the middle east from Alabama or whatever.
Show HN: SeaGOAT – local, “AI-based” grep for semantic code search
While you're at it, why not install a custom ROM without Google Services (and use MicroG for notifications and stuff).
No one uses it to generate code. Really. Talk to people who actually use it and listen to what they say… they use it to help them write code.

If you try to generate code, you’ll find it underwhelming, and frankly, quite rubbish.

However, if you want an example of what I’ve seen multiple people do:

1) open your code in window a

2) open chatgpt in window b (side by side)

3) you write code.

4) when you get stuck, have a question, need advice, need to resolve an error, ask chatgpt instead of searching and finding a stack overflow answer (or whatever).

You’ll find that it’s better at answering easy questions, translating from x to y, giving high level advice (eg. Code structure, high level steps) and suggesting solutions to errors. It can generally make trivial code snippets like “how do I map x to y” or “how do I find this as a regex in xxx”.

If this looks a lot like the sort of question someone learning a new language might ask, you’d be right. That’s where a lot of people are finding a lot of value in it.

I used this approach to learn kotlin and write an IntelliJ plugin.

…

…but, until there’s another breakthrough (eg. Latent diffusion for text models?) you’re probably going to get limited value from chatgpt unless you’re asking easy questions, or working in a higher level framework. Copy pasting into the text box will give you results that are exactly as you’ve experienced.

(High level framework, for example, chain of thought, code validation, n-shot code generation and tests / metrics to pick the best generated code. It’s not that you cant generate complex code, but naively pasting into chat.openai.com will not, ever, do it)
We don’t have to back to the stone ages. Moving a 20 kilo vehicle is obviously a huge improvement to moving a 1-2t vehicle.
There's also a reason Kotlin has become the language of choice for the Android development industry, Scala became a thing, and ThoughtWorks recommended against using JavaServerFaces.
I disagree. Chatgpt is helpful here because f# is a paradigm shift for this otherwise experienced programmer. The programmer probably knows juuussstt enough f# to guide the llm.
For anyone interested, here is the donate button[1] that saved Nissan.com for about 2 years.[2] It appears to still be open? Uzi Nissan was providing for his family, that inherited the domain after his death in 2020. [3] Understandably, they're doing what they have to do to get by. I personally wouldn't mind if they sold to Nissan, the car company, as long as they get a generationally life changing amount of money. The domain is still registered to Nissan Computer Corp. until 2029.

[1]: https://www.gofundme.com/f/Uzi-Nissan?

[2]: https://news.ycombinator.com/item?id=31950097

[3]: https://jalopnik.com/uzi-nissan-internet-domain-owner-who-fo...
I have been using Niagara for years. They have a built-in search, but it's better if you also have Sesame.
Yeah, after the early 2000s, especially in 2017, I'm sure 99% of webring usage was either zombie webrings on untouched sites or a small group of revivalists trying to bring them back like the smolweb. Neither seem adequate to extend the "heyday".

Same with those "top sites" websites where you had to beg users to click on the tiny referral banner to vote for your website.

I haven't seen a webring in the wild since the early 2000s except on zombie websites found on Marginalia.
neat! i was aware of bash's built-in tcp client at /dev/tcp, but gawk being able to function as a tcp server is way cooler. Thanks for that bit of knowledge :>
Congrats :) you perfectly re-created the actual Protobuf stream format. [1]

https://protobuf.dev/reference/java/api-docs/com/google/prot...
No, the biggest wart is error handling.

foo, err := getFoo()
if err != nil ...

bar, err := getBar()
fmt.Println(bar)

Misses an error check on getBar. Scoping rules mean that

if foo, err := getFoo(); err != nil

Gets untenable with nesting fairly quickly.

It also introduces invalid states - what does getFoo return if it returns an error too. Do we change the API to return a pointer and return nil, or do we have a partially constructed object that is in an invalid state?
So, "all models are wrong, but some are useful" in another form. I agree, FWIW; this sort of criticism the article forwards seems a bit nitpicky.
Gokrazy is cool
I'm surprised at how few people have read "Candide" by Voltaire. It came to the same conclusion and was written when the US were still the colonies. I'm sure there were earlier works that would have said much the same thing, but it was so playful in its takedown of organized religion that the jokes still land centuries later.
Brian Lilley, for some context, often writes incendiary posts for Toronto Sun, a tabloid with notoriously low journalistic standards.

He himself, who often writes glowing articles about the current provincial government, seems to frequently be privy to otherwise unknown/unreleased details from our provincial government. He is coincidentally in a long term relationship with Ivana Yelich, who works in the current Premier’s office as “ executive director of media relations”
We wrote about Jane using Particlesy Retrieval-Augmented-Generation platform to create and share Recipe chatbots with her friends - https://www.particlesy.com/2023/07/25/rag-in-the-kitchen-jan...
Maybe we should be asking why we order a few-ounce lunch at all?

There was a time when ordering lunch was reserved for when you were already "on the town" shopping and the like.

Even debating what mode of transportation should be used seems to miss the larger issue and is even kind of gross to my mind.
> resulting in higher utilization per vehicle

A van can hold thousands of 2-ounce packages, whereas a drone can hold one. If you look at it in terms of a one-package utilization rate, a van has over 100% rate, because it holds multiple packages, in fact it may have over a 1000% utilization rate using that metric.

You're essentially wasting tons of energy and resources getting very small packages delivered faster, but in urban setting there are no efficiencies here, quite the contrary.
Can LLMs help in cleaning up the logistics database -- like handling different variants of an address? Here is an example: https://medium.com/evadb-blog/augmenting-postgresql-with-ai-....
FTX Hired Private Planes to Fly Amazon Packages to the Bahamas
Everybody discovers too late that protocol buffers doesn't have any typing and then hacks on a header solution of their own. Tale as old as time.
So you’re saying that no matter what hardware you have, the NSA will buy that specific hardware and take the time to break it.
Not much different than an exec leaving for a rival
While this may work for greenfield applications, I don't see this working well for preexisting schemas. From their getting started page: "Database fields are automatically created for any abstract getter methods", which definitely scares me away since they seem to be relying on automatic field type conversions.

I prefer to manage my schemas when I can and do type and DAO conversions via mapper classes in the very simple and elegant JDBI framework where you write SQL annotations above your DAO methods https://jdbi.org/#_declarative_api

JDBI does wonders for wonky old schemas you've inherited, since joins etc work out of the box (just throw them in your annotations!) The annotations can also link to .SQL files for the big hairy queries.

All these "do magic" frameworks (hibernate being one of the first) work in the simple cases but then fall apart whenever you need to do anything complex/not-prescribed. I end up having to dig into the internals of the framework to see what's going wrong which negates their whole value add.
yep, I think it's quite standard. The BitTorrent protocol also uses it extensively : https://wiki.theory.org/BitTorrentSpecification#Bencoding
What people say and what they do can differ - watch for actions.

Companies… well what they say and do routinely differ.
The vast majority of my comments are left for future-me, because next time I'm on this code I likely won't recognise past-me or past-me's motivations.
> Accounting for religious diversity, US hasn’t been as homogenous as Singapore since the 1800s.

This didn't jibe so I looked up the figures and I still don't understand why you'd write this. To be honest I don't understand why you've written most of what you've written on this thread, but, did you mean to write "ignoring religious diversity...?" The US is 63% Christian. The largest religious group in Singapore is the Buddhists, at... 31%? And unlike in the United States, two minority groups in Singapore (Christians, Muslims) have strong representation in the population, whereas in the US, not so much.

Which I guess would leave things like language, of which they have four official ones and quite a few others, with a bilingual education mandate that demands everyone learn English but recognizes that they've probably got their own as well, IIRC.

There's racial makeup, if that matters to you (I get the feeling it does). In terms of cultural dominance I would reject the idea that there's something massively different about a 69% white majority vs a 74% Chinese majority. The second on their list is Malay at 13.5% and the second on our list is Black at 12.4% and my God why are we even having this conversation

I'm pretty sure the explanation for the undeniable order there is the completely obvious explanation that does not involve "homogeneity" or immigration. It's the authoritarian system of government.
eBay is the place for long tail shopping.

The search is tailored for it and it is a good platform for sellers of long tail items.
Payment could be in the form of a Chromebook!
I used the numbers I recalled being quoted in the news at the time, which also matched my own food expenses. I assumed it was just food, while the SSB number includes non-alcoholic drinks as you say, and we're quite fond of sodas over here[1].

[1]: https://www.worldatlas.com/articles/countries-with-the-highe...
Now if only robots could make the lunches too. Or wait, just replace the humans in need of delivery with robots or AI. Disruption!
I noted your "seems to". I just wanted to point out, that it could be seen as overstepping a line, to suggest that the whole marriage is possibly incompatible, because of that little shared info. I mean, of course it does not sound ideal. But I would not dare to judge the whole relationship because of it.
Google Bard can now access your Gmail, Docs and more
I think you vastly overestimate the qualifications required to be a therapist, and it certainly isn't nearly as good as a randomized control trial? What?

That's putting aside any marketing reasons this person has to appear on a podcast and have "the answer" to male loneliness.
Let's have your story: Why do we give reasons? (2006)
What does international law say about targeted killings?
Used to love google maps, but I’ve switched to Apple Maps it’s been so bad lately. It’s taken me in literal circles, decides I need to do 2 uturns while sitting at a traffic light, gives instructions that are unclear or too late, etc. I noticed Waze got worse lately too, I guess they’re integrating them more :(
> People still don’t agree if shared libraries are a net win or a net loss as a concept :)

After decades of preferring shared libraries a friend quickly convinced me to flip a few years ago. Nowadays the benefits aren't worth the hassles and disk space is cheap (reduced object file size used to be a big deal when system disk sizes were measured in tens of MB or even KB).

Even a static binary almost always needs to be dynamically linked to the system libraries so the OS can be updated.
Which languages take the longest to learn?
Generally this comes with the downside of being unable to use banking apps.
Also, you can feed OpenAI bot et al. boatloads of garbage text for bonus points.
Almost every launcher has a built-in search feature. The difference with search-based launchers for me is having only widgets or even just plain nothing on the home screen, launching apps from a small favorites bar or by typing the first few letters of the apps name. It's honestly faster than looking at many screens full of folders of apps ever was.

https://sesame.ninja/ Sesame is cool, but not FOSS, and last time I tried it some years back it had some limitations for free users or didn't integrate into my launcher well or something like that.
I'm a big YAGNI proponent but format version numbers are not something I would dare to YAGNI.
The criticism of hashicorp seems childish. Why shouldn't they restrict the way in which companies make money from their inventions as they see fit? There's a lot of thoughtless entitlement among some of the attitudes being expressed in this debate.
Interesting marketing technique to put out a "game" that has things like "hire fairpixels.io" which does UI/UX design for startups (edit: its the company that built the game).

Anyone ever play Tom Clancy's Ruthless.com? A PC game borne out of the dot com era. I think it had elements of a MS style company doing monopolistic things and open source as well. I might have to dig it out and see if it runs on modern hardware.
Rust isn’t really a real language for web development though. Just in the bubble here.
You're blaming the poster for judgmental people snapping at him ? It's one thing to wish people being more articulate, it's another to use it as an excuse for 0 thought patronizing.

If someone has to refrain from express themselves or taking better care of what and how they say it, it's moralists reframing words of other people, without even thinking of asking questions beforehand.
I've gotten into pinball the last year and also love the ones you listed. Some of the newer machines I've had a blast with include Stern's Godzilla, Ghostbusters, and 007 machines
> and it allows the receiving side of a message to know up front exactly how much memory to allocate

Not necessarily. Can you really trust the length given from a message? Couldn't a malicious sender put some fake length to fool around with memory allocation?

I was under the impression that something like this caused Heartbleed (to use one example):

* https://en.wikipedia.org/wiki/Heartbleed
I'm not sure I understand why they're using java if they avoid GC? Doesn't sound like the best fit, especially the foreign memory in java isn't too pleasant to work with.
Why Retrieval-Augmented-Generation Is the Key to Personalized LLM Experiences
Particlesy is a Retrieval-Augmented-Generation Platform and REST API.
Laminify: Instantly classify data with Lamini and Llama 2
I mean no disrespect to the authors, but this seems like an extremely painful way to write an application. How common is it to write Java apps this way? It seems like there must have been a better language choice than trying to work against the GC and rewriting parts of the standard lib? And now adding in Rust via JNI? It just feels very painful to me.
This is a bug related to decoding what the user believe is a protobuf file but actually is a length-prepended protobuf file. The article would complain about whoever wrote that file, not about the code that is reading it.
I'm pretty sure Uber is now profitable. Not surprising considering the absurd prices they now charge for delivery. (probably not absurd w.r.t actual cost, but very very far away from the prices that they were charging when they started Uber eats)
Please provide your sources for the effect of climate change on bird migration.
That's what happens when you all of The Establishment in favour of one policy. I don't think you can blame Leave for that. It's more the fact that the main parties were (demonstrably) out of touch with the majority of the electorate.
I switched from jOOQ to JDBI, I find JDBIs interfaces more ergonomic than jOOQs, which was essentially just a nice SQL query builder pattern (when I last used it at least.)
Yes, it's very simple. Just open the app info (by long holding the app icon and pressing the little "i"), then select "disable" and confirm the dialogue. Or did you mean something else?
Now available: Save and sign in with passkeys using 1Password in the browser an
hey. been meaning to ask someone at google.

i read long time ago how many apps are NOT using play services for location, like OSMAND~ and some other apps but what does the user loose if the navigation app doesnt use play location services?

i was talking to a cab aggregator last time and i said "oh i dont use your app because using it makes me enable google location which enables location sharing and i am not keen in doing that and i hear, beyond its privacy implications, you can avoid it".....

he was like "uh..... so why shouldn't we use it?
Google has the power to shut down my business if I express the wrong opinions on social media sites like HN.
Yeah, sounds like a lot of effort.

The only thing they say that explains it is they end up with a single jar file, whose only dependency is the JRE.

So I guess they get platform independence and easy installation.
As a North African Arab (not Egyptian), I interact with other arabs each using their own dialect, because they wouldn't be able to understand my dialect easily. However, the claim being made about Modern Standard (not classical) Arabic or MSA for short, is that you can use it to communicate with any Arab around the world, anyone with highschool or even middle school level of education can communicate with you.

You may hear the claim that Egyptian Arabic is understood by everyone in the Arab world and that's true. But reminder that Egyptians understand most other dialects. You can imagine a person speaking Qatari with an Egyptian, it's possible that each uses their dialect and understand each other. But that wouldn't be the case for someone that only knows Egyptian.
There some title inflation going on I think most people can see / feel that. But having said that I dont think it is unreasonable to be promoted to senior after 2-4 years at all, it all depends on the skills you have show and what level responsibility and impact you have had. Especially with a degree, you have then spent almost 8 years getting educated and working in the same field so with that in mind its even less of weird thing.
> Where those aspects intersect is that it seems easier to build an autonomous flying vehicle than an autonomous road-going vehicle.

Someone needs to carry the parcel from the road vehicle, in contrast to a drone that flies up to the customer's window, fire exit or whatever.
The name doesn't help much either. I was expecting something related to Trust On First Use authentication[0].

[0] https://en.wikipedia.org/wiki/Trust_on_first_use
Honestly the best way is starting with implementing a Q table for some small grid-world problem. You get a lot of knowledge from doing that. Then a bit more work on understanding various approaches, e.g policy learning, world models. Then, reading text books, blogs tutorials, etc.

But "getting" the idea of Q learning for a small state space is fundamental and surprisingly approachable.
In five billion years, which is longer than life has existed on earth, if anything remains of humans, it will be wholly unrecognizable. I’m speaking not just of our natural biological evolution, or what will happen when we take control of that through technology, but of what we accomplish with our technology itself. Human like animals with human like concerns won’t be around to see that.
You mean </br>, presumably.
This fellow's writing is new to me so I found an old post [0] to compare. I don't know, it seems equally gushy to me.

[0] https://daringfireball.net/2012/09/iphone_5
> I'd make the Type G plug the only standard

wtf?

It's way too big, I can't even imagine how big is a 5 or 6 sockets power strip

From the pictures, type L looks the best to me