Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

@Lodra@programming.dev avatar

Lodra

@Lodra@programming.dev

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Lodra , (edited )
@Lodra@programming.dev avatar

Ok that is an impressive number but it feels a little disingenuous. You still need to something on your machine to interpret the js code, right? Is that included in the 13k? How much storage does that take?

EDIT: Well this is by far my most negative comment here. That’s almost entertaining. I’ll share a few more of my thoughts here rather than respond to individual comments. Maybe the context will make this more palatable.

First, I expect that the js language is doing most of the work here. Which makes sense. But having a browser installed as a prerequisite is an enormous dependency.

How would that stack up against other languages? Can I build a 13k binary using C? How about C#? I think Go is maybe the most interesting because the binary is entirely self contained by default. No external dependencies aside from the OS. I don’t think this or a similar game is viable with only 13k. Which is fine! I just that I find 13k is disingenuous.

That brings up the question of whether or not we should include the OS in the storage size. I would think not. But that’s only because the OS is (usually) the least common denominator when we talk about developing software. It’s generally assumed by default. But if someone wants to compare with a game that interfaces with hardware directly, then yes, we should absolutely include the OS as a dependency.

Now that I’m giving this more thought, I suspect that the devs wrote 13k of code + assets to make the game functional. Still impressive. But the more I think about this, the more meaningless that number gets. Does pre or post compiling matter more? What if we compress the thing as tarball? There’s just too many ways to manipulate this number.

Lodra ,
@Lodra@programming.dev avatar

Potentially. See my edit shove

Lodra ,
@Lodra@programming.dev avatar

I am not

Lodra ,
@Lodra@programming.dev avatar

Thanks for the happy comment. But it’s all good. People are allowed to not like my comment. I’m not exactly swayed by the downvotes but maybe I could be just wrong here.

Lodra ,
@Lodra@programming.dev avatar

Thanks for pointing this out. I keep looking back at this thread as new people grow annoyed at my comments 🙂.

At the time I writing this, there are currently 15 upvotes and 28 downvotes on my original comment. That’s clearly negative and that’s ok. But that also makes it the third most voted on and the 4th most upvoted comment in the entire post. Seems there’s a very split opinion in the community here. This is now officially entertaining!

Lodra ,
@Lodra@programming.dev avatar

It’s clear that you don’t agree with my original opinions. And that’s ok. But it really doesn’t seem so simple and clear. Take a look at the ratio of up to down votes.

https://programming.dev/comment/10313390

Lodra ,
@Lodra@programming.dev avatar

Ya… being paid to perform isn’t immoral. Honestly, I hope he took a ton of cash from Amazon for the show.

Amazon is the crowd doing evil crap. Their immorality doesn’t automatically spread to everyone they interact with. Especially, people that aren’t actually aiding their efforts. This one is corporate waste

Lodra ,
@Lodra@programming.dev avatar

Unfortunately, I’m not familiar with installing Bitwarden so I can only offer general advice.

Port conflicts happen at runtime, not when software is installed. In general, you should be able to install as much software as you’d like that all relies on port 443 but only run one at a time.

If you’re seeing port conflicts when installing Bitwarden, then I suspect that something is starting the app after the install is done. If this is right, then maybe you can disable the automatic start. Or maybe you can ignore the error at install time, then configure the app, then start it.

Lodra ,
@Lodra@programming.dev avatar

Ethically, it should apply. In practice, it doesn’t because the rich make the rules.

Lodra ,
@Lodra@programming.dev avatar

This is an especially tragic case. IMO, Gitea has one of the best names in software.

96% of US Hospital Websites Share Visitor Data with Google, Meta, Data Brokers, and Other Third Parties, Study Finds (www.theregister.com)

Academics at the University of Pennsylvania analyzed a nationally representative sample of 100 non-federal acute care hospitals – essentially traditional hospitals with emergency departments – and their findings were that 96 percent of their websites transmitted user data to third parties....

Lodra , (edited )
@Lodra@programming.dev avatar

At first, I found this funny. Then I realized how scary, sad, etc. the reality is.

Companies typically prefer users to use a native app for two reasons. First, the software is sometimes easier to build. Second, they are capable of scraping a vastly larger and more valuable set of data from the user.

Browsers can hit many differs sites, many of which are dangerous. Thus, web browsers have to be as secure as possible to protect users from malicious sites. This includes Facebook, TikTok, every medical site you’ve ever logged into, etc.

I know a lot about software. Personally, I view every installed app as a means of attacking my privacy. If you have the choice and your experience isn’t diminished, use a web browser instead of a native app.

Edit:

Something else to note. The larger companies are almost always much worse. Take a look at Facebook on the Apple Store: https://apps.apple.com/us/app/facebook/id284882215

Go down to App Privacy and View Details. It’s absolutely terrible how much data they collect. Unethical at a minimum. Now compare to Voyager for Lemmy: https://apps.apple.com/us/app/voyager-for-lemmy/id6451429762

“Data Not Collected”

Lodra ,
@Lodra@programming.dev avatar

I ditched chrome (chromium + google propriety spyware) some years ago in favor of Brave browser (chromium + Brave stuff). It was a decent user experience but Brave also does some shady stuff, which you can google easily if interested.

Last year, google poisoned chromium with DRM stuff. They rolled back the changes after a few months but the damage was already done. I, and many others, jumped ship to Firefox and other non-chromium based browsers. Firefox isn’t perfect, but it’s an excellent browser. I’m sticking with it for the foreseeable future. And absolutely use uBlock Origin. Between that and proton VPN features, I don’t see ads anymore. It’s fantastic.

Composerize - online tool converts docker commands to compose yml (www.composerize.com)

I had an issue recently with getting FileBrowser to run and while researching that, I found this tool which creates a docker-compose.yml file from a docker run command. It worked well for me, so I am passing it along to you all. I hope someone else finds this helpful....

Lodra ,
@Lodra@programming.dev avatar

I recently discovered k3d. It’s a light wrapper around k3s, which is kubernetes on docker. It’s amazingly easy to use! If you have docker installed, you can learn the commands and create a k8s cluster in under 5 minutes.

For anyone like me that likes k8s, k3d is a fantastic alternative to docker compose!

Lodra ,
@Lodra@programming.dev avatar

This is regulated. And there are penalties for violating those regulations. But it’s just not enough. Even a class action lawsuit won’t help the victims. Most of that money goes to lawyers.

Honestly, I don’t expect any of it to change until the penalties are so severe that major companies go under. Aka a corporate death penalty (which the US used to have). But even then, good software security is extremely hard. Almost everyone screws up something.

Lodra ,
@Lodra@programming.dev avatar

Well this confuses me. I’m only aware of upvotes and downvotes. What do the 4 colors mean? And what do the left and right arrows mean? Arrow size?

Lodra , (edited )
@Lodra@programming.dev avatar

The simplest way is certainly to use a hosted service like GitHub Pages. These make it so easy to create static websites.

If you’re not flexible on that detail, then I next recommend Go actually. You could write a tiny web server and embed the static files into the app at build time. In the end, you’d have a single binary that acts as a web server and has your content. Super easy to dockerize.

Things like authentication will complicate the app over time. If you need extra features like this, then I recommend using common tools like nginx as suggested by others.

Lodra ,
@Lodra@programming.dev avatar

An interesting discussion! You’re probably right about most Lemmy instances. But it’s entirely possible that some instances are running a modified version of Lemmy that collects more data. And only those admins will understand why. They could sell it as easily as any company.

You need to trust your service providers or accept what they’re doing.

Lodra ,
@Lodra@programming.dev avatar

Absolutely a good perspective on the surrounding infra! I fully agree. Thanks for sharing.

Lodra ,
@Lodra@programming.dev avatar

I recently changed my personal email. Updated every account I knew of (thanks Bitwarden!!). Updated about 120 accounts, closed maybe 20, and 5 or so can’t be changed.

Of the ~120 that I changed, I think about half of them were easy to change. Not much confusion. There was a clear enough process. Etc. Most of the rest were difficult to change but I could do so on my own eventually.

Something like ~10 accounts required emails and phone calls to support.

A few were terrible. Things like updating my email address in 10 places for one account. Or the updates go fine but just didn’t work, requiring many repeat attempts or phone calls.

So it’s a real problem in my experience. But not the norm. Maybe 1/10 rather than 9/10

Lodra , (edited )
@Lodra@programming.dev avatar

With chromium being poisoned last year and Mozilla trying to diversify away from Firefox, I’m starting to wonder what browser I should be using in the near future. So I’d really like to hear some opinions on arc browser!

EDIT: Aaand it’s chromium

Lodra ,
@Lodra@programming.dev avatar

Here’s a random article on the topic to get you started.

Basically Google is destroying anonymous web browsing by embedding finger printing in chromium. Certain trusted servers will track your identity and report whether or not it trusts you.

It’s actually very similar to how Single Sign On and identity providers work. Except you aren’t choosing to use it with a “login with Facebook” or similar button. It’s forced on you by the browser

Lodra ,
@Lodra@programming.dev avatar

Oh really??? I wonder if there’s hope for chrome after all. Though I’m still sticking with Firefox 🙂

Lodra ,
@Lodra@programming.dev avatar

If you’re up for it, it’s generally better to not backup everything. Only backup the data that you need. Like a database. Or photos, music, movies, etc. for personal data. For everything else, it’s best to automate the install and maintenance of your server.

Disclaimer: this does take more effort!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • incremental_games
  • meta
  • All magazines