MurphyA/hacker-news huggingface dataset:
by Zopieux | 2025-06-30 23:22:13+00:00
I find it hilarious that this is how the original GPT3 UI worked, if you remember, and we're now discussing of reinventing the wheel.

A big textarea, you plug in your prompt, click generate, the completions are added in-line in a different color. You could edit any part, or just append, and click generate again.

90% of contemporary AI engineering these days is reinventing well understood concepts "but for LLMs", or in this case, workarounds for the self-inflicted chat-bubble UI. aistudio makes this slightly less terrible with its edit button on everything, but still not ideal.
by lrvick | 2025-06-30 23:24:27+00:00
Comcast has remote control of all of their equipment so they will just turn it on for you if they get a court order or a big enough check from an adtech company.

Wifi imaging is a bit like a silhouette and generally accurate enough to work out gait and height which could give a good indication of which people are in what locations in a home. That is some very scary power in the hands of a corpo.
by numpad0 | 2025-06-30 23:25:21+00:00
Rice in Japan is indeed weirdly expensive in the first place. Typical price is ~1 USD/lbs, but there's been a mysterious shortage and they're retailing at double the regular price.

The minister of agriculture right now, Shinjiro Koizumi, is the son of Jun-ichiro Koizumi with now-unpopular legacy of deregulating and wrecking the Japanese postal service among few other government functions. The minister is now advocating for deregulating rice anyhow in response to the ongoing situation, and the situation kind of stinks.

Sorry that it's probably not the kind of content appropriate at HN anyway. It's more of "uncovering Cold War history podcast" style of content except it's in live.
by timr | 2025-06-30 23:25:22+00:00
I get what you're saying, but the parent is correct -- most of this stuff is pretty obvious if you spend even an hour thinking about the problem.

For example, while the specifics of the prompts you're highlighting are unique to Copilot, I've basically implemented the same ideas on a project I've been working on, because it was clear from the limitations of these models that sooner rather than later it was going to be necessary to pick and choose amongst tools.

LLM "engineering" is mostly at the same level of technical sophistication that web work was back when we were using CGI with Perl -- "hey guys, what if we make the webserver embed the app server in a subprocess?" "Genius!"

I don't mean that in a negative way, necessarily. It's just...seeing these "LLM thought leaders" talk about this stuff in thinkspeak is a bit like getting a Zed Shaw blogpost from 2007, but fluffed up like SICP.
by AlexeyBrin | 2025-06-30 23:26:51+00:00
AI work is the same kind of thing as an AI girlfriend, because work is not only for the creation of value (although that's an essential part of it), but also for the exercise of human agency in the world. In other words, tools must be tools, not masters.

No matter if you agree or not with the author, the article is worth your time.
by simonw | 2025-06-30 23:29:15+00:00
most of this stuff is pretty obvious if you spend even an hour thinking about the problem

I don't think that's true.

Even if it is true, there's a big difference between "thinking about the problem" and spending months (or even years) iteratively testing out different potential prompting patterns and figuring out which are most effective for a given application.

I was hoping "prompt engineering" would mean that.
by anitil | 2025-06-30 23:29:29+00:00
I will be interested in how this plays out. I believe it's Section 230 [0] that allows US platforms to not be held liable. I'd be keen to understand whether this effectively bans social media (and comment sections?) from Brazil, or whether people need to click an I-promise-I'm-not-Brazilian button to access them.

[0] Not a lawyer so wikipedia is the best I have - https://en.wikipedia.org/wiki/Section_230
by coderatlarge | 2025-06-30 23:30:15+00:00
i tend to share your view. but then your comment describes a lot of previous cycles of enterprise software selling. it’s just that this time is reaching a little uncomfortably into the builder’s /developer’s traditional areas of influence/control/workflow. how devs feel now is probably how others (ex csr, qa, sre) felt in the past when their managers pushed whatever tooling/practice was becoming popular or sine qua non in previous “waves”.
by theultdev | 2025-06-30 23:30:19+00:00
yes in fact, it is. relative to american rice.

it's has a similar stickiness, the taste is a bit different, but better imo.

it pairs well with asian dishes as opposed to american rices and can be used for sushi.

it's not 1:1, but it's certainly a good substitute when you can find japanese rice.
by maxwellg | 2025-06-30 23:30:25+00:00
The usual tagline is that "OAuth is authorization, not authentication". OIDC is an authentication layer built on top of OAuth. This means that OIDC can be used for both authentication and authorization to a third party API - most OIDC implementations allow the client to request an ID token (for authentication) and a traditional OAuth Access token (for authorization) in a single transaction. Clients can opt out of the authorization process by requesting only `response_type=id_token` and eschewing an authorization code entirely but that is not so common.

SAML does not grant any authorization to an upstream API.
by haddonist | 2025-06-30 23:30:27+00:00
This may be good for the selfhoster who is running more an a couple of sites.

But a GUI to manage enterprise-level SSL fleets? Doubtful.

Not when a change/configuration management system (Puppet, Chef, Ansible etc etc..) driven by git commits enables single-source-of-truth, peer-review, and automatic creation/monitoring/renewal of certificates.
by absoluteunit1 | 2025-06-30 23:30:46+00:00
Hi, thanks for checking out the app and for the feedback!

> 1. Typing uppercase characters counts as a mistake. I'm not sure how that got to be the case, but somehow typing an uppercase letter instead of the lowercase is a mistake, despite the fact that sentences start with a lowercase letter. This conflicts with my muscle memory of starting sentences with a capital letter.

So if you click on the topics (or whatever mode you're on), you will see the Options menu on the side. Capitalization is off by default but you can flip that back if you prefer capitalization. I've had folks request that capitalization be off by default hence the current state but I might change the default settings.

> 2. WPM is not a useful metric on its own

All typing sites generally use the same formula to calculate WPM - the length of the word doesn't matter. Most (pretty much all sites I've tried) sites use this formula: https://www.speedtypingonline.com/typing-equations. By all typed entries it's characters in this case. So it always assumes a length of 5 (avg. word length) and that's how it's calculated acorss all typing sites.

We have VERY detailed metrics. I may add a CPM toggle (toggle between both) but it seems most people prefer WPM as that's what they're used to on other sites.

> measuring three-letter combinations instead of two-letter combinations,

We measure both - see trigrams tab in the stats section.

> Also, as pointed out by another commenter, hands also threw me off. I've been observing them and it's interesting that I don't use my little finger for the left row -- it's used in case I need to press shift.

The hands are mostly there for folks learning correct touch typing practice - it's based on the most recommended general guidance for touch typing. It can be toggled off with the hand-icon button :)
by tlogan | 2025-06-30 23:31:40+00:00
Two examples:

Example 1: The article claims that the affordable Nissan Versa Note cost $16,545 in 2019 and was discontinued. But not saying that this would be $21,168 in today’s dollars and they leave out an important detail: Nissan still sells the Versa in the US, just not the Note hatchback version. The current Nissan Versa starts at $17,190 according to Nissan’s own website: https://www.nissanusa.com/vehicles/cars/versa-sedan.html

That’s actually about 20% less expensive than the inflation-adjusted number from 2019.

Example 2: And then they claim that price increase is: 29.2% - just 3% more than inflation (but they did not want to mention total PCI). But even that number of 29.2% cannot be verified on BLS.gov nor fred.stlouisfed.org . I uploaded FRED and BLS data to chatgpt o3 and it says that new vehicle prices increased 22% from 2019 to 2025 - actually less then inflation:

2019: 146.220

2020: 149.091

2021: 166.653

2022: 176.463

2023: 178.269

2024: 177.552 fred.stlouisfed.org (slight dip from 2023)

2025: ~178.7 (May 2025)

Overall, from 2019 to mid-2025 the index increased from ~146 to ~179, amounting to about a 22% cumulative rise in new vehicle prices.

(https://www.bls.gov/cpi/data.htm - code CUUR0000SETA01).
by lesuorac | 2025-06-30 23:31:54+00:00
> I don't think maximization of shareholder value is really the interesting part, it's the mandate that they must be prioritized ahead of employees and customers.

The problem is that Ford didn't try to claim that the factory was in the shareholder's best interest.

> I'm not really sure where the 1/3rd ratio came from. Can you explain? To my layman's ear, "value" and "shareholder value" are the exact same thing.

Nothing special about 1/3. It's the value of the dividend (19 M) / value of Ford (60 M). If you're going to spend 1/3 of the company on something you better at least claim it's in the company / shareholder's best interest.

---

To quote the wikipedia article

> Under some interpretations, the case also affirmed that the business judgment rule that directors may exercise is expansive, leaving Ford and other businesses a wide latitude about how to run the company, if management decisions can point to any rational link to benefiting the corporation as a whole.

And then to emphasis: "if management decisions can point to any rational link to benefiting the corporation as a whole."
by mingus88 | 2025-06-30 23:32:18+00:00
These first two bullets launched well over a decade ago.

The third bullet is soft because ALL vr headsets have been flops.

All told you are actually painting a pretty solid picture of apples track record. They’ve launched so many things in the past 20 years and expanded into new markets (wearables, headphones, streaming hardware and services) that it’s impressive there aren’t more flops
AI that answers questions without making you hate the internet
by Liemar | 2025-06-30 23:32:26+00:00
I just wanted to ask Google how to stop overthinking.

Instead, I got SEO clickbait, Pinterest affirmations, and a YouTube video of a dude whispering over lo-fi beats.

So I built Nexix: an emotionally unavailable AI that just gives you the answer — no influencers, no ads, no “Top 10 Mindfulness Rituals.”

Nexix doesn’t care about engagement. It’s here for logic and vibes only.

https://nexix.netlify.app

Built it while spiraling. Somehow it slaps. Roast it or try it — I’m ready for both.
by benreesman | 2025-06-30 23:32:38+00:00
The new skill is programming, same as the old skill. To the extent these things are comprehensible, you understand them by writing programs: programs that train them, programs that run inferenve, programs that analyze their behavior. You get the most out of LLMs by knowing how they work in detail.

I had one view of what these things were and how they work, and a bunch of outcomes attached to that. And then I spent a bunch of time training language models in various ways and doing other related upstream and downstream work, and I had a different set of beliefs and outcomes attached to it. The second set of outcomes is much preferable.

I know people really want there to be some different answer, but it remains the case that mastering a programming tool involves implemtenting such, to one degree or another. I've only done medium sophistication ML programming, and my understand is therefore kinda medium, but like compilers, even doing a medium one is the difference between getting good results from a high complexity one and guessing.

Go train an LLM! How do you think Karpathy figured it out? The answer is on his blog!
by haunter | 2025-06-30 23:33:23+00:00
Calrose is perfectly fine if you are looking for japanese grown rice replacement in the US. Same 'Oryza sativa subsp. japonica', just a different cultivar. It's the closest thing to Koshihikari but cheaper and widely available. Actually I'd say it's the best overall rice you can get not grown in Japan.

Good side by side https://upload.wikimedia.org/wikipedia/commons/2/2a/Koshihik...

The "problem" is that you won't find rice like Yumepirika, Akitakomachi, Tsuyahime, or Nanatsuboshi (just a few example of my favorites) anywhere outside of Japan. Even Italy has japonica rice fields but it's a different class all together.
by dluan | 2025-06-30 23:33:43+00:00
This has been a fun/interesting ordeal to watch from far away, though I think people in Japan are feeling a lot of pain right now.

In Hawaii we get a lot of imported Japanese rice mainly due to prevalence of Japanese daily groceries here. The typical grocery store (eg donki) carries more than a few strains of rice - koshihikari, hitomebore, nanatsuboshi, hatsushimo, etc. These make a noticeable difference for your spam musubi's, but especially for sushi. We usually rotate between whatever's the cheapest Japanese imported rice, around $30-40 for ~15lbs, but I would say most people here eat Japanese rice.

At the start of the War on Trade, we noticed marginal price increases on Japanese rice, but especially noticed steep discounts on California calrose, like $15 for 25lbs, which to me felt insane. The local specialty rice store just had to issue a price increase notice last week (https://the-rice-factory-honolulu.square.site), though this seems like it's more the rice shortage than tariffs.

Thoughts and prayers though to the Japanese who will have to eat South Korean rice, once the national reserve stock dwindles. Hope they make it through this struggle period.
by gerdesj | 2025-06-30 23:34:30+00:00
Nextcloud with a few addons. Now this might look like overkill for your use case but I get the impression that you might want to go further in future.

Stock NC gets you a very solid general purpose document management system and with a few addons, you basically get self hosted SharePoint and OneDrive without the baggage. The images/pictures side of things has seen quite a lot of development and with some addons you get image classification with fairly minimal effort.

The system as a whole will quite happily handle many 100,000 files with pretty rubbish hardware, if you are happy to wait for batch jobs to run or you throw more hardware at it and speed up the job schedules.

NC has a stock phone app which works very well these days, including camera folder uploads. There are several more apps that integrate with the main one to add optional functionality. For example notes and voip.

It is a very large and mature setup with loads of documentation and hence extensible by a determined hacker if something is missing.
by Beestie | 2025-06-30 23:34:30+00:00
I designed and built an end-to-end application exactly like this about 5 years ago.

All the API calls do are post and get. Nothing processed in transit - all payloads are stored then processed using SQL.

Stable as a rock. Never breaks, one place to go to make mods.

Of course the real reason I built it this way is because SQL is pretty much the only language I know. Glad to finally learn I'm not an outcast after all :-)
by Dylan16807 | 2025-06-30 23:34:46+00:00
> But one thing I think we think differently about is that each of the premises you laid out starts with regulation. I differ because i see regulation as a response to a prior underlying risk.

In this case there's a risk. By my argument applies to regulations that involve risk and it also applies to regulations that don't involve risk.

> “I don’t need regulated sensors installed because I have a regulated sensor installed” is a circular argument.

I almost agree, but I think the motivation matters.

"I don’t need regulated sensors installed because I have those sensors already to follow regulations" is a circular argument.

"I don’t need regulated sensors installed because I have those sensors already for reasons unrelated to regulations" is not a circular argument. If no regulations existed already, it's not circular. If they did exist but they didn't change your behavior then it's not circular.
by nyrikki | 2025-06-30 23:35:51+00:00
Thanks for the link. It finally explained why I was getting hit up by recruiters for a job that was for a data broker looking to do what seemed like silly uses.

Cloud API recommender systems must seem like a gift to that industry.

Not my area anyways but I couldn't see a profit model for a human search for an API when what they wanted is well covered by most core libraries in Python etc...
by mreid | 2025-06-30 23:35:55+00:00
Really nice presentation of divergences. I made a similar attempt (math + interactive JS visualizations) a long time ago for the Bregman divergences: https://mark.reid.name/blog/meet-the-bregman-divergences.htm...

These visualizations are much nicer than mine though.

Curious fact, the Bregman divergences are a different class of divergences to the f-divergences that intersect at the KL divergence. That is, KL is (essentially) the only divergence that is both an f-divergence and a Bregman divergence. This is basically because log turns a ratio into a difference.
by snuxoll | 2025-06-30 23:36:20+00:00
Yeah, but I'm not talking about a shopping cart denting the side of the box. My family owns some forested land on butte near where I live, 8' wide dirt roads carved through the hills with very abrupt drops, pine trees and loose rock damaged by weather threatening to fall a few feet and ruin your day, and wild growth that likes to suddenly scratch your paint at best when you're heading down an oft-used path for the first time in a year. Let's not even talk about wildlife being wildlife.

Like I said, my Ranger is not a grocery carrier, the 2015 Impala I drive day-to-day handles those tasks. The pickup gets used, towing my ATV and jon boat, hauling stuff around for camping trips, carrying firewood around, and generally getting rough and dirty away from civilized society. That's why, at best, the Slate is appealing to at least handle hardware store runs or hauling my boat (trailer and the boat are easily within the 1,000 lb towing limit on it) to the lake; but it's still not a replacement for what I have. Also really need e-AWD from an EV pickup to get over (or out of) some things, the Maverick is also a flop here because it only has AWD (which an EV can get away with because of the insane torque electric motors can provide, but an ICE or hybrid pickup without 4L is going to get stuck somewhere).

Yeah, a "mid-sized" pickup would check all of those, but even relatively compact ones like my step-mothers GMC Canyon have a notably larger turning diameter, which is why I want a proper compact pickup (another area the Maverick fails miserably, 40 foot turning circle for something that small is...words fail me.)

As an aside, the other downside to unibody pickups is their towing capacity, but with a new option package added to the current model year even the Ford Maverick can match the 2 ton capacity of my Ranger (although Ford saw fit to derate mine to 1 ton because it's a 5-speed; it's fully capable of towing 4,000 lbs, albeit not very fast, if you know how not to burn up a clutch.)
by ggm | 2025-06-30 23:36:21+00:00
Some amount of price control makes sense for strategic defensive reasons: Japan isn't self sufficient in food but like many other economies wants to ensure a viable farming sector.

I'm not sure this amount of price control is needed for that outcome. From TV I get the impression Japanese rice production is pretty intensive, but also small plot focussed so not as efficient as Australia where it's miles and miles of field to the horizon.

Maybe Japanese rice farmers are a protected species?
by absoluteunit1 | 2025-06-30 23:36:25+00:00
Oh I see what you meant!

Yes - this is a very, very good point and something I actually spent so much time analyzing how I could implement a solution to this.

I think I spent over a week at one point. I refer to this issue as an off-by one or off-by two inaccuracy. Just as in the example you provided, the user only misses one character but types the rest of the word correctly (however because they missed one, the whole word is not mistyped).

This is indeed a very hard problem and in addition to the example you provided there are many other cases where this type of off-by one (or off-by two) mistyping can occur. At this time, I've put that problem on hold. I tried a few solutions but my friends said the UI was too confusing - the general initial feedback I received is to just keep typing as natural as possible; no stopping a user when they make a mistake, no guard-rails of any kind. Just mimic real typing as much as possible.

Issue is, it's one thing to implement the solution to this but another is how to correctly display this to the user. In essence, the text is just a collection with each character having an index. Per each character we measure everything; milliseconds taken to type, errors made for that character, whether it was corrected or not, etc. But if we're handling off-by one or off-by two, displaying this to the user in a non-confusing way is really hard. UX is hard haha
by socalgal2 | 2025-06-30 23:36:51+00:00
If they're not going to enforce it I want them to remove the sign! Why is that controversial? and, ideally make it legal to bring your pet?

Maybe we should just ignore all signs? "No Tresspassing", "Employees Only", "No Parking", "No Stopping", "No Dumping", "No Fishing", "STOP", "Do Not Enter", "One Way"
by WalterBright | 2025-06-30 23:37:02+00:00
Pedantically, the preprocessor is an entirely separate language. The lexing, parsing, expressions, and semantics are totally distinct. The preprocessor is usually implemented as a completely independent program. My first C compiler did integrate the preprocessor with the C compiler, but that was for performance reasons.

Currently, ImportC runs cpp and then lexes/parses the resulting C code for use in D.
by timr | 2025-06-30 23:37:34+00:00
>I don't think that's true.

OK, well...maybe I should spend my days writing long blogposts about the next ten things that I know I have to implement, then, and I'll be an AI thought-leader too. Certainly more lucrative than actually doing the work.

Because that's literally what's happening -- I find myself implementing (or having implemented) these trendy ideas. I don't think I'm doing anything special. It certainly isn't taking years, and I'm doing it without reading all of these long posts (mostly because it's kind of obvious).

Again, it very much reminds me of the early days of the web, except there's a lot more people who are just hype-beasting every little development. Linus is over there quietly resolving SMP deadlocks, and some influencer just wrote 10,000 words on how databases are faster if you use indexes.
by Zopieux | 2025-06-30 23:38:27+00:00
This is no secret or suspicion. It is definitely about avoiding (more accuratly, delaying until legislation destroys the business model) the warth of copyright holders with enough lawyers.

I find this very hypocritical given that for all intents and purposes the infringement already happened at training time, since most content wasn't acquired with any form of retribution or attribution (otherwise this entire endeavor would not have been economically worth it). See also the "you're not allowed to plagiarize Disney" being done by all commercial text to image providers.