Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Rohansi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
121.
▲
by
Rohansi
3mo ago
I know it's not as cool but the Steam Deck can run HL2 at just as low power consumption with its AMD APU.
122.
▲
by
Rohansi
3mo ago
> as soon as you add the screen, you need a full operating system to manage files and run the screen More software? Sure. An operating system? No. There were (are?) plenty of cheap MP3 players that had screens but just drive it with some
123.
▲
by
Rohansi
3mo ago
> Godot's cli allows you to start Godot, do some command, and exit. [...] They're both cli's and Godot was there first Unity has this too and it predates Godot entirely (2010?). `-batchmode`, `-executeMethod`, etc. are the
124.
▲
by
Rohansi
3mo ago
> no idea why that doesn't just lead to https://github.com/eliemichel Pretty sure it's because GitHub allows the user to put content at the root of that URL. And it's an entirely separate domain to avoid c
125.
▲
by
Rohansi
3mo ago
Nothing? I actually measured it incorrectly in the comment you replied. With nothing happening on the page Chrome's task manager reports ~0.1 CPU usage for the tab. Almost all of the overhead on this page is from the header and footer
126.
▲
by
Rohansi
3mo ago
> Wow, that's quite silly - and might partially explain some of the worsening battery life on Android. It's likely the same on iOS. You'd have to try implementing it to really see why it isn't practical. Consider you
127.
▲
by
Rohansi
3mo ago
> Another example: When typing only the newly typed character and caret are rendered. The rest of your entire screen is reused. You're right that they avoid unnecessary painting but it is not this granular anymore. It used to be but
128.
▲
by
Rohansi
3mo ago
Zoom in, take a look at what code is running, and you'll see it's all `lottie_light.min.js`. Being offscreen doesn't mean it's doing nothing. In fact, it looks like once it shows once it keeps spinning its RAF loop forev
129.
▲
by
Rohansi
3mo ago
That's from Lottie, the animations that play in the header and footer of the page. Shrink your window until they disappear and try again.
130.
▲
by
Rohansi
3mo ago
Sorry, I meant to say that it was what I was suggesting. Video games render a lot more than the widgets on that website. Rendering less takes less time, so your `requestAnimationFrame` loop idles longer between executions waiting for vsyn
131.
▲
by
Rohansi
3mo ago
> A website shouldn't be pinning CPU or GPU. That's exactly what I was saying. Rendering a few widgets shouldn't pin your CPU or GPU because it's so little work. This page, however, has an animated SVG and moving DOM
132.
▲
by
Rohansi
3mo ago
Yes, visual effects and animations in UIs burn cycles just to make it look nicer. Doesn't matter if it's a website or the native system UI. To be clear, I'm not saying it's fine to constantly render when you know nothing
133.
▲
by
Rohansi
3mo ago
My point was more that rendering a few widgets at 60+ FPS is nothing for anything with a GPU, and everything has a GPU these days. Anyway, something like this only needs to paint when states change or animations are running. That's an
134.
▲
by
Rohansi
3mo ago
> This is the kind of thing usually a human notices and says 'dont do that, that is kind of crazy'. It's not crazy. That is literally what 99.99% of video games do. They repaint everything constantly, only limited by eit
135.
▲
by
Rohansi
3mo ago
And on the higher end you can get an ESP32 CYD (Cheap Yellow Display) which has a 2.8" or larger touch screen, SD card slot, LiPo battery connection and charger, speaker port, and maybe more for ~$15. Can make fancy UIs for it with LVG
136.
▲
by
Rohansi
3mo ago
> $5 compute Unrelated but the author at Tom's Hardware is apparently unaware of AliExpress so they bumped the price from $2 (or less) to $5. And that's the price for just one. These things are so cheap you can throw them in ev
137.
▲
by
Rohansi
3mo ago
> i wonder why they haven't done the same on Windows Probably because a lot of people feel like they need exclusive fullscreen for best performance and/or latency. But in reality borderless fullscreen is exactly the same when
138.
▲
by
Rohansi
3mo ago
> Personally I trust Apple more than I trust TP Link with this stuff. What if a TP-Link camera supported HomeKit Secure Video? You access the camera through Apple but all of these cameras are still directly connected to the internet, mea
139.
▲
by
Rohansi
3mo ago
> I’m able to watch a camera that has no internet access because it passed through my Apple TV, which serves as a home hub. How exactly does this prevent the same kind of issue for Apple devices? Aren't you just trusting that Apple
140.
▲
by
Rohansi
3mo ago
But why? The Steam Deck and Machine are pick up and go like consoles by default. Only a small minority care that it's actually a PC you can use for things other than games. The only thing that sets them apart is Steam's hardware i
141.
▲
by
Rohansi
3mo ago
You'll likely see a lot more Steam Machine-like PCs because of this. SteamOS fixes most of the problems you mention. Price is the new normal and you should expect next gen consoles to come closer to it. It's not a bad deal anyway
142.
▲
by
Rohansi
3mo ago
> A web app is limited. Even if it loads fast, it feels clunky. But what about it feels clunky? HTML and CSS are a lot faster than you want to believe. You can't tell me you've never used a website that isn't slow. Probl
143.
▲
by
Rohansi
3mo ago
Also why would you store UTF-32 in text column when SQLite clearly doesn't support it? The docs show there are only methods to pass UTF-8 or UTF-16 text. https://sqlite.org/c3ref/bind_blob.html
144.
▲
by
Rohansi
3mo ago
Change RDBMS instead of changing configs from their default value? They're configurable for a reason.
145.
▲
by
Rohansi
3mo ago
> You also get so many weird glitches with state refreshing, sessions being cleared, log in not persisting. And these don't happen in native apps? Because they somehow have less bugs? > Apps feel SO much better with the native UI
146.
▲
by
Rohansi
3mo ago
Or, you know, it's small because it's just a WebView wrapping a website.
147.
▲
by
Rohansi
3mo ago
It's against the App Store rules but if you build an app with React Native/Expo you can OTA update it to do something completely different without going through another review. Enforcement is minimal, especially since you can sele
148.
▲
by
Rohansi
3mo ago
You'll still find people praising Apple (maybe even Google) for their review process even though their store is full of garbage. Really justifies their 30% cut.
149.
▲
by
Rohansi
3mo ago
> I assume that means it is rendering an entirely new image each frame... which is a tad wild. What's wild about that? That's exactly what it's doing and what most uses of canvas/WebGL do.
150.
▲
by
Rohansi
3mo ago
You need to click the "fps" text for it to actually show the FPS value (it'll be green). The 400 you saw was something else.
More ›