Better HN
topnewbestaskshowjobs
Log inSign up

theultdev

704 karma · joined Jun 21, 2023 (3y ago) · 984 submissions

Submissions

comment 2y ago · link · parent

I don't really see the big deal here. Who wants to approve and configure all of their language servers?

If you open a file for that language, is there ever a time you would deny the download?

I just don't want a huge amount of popups like VSCode.

Also, the binaries are downloaded from their release on github. As long as that is secure I don't see a problem.

comment 2y ago · link · parent

Have you actually used it?

I used it earlier this year in Korea, although it did have a hard to get to setting to change your language, many many things were still in Korean.

It is very difficult to navigate, but I asked for help and a native was able to figure it out.

Still more usable than Google Maps though, which will only give you a not so good train schedule. No walking directions at all.

comment 2y ago · link · parent

70mb is insane and not at all the standard.

There's a reason why Vite has a default bundle chunk warning of 500kb.

There's really no reason it should be that large. If you just lazy load each route your chunks should distribute into manageable size pretty much automatically.

It sounds like you may also have a bunch of dependencies. Which can happen in a native app, but in a web app as you know you'll have limited resources so size is important.

comment 2y ago · link · parent

Seems like you guys set up a complicated stack. My large app takes <5s to build. Hot reloading takes 0.2ms.

We can agree to disagree though.

comment 2y ago · link · parent

Not really, it's just a solution to the need of complex apps and the need to support the ability to load pieces of the app without having to download and install it like a native app.

Native apps can do similar things with dynamically linked libraries, and there's a lot of complexity when it comes to compiling native code.

The web bundler tooling really isn't that complex nowadays, especially with Vite. It's one file usually 10 lines long. It can use SWC and LightningCSS, written in Rust. They're safe, fast, and require minimal config.

comment 2y ago · link · parent

The bundle can be split up into chunks. Chunks can be loaded on demand.

SPA assets (just like game assets) can be downloaded and cached on demand. They don't have to be bundled at all.

comment 2y ago · link · parent

It's fine to stream 20mb in a browser as long as it's not part of the core JS.

Browsers can handle many GBs of storage. You can even store them via OPFS directly on the native filesystem if supported. There's also Chrome File Storage API and if all else fails IndexedDB (which is more limited, but works decent for synced databases).

comment 2y ago · link · parent

We share everything.

comment 2y ago · link · parent

Well, still a subjective take.

Heavy use of interactivity is hard. React makes it maintainable. It was hell before.

I've been working with React (and RN) since it came out and I've had nothing but good experiences, especially compared to the previous decade before React.

My motto is local-first, the more stuff the client does, the cheaper it is to scale and less bridging between the server you have to do.

Move everything to the client, especially the database. Let the database do the syncing. Plus you get offline and undo/redo basically for free. Pagination? Fuggetaboutit.

comment 2y ago · link · parent

> What percent of these requests do Meta, Google or Microsoft fight? Ratios like that matter

What others are doing doesn't matter, that's whataboutism. Yes there's many shittier services, and Proton is much better than them.

What matters is if you can trust Proton to be private, and the answer is... mostly.

Yes I like Proton and I use Proton as my daily email driver, because I don't expect privacy from governments, I just don't want Google tracking.

But a lot of people see the "no logs" thing and think that there's never any logs, which is not true, they add them on request, and they've done it based on foreign government requests, for questionable searches, as I've linked above.

If you want privacy in your hands, use Tor when accessing Proton and pay in crypto obviously.

Those are techniques needed for privacy because they can access that data and you can't trust them to safeguard any data they can access because they legally can't.

It's not their fault, it's just the system, but you must expect it.

comment 2y ago · link · parent

I provided an instance of Proton giving the IP address and Device ID of a user after the French authorities requested it.

In their own policy:

> “In addition to the items listed in our privacy policy, in extreme criminal cases, ProtonMail may also be obligated to monitor the IP addresses which are being used to access the ProtonMail accounts which are engaged in criminal activities.”

So there's no question whether or not they do it, it's more of how often they do it and for what. The French case was a big deal because it didn't seem to meet the "extreme criminal case" threshold, and yet the logging was still carried out.

comment 2y ago · link · parent

I'm not making conjectures, these events happened.

That's the flow of how government legal requests work with no-log vpn services.

What do you think "Orders complied with" means then?

Here's an instance of Proton adding logging of an activist's IP Address and Device ID after a request from the French authorities:

https://techcrunch.com/2021/09/06/protonmail-logged-ip-addre...

> French police sent a request to Swiss police via Europol to force the company to obtain the IP address of one of its users.

It's right there in the police report.

comment 2y ago · link · parent

Generally it goes like this:

1. Government entity (usually the US or EU country) pressures the host country's government

2. Host country's government makes a legal request to the company for info on this user.

3. Company adds logging for that specific user.

4. Logging is provided to all those interested.

5. Host country prosecutes (potentially extradites).

There's a public accounting of this happening for Proton and Mullvad too iirc.

comment 2y ago · link · parent

Well, that's how you build rockets successfully.

Either you make fast iteration acceptable, regardless of politics, or you fail.

It's not just political process either, it's the technical process. You need to be able to debug, fix, and manufacture the iterations quickly.

comment 2y ago · link · parent

No, people are able to drive long after they can bike.

The only thing that basically stops you from being able to drive is your vision, which will impact biking as well.

Handicap and elderly people are not edge cases.

We adapt our society to fit the disabled everywhere, as we should.

My point is we should take this into account when designing cities.

Bikes do not work for many, many people and situations. It's not an edge case problem, it's a fundamental problem.

comment 2y ago · link · parent

And when you're too sick or old to pedal?

My grandmother can still go shopping in a car, but assuming she did have the stamina to bike groceries, if she fell she would not recover.

comment 2y ago · link · parent

I don't disagree with that. And it's one of the biggest reasons I don't live in a city.

It's a local government issue that your public transportation and public zoning sucks.

Cars aren't the problem (as you pointed out, they are sweet in towns).

It's your local politicians and it's a scaling problem.

comment 2y ago · link · parent

Horses release methane. The scale of horses you would need would certainly be worse. It was a problem in the past at a much smaller scale. Plus with shit you have disease and rats, which means more disease.

comment 2y ago · link · parent

So what does society look like where you can still have ambulances and taxis but not a car for yourself?

Don't you still need roads for those? So just normal civilians can't have them?

And I won't hold my breath for local politicians to improve public transportation.

I'd love better public transportation, in addition to cars.

-- I hit some sort of post limit, replying to below --

Civilians are still allowed to have and drive their own cars, even in Europe.

I'm all for better designed cities in America though, but it's not a car problem, and especially not a universal issue (towns are perfect).

Instead of hating on cars I think a more useful approach would be to contact your local politicians that are in charge of zoning and public transportation.

comment 2y ago · link · parent

I have, and there are bicycles littered everywhere and huge amounts of traffic on them.

And no it doesn't solve the problems I listed. Those things are still difficult.

If I'm feeling sick I guess my wife can hook a wagon to the bike and pull me.

Don't get me wrong I bike around town all the time, but some days are really hot, some are really rainy, some days I need to carry more stuff than is possible on a bike, some days I'm not feeling well enough to bike.

comment 2y ago · link · parent

There was a lot of horse shit everywhere before cars.

You could go back to bicycles but that's not great when you have a family of groceries and kitty litter to carry home in the rain.

Or when need a trip to the hospital or any other emergency.

So yes, many people need a car, and it enables personal freedom.

I live in a small town you can walk end to end in 15 minutes, it has everything you need in a small area, but a car still makes life easier and more fun.

How do you propose we structure society where you don't need cars?

comment 2y ago · link · parent

ZeroBrain was nice but it's just an IDE.

AutoPlay Studio and the one featured here makes full GUI apps.

comment 2y ago · link · parent

Very cool! This reminds me of the program I used as a kid to make GUI apps.

https://www.indigorose.com/autoplay-media-studio/screenshots... (surprisingly it works for W11)

Lua was my first language, and it enabled me to make desktop apps for tools I needed.

I think this is very much needed as a lot of kids learn Lua from Roblox and game mod communities.

comment 2y ago · link · parent

I don't see any argument considering the entire context, care to explain?

comment 2y ago · link · parent

it's the CEO's personal statement.

but yes, even a personal statement may have some value in a case, but you ignored the second part of the GP's criticism.

you're reaching that the tweet of the poster of "Her" meant "hey guys, this is voiced by SJ"

it simply could mean that "hey guys, it sounds as good as the voice assistant from Her"

it is voice assistant software after all...

mind reading a tweet does not make a good case, especially with the timeline noted in TFA.

comment 2y ago · link · parent

Ford hired impersonators, she's not an impersonator, that's her real voice.

She's allowed to be a voice actor using her real voice.

Your can point to the "Her" tweet, but it's a pretty flimsy argument.

comment 2y ago · link · parent

With future advancements you could pump out video games for many series.

While rough, these do look better than some implementations of the artwork for cartoon games.

1
192021
33