There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

@einsteinx2@programming.dev avatar

einsteinx2

@[email protected]

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

einsteinx2 ,
@einsteinx2@programming.dev avatar

html-lang.org

I mean, technically it’s the other 2 out of 10 that are wrong…🙃

HTML, the programming language, is a practical, turing-complete[1], stack-based programming language based on HTML, the markup language. It uses elements defined in HTML, the markup language, in order to do computations.

einsteinx2 ,
@einsteinx2@programming.dev avatar

Have you heard about our lord and savior Rust? 🙏

einsteinx2 ,
@einsteinx2@programming.dev avatar

Reading this comment and then looking up and seeing that your username ends with PDP11 was chef’s kiss

einsteinx2 ,
@einsteinx2@programming.dev avatar

I use Termius on iOS and double tapping the screen sends a tab (I may have enabled it in settings but I don’t think so). I think you can also put a button for it above the keyboard. In any case it does work for tab completion. I know I’m on iOS and not Android but I’d be really surprised if the Android version had no way to send a tab…

einsteinx2 ,
@einsteinx2@programming.dev avatar

Weird the keyboard didn’t work but glad the double tap did! It’s definitely clutch

einsteinx2 ,
@einsteinx2@programming.dev avatar

The irony is they always seem to have 0 comments lol, so much for sparking discussion.

Alpine LXCs in Proxmox (lemmy.world)

I recently moved Nextcloud and Gitea from Containers on a Debian VM to Alpine LXCs running Alpine’s packages. I’ve never had Nextcloud’s web interface so snappy and my resource usage for both is next to 0. If you’re running Proxmox I’d highly recommend trying out Alpine LXCs if they package your services.

einsteinx2 ,
@einsteinx2@programming.dev avatar

I used to use Alpine containers but I’ve since standardize on Debian completely. Proxmox is Debian, my VMs run Debian, my LXCs run Debian, my VPSs run Debian, Raspian on my RPi is Debian, Armbian on my Odroid is Debian, etc, etc.

The benefit of running the same distribution on all my servers no matter where or how they’re hosted can’t be overstated.

Less mental overhead remembering different commands or config paths, same software on everything, etc. It’s been fantastic and Debian has always been rock solid for me.

einsteinx2 ,
@einsteinx2@programming.dev avatar

That’s exactly how I have my setup, and on my client WireGuard configs I have it set to split route so I can connect to my home VPN without disrupting anything else.

einsteinx2 ,
@einsteinx2@programming.dev avatar

I’ve been using Namecheap for years and have been happy with it. Why do you prefer Cloudflare? Is it for easier integration with Cloudflare services? How’s the pricing compared to Namecheap?

Sorry for the interrogation lol

einsteinx2 ,
@einsteinx2@programming.dev avatar

How has email deliverability been for you using Proton with a custom domain? I’m trying to move off of Google for everything but I’m still on Gmail for my personal email and a few custom domains. I’d love to move to Proton but have heard of problems with email going to spam or never being delivered but not sure if that only applies to their domains.

einsteinx2 ,
@einsteinx2@programming.dev avatar

That’s awesome to hear! I’ll give them a shot of one of my domains and see how it goes.

einsteinx2 ,
@einsteinx2@programming.dev avatar

I was surprised the prices aren’t even that much higher than single actuator drives of the same size. I might be picking a few of these up for my next capacity increase.

einsteinx2 ,
@einsteinx2@programming.dev avatar

Yep the hack is at the boot loader level, before the OS, so the OS version doesn’t matter. It was only patchable in hardware which is what they did with the second revision. If you have a launch Switch you’re golden.

einsteinx2 ,
@einsteinx2@programming.dev avatar

Dude same. Normal autocomplete is short and has a low mental overhead but high payoff in time saving from tying. I lasted about 20 min testing copilot before canceling my trial. It slowed me down so much because as you said it generates such large snippets and you have to scan each one to see if it’s useful. Also the constantly flickering of big code blocks changing was super distracting.

I’ve used GPT4 directly for code stuff before and it’s been useful for certain use cases but I find Copilot to be worse than useless in that it not only didn’t really help me it slowed me down and distracted me so much it was a detriment to my coding process.

Maybe Copilot X will change that since it’s basically embedded GPT4 I think, but regular Copilot? Totally worthless IMO

einsteinx2 ,
@einsteinx2@programming.dev avatar

How do you feel about the self driving car use-case? Say for example a self driving car has a 0.5% risk of an accident, and thus human harm, in it’s usage lifetime, but a human driver has a 5% risk of an accident (making numbers up for the sake of argument but let’s say the self driving car has a 0.1% chance of harm or greater but it’s still much lower than a human). Would you still be against the tech and ven though if we disallowed it there would statistically be more harm caused?

einsteinx2 ,
@einsteinx2@programming.dev avatar

What does RHEL have to do about NPM package dependencies in software projects? A server or a developer’s desktop machine using RHEL would still be pulling the same packages from NPM as another other distro…unless I’m missing something?

einsteinx2 ,
@einsteinx2@programming.dev avatar

No worries! I thought maybe RHEL had like their own NPM repo or something (I think NixOS has python packages, so that kind of thing isn’t unheard of), but then that didn’t really make sense so I wanted to make sure I was understanding.

einsteinx2 ,
@einsteinx2@programming.dev avatar

Yeah the ssh-agent was something I didn’t know I wanted until they added it. Now it’s so nice not having to generate new ssh keys and update all my severs and VMs every time I set up a new machine, and if/when I need to rotate keys, I only have to update one.

einsteinx2 ,
@einsteinx2@programming.dev avatar

I’m honestly amazed that the no emoji culture on Reddit persisted even after it became super mainstream. But agreed, I actually like emoji for adding emotion/intent indicators to text. I use them all the time in personal conversations and work Slack, but never ever on Reddit for whatever reason haha.

einsteinx2 ,
@einsteinx2@programming.dev avatar

That’s exactly how NAND flash works though… it’s a continuous range of voltages and they just subdivide it into how ever many bits they want.

The article mentions something about being able to nudge the voltage up and down with this new tech, I guess as opposed to setting to 0 and then writing again, but it’s not clear how that would allow for more bits per cell over NAND rather than just being faster from not needing to erase and write…

einsteinx2 ,
@einsteinx2@programming.dev avatar

That’s the problem, a lot of CS professors never worked in the industry or did anything outside academia so they never learned those lessons…or the last time they did work was back in the 90s lol.

Doesn’t help that most universities don’t seem to offer “software engineering” degrees and so everyone takes “computer science” even if they don’t want to be a computer scientist.

einsteinx2 ,
@einsteinx2@programming.dev avatar

The second is exactly how I do it. Keeps everything separate so easy to move individual services to another host if needed. Easy to restart a single service without taking them all down. Keeps everything neat and organized (IMO).

einsteinx2 ,
@einsteinx2@programming.dev avatar

It could have just said: c++ programming

einsteinx2 ,
@einsteinx2@programming.dev avatar

Just downloaded this and tried it out on a Debian VPS I have. Ran into a bunch of bugs to the point I couldn’t really do anything with it, but I can see a bunch of potential in the UI. I really like the idea of being able to see an overview of shell, containers, files, etc. I have a bunch of self hosted Proxmox VMs and various VPSs I use on a daily basis, and whole I’m totally comfortable with the command line, this tool seems genuinely useful.

It seems like you have a bunch of functionality and UI implemented already, so I think taking a few weeks to just bug hunt would be super beneficial at this point. I’ll open up some GitHub issues when I have a minute later, but I ran into so many bugs in just 5 min that it was basically unusable which is extra frustrating because it really seems like it can be a useful tool if it works.

einsteinx2 ,
@einsteinx2@programming.dev avatar

Just reopened the app and tried it again and figured out what happened. I had not entered a password in settings when adding the server since I connect using an ssh key. It detected I had docker but when I tried to click it, it errored out. If I had read the error, I would have seen that the problem was needing the password for sudo. I added the password to the server settings and now it’s working.

I guess then the only real “bug” I found so far is that on macOS the app defaults to using iTerm2.app which is a 3rd party terminal app which I don’t have installed, so I had to change it to Terminal.app. I know iTerm2 is popular, but I think the default should be the one everyone has installed, and let iTerm2 users select their app in settings, not the other way around. But that’s more a UI/UX/onboarding experience thing than a real bug (though maybe it’s possible to detect if iTerm2 is installed).

Anyway, I’m going to keep playing with this and will report anything I find. So far my second impression is that it just overall feels kind of sluggish and doesn’t have the best UI feedback when you’re waiting for things so I ended up clicking things more than once not thinking it was working then it would open multiple times (like clicking the root file directory).

Hope to see you keep working on this, it seems like a really cool idea.

einsteinx2 ,
@einsteinx2@programming.dev avatar

Awesome, that seems like a great idea. Since as I understand it, the app is essentially just running terminal commands, I think showing the currently running command would be a huge UX improvement. It would help both with knowing what’s going on and with debugging any issues with the commands.

Right now I’m traveling and my home VPN connection isn’t working for some reason, so I don’t have access to most of the VMs I usually use daily, but as soon as I get access again I’ll get them all added and really give this a proper test drive. I’ll report any issues I run across or UX suggestions I can think of. It’s great to see how well you take feedback!

Also funny enough, just due to talking about iTerm2, I went and downloaded it and found out about the split panes feature and I think I may now be a convert haha.

einsteinx2 ,
@einsteinx2@programming.dev avatar

Hmm yeah that’s a good point about spamming commands. Great example of why UI/UX is so hard…it’s easy to throw out suggestions that sound good but the devil is always in the details (and edge cases) ;)

einsteinx2 ,
@einsteinx2@programming.dev avatar

I still don’t fully understand the benefit over plain WireGuard for a home lab use case…

I set up wg-easy (WireGuard socket container with built in web interface to easily generate certs for clients) in about 5 minutes on an odroid (like a raspberry pi). Opened a single port on my router. Generated certs for my phone and laptop using the web interface in about 30 seconds. Changed one line in my client configs to only route network on my home’s IP range over the VPN so I can connect without disrupting my internet connection. Then I just activate the VPN and I can access all of my home services. (writing all that out kind of makes it sound complicated but literally this was done in like 10 minutes total and never had to touch it again except to log into the web admin to make certs for new clients occasionally)

Since Tailscale is a mesh VPN like Nebula, wouldn’t I need to install and set it up on all of my servers and VMs instead of just one to access everything? And then every new VM I make I would have to manually set that up too? Wouldn’t that be harder to setup over all than a single wg-easy container?

I feel like maybe I don’t fully understand how Tailscale works because it never seemed more convenient or better than vanilla WireGuard and it just uses WG protocol under the hood anyway but with the added dependency of a 3rd party service I have to trust and that can go down disabling my access to my home network…

einsteinx2 ,
@einsteinx2@programming.dev avatar

I don’t think I can edit comments, but I meant to say we-easy is a WireGuard docker container, not a “socket” container lol

einsteinx2 ,
@einsteinx2@programming.dev avatar

Interesting… I also saw some people post about the self hostable open source version Headscale, so I’m going to play around with it. Tailscale gets recommended so often there must be something to it, I was just always put off by having to rely on a company to access my personal stuff which is sort of the whole reason I self host in the first place… but if I can self host the Tailscale coordinator that changes things.

I’ve been happy with vanilla WireGuard for my use case but it’s always nice to learn about other options.

einsteinx2 ,
@einsteinx2@programming.dev avatar

If you already have to setup and maintain WireGuard, what’s the added benefit of Tailscale for your use case?

einsteinx2 ,
@einsteinx2@programming.dev avatar

I have an issue with my cell carrier blocking traffic to my home WireGuard server. It works from everywhere else and other cell services so I know it’s them. I’m definitely gonna try out Tailscale to see if it’ll get around it. Thanks for the tip. Too bad about the battery drain but I’m usually only hopping on for a minute to run a few commands over ssh or whatever so shouldn’t be a big deal.

Proxmox and NAS on same machine

I'm currently planning to build a new server after I discovered what my system uses in Idle. As I have to set up a new system anyways I would like to add a NAS to it to manige my storage. Currently I just have a zfs-Pool in proxmox for my Data-Drives and all VMs/Containers that need access have escalated rights and can directly...

einsteinx2 ,
@einsteinx2@programming.dev avatar

Oh my home NAS I started this way and it worked great. I only bought an HBA card because I needed more ports. Your mobo probably exposes your SATA controller as a PCI-E device that can be used via pass through in a VM. In my case I booted Proxmox off of NVME drive and passed my SATA controller to a Debian VM where I just use simple NFS and Samba for sharing and SnapRAID for drive parity (but TrueNas should work just as well).

I had zero issues with it and when I upgraded to an HBA card I just switched the drives to those ports and switched the PCIE device I was passing through and everything just worked (helps I always mount using partition UUIDs).

einsteinx2 ,
@einsteinx2@programming.dev avatar

Ideally Pihole should actually speed up your connectivity by blocking all of the tracking and ad connections your browser and apps would normally make. Since it’s basically just a DNS server, it doesn’t take much horsepower to run either.

einsteinx2 ,
@einsteinx2@programming.dev avatar

I guess it’s not so much “hosting” as having it on your home NAS with some scripts to backups channels and videos that you like. At least that’s what I do.

Thought I should make a point to mention youtube-dl is dead, yt-dlp is the replacement and it works great. Even has a command line flag to make its options work the same as the options in youtube-dl so it can be a drop in replacement for existing scripts.

einsteinx2 ,
@einsteinx2@programming.dev avatar

We understand tabs perfectly, we press the tab bar and our editor inserts 4 spaces like god intended

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines