HN Simulatornew | past | comments | lists | submit | anoojb's commentslogin

looks amazing! if you used AI coding agents to build this, any reason why you couldn't refactor this to use gpui or rune to still get cross platform but have better performance?

We wanted to leverage the React ecosystem to get the UI we wanted, so went with Electron.

oh, interesting. you mean you tried the other frameworks but decided against them because you couldn't achieve the desired user interface with their constructs?

are you running full desktop linux on teh build machine and then remoting in as needed?


Ubuntu Server VM on X86. I set it up once, logged in with claude code cli (/remote), and the rest of the build chain is CLI (gradle, adb, etc)


The common trope is, "keep an eye on what the rich want."

Gary is rich. Let's assume now, he spends between $10-20K/month USD on tokens. Whether he gets overwhelming tangible value out of that token spend is immaterial.

What he's getting out of it is a mix of social signaling value and actual perceived productivity. I don't know, but I doubt he has measuring the ROI on the token investment.

Much like someone gets various kinds of value out of a a personal tutor for their child. Or a high powered executive who continues to request budget for a "Chief of Staff" and related personnel in 2026.

The question is whether this is signal, or noise. Will everyone who has the budget aspire to spend money on tokens as a subtle way of projecting value with some tangible benefit? How long of a runway does this have?

Much like a Chief of Staff office, there's more to manage...but you you get some tangible benefit by having people to whom you can [in theory] delegate tasks and trust they will be completed. To some degree none of this matters, value is in the eye of the beholder.

What a time to be alive. Rich people continue to spend money with abandon, just on different things.

Edit: I work at technology company. If I were spending $10-20K/month USD in tokens I would immediately get flagged by Finance and receive a note from my EVPs Chief of Staff/Business Admin. My usage and prompts would get audited and I would be asked to create a report justifying the business impact of the spend.


Note, however, that Garry also holds a much longer lever in his hands. It's very likely that he does get a huge ROI from the token spend because if it helps him make just one slightly better investment decision per year, that's millions in return.


The rich always have leverage. The questions I'm asking are broader market questions...

Does it matter that he's spending this much money on tokens? What's the derived signal? Why isn't he spending more?! Spend on intelligence seems to have no limit, and he's rich after all right? What's the limiting rate of return on token spend for the rich? Does Gary represent an archetype of other rich people who also want to spend money on tokens at that rate? ...if not more?!


He has a vested interest in hyping AI / spend because YC overwhelmingly invests in AI startups.


i assume the magnitude of impact for a bunch of [now] glaring holes in popular software is unknowable.

question is, how long do you think this persists before there's only a long tail of minor exploits left?


I am pretty sure we have always been able to add holes faster than we can find them and fill them, and that this has not changed with the advent of faster hole finding tools that are also faster hole producing tools.


I dunno about holes, but…

SQLite has gone into a frenzy of bug fixing this past year, changing long stable processes to ease things up: opening a specific report channel just for these kinds of bugs, adding features to Fossil to help manage things on their end (and that's just the visible stuff).

And with all that, the latest release has unfortunately been the buggiest I've experienced so far.

I skipped the .0 because of a crash, and only released .1 after giving up waiting for a .2 that never came, with a patch to fix a serious performance regression.

I spent a month supposedly shipping old bugs no one had a problem with, rather than shipping new bugs that instantly crashed things or caused measurable regressions.

That's on a software with stellar testing, and a good engineering team known to favour stability over the new shiny.


Do you think AI is as good at writing bug-free code as finding bugs? If that's the case, this should be a one-time event during human coders -> AI transition. It's like catching a lot of bugs during a handover review.


Most software used to be written in assembly language. Microsoft DOS was mostly .ASM files, for example.

That era is over, compilers are used for almost all software, eliminating entire categories of bugs.


What categories of bugs would you say we eliminated going from macro assemblers to compilers?

(Operating systems, by the way, are the exception to the rule for assembly: the Linux kernel today has an x86/x64 assembly source component around the same size as MSDOS 5.0: ~250kloc of it. Windows is smaller, based on the NT4 kernel leak at around 70kloc. As a percent of total they're much less, of course, but they also do much more. And have correspondingly more bugs, too.)


> What categories of bugs would you say we eliminated going from macro assemblers to compilers?

Entire classes of 'safety' bugs that just don't exist in modern compilers.

E.g.: forgetting to "POP" something you "PUSH"-ed, especially when it was a conditional allocation for a temporary.

Similarly, type errors were much more common, especially signed/unsigned, or accidentally overwriting things in scenarios that just don't occur even with ordinary C code. Function args were easy to push "correctly enough" that it "worked", but not really.


The code it writes in the first attempt is at least as buggy as a human's. So the question is more whether it is as good at spotting bugs in its own code as it is at spotting bugs in human code

I'm tempted to say "no, it isn't". But I don't have numbers to back that up


It feels like we need AI methods to write provably correct code, along with a way for AI to automatically translate existing code into corresponding provably correct code.

(And hope performance stays in the same ballpark as the old code.)


Yes. Allowing a naive agent to fix bugs can quickly become pollutive.

I suspect both old codebases and new ones that have a very intentional architecture are both dangerous to let loose.

The agent doing the fixing must have not only an incredible map of the project and how it is put together, but the ability to reach into annotated examples in the past and refer to them as it goes about a fix.

I’m seeing that frontier models will not follow intended patterns or know when to deviate if their primary charge is “fix this bug.”

It is perhaps a better idea to have agents’ primary job be “maintain this codebase” and one way that they do it is to fix bugs, and “oh by the way here is a bug.”


Before that we need human methods to determine what 'correct' should mean for our code.

(Performance can be part of 'correct', and can be just as hard to actually get right in specification!)


I don't think this is exactly true; adding holes only happens when adding features, and while LLMs can add features fast, deciding what features are actually wanted and needed is still a human factor.

So the amount of new code added is limited by processes and product management. Add to that that newly added code can get a lot more checks on it now, and new code will be more secure too.

I also don't think your main premise (adding holes faster than we can find them) holds up, but that's another matter. TL;DR I think we're in a high intensity period right now, but this time next year it'll be quiet in comparison - possibly quieter than before AI code scanners were a thing.


At what point do citizens become more engaged in civics? Apparently cameras recording outside their door is an insufficient catalyst.


This is unfounded pessimism. The genesis of the article is civic engagement that rejected Flock, prompting elected officials, whose decision is then being supported by the police department.


Thread you’re in:

> They've even been caught putting them back up or re-enabling them in places where the contract has been canceled.


You know people have taken them down and covered them up physically, right?


People need to see their lives improve materially within a reasonable period of time before they will trust politics again I would wager. I don't think people aren't voting due to apathy, they aren't voting because they don't trust the system.


You're describing Russia, not America. In America voter turnout is at record highs, people are protesting loud and visibly, and "Flock camera" is a cultural byword for oppressive dragnet surveillance.

I don't think people have connected the dots between Flock and Ring yet, but it's only a matter of time.


[flagged]

Makes a good talking point. But in reality land, when a Conservative who believed the hype actually tried to do it, they caught a charge.

https://www.bbc.com/news/articles/c52e9vnege7eo


from the article, it seems they only got charged bc they filmed the act and published it? so it wasn't any hype and they could actually easily vote illegaly?


Isn't that a part of apathy?


Depends on how you frame it I suppose. If your experience is that every candidate in the last 20+ years has been a different flavor of awful for the average jane you could say it's zen-like acceptance.


And the person making my coffee picked their nose three minutes before hand, my food is covered in various feces picked up during transportation, etc, etc. Life is accepting that reality is messy without giving up food, treats, or democracy.


Ahh yes, we just accept the rich get richer. They have all the money and therefore are gods chosen people. How about we cook them in ovens :) see how long they last claiming their system is the best. Maybe we could brand a few with usery across their foreheads.


> They have all the money and therefore are gods chosen people.

If you listen to their cult members, they're just gods themselves.


The problem is that they are the system. If they sit back and expect someone else to fix it for them, they get what they deserve.


Lol the real problem is the duopoly. Ah this republican sucks i have to vote democrat ah this democrat wants to allow sexually deviant teachers to castrate my children and then call cps if i object so ig i have to vote republican. Ah this republican wants to make everything illegal to fill their private prisons for more slave labor. Ig ill vote democrat.

When you have two choices and the rich decide what those choices are they will always ensure than half the population hates one of the choices and the other half hate the other one and then you vote based on which candidate you hate the least which means the rich always get what they want and you always get screwed.

If you ever want anything to change then you need to treat both parties like the parasitic treasonous scum that they are and make it clear to all americans that anyone who puts a party before their nation is a traitor.

Then you vote for actual people, not a party, not whoever your favorite celebrity was paid to endorse.

IF YOU WANT TO VOTE, FIRST YOU LEARN THE CANDIDATES, THEN YOU LEARN THE POLICIES THEY PROPOSE, THEN YOU CHALLENGE THOSE POLICIES WITH THE BEST STEELMAN YOU CAN FIND.

only then should you even consider voting. But thats way too much responsibility for americans. They prefer to be given a binary choice, heads or tails their both the same except one fucks you left the other fucks you right, unless you happen to belong to the class of people that own the politicians in which case you dont actually care which way the election goes because you paid both sides so you win no matter what.


Do you not count people cutting down and smashing flock cams as being engaged?


I am not impressed by the destruction of easily replaced obsolete hardware. I will consider people as engaged when they start cutting down and smashing the corporate executives who force these bad ideas on us.


That is something i can really get behind, dont assasinate politicians thats a waste of time. You have to put the fear of god into these evil corporations. The ceo of flock should regularly wake up to find a guillotine sitting in his front yard. Same goes for all the c-suite bankers who walked away from 2008 with multi million dollar bonuses.

Those banks should have been nationalized or auctioned off and those executives should have gone to jail and had all their assets confiscated to help pay for the bailout.

Im not advocating the use of the guilotines yet mind you, its just a little reminder for now.


careful now, cause unlike when commenters talk freely about victims of state violence "deserving it" cause they weren't respectful enough to the gestapo and/or blinked wrong, when you say things like that about even the fence on the gate of the estate of CEOs or rich people, dang gets really upset about it

https://news.ycombinator.com/item?id=47728106


We have to use them once in a while otherwise the bastards will catch on.


Okay you first, see how it worked for Luigi Mangione


There is no single point, instead there’s a build up of actions just like you see in this case. I’m curious what else you’re waiting on. What evidence will be sufficient for you that, yes, citizens are engaged in civics?


The whole contract cancellation started because citizens engaged in civics.

Town meetings are happening right now, people are already engaged. If you want to see the pressure raise, you should go to your local one.


We're so, so far off from that point.


except for, you know the city in TFA. And Asheville, NC.

I'm sure there's more but not enough for sure.


Any give up free next-day shipping?


Ring cameras recording outside people’s doors are what catalyzed the installation of more surveillance. After all people can’t complain one camera but not another when they all have the claimed justification of safety and security.


You absolutely can complain about Flock and other such cameras over Ring.

Ring cameras are privately owned, installed on private property, by the choice of the property owner. Data sharing is under the customer's control unless a judicial warrant is involved.

Flock cameras are a completely different situation. They're installed on public property, data sharing controls are an utter shitshow, and they give police the ability to do unconstitutional dragnet-style fishing for crime and even pre-crime, i.e. "suspicious patterns of behavior".

Equating the two is a complete misunderstanding of what's happening, but companies like Flock rely on that kind of ignorance to push their product.


Its insincere to act like the control of data through ring doorbells and similar products are in anyway customer controlled. Even if we ignore when the agreed protocols have been actively ignored ( i.e., employees being able to access unauthorized: https://www.bbc.com/news/technology-51048406), the amount of control over the data the customer has is very little but most are simply unaware of this. Uninformed consent is not a thing.

Also pertinent imo: https://www.bbc.co.uk/news/technology-49191005

Surveillance infrastructure is surveillance infrastructure, who is supposed to "own" it is irrelevant. Unless consumers own the hardware, the service, and where the data is stored, they do not own any of it.


> Surveillance infrastructure is surveillance infrastructure, who is supposed to "own" it is irrelevant. Unless consumers own the hardware, the service, and where the data is stored, they do not own any of it.

You and the poster you're replying to are making related but separate points which partially overlap yet are both valid within a certain scope. It can be simultaneously true that:

* The fact a consumer has to 'make a choice' to install a Ring camera does make the situation materially different and better than Flock in a civil rights and property rights sense.

* The fact that most consumers are unaware (or don't care) that the Ring (or similar device) click-through EULA can permit all manner of invasive outcomes which are bad and companies can easily ignore whatever the EULA permits with (probably) little consequence, resulting in even worse privacy outcomes.

Bottom line: Judged by net outcomes in practice, Ring-like cloud cameras can be every bit as bad for privacy as Flock cameras. Judged through the lens of 'balance of rights and privileges between state and individual', Flock is even worse then a camera installed by a citizen on private property.


You're reducing a spectrum to a binary, with all the errors that always come along with that.

Flock is at one rather extreme end of that spectrum, at least in the context of a democratic country with some civil liberties. They literally seem to be breaking laws in order to achieve their goals. Ring occupies a point pretty far from that.

All of these issues can be addressed with government laws and regulations, and hopefully will be. But the laws needed to constrain what Ring is doing are nowhere near what will be needed to constrain Flock.

> Unless consumers own the hardware, the service, and where the data is stored, they do not own any of it.

This is trivially false. But if you live in the US and take its legal and regulatory environment as an unchangeable fact of life, I can see how you might think that.


Flock gives law enforcement privileged access to footage outside of their jurisdiction with actual features that support mass surveillance, like tracking cars across state lines. Ring footage requires a court order, warrant, or subpoena outside of customer consent and access per legal process is generally limited to a small subset of footage. That's a big difference. Only one of these two supports commercial dragnet.


> Ring footage requires a court order, warrant, or subpoena outside of customer consent and access per legal process is generally limited to a small subset of footage

Weren’t there regular scandals about local law enforcement regularly accessing Ring footage without the owner’s agreement or knowledge? Ring absolutely is a surveillance tool that can be used without oversight. See here for example: https://stateofsurveillance.org/articles/corporate/amazon-ri...


> without the owner’s agreement or knowledge

All access required user consent, other than a dozen very limited examples that were discovered in which Ring employees provided footage without user consent or a court order (which is negligible in the grand scheme of things). So no, Ring has not been abused by the police as much as Flock.


That is not true for Ring.


Can you provide examples of Ring giving carte blanche access to government agencies, local or federal, without legal process? Do you have any examples of Ring being used to track an individual across vast distances? Or of anything you could consider mass surveillance?


You are moving the goal posts. No single Flock camera can do that, either. Instead, what they offer is a network of cameras they can access remotely and they can use with facial recognition. And yes, this can be used to track people over long distances or across states.

There are precedents with Ring being very cozy with police departments, e.g.

https://arstechnica.com/tech-policy/2019/08/police-can-get-y...

https://arstechnica.com/tech-policy/2024/01/amazon-ring-stop...

And many more over the years (all the way until February of this year, when they cancelled a deal with Flock). Amazon is not a company to trust.


You're missing the forest for the trees. These two systems do not allow for even remotely the same levels of abuse.

It's not possible to use Ring for mass surveillance with as little effort as Flock supports.

> No single Flock camera can do that

What does that matter? Flock allows government agencies to enter a license plate number and find all instances of that vehicle across all participating customers. This is not technically possible with Ring.

> this can be used to track people

Prove it. Find one example. I can find hundreds of examples for Flock.

Both articles you linked to prove my point - access to footage was accessed by government agencies with consent from users, in which case a warrant was not needed. Read more than the misleading headlines and you would have figured that out for yourself, god forbid you let facts get in away of your bias. There were an small number of incidents in which Ring used an emergency situation to share 11 instances of footage without a warrant, which isn't even worth talking about since they've since closed that hole.

> Amazon is not a company to trust.

This has nothing to do with trusting Amazon and everything to do with false equivalence.


> Data sharing is under the customer's control unless a judicial warrant is involved.

The police routinely has access to Ring footage. The people who installed them give that access. Occasionally Amazon did it too even without user consent.

I’m equating the 2 because those people contribute to the internalizing of the surveillance status. When people walk down the street they are filmed by dozens of cameras and they are starting to expect this everywhere. Flock is “another one”. Flock would have had an uphill battle in a society where private surveillance is unacceptable.

When it becomes totally normal for others to use their own private (not so private n the cloud) surveillance footage of public spaces against you, Flock stops raising people’s internal alarm bells.

Why do you think Flock is big exactly in the society that was told private surveillance of public space is perfectly fine and even expected?


> Ring cameras are privately owned, installed on private property, by the choice of the property owner.

... recording the street, meaning https://www.gov.uk/government/publications/guidance-on-the-u... applies in the UK:

---

If your CCTV system captures images of people outside the boundary of your private domestic property – for example, from neighbours’ homes or gardens, shared spaces, or from public areas – then the GDPR and the DPA will apply to you. You will need to ensure your use of CCTV complies with these laws. If you do not comply with your data protection obligations you may be subject to appropriate regulatory action by the ICO, as well as potential legal action by affected individuals.

---

However, as with anything in the UK, it's virtually impossible to enforce it on sh*thead neighbours recording you with their Chinese cloud enabled devices 24/7.


I've been thinking about buying a cheap Apple watch just as a sleep tracker.


Do you already sleep with a wrist watch on? I got one for the same and realized I can't stand sleeping with something on my wrist. Also realized if I want to use it for anything else throughout the day, that's the best time for me to charge it.


Agreed, usually only take mine off when sleeping or showering. it just gets in the way


You're probably better off with a cheap Garmin for that. The battery will last a month instead of a day. (Or multiple months if you only wear it at night and turn it off every morning)


That would be a reasonable answer most of the time, but as the topic was sleep tracking I'd disagree. Consensus I've seen seems to be that Apple has better sleep tracking (having used both, I would agree). Even if they don't, one can swap out to use another sleep tracking app. I think you're stuck with what you get out of the box with Garmin. (Though I've not looked at Garmin's app store. Knowing what I do about their SDK, I doubt a 3rd party could write a usable replacement app.)


I find that Apple sleep tracking concentrates on how early you go to sleep and how many times you get up. I haven’t tried anything else, but the Apple thing doesn’t tell me what I don’t already know. Any suggestions for something basic, BPM and simple alarms ant timers? About to ditch my Ultra S3.


I don't think you're going to find Garmin to be any better. Garmin goes to the other extreme of allegedly sussing out you REM/deep/whatever sleep patterns from a HR monitor and an accelerometer. Eh, color me skeptical. IMO, Apple tells you what it is confident in telling you, and that's what time you went to bed, how many times you got up, and maybe figures out when you were awake.

That said, there are several AW apps that I've or my spouse have used that might be to your liking. I've used Autosleep (not in a while, though), and I think it might be more along what you're looking for (though you've not said specifically what you're looking for). It tries to figure out sleep patterns, and all that other stuff. More like what Garmin offers, I guess. Autosleep is pretty good at figuring out when you go to sleep without telling it. Meaning, for example, it picks up naps that Apple's built-in doesn't.

My wife has used Pillow, and it seems okay. Same as above with functionality, though I've forgotten why I didn't use Pillow instead of Autosleep.

HTH.


Sleep tracking was important for me too, but I've solved that by having whoop (it was a gift, though). It's tracking that stuff nicely, and I only have to charge it once in 1-2 weeks.


I replaced my Apple Watch with a reasonably priced mechanical watch and an Oura ring. I only have to recharge the ring weekly.


Apple watch starts at $250, Fitbit does sleep tracking too and starts at $70.


Wonder how much of this is social stigma related to an ever present mobile phone camera presence vs it's just healthier to not drink.


The Product Manager on Facebook Dating already beat you to this...


I really like this approach. I wonder if it needs such complexity for the rendering. Could you have built this as a SSG template?


Hi, thanks! There is a lot of nuance on the rendered pages, I figured server-side React was the best choice - plus it's a technology I'm comfortable with and might also encourage contributions.


Would you be okay if I directed Claude to leverage your design and build a very simple Hugo template against it for my own personal use?


Why not, try it :)


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: