skysight-inc/HackerNews huggingface dataset:
"But I can’t communicate directly from client -> LLM Service without leaking the API key."

There is a way you can do that right now: the OpenAI WebRTC API introduced the idea of an "ephemeral key": https://platform.openai.com/docs/guides/realtime-webrtc

This provides a way for your server to create a limited-time API key for a user which their browser can then use to talk to OpenAI's API directly without proxying through you.

I love this idea, but I want it for way more than just the WebRTC API, and I'd like it for other API providers too.

My ideal version would be a way to create an ephemeral API key that's only allowed to talk to a specific model with a specific pre-baked system prompt (and maybe tool configuration and suchlike) and that only works for a limited time and has a limited token budget.
If they're going to cheat consumers out of billions of dollars by lying about the interest rates on their savings accounts then they should at least provide better service so you can see your money getting pissed away without interruption, ffs.
> The main advantages are that you don’t need an internet connection

To that end, I'm not clear on benefit in this model. To solve that problem I would just take a centralized framework and stick it inside an oversized drone/vehicle capable of carrying the added weight (in CPU, battery, etc.). There are several centralized models that don't require an external data connection

> the resources on the robots, which are idle otherwise, are used

But what's the benefit of this? I don't see the use case of needing the swarm to perform lots of calculations beyond the ones required for it's own navigation & communication with others. I suppose I could imagine a chain of these 'idle' drones acting as a communication relay between two separate, active hives. But the benefit there seems marginal.

> our system also don’t rely on such central point of failure

This seems like the primary upside, and it's a big one. I'm imagining a disaster or military situation where natural or human forces could be trying to disable the hive. Now instead of knocking out a single mothership ATV - each and every drone need to be removed to full disable it. Big advantage.

> We are just currently working on a “group” abstraction

Makes sense to me. That's the 'value add', might as well really spec that out

> leader election to determine a “mothership” among the group

This seems perfectly reasonable to me and doesn't remove the advantages of the disconnected "hive". But I do find it funny that the solution to decentralization seems to be simply having the centralization move around easily / flexibly. It's not a hive of peers, it's a hive of temporary kings.
Node, Deno, and Bun are all great on Windows and all work the same way on Windows they do anywhere else.

Python is tiny bit more challenging to install. .NET is lot less challenging for the most part but has a few Windows install "quirks" now due to the frozen version bundled with Windows. Both are generally great on Windows once properly installed.

Plenty of developers do full stack development on Windows. It's often extra work to break Windows development than to support it.

(Also yes, Ruby is terrible on Windows, Swift is getting better, try to use task runners that aren't (Ba)sh scripts.)
Plain Text Life
Do you think it would be possible to show this programmatically? As in scrape n posts from TikTok and Reels and show the first displays CCP tendencies?

Or is this like a general US freedom China dictator logic
Another complicating factor that many less-tech-literate don't have a good internal model for is window focus. I've seen several people try and single-click on a not focused web button, only for nothing to happen. When they click again, the button is activated. They then learn to always double click that button.

Having a mental model of "this button needs to be double clicked" gets them the result they want, even if that's not a very accurate reflection of the computer.
As in the old job of coder, short for "encoder". That does not appear to be the same thing you are talking about, but it was equally inefficient to have a second person doing the coding, especially as the tools improved. That is how we ended up with people splitting their roles as both engineer and coder. But the premise is that you won't need to worry about human coder anymore, not as a distinct individual and not a job shared with other jobs.
Feature request: Just a way to bookmark or save products so I can go back and reference them at a later date.
I took compounded Mounjaro for two months. It was like a jolt to the system and got me back on track. I learned how to eat better and alter what I eat plus tracking it. Started walking and going to the gym. Started with 7k steps and now easily over 12k a day on average. I don’t drink soda and if I do it js Coke Zero, Pepsi Zero or Diet Coke. We just don’t buy it. I didn’t know about maximizing my protein and fiber.

It wasn’t short term at all like you say. Something was seriously wrong.

It’s everything though - if it was that easy to just start doing it then people would.

I needed a jolt and impetus to get better. I was depressed, worryful, everything.

I have lost 40 lb. I went from 255 to 229 with the assistance of Mounjaro. I stopped taking it but kept up with the regimen. I am now down to 214.

Some people who take it don’t do it right, they still eat crap and so those are the people who rebound or think they need to go up to 15. I was taking 2.5 then 5 when I stopped.

Yea it is willpower and discipline. Being on the medicine as an assistant along with a lot of research spurred by the community such as maximizing protein, fiber and water intake to become satiated was all that did it with exercise.
It's not usually possible to reply to decades-old HN threads.
"hen" is my go-to gender neutral 3rd person singular pronoun.

I realize that English speakers use "you" for both singular and plural, having retired "thee" and "thou", but the resulting ambiguity has led to the creation of a new word, "y'all", or sometimes prepending it with "all of" for clarity.

Using "they/them" in the singular will just lead us down the same path.

Why not short circuit it and just add the pronoun English speakers have needed forever?

How often is the gender of the pronouned person(s) relevant? In my experience, almost never.
Yes the categories of “our glorious leader” on one side and “their wretched despot” on the other. The categories of “our objective news” and “their state propaganda”.
“Their brutish enforcers” vs “our noble police”.

You have to accept that the era of American exceptionalism is over and we’ll all be measured by our actions rather than the dreamy stories told.
Wouldn't it make more sense to compare it to profit rather than revenue? They suffered a $6.3 billion dollar net loss in 2023.
I'll copy what I said in another comment:

> At what point in the ruling did they wonder what motivated the effective ban? "5 why's" it, so to speak. Did they ever say, "because X, Y, and Z, it is clear the intent of the law is not to prevent speech of certain parties"?
Man searched for 50 years to learn brother had been killed by Mexican military
> It seems all the folks who “have it on good authority” that this is a dangerous propaganda tool, can’t share what “it” is.

No need to speculate too hard here, there are plenty of examples of censorship on TikTok: https://en.wikipedia.org/wiki/Censorship_by_TikTok

Censorship is a form of propaganda, and even the very obvious/reported examples we've seen reported over the years are pretty bad. And you have to assume that there is more going on than is actually reported/noticed, especially in subtler ways. It's also just obvious it's happening in the sense that the Chinese government has ultimate control over TikTok.
Jack Dorsey, former CEO of Twitter.

Plan is to "sit ourselves down on the Janson stage during his allocated time slot and peacefully prevent the talk from proceeding as scheduled."[0]

EDIT: The protest is against Jack Dorsey.

[0] https://drewdevault.com/2025/01/16/2025-01-16-No-Billionares...
Now you've got two addresses to handle - the vehicle's keeper and the licence holder.

Further, the DVLA isn't sending correspondence relating to criminal matters, that's coming from the police who use the Police National Computer, into which the driver and vehicle files are fed along with data from the motor insurers bureau.
> Does the US really want a (hostile?) foreign govt to have clear direct access to [...] americans

Apparently, American users want this? Approximately 700k users have joined RedNote, a Chinese platform. It's out of the frying pan and into the fire for Americans.
Why do you think Instagram is immune from being used in social media based campaign? The only difference between TikTok and Instagram is the recommendation engine they use
On a parallel note, this brought memories of SVGALib.

https://en.m.wikipedia.org/wiki/SVGALib
I don't think they are claiming an efficiency breakthrough on their heat exchanger, just that they've made a competitive heat exchanger that also blocks light very effectively.
Out with a Bang: Enforcers Go After John Deere, Private Equity Billionaires
This is a fun little module. I used them for a project and found them both easy to use and to work fairly reliably. That said, when trying to measure their spectral 'footprint' we discovered that the local oscillator on an Agilent spectrum analyzer was so "loud" in the RF space that it would completely disrupt what the module could see!
Am I correct in understanding that you waited at most one week for a reply?

In my experience with large companies, that's rather short. Some nudging may be required every now and then, but expecting a response so fast seems slightly unreasonable to me.
I've periodically seen lightcell and danielle fong in various news / reddit /forums over the last few years and it always seems to be steeped in controversy.

I know next to nothing about the field / tech, but a portion of folks seem to be like "incredible visionary etc. etc." and the another portion like "fringe science / complete bullshit / this is as realistic as cold fusion" kind of thing.

Very interested to hear from folks more in the know of like, high level long term viability / what the implications are etc.
Ah, a rage bait account. My bad.
Behind Bars (acapella version) [video]
Usually people are interested in branchless implementations for cryptography applications, to avoid timing side channels (though you then have to make sure that the generated instructions don't have different timing for different input values), and will pay some time penalty if they have to.
Dang, I have to know what triggered you to say this. It’s not the same user account so you would have had to have recognized the URL and written based on that.

Do you keep notes on each astroturfed submission and auto-trigger reposts to notify yourself? Or did you just happen to recognize this? 20 minutes from his post to your comment is absurdly good moderation.
You have first hand accounts of the rape and abuse by the people who were kidnapped.

https://edition.cnn.com/2024/03/26/middleeast/amit-soussana-...

What do you mean there is no proof? There are mountains of evidence.
We've popped the first Lua off the title now. Thanks!

(Submitted title was "Lua Programming in Lua (first edition) (2003)")
Consider the fact that, if a drug can make you skinny, perhaps a drug can also make you fat. Or, even your own body can make you fat. Sometimes, what we think are our choices, have more to do with our biology and environment.

Just like you can't will yourself to be healthy if you are sick with the Flu. Some people can't just will themselves to be skinny. This is why we have drugs and treatments, because our bodies are not perfect machines that work the way we want them to.
Yea this is the same as GCP - Google doesn’t use their own public cloud offering. But that’s an organizational decision I don’t know anything about. Sonos app is a popular flutter app that made some news recently. Google earth as well. I think they have a showcase.
Among the biggest players, Apple actually kind of makes sense?

They've poured billions into moving off Intel and are doing well

They have no interest in x86. But Intel has fabs and (I'm guessing) a huge truckload of valuable patents.

Apple has been kicking ass with their CPUs but a large percentage of this is due to throwing lots of money at TSMC to tie up their cutting edge fabs.

But there is uncertainty in TSMC's future thanks to the China/Taiwan/USA situation, and Apple also has no real control over TSMC aside from giving them bucketloads of cash.

That's not a situation Apple loves to be in, and they have the cash to do something about it....
> Right, I'm saying they based it on on the "text" of the law, instead of the motivation.

Sure, although they do discuss TikTok's challenge to the motivation ("Petitioners further argue that the Act is underinclusive as to the Government’s data protection concern, raising doubts as to whether the Government is actually pursuing that interest"). I just don't think the quote you had stands for what you were saying.

> At what point in the ruling did they wonder what motivated the effective ban?

Above is at page 15. Also, I think you're probably looking for the paragraph starting with "For the reasons we have explained, requiring divestiture for the purpose of preventing a foreign adversary from accessing the sensitive data of 170 million U.S. TikTok users is not 'a subtle means of exercising a content preference.' Turner I, 512 U. S., at 645." (at 12).

I saw elsewhere you likened this to the Trump muslim ban. I don't think that comparison is apt. The First Amendment issues there were not decided by the 9th circuit in the first one (“we reserve consideration of [First Amendment religious discrimination] claims until the merits of this appeal have been fully briefed.” State v. Trump, 847 F.3d 1151, 1168 (9th Cir. 2017)) the stay there was issued due to likelihood of success on the merits wrt due process issues; I don't know offhand about the second one; and the third attempt was upheld.
https://en.wikipedia.org/wiki/List_of_most_commonly_challeng...
He's still a knob though. The man who has to pretend he's a top gamer to ... well, I couldn't think of a reason why he'd make himself look so stupid.

Pathetic man-child who's lucky he has people like Gwynne Shotwell who are both excellent and don't seem to mind being out of the limelight.

Maybe that's his talent. Money and cloud cover for others to let their talent shine. The devils deal there though is that he'll never credit them either!
https://archive.ph/QqFN3
> So on x86_64 processors, we have to branch to say “a 32-bit zero value has 32 leading zeros”.

Not if you're targeting x86-64-v3 or higher. Haswell (Intel) and Piledriver (AMD) introduced the LZCNT instruction that doesn't have this problem.
> I’m not an expert but it seems to me that stick-built construction took over the country because of advancements in fasteners.

The availability of engineered wood products like plywood is a big part of it too. Being able to attach what's effectively a solid sheet of wood to a wall adds a ton of shearing strength, for example. (And that's without getting into fancy modern engineered wood products like parallel-strand lumber or glulam, which give you something even better than raw wood.)
I double click to select text all the time. Get your flags ready.
It's simple in the US. Driving is for drivers, not anyone else. There's a little pushback around the edges, but in general if it makes the car occupants safer, nothing else matters.
It's not power failure I'm worried about, it's failure of other systems. But even so, yes, it's more likely that the systems that are supposed to ensure redundancy will fail than the otherwise-non-redundant services.

For what it's worth, my house isn't a single power domain -- I'm running some of my services on an old laptop that's still got some battery. But it goes to sleep if the power goes off, and needs physical intervention to recover. Which is an excellent example of redundant systems providing multiple single points of failure and of the perils of using random left-over hardware to run stuff.
And all those other parts were recovered after most flights and re-used after refurbishment on future flights. Since there's no other name than "Space Shuttle" for the whole rocket, it will do. Note that Starhsip is also ambiguous, as it refers both to the entire two stage rocket, but also just stage 2.
How very "land of the free" of America
Having a puppet on television say that someone died in a missile attack is not as bad as having an actual friend or relative die in a missile attack. This is what I mean by a, "sense of proportion."
How are you supporting a group that would take a newborn baby as a hostage? What drugs do you need to take to pretend that it's ok and defend the kidnappers?!?
Exactly - there are technical solutions, they just rely on mass uptake in order to work.
I've literally done it. It's not hard. Maybe if you have some health conditions that make it difficult to stand, but I hope the store will provide accommodations if you do.
Thanks man, I appreciate it.
> TikTok collects massive amounts of data on 100s of millions of Americans. Opens many avenues for spying, extortion of influence, etc.

you can buy all of that from data brokers
There is no functional difference in likely effectiveness between the present EU, of which Denmark is a member state, or the present US holding Greenland against a Russian attack. The Russian attack would be smashed either way.
SpaceX Starship issues may delay Artemis 3 mission to 2026
> The idea that the CCP could drive our national conversation somehow (still murky) bothers me.

Even if all the CCP can do is modify how often some videos and comments show up to users on tik tok, there's a chance that level of control could have been enough to instigate the whole jump to red note we're seeing. After all, the suggestion originated within tik tok itself as the videos talking about it (and the comments praising it) went viral. Sure everyone was primed to do something with the deadline approaching, but it's entirely possible that the red note trend isn't an organically viral one, but a pre-planned and well executed attempt to throw a wrench in the works.

red note's infrastructure seems to have had no problems absorbing millions of new users at the drop of a hat, cloud scaling is good, but that kind of explosive growth in mere days, when unexpected, often results in some visible hiccups. Maybe the engineers are just that good, or maybe they had a heads up that it'd be happening.

Utter speculation on my part, but I've found it interesting I've not come across anyone else mention the possibility.
I didn't say it wasn't fine. I'm saying that if you set your browser to automatically clear all cookies after a session, every day, etc. Then it will delete the cookie to remember "Reject tracking cookies".

Also, if the site is using a third party service for the cookie banner, the cookie for remembering "reject racking cookies" might be stored as a third party cookie that the browser then doesn't store at all, depending on the browser settings.
[dupe] https://news.ycombinator.com/item?id=42735393
Hi all, I'm Dominic and I'm on the product team at Mermaid. I enjoyed reading a lot of your feedback!

It seems there's several good ideas and thoughts on the direction of the platform that we'd love to learn more about. If you have problems with the current product, improvement requests, or would like to chat then let's connect! Please email me at dominic@mermaidchart.com or book time on my calendar: (https://calendly.com/dominic-01w/mermaid-shapers-product-int...)

Thanks for taking a look at our latest release!
woah there - hang on a sec

> No one's going to be happy running a 500x slower python project knowing there's the real deal running elsewhere, with a hip new runtime they can't get.

What if the current python project got 500x faster in general? As optimisation work for Synapse is not being paywalled - it’s just the worker scalability, which is not a bottleneck for normal sized servers anyway.

The reason Matrix servers are typically slow today is that state resolution and storage is algorithmically slow; federation is fullmesh and doesn’t support “thin server” approaches for participating in busy rooms, and joining big rooms still blocks on loads of state being synchronised before you can see other members & history.

Fixing this (and more) is very much on the menu for FOSS Synapse - and won’t be helped by faster workers, given workers are just for scalability, not for core performance. Conversely, $ from Synapse Pro will hopefully fund that work, which otherwise has been stuck for years now thanks to lack of $.

(Also: if you did decide Element had gone mad and don’t want anything to do with Synapse, you can try a different homeserver like one of the Conduit forks; don’t throw Matrix under the bus with Element :)
So how do you write a mobile app with HTML and CSS? Or a TV app? Or a car app? Or a watch app? Or a VR app?

The “one simple standard” falls apart when you need multiple platforms.

And honestly the document and document styling model wouldn’t work very well for these platforms.

Everything from “center a div” to “pinterest style masonry grid” is 100x easier in flutter.

Also, flutter is not “another abstraction” on top of web. The widgets don’t map to DOM elements at all. It is a completely orthogonal approach. All of the other web frameworks are indeed abstractions, but flutter is not.

Just curious, have you used flutter before? My impression is that you would like it because there is actually less abstraction. A widget just represents a paintable object on a canvas without any more indirection than you give it.
How geeky. I love it!
It's not a small thing that nimbly escapes scrutiny.
Do you object to pencil and paper because people write down reminders because their memory isn't good enough to remember everything?
I'm guessing there's local ecology issues with this? Groundwater seepage, etc. Though that hasn't really stopped fracking so maybe it'll just be a non-issue at the policy level.
That's a significant over-simplification and ends up wrong in many cases. Build vs. buy is largely the same equation as rent vs. own in real estate or automobiles. Generally speaking, in the short term renting is almost always cheaper, but there's a break-even point at which buying (aka building) becomes cheaper. Owning the system also grants considerable ability to build it to be exactly what you need, instead of hacking around deficiencies and/or begging your account manager to get your feature approved and implemented.

There are plenty of situations in which the terrible business decision is to rent instead of build. The difficulty is that without knowing the future it's not always clear, so you have to use your best judgment and hope you get it right.

Edit: Also don't forget that roll-your-own doesn't necessarily mean starting something from scratch. In many cases I opted to use and self-host an open source project that sometimes is sufficient all on its own, and when not we can make changes to it. I almost never start a non-trivial project from scratch just to avoid buying, unless it's a major piece of our product or value proposition in which case you have to consider the risk of building on a foundation you don't control.
There is also a brainfuck to flipjump compiler: https://github.com/tomhea/bf2fj
Flarekit – Simplifying Edge-First Development with Cloudflare
I made a sibling comment agreeing with that point and expanding on why.

However, bad data is bad data. If I said the moon creates waves because it is made of cheese, I think it is completely legitimate to point out out that it is in fact not made of cheese.