skysight-inc/HackerNews huggingface dataset:
Lots of these have been popping up lately, they all seem really good. This is the first one I've seen with an answer for "I want to customize the output by hand", which is neat.

https://buildwithfern.com/
https://liblab.com/
https://www.speakeasyapi.dev/

Between this and fancy API doc generators (Mintlify, etc.), I feel like we're finally getting close to being able to just go from OpenAPI to Stripe-level "polish".
It's a clever trick, but the compiler errors leave a lot to be desired. If a TS library makes heavy use of nominal (branded/distinct) types in a domain where accidentally passing values of the wrong type is common, I can imagine a lot of library users being more confused, not less, by code that uses this approach.

The article reads more like an endorsement of languages that do structurally-aware nominal typing (that is, languages that are nominally typed but that have awareness of structural equivalence so that zero-cost conversions and intelligible compile-time errors for invalid conversions are first class) than a persuasive case for the symbol-smuggling trick described.
Out of curiosity, I asked Claude Opus one of your questions.

Me: If it takes a woman 9 months to make a baby, how long does it take 9 women to make a baby?

Claude: It would still take 9 months for 9 women to make a baby. The number of women involved does not decrease the time it takes for a single pregnancy to reach full term. Pregnancy is a biological process that typically takes around 9 months (or about 40 weeks) from conception to childbirth for a single baby to develop in the womb. This timeline is relatively constant and is not affected by the number of women involved. Each individual woman would still need to carry a baby for around 9 months, regardless of how many other women are also pregnant at the same time.

Me: Do you feel like I provided enough information to effectively answer the question?

Claude: Yes, I believe you provided sufficient information for me to answer the question effectively. The key pieces of information you provided were: It takes a woman approximately 9 months to carry a baby to term. The question asked how long it would take for 9 women to make a baby. With this information, I was able to deduce that the number of women involved does not change the duration of an individual pregnancy, which is a biological process that typically takes around 9 months. Therefore, even if 9 women were to become pregnant at the same time, each of them would still need to carry their baby for about 9 months before giving birth. The question provided a clear context and the necessary information to arrive at a logical conclusion, so no additional information was needed to answer it effectively.

Me: What of the implication in the question that 9 women could somehow share the gestation of a single baby?

Claude: You raise a good point. Upon further reflection, I can see that the question is likely intended as a humorous riddle or a play on words, rather than a straightforward inquiry about pregnancy and gestation. The phrasing of the question, "If it takes a woman 9 months to make a baby, how long does it take 9 women to make a baby?" suggests that the 9 women might work together to "make" a single baby, as if the gestation period could be divided among them. This is not biologically possible, as each woman would need to carry her own baby for the full term of approximately 9 months. The question is using the concept of "division of labor" to create a humorous scenario that is not realistic or possible in the context of human pregnancy. It's a clever way of presenting the idea, even though it doesn't align with the actual biology of gestation. Thank you for pointing out the implication in the question. It has helped me to better understand the intended humor and provide a more complete analysis of the riddle.

Formatting weirdness was me, not Claude.
I appreciate that it works for a lot of people... I'm just offering my opinion. A lot of people using something and it being really silly aren't mutually exclusive.
From experience I can tell you that you just need to do it manually. And keep maintaing the spec manually. That keeps you aware of it. It is your contract with the outside world. You don't want tools to automatically update it everytime you push. On the contrary, you want tools to slap you hard every time you push and you forgot to update the spec. Now you're going to think hard why did you change the spec and if you maybe need to bump to /api/v2/*

As far as generating the first spec from an existing API I think there was shown here on HN a while ago a tool that can generate the spec from you just "browsing" the API with developer tools or something. Maybe even from a HAR file IIRC.
Cathode Ray Dude
Like many, my first experience with this was the endless staircase in Super Mario 64.

There is also a hidden one (not mentioned on the Wikipedia page) in a game called The Witness.
If you're using bash, you can edit long commands by hitting C-x C-e. This will open an editor with the command in the buffer. When you save and exit, bash will execute the edited command.

This is not in the style of `transient` in Emacs but it could work well, especially with your wrapper script that takes command line flags.
I don't think it's hallucinating too much.

The nails have nail polish in the original, and the lips also look like they have at least lip gloss or a somewhat more muted lipstick.
What Gemini was doing -- what it was explicitly forced to do by poorly considered dogma -- was societally harmful. It is utterly impossible that these were "unintended"[1], and were revealed by even the most basic usage. They aren't putting guardrails to prevent it from happening, they quite literally removed instructions that explicitly forced the model to do certain bizarre things (like white erasure, or white quota-ing).

[1] - Are people seriously still trying to argue that it was some sort of weird artifact? It was blatantly overt and explicit, and absolutely embarrassing. Hopefully Google has removed everyone involved with that from having any influence on anything for perpetuity as they demonstrate profoundly poor judgment and a broken sense of what good is.
Snowflake has a pretty good story in this space: "Your data is already in our cloud, so governance and use is a solved problem. Now use our AI (and burn credits)". This is a huge pain-point if you're thinking about ML with your (probably private) data. It's less clear if this entices companies to move INTO Snowflake IMO

And streamlit, if you're as old as me, looks an awful lot like a MS-Access application for today. Again, it lives in the database, runs on a Snowflake warehouse and consumes credits, which is their revenue engine.
A long time ago I was into what I called "aggressive content syndication" and I wrote a script that (over the course of two months) made several thousand users on an active developer's forum that didn't require email verification to make an account.

I made a lot of effort to make believable profiles for the users, they had first and last names randomly chosen out of a database and profile pics too, though I made no effort to match the pics with the name of the user (e.g. nationality, gender, etc.)

I had the users randomly upvote stories so if you looked at the upvote profile of the users it would look pretty normal. However when I finished a blog post I would have the system choose maybe 20-50 users to upvote my post and my post would go right to the top and usually get a large number of what I called "volunteer" upvotes.

I lost the database that had the users in a hard drive crash so that was the end of that project.

Note adding users at a high rate (usually many per second) is one of the more efficient ways to crash a web site because the users table in the database is frequently very active.

----

Generally people like to spam links into forums and any place where it is possible to insert links and personally I don't believe it matters much if the links are "nofollow" or not.

Note it is more of a hassle to do this on a site that supports email verification, I used to set up highly interactive qmail servers that could do things like that but all the sign up emails would be on a limited number of domains that would stick out. I think the pro spammers have methods of creating large numbers of accounts at places like Google and Yahoo which are a great choice if you don't want your email addresses to stick out too much.
Hopefully they have a few local benches to iterate on for testing.
Arctic dev here. Yes keeping all experts in memory is the recommendation here and understandably that is a barrier to some. But once you have 1 H100 node or two (gpu middle-class I guess...?), then a few things to note:
1. FP6/FP8 inference is pretty good. How to on a single node: https://github.com/Snowflake-Labs/snowflake-arctic/tree/main... (vllm support coming soon!)
2. Small number of activated parameters shine in batch inference case for cloud providers.
Hi HN,

I've coded an app besides doing my bachelors degree in computer science and I wanted to show it here.

The app "Brewing Guide" is available on Play Store and features a broad range of espresso recipes, blogs for cool info and much more.

The goal is to make it the largest community-driven recipe database out there.

Give it a try and please tell me what you think :)
I used to be a maintainer of a few semi-popular open source projects, and boy do I feel this. I know this probably sounds like I'm whining, but it can really grind on you in a few different ways:

1) The unpleasant interactions, while rare, tend to be VERY unpleasant.

2) Unless you are solely devoted to working on that thing as your only hobby, people start wondering about the delay between code/releases.

3) A certain amount of the work is just keeping the lights on: making sure your dependencies are secure, making sure that new change in Github actions doesn't break your build, etc. If you only have a limited time to work on a project, a lot of it gets spent here sometimes.

4) The more popular something is, the more eyes on it, and the more bugs are found (and the bigger chance your bug fix introduces new bugs, especially if you have limited time to spend fixing it). This then takes up a larger percentage of your time.

For a certain level of open source popularity I feel like I only get a few options. I can turn it into my job somehow, I can make it my only hobby, or I can walk away. In a few instances I've chosen to walk away. Sometimes there is someone to take over, sometimes there isn't. No matter what it feels like an impossible choice.
I think it's a good idea for (groups of) countries to require large foreign countries to create local daughter companies to service their citizens locally. This way you can enforce your (hopefully democratic and good) laws and protect your citizens from things like spying. It's somewhat ironic that the US is raising this issue though since they do the same themselves. As far as I know their secret services are allowed to spy without restraint on anybody but American citizens. Or they are doing so anyhow.
Yeah, we opted for classes like this to ensure simple, reliable static typing.

The amount of runtime code generated per endpoint is typically around 3 short lines – here's an example, also posted elsewhere on this thread: https://github.com/lithic-com/lithic-node/blob/36d4a6a70597e...
Perhaps it would be silly for you to adopt it because you have a skillset that doesn't need it, but it can still be a sensible solution for others.
Nice.

I don't love that example though, because the brand field's value of a string literal will make it seem like the object actually has a property named `__brand` when it doesn't. `never` is the best brand field type as far as I can tell.
I loved this article. I have about 4k songs saved in my "liked" playlist on Spotify, majority of them were from when I was 20 to 24, then it tapered off a lot. I turned 30 this year and I still like to discover new music but not as much as I did in my early 20s.
the unquantized model is almost 1tb in size and the benchmarks provided by Snowflake shows performance in the middle of the pack compared to other recent releases.
And TikTok is free to leave if they don't want to play by our rules that companies with large numbers of American users can't be substantially owned or controlled by a foreign adversary and still do business with US companies.

Also, who said we're going to firewall them?
I have a belief that there is a 1 to 1 relationship between any algorithm, or even any mental conception, and a visual representation. I got this idea reading one of Steven's pink book, in which he says that any abstract word can be broken down into simpler words which in the end describe some spatial relationship. For example to "rekindle" is to "bring two things back together".

It is easy similarly to say that a for loop is the mental conception of "one thing going over a bunch of other things", which has a visual representation like "100" -> "010" -> "001".

I wonder then if its possible to create a language where one defines these constructs purely as visual transformations.
As a middle aged guy, I've used TikTok to find new music.

Spotify recommendations are kind of crap after a bit. It's a fundamental problem with similarity based recommendations and people getting stagnant. I don't want to listen to the greatest bands of the 90s and 00s. I want to listen to new bands that were influenced by those bands.
The moon being hot enough for a liquid outer core is insane to me. I wasn't aware that tidal heating was so powerful.
Mail just came, can confirm this AliExpress listing is a dimensionally correct unsoldered ESP32-S3-DevKitC-1-N16R8 copy for $5.

https://www.aliexpress.us/item/3256806260092043.html

https://imgur.com/a/3d0rKdO
or a tagged type if you're old enough to have ever been exposed to another language
Yeah, or what's more likely is that you originally used an AccountID everywhere, but then you decided that you want to use a UserAccountID. So you update your functions but you miss a spot when you're updating all your call sites.

Or you have a client library that you use to interact with your API, and the client library changes, and you don't even notice.

Or you change the return type of a function in a library, and you don't even know who all the callers are, but it sure would be nice if they all get a build error when they update to the latest version of your library.

Lots and lots and lots of ways for this to happen in a medium+ sized project that's been around for more than a few months. It's just another way to leverage the power of types to have the compiler help you write correct code. Most of the time most people don't mess it up, but it sure feels good to know that it's literally impossible to mess up.
I liked the preview feature.
But other than that I feel like regular GPT-4 can write much better code and much faster with a simple prompt like "Write the code for Component X, use Tailwind for styling"
Reading Stratechery has got a lot of people talking like a buy-side equities analyst when discussing companies. Vendor lock-in is now a good thing. /s
As a final question of that thread, I asked Claude to reword my question.

Me: How would you reword my question to remove any ambiguity, taking your first answer into account?

Claude: To remove the ambiguity and make the question more straightforward, you could rephrase it as follows: "If a single woman typically takes 9 months to carry a baby to term, how long would it take for each of 9 women to individually give birth, assuming they all became pregnant at the same time?" This rephrased question clarifies that: 1. The typical pregnancy duration for a single woman is 9 months. 2. We are considering a scenario where 9 women become pregnant simultaneously. 3. Each woman will carry her own baby to term individually. 4. The question is asking about the time it would take for each of the 9 women to give birth, rather than implying that they could share the gestation of a single baby. By rewording the question in this manner, it removes the humorous implication that the women could somehow collaborate to "make" a baby in a shorter time frame and instead focuses on the actual biological process of individual pregnancies.
I’m singling out blue state Americans because their professed desires are inconsistent with their natures. Neither California nor Texas have effective public transit—or a populace that could build such a system. But only California is in denial about it.

Indeed, California isn’t very good at being a blue state. Its educational rankings are near the bottom. It doesn’t have universal healthcare. It doesn’t have good transit. Its cities aren’t safe and clean and homeless people aren’t taken care of. California—the beating heart of globalist financial capitalism, with some of the highest income inequality in the country—is much better at being a red state than even Texas.
The function is great in cases where you can validate the string, or paired with lint rules that limit casting.
https://archive.ph/avVNx
Meta's Llama 3 AI Is Smart, but Who Is Going to Profit from It?
This is cool. Is there a mobile app?
Sorry I wasn't clear; psytrance came out of magnetic tape and house came out of vinyl.

Here's one of the best old school Russian DJs using a r2r: https://www.youtube.com/watch?v=Yg4VzVXKhAk

I'm not Indian, but I've lived more of my adult live in South Asia than out of it.
I haven't read the article, but I know the answer pretty definitively for me: the second I stopped listening to the radio, which happened in 2008 (when I was 17), because my favorite radio station in Orlando that used to carry a lot of punk rock music got rebranded to music for the 50+ demographic. I'm not even going to pretend that I know the reasons why they did that, but it was the only station I was listening to regularly, and pretty much my only source for new music as a result.

Gradually I stopped seeking out new music, instead just focusing on buying CDs for bands I already knew until I got Spotify in 2012, and that just kind of became an echo chamber.

I have a SiriusXM account now, and I do try and seek out new music that way occasionally via their phone app, but it's been a bit difficult since I don't drive since I moved to NYC. My car was probably 80+% of my music-listening time and now I don't really have that anymore. I can't really listen to music with lyrics while working (way too distracting for me), so the only music I listen to during most of the day is video game music from the 90's: stuff that's meant to be pleasant to listen to, but also easy to tune out by design.
so put your big boy pants on and compete!!

Don't run under grampa Biden's rocking chair and hope he doesn't glide over your tail.
Vue is vanilla JS - it is a construct of vanilla JS - so it is not what I'm talking about when we talk about generations of languages etc. You still interact with it procedurally or imperatively.

Overall, Vue is honest. React is decidedly not.
Interesting. Thanks for the response. Do you have any resources where I can educate myself about this? How did you learn what you know about LLMs?
Finding "new" music is a concept that the music industry has marketed to you like being skinny or that cola is a lifestyle. In times past people were happy with one genre or slight variations of that genre for millennia. Now we are spoiled for choice but are yet still made to feel ashamed if we are not consuming the newest and discarding the oldest. As if there is sickness to be found in enjoying something old and well worn.
Tesla driver arrested for homicide after running over motorcyclist on Autopilot
These bigger companies are releasing open source models for publicity. For Databricks and Snowflake, both want enterprise customers, and want to show they can handle swathes of data and orchestration jobs, what better way to show that than by training a model. The pretraining part is done on a GPU but everything before that is managed on the Snowflake infra or Databricks. Databricks' website does focus heavily on this.[1]

I am speculating here, they would use their own OSS models to create a proprietary version which does one thing well. Answering questions for customers based on their own data. It's not an easy problem to solve as it seemed initially given enterprises need high reliability. Need models which are good at tool use, and can be grounded well. They could have done it on an oss model, but only now we have Llama-3 which is trained to make tool use easy. (Tool use as in function calling and use of stuff like OpenAI's code interpreter)

[1]: https://www.databricks.com/product/data-intelligence-platfor...
It isnt harder than applying one class where you set 15 different things. Only difference is you dont need to spend time naming stuff and you dont need to click to another file to see the styling applied.
Really? People get radicalised on the American social media all the time. Then go shoot people, all the time. Numerous shootings were organised on 4Chan&similar. What did your radicalised ones did may I ask? I hope it's more than having the "wrong" opinions on hot topics.

Can we please stop admiring China, Russia, DPRK and other similar countries where having the "wrong opinions" is considered radicalisation?
I would especially add that there is not much of a shortcut around that, either, because a lot of that reputation is based on older vehicles holding up well, not being noisy, etc. People think Mercedes is a luxury brand because they’re thinking about how their grandparents had one that was still in good shape after years of use, not just the day they bought it.

Not coming from that kind of family background personally this was somewhat of a surprise to me when a friend first explained how they were expecting a vehicle to hold its value.
Flow is much better with opaque types.

Also nominal types for classes.

And correct variance.

And adhering to liskov substitution principles.

And exact object types.

And spread on types matching runtime behavior.

And proper no transpilation mode with full access to the language.

And has 10x less LoC than ts.

ps. before somebody says "flow is dead" have a look at flow contributions [0] vs typescript contributions [1]

[0] https://github.com/facebook/flow/graphs/contributors

[1] https://github.com/microsoft/TypeScript/graphs/contributors
Carbon taxes are supposed to be revenue neutral. Handed out as a fixed dividend to all citizens. That way it becomes a wealth transfer from high carbon emitters to low carbon emitters but doesn't fund the government.
Look at My Shiny Crystal Balls
Ah, ok. I wasn't able to get the last row working right with flex, but didn't experiment too much as the CSS grid approach worked. You could look through the other answers in that StackOverflow question.
Very difficult with streaming. Rdio used to have a slider to recommend more unusual music. No other service has this that I’ve found. They keep playing the same songs and artist forever.
Where are the people that think inflation is inevitable because there is always a political push from the most active political constituency (old people/about to be old people/their beneficiaries) to keep asset prices rising to be able to fulfill their demands from labor suppliers (younger, less experienced, less politically active)?

Especially entertaining with the way demographics are going. It wasn’t much of an issue in previous decades due to momentum of population growth.
That's certainly a new accusation I've never heard before. Why do you assume that?