Hacker Newsnew | past | comments | ask | show | jobs | submit | elmigranto's commentslogin

Or you can have a single checkbox “Problem with the vehicle”.


Purple tick box is how GitHub formats links to merged PRs and closed issues.


Nope, it's how Claude formats ticks, apparently.


Classic case of "focus on building your app, not infrastructure". Here's another multi-million dollar idea: put this cache directly inside your own video processing server and upload there.


Use managed language, it will handle memory stuff for you, you don’t have to care.

But also read these 400 articles to understand our GC. If you are lucky, we will let you change 3 settings.



Interesting!


It works just fine out of the box. The articles/manuals are just if you want to really understand how it works and get the most out of it. What's the issue with that?


In my 20+ years using C#, there's only been one instance where I needed to explicitly control some behavior of the GC (it would prematurely collect the managed handle on a ZMQ client) and that only required one line of code to pin the handle.

It pretty much never gets in your way for probably 98% of developers.


Dr. Dobbs and The C/C++ Users Journal archives are full of articles and ads for special memory allocators, because the ones on the standard library for C or C++ also don't work in many cases, they are only good enough as general purpose allocation.


You need these settings when you drive your application hard into circumstances where manual memory allocation arguably starts making sense again. Like humongous heaps, lots of big, unwieldy objects, or tight latency (or tail latency) requirements. But unless you're using things like Rust or Swift, the price of memory management is the need to investigate segmentation faults. I'd prefer to spend developer time on feature development and benchmarking instead.


Right. That’s why all the software from, say, Microsoft works flawlessly and at peak efficiency.


This. It's exactly why Microsoft use modern frameworks such as React Native for their Start Menu used by billions of people every day.


Wait… please please tell me this is a weirdly specific joke


Only certain live portions of it, and calling it React is a stretch but not entirely wrong:

https://news.ycombinator.com/item?id=44124688#:~:text=Just%2...

the notion was popularized as an explanation for a CPU core spiking whenever the start menu opens on Win11


And this is why SteamOS is absolutely kicking Windows’ ass on handhelds.


Why? Because they use web based UI that is even worse than RN, according to church of native fanatics?


Battery and frame rate. There are a couple SteamOS boxes that have windows variants and the windows version is bad. Microsoft has been trying to manage the PR on this, last I heard they claimed the next update would have 2 GB more available memory.

2GB is not good news. That’s evidence that they did not give two shits about mobile before the bad press.


And probably the reason why I have to restart it at least twice a week.


That’s not what I said. Only that the responsible engineers know which tradeoffs they make, and are competent enough to do so.


The decision to use react for the start menu wasnt out of competency. The guy said on twitter that thats what he knew so he used it [1]. Didnt think twice. Head empty no thoughts

1 https://x.com/philtrem22/status/1927161666732523596


It is indeed an impressive feat of engineering to make the start menu take several seconds to launch in the age of 5 GHz many-core CPUs, unlimited RAM, and multi-GByte/s SSDs. As an added bonus, I now have to re-boot every couple of days or the search function stops working completely.


Please do share any evidence to the contrary, but it seems that the Tweet is not serious and is not from someone who worked on the Start Menu.


I found this: https://www.youtube.com/watch?v=kMJNEFHj8b8&t=287s

I googled the names of the people holding the talk and they're both employed by Microsoft as software engineers, I don't see any reason to doubt what they're presenting. Not the whole start menu is React Native, but parts are.


Why is that somehow worse?


No way people on HN are falling for bait Tweets. We're cooked


"Hi it's the guy who did <thing everyone hates>" is a Twitter meme.


Fair warning, X has has more trolls than 4chan.


Please, it has more trolls than Middle Earth


haha facts


That tweet is fake, and as repeatedly stated by Microsoft engineers, the start menu is written in C# of course, the only part using React native is a promotion widget within the start menu. While even that is a strange move, all the rest is just FUD spread via social media.


> the start menu is written in C# of course

It is funny how quickly this became normalized. During Vista time everyone was absolutely shitting on awful performance, now that PCs became faster it is apparently fine to use one dog ass slow managed language (C#) over another (JS with RN).

Even though RN for Windows is just a thin wrapper over WinRT, but who gives a shit, right? Because JSLOLLOLOL.


Orange Cat Programmer.


What if your phone’s kernel panics? :)


Bring out the crayons and some graph paper!


Did you know other people have phones too?


That's planned obsolescence and you should get a new one.


Get your second phone, duh :)


> This project […] contains only the necessary parts for realistic benchmarking

> The test program is a simple […] return string

I understand how this is required to measure the effects of sandboxing in isolation. And the result is impressive.

In what ways would you expect performance to be affected when workloads are more realistic as well?


I have a bit of experience in this, and adding monitoring, logging and observability doesn't really affect it compared to the non-sandboxing path: All of those things should already be happening. There should already be logging and statistics gathering as part of the larger service.

libriscv in interpreter mode is fast compared to other interpreters, but not near native performance. As I wrote earlier in the thread using something backed by KVM is what I would do if I were architecting a solution for someone. Eg. my TinyKVM KVM-based userspace emulator would fit the bill.


I would guess there is more than one computer :)

Pixar's stuff famously takes days per frame.


> Pixar's stuff famously takes days per frame.

Do you have a citation for this? My guess would be much closer to a couple of hours per frame.



iOS app to discover dog-friendly places in Amsterdam.

https://www.instagram.com/doggable.app/

We have over a 100 places now, and are getting ready for closed beta in September. You can sign up by emailing hello@doggable.app or DM-ing us on Instagram @doggable.app.

The app is developed live over at Twitch.

https://twitch.tv/elmigranto


So if most of the issues with GraphQL are the same as with the other approach, what is the point of GraphQL that justifies all the complexity?


Fragment composition. See my comment here https://news.ycombinator.com/item?id=40984066


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

Search: