Better HN
topnewbestaskshowjobs
Log inSign up

brokencode

3,309 karma · joined Mar 26, 2015 (11y ago) · 825 submissions

Submissions

comment 1y ago · link · parent

But then they wouldn’t work in the browser.

There’s certainly a place for truly native apps, but there are also a lot of reasons companies keep picking Electron. Efficiency is just one consideration.

comment 1y ago · link · parent

Targeting ads better. Better sentiment analysis. Custom ads written for each user based on their preferences. Features for their AR glasses. Probably try to take a piece of the Google search pie. Use this AI search to serve ads.

Ads are their product mostly, though they are also trying to get into consumer hardware.

comment 1y ago · link · parent

Some applications benefit from the host integration. VSCode in particular, since it interacts with the terminal and other applications. I'm also assuming 1Password benefits from it as well for full OS integration.

comment 1y ago · link · parent

One nice thing about targeting a web engine is that your application could potentially run in browsers too. Lots of Electron applications do this.

Also you get to take advantage of the massive amount of effort that goes into web engines for accessibility, cross-platform consistency, and performance.

Electron is a memory hog, but actually very powerful and productive. There’s a reason why VSCode, Discord, and many others use it.

But yeah, I wouldn’t say no to a native Rust desktop stack similar to Qt. I know there are options at various levels of sophistication that I’m curious about but haven’t explored in depth.

comment 1y ago · link · parent

Yeah, multiple Tauri apps could theoretically share a Servo library.

Though I’d also be interested to see how slim it could be with static linking.

Presumably a lot of code could be compiled out with dead code analysis? Or compile flags could remove old compatibility cruft and unneeded features?

comment 1y ago · link · parent

It’s still a ways off, but I’m excited for the possibility of something like Tauri using Servo natively instead of needing host browsers. A pure Rust desktop app stack with only a single browser to target sounds fantastic.

comment 1y ago · link · parent

Plenty of people must find this worthwhile, otherwise sellers wouldn’t be able to find buyers and they’d be forced to reduce price if they want to sell.

Plus, the listed price is often aspirational. Savvy buyers will typically negotiate the price down.

I have to admit that I’m not a savvy buyer and always buy new though. But I know people who do this very successfully.

comment 1y ago · link · parent

Just imagine you’re trying to build a custom D&D campaign for your friends.

You might have a fun idea don’t have the time or skills to write yourself that you can have an LLM help out with. Or at least make a first draft you can run with.

What do your friends care if you wrote it yourself or used an LLM? The quality bar is going to be fairly low either way, and if it provides some variation from the typical story books then great.

comment 1y ago · link · parent

With Apple Silicon? Yes, that is very low for typical dev usage.

Gaming is another story though, or any other uses that put a lot of stress the GPU.

comment 1y ago · link · parent

The situation is way more complicated for every city you’ve mentioned than you let on.

I’m not going to keep on arguing with you on this because what would be the point? I attempted to have a reasonable conversation and you repeatedly showed that you will not consider any nuance.

comment 1y ago · link · parent

Nah, I’m not convinced. All I’m convinced of is that you don’t like density, not that it isn’t part of the solution. You don’t get to tell everybody else what the options are.

comment 1y ago · link · parent

You raise reasonable points. It seems like a common trend is that housing prices go up anyway due to outside investors buying up property, high income workers moving in and wanting luxury apartments, etc.

Seems like we need to solve the demand part of the puzzle as well. There’s definitely no single easy solution here.

It could also be that too few cities have increased housing supply, so the local effect is totally overwhelmed by a national or global effect.

Either way, the bill is going forward, so we will be able to see the effects and reevaluate its effectiveness.

I don’t think the idea of “just let the population go down” is a reasonable approach. Especially since it will be poorer people pushed out, even lifelong residents who are displaced by highly paid newcomers.

It’s better to try something new and find out you were wrong than to never even try to solve the problem.

comment 1y ago · link · parent

Can you list some examples where a city has tried this and it failed?

The only example I can think of is Minneapolis, and they have seen lower rent increases than similar cities, so it seems successful.

But outside of that, I just don’t think it’s been tried enough to really make any conclusions right now.

comment 1y ago · link · parent

So basically you want to reap all the benefits from living in a big city without any of the downsides.

California has been trying this for decades and it really isn’t working out, except maybe for people with very high salaries.

Increasing density is the only realistic way to address housing affordability.

comment 1y ago · link · parent

If you want rural, then don’t move to a metro area with millions of people.

comment 1y ago · link · parent

I wish Microsoft would have never changed the business model of Windows away from paid upgrades.

Now they have no incentive to make good upgrades. Instead, they are only incentivized to add privacy-compromising services that nobody wants or asked for.

comment 1y ago · link · parent

Could you please explain how a "neoliberal assault on occidental values" could be causing a deficit of programming jobs in Iraq?

I feel like you're just coming in with an ax to grind that has no relevance to the question being asked here.

comment 1y ago · link · parent

Not really. The fact that it came out on top in an iPhone when all the others use large heat sinks and fans makes this result even more impressive.

comment 1y ago · link · parent

Sure, under a heavy sustained multithreaded load it’ll throttle.

But the average user will never encounter this. Typical web browsing and office tasks are bursty and mostly single threaded.

Gaming is the only area where it may be more of a problem. But it’s fine for this to simply not be a great gaming laptop. Most laptops aren’t.

comment 1y ago · link · parent

That’s brutal.. I wonder why the Apple Silicon transition seemed so much smoother in comparison.

comment 1y ago · link · parent

That’s just the thing. Your definition of an “objective metric” can be totally different than somebody else’s.

Biden’s definition of the objective truth is very different than Trump’s. It doesn’t matter what the actual truth is. Whoever’s in charge gets to decide what gets censored.

comment 1y ago · link · parent

Do you think Elon would ever shut up about it if he was getting threatened by Biden and the FBI?

comment 1y ago · link · parent

Not really. The Switch 2 has many of the most popular games available on other platforms. Plus a lot of Nintendo exclusives. They are not the same for sure, and YMMV for specific titles.

comment 1y ago · link · parent

May as well get a Switch 2 at this point. Then at least it’s something new.

comment 1y ago · link · parent

Maybe they just want to see one of the biggest stock bubble pops of all time in the US.

comment 1y ago · link · parent

Who gets to decide who’s naughty? One day it’s the Biden admin, and the next it’s the Trump admin. That’s the tough part about censorship.

You can leave it up to companies, but what happens when Trump allies like Elon Musk and Larry Ellison buy up major platforms like Twitter and TikTok?

Do we really trust those guys with that much power?

comment 1y ago · link · parent

A direct line to threaten decision makers? Or to point out possible misinformation spreaders?

comment 1y ago · link · parent

I’d like to invest time into the Linux gaming ecosystem. Though it’s a little daunting that so much of the work would need to be done by Nvidia and major game studios that don’t really care.

Windows just feels irredeemably mediocre at this point. Maybe Windows 12 will improve things, but I’ve been pretty down on 11.

comment 1y ago · link · parent

You can use a framework that abstracts all the WASM to JS communication for DOM access. There are many such framework already.

The only issue is that there’s a performance cost. Not sure how significant it is for typical applications, but it definitely exists.

It’d be nice to have direct DOM access, but if the performance is not a significant problem, then I can see the rationale for not putting in the major amount of work work it’d take to do this.

comment 1y ago · link · parent

What was it? I would also like a rec in this genre.
1
8910
28