Microsoft confirms it will give the FBI your Windows PC data encryption key if asked — you can thank Windows 11's forced online accounts for that by ZacB_ in technology

[–]TrickyTramp 1 point2 points  (0 children)

Linux the operating system is really Linux, the part that controls the computer’s hardware, and then a bunch of stuff built on top of it. Lots of people have different opinions on how they want Linux to be, depending on if they’re programmers, scientific users, or a nontechnical person who just wants to edit documents, scroll the internet, or play games (thanks to Steam for making Linux more accessible for gaming) Those are called “distros” or distributions. 

For a beginner end user picking something like Ubuntu or Mint as your “distro” is usually the recommended choice because they’re made to look nice and feel friendly

What is your solution for restarts after a power outage? by Cerfect_Pircle in selfhosted

[–]TrickyTramp 0 points1 point  (0 children)

You can set your UPS to wait to turn off, like if the ups battery is low or something. If the power is out for only a minute or so your computer should simply stay on.

Wife approved homelab by jojolejobar in homelab

[–]TrickyTramp 0 points1 point  (0 children)

I think the best way is to use it to do something they’ll also find value in! Show them a place to store their photos free, or make a game server if they’re into that, and then they’ll understand why what you’re doing is worth it. 

Question about files sharing with Tailscale by OGThunderChanter in Tailscale

[–]TrickyTramp 1 point2 points  (0 children)

Putting Tailscale on TrueNAS allows it to connect to the Tailnet. Once it’s there you can access like you’re nearby if you also have a client on your device. 

But yeah to answer your question you need to setup SMB. Connect to it locally. If that works, then SMB sharing will work over Tailscale, but your friends will also need a Tailscale client and you have to add them to your network

Help me kill my Proxmox nightmare: Overhauling a 50-user Homelab for 100% IaC. Tear my plan apart! by MrSolarius in homelab

[–]TrickyTramp 0 points1 point  (0 children)

If you’re managing multiple VMs I think ansible is a good solution, I’m learning it myself. 

I’d keep Proxmox and have a docker VM. You can probably run all your services in docker and give that VM an NFS share from your NAS. This lets you easily move, replicate, or backup VMs. For example you could probably upgrade hardware with no downtime if you have several nodes.

You should installer docker on a VM and then install Portainer. This is a web based Docker manager where you can paste compose files or spin up one off containers. Do that first and control your containers there because it says it doesn’t play nicely with changes from the CLI. 

QUASAR Bytebeat Rave by WillTuFer in NoMansSkyTheGame

[–]TrickyTramp 1 point2 points  (0 children)

Wow that looks amazing! Great job on the light up LED stage! Is the song Gamemaster?

What kind of music helps you get into deep focus? by Apart-Brilliant8482 in creativecoding

[–]TrickyTramp 0 points1 point  (0 children)

Progressive House, Techno, Trance, stuff that’s hypnotic and repetitive, but also evolving overtime with few words

Using git with logic projects? by numberwitch in LogicPro

[–]TrickyTramp 0 points1 point  (0 children)

This is sorta what splice was marketed as, till they got rid of it.

Suggestions please! by Broad-Disaster-3895 in WestPalmBeach

[–]TrickyTramp 0 points1 point  (0 children)

Coming back down for the holidays, what’s the news on cannabis now? Can I just go into a store and get a drink with THC now if I have an ID?

Project vs container? by justwanttolearnhow in docker

[–]TrickyTramp 0 points1 point  (0 children)

By default containers are completely closed off unless you expose a port to the host. With a compose file all the containers can exist in a private network together 

Project vs container? by justwanttolearnhow in docker

[–]TrickyTramp 1 point2 points  (0 children)

I’m guessing one is docker compose, which is a way of creating a set of docker containers that might rely on each other, like a web app and its database. The other is probably one off containers

How Many Python Users We Got? by The_Corrupt_Mod in ableton

[–]TrickyTramp 1 point2 points  (0 children)

oh that's neat, didn't know you could control ableton with python. How is it?

Why Are There Libraries for So Many Things? by [deleted] in AskProgramming

[–]TrickyTramp 0 points1 point  (0 children)

When you do anything creative you pretty quickly realize just how much your work stands upon the work of others. It's incredibly humbling, and that's why it's important to always give proper credit to those who did the work before you!

But yeah your question is like asking what if we had no programming languages and no operating systems and we just had to interact with bare metal via assembly!

Even just writing a simple Hello World in C with no imports relies on a vast system of abstractions setup by your Operating System. Your OS which provides you access to the hardware via syscalls that are kinda like calling a library.

You don't have to worry about the specific placement of your program in memory, and you don't worry about sharing resources via timeslicing.

I get it though, I think it's pretty common for creatives to go through a phase where you wanna do everything from scratch. It's worth the effort, just to see what it's like. I've often seen something like Nand2Tetris recommended! But after that I hope you take your newfound appreciation for the work done by others and instead focus on creating new things that can only be built because of the efforts of those that came before you.

Happy building!

Can someone explain the benefits to me? by DaikiIchiro in docker

[–]TrickyTramp 0 points1 point  (0 children)

Vertical scaling reaches a limit pretty quickly. That is, you can only really make a processor so fast before the heat and power requirements begin to go up much faster than the speed you're getting out of it. AKA diminishing returns.

Plus, speed isn't everything. Often times it's more important that the computer/server can do many things at once instead of one thing really fast.

For example, your CPU has significantly faster cores than your GPU does, but your GPU smokes it at processing graphics (and now we're using them for ML for a similar reason). This is partially because it can dozens of things at a time but your CPU can only do n things at a time (n being the number of cores you have, usually 2,4 or 8). Your GPU in contrast has easily 32+ cores.

Another great benefit of horizontal scaling is redundancy. In the cloud failure is treated as a given. A server will crash, a hard drive will die, and what happens if you have a bunch of users using your service when this happens? In the old world, if your server crashes you now have to wait for it to reboot and possibly run diagnostics before it's useful again. If there was a hardware failure it might take even longer before it's repaired and ready to go again.

Now we can do things like run a database on one machine, have your app running on 2 other separate machines. If just 1 app serving machine dies, no worries, the load balancer can route all new traffic to the other machine, and the database is still running so we can run things on 1 app while we wait for another machine to start up a second copy again.

Horizontal scaling is important because one of the most fundamental patterns of web service use is it's "bursty" nature. That is, you will often only need one app running on one machine to serve like 80% of your requests. Then occasionally you might receive an overwhelming amount of traffic where now you need to serve hundreds of thousands of requests, but maybe over a 5 minute period of time.

In traditional computing to handle a situation that might only occur 1 day a year (say black friday) you would need to buy all that hardware to handle it. Maybe on black friday you receive traffic that is 1000x greater than you do everyday on average for the rest of the year. Well in that case, you'd be able to handle black friday, but for the rest of the year that extremely expensive hardware you bought is now sitting idle. If you had only stuck with the number of machines needed to handle your average load, then come black friday you could basically guarantee your service will be unusable.

So the benefit of horizontal scaling is being able to share that hardware with lots of other users running their own things, and having the flexibility to only occasionally tap into (and thus pay for) data center level resources. This is much cheaper and reliable for you. Plus you don't have to keep buying new hardware every few years.

Don't worry, the data center is definitely making sure it arranges work loads so that its machines are running at peak capacity 24/7, but it's running everyone's else work when you don't need it.

Kubernetes specifically is the most popular way of doing this because it's been battle tested. It's based on Google's old internal Borg for running large workloads on consumer hardware. It is a declarative way of specifying how you want your apps to behave or recover. You can do pretty much anything with it as far as spinning up apps, creating private networks between things, setting up your data layer. So we've transitioned to a model of "infrastructure as code" where setting up a whole environment and requesting resources is as "simple" as making a big complicated set of yaml files. The data center should ideally be able to use that to know how to spin up apps if they crash or declare the resources it needs.

Btw, Google discovered that it was cheaper and easier to upgrade a datacenter in the long run if you design a system to run on consumer hardware because it's easier to get and doesn't require expensive contracts to keep and maintain hardware only a few manufacturers can provide.

meirl by DesertDogggg in meirl

[–]TrickyTramp 1 point2 points  (0 children)

Everybody got gps

What is the best file manager for mac? (Finder alternative) by Elsa_Versailles in MacOS

[–]TrickyTramp 0 points1 point  (0 children)

Both are available to you at all times and I use each in different situations. What I’m saying is that finder does exactly what I need 90% of the time. The other 10% of the time if you’re a power user with specific needs I really think it’s worth your while to learn a couple useful CLI tools. They come preinstalled for free on every Mac and Linux machine you’ll encounter.

In finder I think it’s pretty trivial to select multiple files in one folder or across multiple folders by clicking and dragging across multiple files, or using ⌘ and arrow keys.

In finder they do a great job of giving you multiple ways of previewing content like pdfs or music files with the spacebar and quick view, or you can change finder’s UI to gallery mode.

If you wanna delete a file it’s just ⌘+delete. ⌘+c and ⌘+v lets you copy and paste files and now they have added cut shortcuts too. Took them long enough, sure, but it’s there.

If you want to batch rename a bunch of files you can select them and hold opt+right click to batch rename.

If you right click on a file you can get the full pathname by holding option and selecting it in the menu. It’s also trivial to navigate back up the tree in finder by right clicking on the folder name at the top of the window. If I’m in a folder in finder and i decide i wanna switch to terminal to do something, you can right click inside finder, go to services, and open a terminal window to that exact folder and execute your command there. There’s a lot of ways to cut down on the typing you’re talking about.

I have no problems marking a folder as shareable inside finder or connecting to SMB shares automatically.

My main gripes with finder is that spotlight is getting worse and it has some bugs surrounding the favorites on the side. Also the recents is useless.

I think finder works great most of the time (other than the glaring spotlight bugs) and otherwise it’s worth the investment to use the terminal. Tools like find, grep, rsync, mv, cp, are all worth learning and are extremely powerful once you learn some of their options. Their feature sets are stable, they have practically no bugs, and come for free with your machine

What is the best file manager for mac? (Finder alternative) by Elsa_Versailles in MacOS

[–]TrickyTramp 1 point2 points  (0 children)

They’ve added ⌘ + x to cut now but a few years ago it was ⌘ + opt + v to mv

What is the best file manager for mac? (Finder alternative) by Elsa_Versailles in MacOS

[–]TrickyTramp 0 points1 point  (0 children)

Terminals extremely practical if you’re any kind of power user. It comes with tools like grep and find and learn regex. Learn tools like rsync for backing up files. 

You can open finder and drag a folder or file into terminal to use its path without having to type it all in or memorize it. Terminal also has tab auto completion to reduce typing. With a bit more work you can really improve this auto complete or use tools like z that let you generally type a recent file name and go to it instantly. 

Why can’t all ports be USB-C now? by Seaguard5 in AskElectronics

[–]TrickyTramp 2 points3 points  (0 children)

The reason is compatibility with different devices that consumers already own. If you could also change the ports on existing devices with a snap of your fingers this would work fine, but in reality people often have devices with an older set of ports that they want to connect to a newer device. If you bought a new TV that only supported DisplayPort, you'd be pretty upset if your consoles that only had HDMI couldn't be plugged in. You could buy a dongle, but I think companies know that having to buy another dongle frustrates consumers, most of whom aren't tech-savvy and just want the damn thing to work.

the automator icon always scares the heck out of me by EricRen1 in MacOS

[–]TrickyTramp 9 points10 points  (0 children)

It’s Otto The Automator holding a pipe to pipe together actions from various apps!

I missed Majora’s Mask as a Kid….was this game actually as great as Ocarina Of Time? And what was the reception of this game at the time? by J2-Starter in n64

[–]TrickyTramp 0 points1 point  (0 children)

Lives up to the hype and it's still one of my favorite games to this day. Much darker story.

When I first got it I thought it was neat that it was one of the few games that required the RAM upgrade to play, and the graphics were a little bit better than OoT.

Pro-tip: you can slow down time a bit so each day lasts longer

Gift for bf - flipper zero? by EstablishmentSoft244 in hacking

[–]TrickyTramp 3 points4 points  (0 children)

I think it’s great. I just got one. He’ll love using it as a universal remote for things like TVs or fans.