CameronDev

@CameronDev@programming.dev

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

CameronDev,

I was under the impression the latest “firefox” package was a kind of “meta” package that caused the snap to get installed instead.

Certainly seems that way according to: packages.ubuntu.com/search?keywords=firefox

Note that 22.04 is described as a transitional package to snap.

Apt does use debian packages (.deb files), but on ubuntu it uses ubuntus repositories.

CameronDev,

Correct me if I am wrong, but apt-get install firefox installs the snap version unless you go out of your way to fix that?

CameronDev,

Some of them used to contain bog standard DSLRs, so they were worth stealing.

CameronDev,

Might just mirror that repo to be safe :D

CameronDev, (edited )

Not the person you asked, but i have a mitsubishi electric heatpump, which i have hooked up to homeassistant via an esphome library. It has a header on the controller board that you can connect to.

Normally the header is for their $200 controller and app, i spent $10 on the parts.

github.com/geoffdavis/esphome-mitsubishiheatpump

I think i better start mirroring the repo…

CameronDev, (edited )

Yeah, its great. My only complaint is that you cant set the vane positions. And the temp sensors are a bit meaningless due to the height on the wall.

I intend to investigate the vane positioning in the future.

CameronDev,

The IR blasters can usually be flashed with open firmware like tasmota or esphome. I started with IR as well. The downside for me was that IR was one way. You can tell the unit to turn on, but you cant know if it actually did turn on.

For a cheaper IR option: www.aliexpress.com/item/1005004486051086.html

If anyone is in Aus and wants some IR blasters with tasmota, happy to ship my spares :D

Can I pre-install Ubuntu on an SSD?

Ths might be a silly question, but asking those is how i learn sometimes. I’m trying to install my first Linux distro to set up a Plex server and one of the few things I know is you need a wired internet connection. My intended server location is across the house from my router, and there isnt much room there to set up...

CameronDev,

More exotic software will probably come from the internet, but the basics should be on the DVD. Good luck with your journey, reach out if you need any help, im sure everyone here would be happy to assist.

CameronDev,

Since when do you need a wired internet connection? You need it to get updates, but it should install offline just fine. Just use the dvd installer?

CameronDev,

Do you have a cat. If its not ghosts it could be a cat.

CameronDev,

I’m of the opinion that computer textbooks are out of date the second they are published. That one was published in 2017, so 6 years ago, which is an eternity. It might have some generally useful advice, but in terms of resources, google and online wikis are going to be more up to date (still probably outdated, but less so, and free).

CameronDev, (edited )

I jumped to 1.4V which afaik is safe. But i cant guarentee anything. Going up slowly might be better, but stop at 1.4?

Corsair says 1.4 is safe: help.corsair.com/…/360052448851-Tips-on-safely-ov…

CameronDev,

Try increasing RAM voltage? Might make it more stable under load. I had a similar issue, clean memtest, but games would randomly crash. Increasing RAM voltage fixed it.

VPN to home network options

I currently have a server running Unraid as the OS, which has some WireGuard integration built in. Which I’ve enabled and been using to remotely access services hosted on that server. But as I’ve expanded to include things like Octopi running on a Pi3 and NextcloudPi running on a Pi4 (along with AdGuardHome), I’m trying to...

CameronDev,

I run a wireguard vpn into my home, and i can access my local services. It was a small matter of setting up routing properly.

I am using www.firezone.dev to set it up and manage it, but i believe it can be done manually if desired.

CameronDev,

I had something manual setup originally as well, but it became a bit of a maintenance hassle. Moving configs to devices was a bit of a pain, and generating keys wasnt easy.

CameronDev,

Easy then, buy a new one for you, give the old one to your friend :)

I wasnt really joking either, the upfront costs might be higher, but longer term will be cheaper than a cloud service. And hopefully more secure.

CameronDev,

Buy another NAS and run it at a mates house? Ig your house burns down hopefully theirs is fine?

Installies, a site for managing, organizing, and retrieving shell scripts for installing things on Linux and Unix-based operating systems. (installies.org)

Hi, for the past few months I have been working on my website Installies. It is a site for managing, organizing, and retrieving shell scripts for use to install, remove, update or compile apps on Linux and Unix-based systems....

CameronDev,

Yup, there is a lot of prior art on how to get this wrong :(, and I dont know of any good solutions either. Curation and moderation are probably the best case, but arent bulletproof either.

I raised this not to kill OPs project, but to make sure they go into it eyes open. I personally would be very uncomfortable if my website was being abused to distribute malware, so they deserve to at least be aware of the risks.

CameronDev,

You have probably invested a lot of time and effort into this, so please take this as constructive criticism.

Your security systems are probably not going to be sufficient, for a whole number of reasons.

Script Voting

The general public is not able to appropriately audit shell scripts. This extends even to sysadmins and more technical people. The people who can properly audit scripts are a minority, and they may not even be amongst your user base. Anyone who gets a script that “does its job” is going to upvote it as fine, because they may not even be aware of its malicious side effects.

Scripts will naturally need to evolve over time, so script updates will be a normal part of your system. Will the votes reset for new versions? Is there anything stopping someone uploading farming votes with valid scripts, and then backdoor the script once it gets sufficiently popular?

Is there any form of vote manipulation prevention planned? If not, bad actors can create an army of accounts and upvote their malicious content. Can you remove a users votes if they are found to be acting maliciously? Will it even be possible for you to tell the difference between a naive user who doesn’t understand the maliciousness of the script, versus an account actively increasing the rating of a bad package?

User Reputation

This seems easy to game as well. Upload a host of valid scripts, gain reputation, and then when ready, upload malicious scripts.

Collaboration

Allowing non-maintainers to edit and upload scripts seems like a wildly bad idea. There must be some level of maintainer approval for that right? Still will have the same issues, easy for someone to build trust on a script repo and then exploit it when it suits them.

None of these issues are unique to your site, pypi, dockerhub etc have all hit these issues in the past.

I think the only real answer is to have very strong human moderation, but I fear that if your site takes off, the workload will rapidly spiral out of control. Otherwise, interesting idea, Good Luck!

CameronDev,

Have you considered some form of CI? I.e: Spin up a VM, run the script, reboot, report what changed? Might be a little expensive, but could help auditing?

CameronDev,

Very understandable. And from a security standpoint not necessarily indicitive of anything. A good malicious script would just check its environment first.

CameronDev,

That’s the one. Im assuming its just a Connect thing :/

CameronDev, (edited )

I think you mean months, and your comment isn’t visible?

Edit: link took me somewhere strange :/

CameronDev,

Bizarre, that link takes me to a completely different post. Apologies, I can see the post and comment if i type it into a browser.

CameronDev,

An alternative (which doesnt fully meet your requirements for browser based) is Jetbrains Rider. You can use its remote development feature to have your code on your server, and the IDE on your local computer.

jetbrains.com/…/Remote_development_overview.html

Another option to get code to and from your device would be to use git to commit and push your code. There are git apps for android that should work for this?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #