[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1767921109824249.png (734 KB, 1065x800)
734 KB
734 KB PNG
>Read the sticky: >>105076684

>GNU/Linux questions >>>/g/fglt
>Windows questions >>>/g/fwt
>PC building? >>>/g/pcbg
>Programming questions >>>/g/dpt
>Obsolete laptops >>>/g/tpg
>Cheap electronics >>>/g/csg
>Server questions >>>/g/hsg
>Buying headphones >>>/g/hpg
>How to find/activate any version of Windows?
https://rentry.org/installwindows

Previous: >>107854240
>>
I had a weird Windows Defender SmartScreen looking popup about updating copoilet that only gave me the option to close, saying I shouldn't open certain apps until it's done. I have Ublock and noscript on so I don't think it's from a popup, and malwarebtyes and anything else cannot find any viruses or malware. What the fuck is windows doing?
>>
>>107889997
https://www.youtube.com/watch?v=k6wI9qqOvec
>>
>>107890043
Oh. I looked in event viewer and I didn't see anything odd either. That's pretty gay though.
>>
File: 1768610793834689.jpg (28 KB, 388x441)
28 KB
28 KB JPG
>>107889889
what's the better option, using docker or an LXC container?
>>
>>107890099
Just make sure you have the latest build and check for updates frequently. I usually check for updates before I open any web browsers myself.
>>
It's amazing how much you unbottleneck your PC hardware by just switching to Linux instead of using Windows.
>>
>>107890135
certain software still only supports windows with WINE compatibility not being the best.
>>
>>107890148
Majority of Windows software today is literally Electron or some Chrome webapp.
>>
File: 1768660232396.jpg (251 KB, 650x928)
251 KB
251 KB JPG
>>107890043
Don't post that scum ever again.
>>
>>107890110
Docker only works for individual applications.
LXC/LXD are system containers, meaning you have services, logs, scheduled tasks, and so on, just like in a real OS.
>>
>>107890160
Blame whoever came up with the failed (and pushed) streamed app shit. Now Apple wants to start renting apps and I can't even find videos about Google, streaming and apps without a flood of results about their new TV streamer.

Streaming *everything* is what these companies want. They'll stream you oxygen if they can get the patent.
>>
>>107889708
I think I got it running (?) but I need to manually run
>modprobe -r thinkpad_acpi
>modprobe thinkpad_acpi fan_control=1
And start the thinkfan.service everytime I boot. Wiki says something about generating initramfs manually but I'm confused by it. How do I do that?
>>
>>107890349
So if I want to run... idk a tor gateway or i2p router in a container to be used with other software (lets say, a web browser)
is better to run these services/applications as multiple dockers that communicate with each other (with docker compose) or run them in a single / multiple lxc container(s)?

I guess what I'm also getting at is, apart from portability reasons, why is docker more popular if you can do the same with lxc with all the benefits of system containers? Being lightweight can't be the reason since you can use alpine for lxc and I don't see it as inherently more secure since it runs as root ....
>>
>>107890539
it is never always better to use one over the other, or else both wouldn't exist

>why is docker more popular if you can do the same with lxc with all the benefits of system containers?
time to market, LXD is younger than docker, config for LXC containers pre LXD was more tedious which is a problem Docker solved, as it was originally based on LXC
>>
>>107890539
>is it better
You decide. If everything you need is already packaged as Docker images then use docker. If it's packaged as Linux deb/rpm then use LXC.
Me? I run docker inside LXC because I only need it to build docker images and fuck giving docker root on my server.

Another major difference to consider: docker containers are ephemeral and any data you modify or create inside them is gone on restart (unless you put it on a volume), whereas LXC containers work like VMs – all data is there after a restart.
>>
File: 1768651471878943.jpg (11 KB, 261x244)
11 KB
11 KB JPG
>>107890553
>it is never always better to use one over the other, or else both wouldn't exist
but if you have a linux server and aren't using orchestration tools, why would you ever use docker?

red pill me on LXD / Incus ... how is it an improvement on LXC? (or even something like podman that gets shilled)
>>
>>107890742
I started to use LXD just to try things out in CentOS (without installing it) because I was running Ubuntu on my work laptop while most customers had CentOS servers. It was very easy to get up and running.
An LXC container is set up like any computer, you install packages, enable SSH, configure networking, enable services, the lot. Just the kernel is inherited from the host OS.
I configure my containers with Ansible, SSH into them to tweak configuration or install updates, and sometimes upgrade them in place just like I'd do on a physical server.
So for me LXC replaces VMs (although LXD/Incus can spawn real VMs, I don't have a use for that yet).
>>
>>107890742
I am not pro Docker, Podman runs docker containers without the daemon, aka OCI containers

LXD is a tool to interface with LXC, it still uses LXC under the hood, these system containers are not standardized between vendors, so it is mostly preference, ecosystem and documentation that makes the difference
>>
do hosting websites steal the domain from under you if your website becomes popular
>>
>>107890952
less reputable ones will, cloudflare, namecheap, godaddy, etc etc the most popular mainstream ones wont
>>
>>107890742
>LXD is a tool to interface with LXC, it still uses LXC under the hood
so it is what portainer is to docker, got it

>>107890825
I configure my containers with Ansible, SSH into them to tweak configuration or install updates
I think
I think this is the way. I'm thinking:
> terraform to create LXD container
> LXD to create the LXCs
> Ansible to manage to manage the services inside the containers
Is this the patrician way?
>>
>>107890986
>so it is what portainer is to docker, got it
no I wouldn't go that far, it is more like ollama to llama.cpp, or `WebM for Retards` to ffmpeg
portainer is a lot more powerful and handles K8s clusters
>>
what's wrong with my bash alias function? I am trying to download end re-encode videos but it skips the compression part entirely
xdl-c() {
local url="$1"
local bitrate="${2:-1M}"
local enable_audio="${3:-true}"
local args="-b:v $bitrate"

if [ "$enable_audio" = false ]; then
args="$args -an"
fi

echo "$args"

yt-dlp \
--ppa "$args" \
"$url"
}
>>
File: 1752427917408783.png (1.32 MB, 960x960)
1.32 MB
1.32 MB PNG
Anyone here tried these portable emulation machines? They seem very well priced and they tend to mimmick some existing handheld, i just find it fantastic that some are even priced at 5,20€ like picrel, i assume it may have total dogshit buttons and the worst CPU possible unlike the 20-40€ handhelds
>>
>>107890963
hostinger?
>>
>>107891145
--ppa requires calling the postprocessor name, no?
right now you're passing args but not what should process it
also missing
--recode-video
>>
My laptop fan started rattling (sounds like either bearing was dying, or something else mechanical was fucking up), and after a couple of weeks of this today it sounded like it was going to explode - a LOUD buzzing noise as if it was physically scraping against some physical obstruction at high speed.

But what happened next is that somehow it started running at max(?) speed and it runs smoothly. As if there's some kind of vibration resonance mode that only happens at low/medium fan speeds but is completely absent at max speed.
Not only that, but since that the loud grating episode happened earlier today, the fan has been running on two modes: completely off or max speed. Consequently it's been completely smooth with no rattling or buzzing or vibrating, except that it's audibly blowing like 80-90% of the time since it can only turn off for so long before kicking back up to max again.

All of this has left me extremely confused. After two weeks of buzzing intermittently, it sounds like it's going to rip itself apart but somehow fixes itself by always running at max speed. Is it something in the firmware detecting vibrations and somehow adapting to find a frequency that doesn't resonate? I've never heard of this being a feature. It's a modern thinkpad (T14), I'm running gentoo and no particular fan control programs (not even thinkfan - I'm not sure it's even compatible with modernt thinkpads) so it can's possibly be something in the OS (unless the kernel has fan vibration support), so I'm absolutely mystified. Does the vibration resonance theory even make sense? It seems sketchy to me but I don't know what else could possibly explain that somehow going to max speed fixes the rattling problem, when I thought the bearing was going to die for the past few weeks.
>>
>>107891330
you're overthinking it. It's probably something loose that got realigned somehow (not likely but not completely impossible either)
No way to tell unless you open it up and check
>>
File: 1675412771620259.jpg (267 KB, 1088x1060)
267 KB
267 KB JPG
How well with a WD Black HDD deal with just being used for cold storage? Can it stay on all the time. Because of the current environment I'm starting to pull out all my unused drives and put somethings on them for cold storage.
Still thinking of buying a drive before things get worse. What's the best drive that can handle being power on and off consistently?
>>
How do I get fullscreen on slay the spire? No matter what I do i cant get fullscreen, all my other games work just fine, just not this one
>>
>>107891389
But why is my fan control literally in bang-bang mode right now?

I would've almost thought the fan cable was getting into the blades and the PWM wire got torn open or something forcing it to run at max voltage, except I did open it to clean a bunch of dust like 5-6 days ago (it did nothing to change the buzzing btw), and the fan cable is routed around the casing in a way that makes it basically impossible for it to get anywhere near the blades. By deliberate design, I imagine. So I'm almost certain it has to be software.

If fans were more complicated I'd say "maybe the control circuit died!" but I'm pretty sure 99.9% of computer fans are purely electric rather than electronic, the cable either carries PWM power or varying voltage and the motor responds directly thus resulting in variable speed. So again the fan control shifting to bang-bang mode must have happened at the control level, in either software or firmware somewhere. No?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.