/tech/ - Technology

Technology & Computing


New Reply
Name
×
Sage
Subject
Message
Files Max 5 files32MB total
Tegaki
Password
[New Reply]


fit_vs_g.webm
[Hide] (729KB, 640x360, 00:09)
Thread dedicated to Questions That Don't Deserve Their Own Thread
(but are worth asking)

Before asking a question here, please search the web first or put in effort towards answering your own question. If you put in effort but you still can't find the solution, feel free to ask here.

If you are looking around for useful applications/programs, see >>531
Last edited by hisuimeido
Replies: >>8021
>>7647
>>7656
I'm curious if you can set up some kind of firewall that blocks internet traffic to all domains except those on a whitelist, bonus points if it plays nice with your web browser as long as it's not Edge to automatically whitelist websites you manually navigate to.
Replies: >>7663 >>7664 >>7667
>>7662
you can edit the hosts file, but it wasn't enough:
https://wiki.installgentoo.com/wiki/Windows_10
Replies: >>7664
>>7662
For some time, while using a windows VM, I completely cut it off from the internet and set up a socks proxy, and pointed the browser to that proxy.
>>7663
Setting up a hosts entry won't help if the program is trying to connect to an IP address directly instead of using a domain name, for that you need a proper firewall, but then you're going to have problems with virtual hosts... so yeah, it's sucks anyway. The best course of action is if you don't have to run a botnet at the first place, or you can completely airgap it. Everything else will suck.
Replies: >>7665
c176bfd931134b42cbdcd5d2b27b09bea0cad5bbf94469de0edf7c427ccd06bb.jpg
[Hide] (77.9KB, 387x704)
>>7664
I just want to be prepared for the day when I finally run out of the ground beneath my feet and will be forced to migrate to newer microshit OS to function.
I have a WinXP machine as well and it was a pain in the ass to set up and I'm still unable to browse the web properly on it.
Directory-Filesystem-Hierarchy-Standard.jpg
[Hide] (65.1KB, 728x590)
>>7647
>Is there a good version of Windows 10 or even 11?
No. But the previously-mentioned debloater script could make 10 a little less bad. But you're still in Microsoft territory and they own your computer. Anyway, you are in a sinking ship. If you refuse to learn something else, you are more fucked than you can possibly imagine, so I recommend learning how to swim before the water gets up to your eyeballs, because it's only going to get worse from here. I don't recommend dual-booting, I don't recommend distributions that require learning to be a bit usable. 

My recommendation is that you should run Windows 10 in your main computer, with the script, but also have another computer (it can be a cheap used one, doesn't matter) to run some basic Linux distribution, doesn't matter which as long as you can use it (don't fall for any memes too early, and don't worry about things that people complain about, that's for intermediary or advanced users to worry about, not you). Then use that one to learn the basics and to figure things out, and to install programs and figure them out, and find the ones that you like.  If you are in a hurry to get things working, that's not gonna work because learning can take time. And you should learn, because frankly, most distributions "for beginners" are designed by retards, and unfortunately the people that aren't retards tend to not care about beginners being able to use their stuff at all. In my case, I took it really exceptionally slowly myself (I started using Linux in 2012 and I think it took until at least 2017 for me to even install things in the terminal, without the GUI), because I knew I wasn't going to switch to Windows 8, as soon as it came out, but I wasn't in a hurry either, especially until 10 came out.

Also, most of the computing experience isn't about the OS, it's about the userspace programs that you use, and figuring out what you want to use, because you have a lot of options for everything. And if by the end of it, something that you need doesn't have an alternative that runs on Linux, you can always have a separate Windows computer just for those cases, and keep your personal files and browsing in the Linux system. it's what I recommend to people that want games, just get a computer to use as a console. 

The filesystem isn't much of an issue. If you're struggling with that, only the home directory matters, you shouldn't be messing with anything else because you don't have the knowledge for that to even be necessary. Anyway, you can just watch a video or read a tutorial, to learn about that, if you need to. But this image sums it up. When you open your file manager, you will be in /home/yourusernamehere, and that's basically all you have to think about as a beginner. Normal users mostly only have access to their own directories in /home.
>>7662
simplewall.
Replies: >>7668
stupid question but is it a good idea to replace windows 7 with windows 8.1 on my gaming VM any performance gain from this? any new features to expect from thier newer kernel? i use it mostly for DX11 unity stuff on vmware

>>7667
yeah but how to i turn the update mechanism itself off? i remember that time mac OS shit itself because apps cant verify hashes due to telemetry server down i dont wanna waste CPU resources on useless background maintenance cleanup tasks that im supposed to be doing manually
Replies: >>7669 >>7670
teary_holo.gif
[Hide] (153.7KB, 360x360)
>>7668
You can't turn it off. All that you can do is disable automatic updates, and block the connections. Though the anti-virus can be disabled, but the service will always be there to eat some of your RAM. Welcome to hell.
>>7668
>any performance gain from this?
It's modern windows, what do you think? 
The only reason to "update" from 7 is if the bloatware you want to run requires a newer version like 10 or 11, but since it's a VM there's no reason to replace it instead of just making alternate VMs for those games.
nagata-kabi.png
[Hide] (1.7MB, 2124x920)
>don't want to use proprietary software
>consider my online life a part of my personal life and separate it from my professional life

>job's payroll service is going paperless (online service)
>of course, it asks for e-mail
>also has clauses in the terms of service for biometric data (mobile app)
>told HR I didn't want to sign the new contract for the  new online service

>opening new checking account
>they ask for e-mail on the registration form
>tell them I don't have an e-mail to give them
>they give me another option and give me paper statements at least

How are other free software enthusiasts sticking to their principles when it comes to finance? I avoid online payment processors like Paypal and Stripe, mobile banking apps, tax programs, and so on. I get the idea finance is where one can not abide to exclusively using free software. But it'd be nice to hear if anyone has it any better.
Replies: >>7673
5g0hn1pr81z91.webp
[Hide] (41.4KB, 640x487)
What custom css do you guys use on this site/other IBs? I use the default theme but want to make it look cool so feel free to give suggestions
>>7671
Selfhost email
Replies: >>7681
What libre software has the best image stacking algorithm? One that doesn't merely align, but that can cope with shaky images.
OpenCamera for instance has a really good one, but only in its HDR mode, and only 3 pictures, and I don't want HDR or only 3 pictures.
03c7f9d43121a217fc91f37e1d52aca26731378a841cee453d64b77265353104.gif
[Hide] (61.6KB, 260x200)
Realistically speaking, is there a point to running multiple terminal windows on X with a multiplexer like Tmux? Not only can you tile terminal screens with it, you can even access different sessions from one screen; I of course ask that as someone who primarily uses CLI programs.
Replies: >>7682 >>7686
>>7673
Not really what I'm asking. I know about self-hosting an e-mail addresses for myself. I feel rather fortunate that the option not to give an e-mail stil exists, but as things are going, the option may not exist in the future.

The investing world is also something I haven't touched upon in the slightest. Does the foss community avoid it as well to avoid contributing capital to tech stocks (Amazon, Microsoft, Google, etc)?

I know crypto are generally released under public licesnes, but almost always the trading platforms they are traded on is proprietary and the finance companies runing the platforms have been sus lately.

Also curious to hear any interpretations of the talking heads pushing "crypto regulation" when in many cases, the general public doesn't distinguish cryptocurrency exchanges and the cryptocurrency itself. So inviting the government to regulate easily implies giving the government authority to levy fines or penalize the writing or deployment of software for any purpose.
>>7678
>is there a point to running multiple terminal windows
Yes. It can be somewhat superfluous if you have a proper tiling window manager and you never restart X and don't want to connect to your computer with SSH, otherwise it's quite handy.
I have different color schemes and prefix keys by computer, so I can run tmux inside ssh inside tmux inside ssh inside tmux without problems.
Replies: >>7685
>>7682
>It can be somewhat superfluous if you have a proper tiling window manager
Perhaps my phrasing was unclear; what I meant is whether there's any point to creating multiple windows on X when you can access different terminal sessions from one window using a multiplexer like Tmux. The way I see it, it would be more efficient to either use a multiplexer or multiple windows (especially with a tiling layout) alone, but superfluous to use them together (of course, insofar CLI programs are concerned).
Replies: >>7687
>>7678
Of course there is, the reason I use it is because I prefer using all those programs from a single CLI interface instead of a myriad of different terminals.

Tmux has a lot of great features including easy switching between windows, multiple sessions, and even some commands that do some amazing things. Here are some things you can do:

Move between and change windows (man pages for info):
# Move from window to window to show windows$ tmux move-to-window-one
# Change the window you are in to window2$ tmux move-to-window-one window2$
# Switch to the last window (it is in this window)$ tmux move-to-window-last$
# Get a different window's status$ tmux show-window
Replies: >>7687 >>7688
>>7685
I guess it depends on your usecase. If you have multiple windows, it will work and feel like every other window, you don't have to learn new keystrokes, copy-paste will work correctly, etc. On the other hand, screen/tmux/etc works even if you restart X, can use it over ssh, might have some extra features your WM don't have.
>>7686
But you can do all of it with a decent tiling WM. Try to split a display into a 2x2 grid, three terminals and one image viewer with tmux.
Replies: >>7688
>>7686
I'm aware of the benefits of using Tmux, which is why I am asking if there's any reason to open multiple windows on X rather than just do everything on one window using Tmux; sorry for being imprecise.
>>7687
<If you have multiple windows, it will work and feel like every other window, you don't have to learn new keystrokes
<screen/tmux/etc works even if you restart X, can use it over ssh, might have some extra features your WM don't have
<Try to split a display into a 2x2 grid, three terminals and one image viewer with tmux
You raise some interesting points. Perhaps it isn't as superfluous to combine both as I suspect it is.
Replies: >>7698
>login immediately after computer boots
<data drive does not automount and i have to mount it manually
>wait at login screen for 10-15 seconds
<data drive automounts
but why yes this is linux
Replies: >>7692 >>7698
1668633769462.jpg
[Hide] (115.8KB, 1208x796)
Found this on /librejp/ and just wanted to ask how much this glows (or not)
https://safing.io/spn/
>>7690
>don't use VPNs, use VPNs
I hate marketing.
>>7689
What do you use to automount? Maybe the drive is slow and not ready when you login immediately. Check dmesg and syslog, or whatever else your automounter might log to.
Replies: >>7698
>>7689
What distro? What drive?
>>7690
All VPN services places trust on the VPN provider, since they have access to whatever is flowing out of your socket. That is just another VPN as >>7692 said. VPNs mitigate against sites knowing your identity. By having enough users from a server, sites cannot differentiate right away who you are. All that is moot when you don't isolate cookies. They are suitable for mitigation against small sites, geoblocked or piracy, but not for privacy.
>>7688
I never bother making a tmux config. Another point is whatever wm capture keys with higher priority. It is hard to find convenient keybindings that doesn't overlap. Using wm makes it easy to work with terminal and other graphical programs at the same time, usually the browser.
One thing I haven't figured out is how to efficiently copy text between windows with keyboard only. Even with vim extensions in browser, selecting and copy text is clunky.
Did duckduckgo just go down?
Replies: >>7701
>>7700
works on my machine
>>6245
and that's exactly what i'm doing now, i have my old parts in a shitty gateway case under my desk, and it plays tf2/l4d2 just fine.
lvb.png
[Hide] (1.7MB, 1020x1404)
Hey anon I need help on updating my libreboot laptop with newer version of libreboot. I have never done this before I hope anyone here could help me. I'm not really sure on which rom file should I use for updating my flash chip. According to the person who sold this libreboot laptop long ago, he said the flashchip was a SOIC8 type. Here's some more info after I did flashrom -p internal command*
possible language: kotlin, relevance: 13
flashrom v1.2-1058-g4df64d93 on Linux 5.18.14-gnu-1 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
coreboot table found at 0x7fad6000.
Found chipset "Intel ICH9M-E".
Enabling flash write... FREG0: Flash Descriptor region (0x00000000-0x00000fff) is read-write.
FREG1: BIOS region (0x00003000-0x00ffffff) is read-write.
FREG3: Gigabit Ethernet region (0x00001000-0x00002fff) is read-write.
OK.
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) mapped at physical address 0x00000000ff000000.
===
This flash part has status UNTESTED for operations: WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to [email protected]flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
No operations were specified.

Which rom size should I use to update my libreboot? is it a 4mb, 8mb or 16 mb?
Replies: >>7706
>>7705
>Found Winbond flash chip "W25Q128.V" (16384 kB, SPI)
That seems to imply a 16 MB Winbond chip, SOIC8 refers to the number of physical pins. For future reference you should make sure you have an SPI programmer and a good ROM backup if you don't already.
Replies: >>7707 >>7710
>>7706
I have the vendor rom backup but I dont have a spi flash yet. Maybe I should get resbpi in case I have to flash it externally. Thanks anon.
>>7706
Another question Anon, since my laptop already librebooted. Does that mean the rom in my flashchip doesn't have anymore gbe region?
Replies: >>7711
>>7710
If I understand correctly Libreboot has a tool for generating GBE blobs, I would assume the prebuilt images use a GBE region generated by that tool.
So after using OpenRC for a while I have to ask... why would you prefer systemdicks over it? It's pretty easy to use and it is very well documented. I don't get it. Just a mini rant at the rampant retardation all over the tech world.
Replies: >>7726 >>7736
>>7725
Because debian, ubuntu, and redhat uses it.
Replies: >>7727
>>7726
More like redhat shove it down every other distribution's throat. The same with pulseaudio, gnome3, dbus, the whole freedesktop cancer, etc.
>>7725
The systemd people pushed distros to adapt systemd. They pretended that the only alternatives are continuing using sysvinit or switching to upstart. The systemdick thread has more discussion: >>1
Replies: >>7770
1414339130782.jpg
[Hide] (10.6KB, 229x220)
Anon, I need help how to setup securityfs for apparmor in etc/fstab manually. According to gentoo wiki, I need this line in fstab 
none     /sys/kernel/security securityfs defaults            0      0

lets say if my fstab layout is like this
possible language: bash, relevance: 6
# /dev/mapper/mtx-osvol
UIID=123-123-123-123		/	btrfs	rw, blabla 	0 0

# /dev/mapper/mtx-osvol
UIID=123-123-123-123		/home	btrfs	rw, blabla 	0 0

# /dev/mapper/mtx-osvol
UIID=123-123-123-123		/boot	btrfs	rw, blabla 	0 0

# /dev/mapper/mtx-swapvol
UIID=234-234-234-234		none	swap	default		0 0

should I just add a new securityfs lline below swapvol UUID? Which mean securityfs line doesn't have an UUID. I kind of confused here.
Replies: >>7742
>>7741
The first column is the device you want to mount. Traditionally it was something like /dev/sda1, but these days you can have lvm lvs and uuids and whatever else. There are some virtual filesystems, like procfs, securityfs, etc. where you don't have any physical device, so you just specify some dummy value, the kernel will ignore it.
Also tell me how it goes, in the past I used selinux, but I got fed up with having to spend a half day after each system update to fix everything that broke, and of course using a service that doesn't have built-in selinux policies are a huge PITA. Apparmor is supposedly more automatic in this regard, but I never tried it.
Replies: >>7744
>>7742
>Apparmor is supposedly more automatic in this regard, but I never tried it.
Different anon, but Apparmor just works™. Just add it (apparmor=1 security=apparmor lsm=capability,yama,landlock,apparmor) to kernel boot cmdline options (in grub config) and enable the apparmor boot service that automatically loads the profiles.
Replies: >>7747 >>7750
>>7744
Is there any reason why the guide between arch wiki and gentoo wiki are not similar? I have tried the arch guide which looks like your setup but that didn't boot my computer. In gentoo way, they dont put lsm=capability,yama,landlock parameters.
Replies: >>7748
>>7747
In the gentoo guide, they change the kernel config so it boots into apparmor by default. With a binary distro you can't do this, so you're stuck with editing the kernel command line. Also there are multiple mentions of systemd in the arch wiki, if you don't use that crap, some steps will be different.
Generally you should follow the guide of your own distro (or something very similar to it), especially when you're doing low level shit like this. There gonna be subtle differences.
Replies: >>7749
>>7748
I'm using arch based distro without systemd btw, I'm trying to figure out what went wrong.
>>7744
Alright it work now, I didn't distinguish between "space" and "," in kernal parameter which is why it didn't boot. I thought there were no difference between them. Infact, there's no proper guide to setup apparmor particulary for my distro. Anyway thanks for your input anon.
can somebody QRD me on this "Amd is bad at IOMMU management meme?" I've heard before on other forums if i were to build a proxmox gaming server am i better off with intel in the long run? both options seem decent enough

>>7736
yeah its kinda weird why doesn't android or chrome OS use this DE facto standard as well? i guess they dont want users jailbreaking thier devices by penetrating the insecure kernel like a bad little goy! i kinda wonder what init the ps5 uses and how they secured it properly
Replies: >>7774
>>7690 i just found this after searching [privatealps legit] lel
no idea where to ask but does this glow as well? https://u.is/ strangely enough the interface reminds me of Ares galaxy
the videos look like marketing gimmicks and the client is proprietary for some unknown reason as stated in the faq
though they had a really neat 64k animations (no executable sadly) and the site is still up since 2013 makes me wonder why
though i kinda have the urge to host a static site or a chan board there since ((( lokinet ))) is run an maintained by literal furfeds and tor is israel owned
Replies: >>7774
>>7770
>amd iommu
Use a search engine. Also use a separated computer for those stuff.
>android
Licensing and controlling up the platform for millions of java pajeets.
>ps5
Probably not running linux
>>7772
I don't see links to source code.
Replies: >>7783
Anyone doing 3d printing here? Any advice for newcomers? Of course, I tried to search for it, but having no knowledge of the subject I find it hard to discern valid articles from paid shills, like I've read shit, ranging from Creality Ender is a very good printer, to they're so garbage, that setting your money on fire is a better investment. Is there any reliable site/source I should look at? I fear not, given the general state of today's internet, but who knows...
Replies: >>7776
>>7775
I have an Ender. Same as any other (massively shilled) field, learn the theory and basics; set a goal and allocate a budget.
Start from knowing what 3d printing is and how it works. Look at different forms of printers and their structure. By the end of this point, you have basic knowledge on how much effort is needed for doing X in this field.
Set a goal and budget. Do you want to know it all? Do you want to minimize cost? Do you want no fuss just print? How big of an object do you want to print? What material? Do you have room in your house for a printer? Do you have good ventilation for magic smoke materials? You should be able to learn additional stuff if needed to decide. Come back when you are not sure at this point.
There is no general site for anything right now, you need to filter information.
Replies: >>7783
neoncat.gif
[Hide] (660.3KB, 220x220)
>website doesn't load on my browser, probably blocked by my ISP or some shit
>I open an SSH connection to tunnel through
>I need to adjust the system proxy to use the SSH connection
>website suddenly fucking loads without me touching the proxy
What is going on?
Replies: >>7781
>>7779
>doesn't load on my browser
How? Did you try curling the page and check verbose responses? Pinging? Resolving (digging)?
It is hard to say more without more info.
>>7774
there isn't its proprietary like the FAQ says protocol looks really suspicious
>use a search engine (i thought you guys know more about this)
i originally found it on tomshardware and plebbit inb4 go back. Have things changed after they released the Zen 3+ series? (this has nothing to do with older amd 3XXXG processors)
>use separate pc
as 2020 goes on ive seen more and more linux tutorials use amd processors indicating they did lots of work on the newer models but still i wanna keep everything within one machine

>>7776
god i wish i had one of these bad boys not sure if pcbway ships to flipland though as they recently added STL support a few months ago

alright lets answer this question once and for all is linux good enough for gaming and intense 3d work nowadays? kernel/system/driver wise? as someone on github already made linux scripts my hardware and the support from lenovo seems pretty good in general but idk why this X.509 error pops up on boot
>use lutris or proton
no i hate WINE but what i was saying was will vmware workstation perform slower or faster on ubuntu compared to windows? are the radeon drivers mature enough? will multiple VMs crash my iGPU or kernel panic my system? can linux properly utilize shared UMA igpu ram? just need this little advice from other experienced users here
turns out wangblows is the one that's shitting up my gpu this whole time not vmware but i still can't pinpoint the problem on my host either way im ditching W10 for good
>AMD GPUs are officially supported all the way back to GCN 1.0, though pre-GCN 1.2 cards need an additional Kernel parameter in order to enable the official amdgpu driver else they'll use the unofficial Radeon driver which supports all AMD GPUs from the R100 to the R9 200/300 series, but lacks Vulkan support.
Gonna leave this one here from /v/ also how do you bench test vulkan and CUDA on linux from live cd

one thing ive noticed while browsing Ali is that why are ARM tv boxes so dirt cheap yet even the lowest end celeron pc is 10 times more expensive? was it due to the fabrication method? where the hell do these chinks get so many of these at once for an inexpensive price? are those discarded remains in the factory batches?

what program do you guys usually use when extracting godot engine games? trying to extract some soundtracks from indie shit. PCK looks simple inside

is there a colored group tabs feature on vanilla chromium as well? (not msedge) ill be using this for linux as the vertical tabs look like dogshit on chrome windows
Replies: >>7784
>>7783
>ive seen more and more linux tutorials use amd processors 
This is because years ago intel used to be the better choice, but now AMD is the best.

>will vmware workstation perform slower or faster on ubuntu compared to windows?
You need to try it or look up a benchmark. But I suspect that virtual HDDs (I/O) are actually faster on Linux.

>is linux good enough for gaming 
Yes. As long as Wine or Proton supports your games. Of course, some Linux ports exist meaning that some developers publish native Linux binaries  and there are sourceports also called "engine replacements" for some games (GZDoom/Prboom+, eduke32, OpenMW, ...). But you should keep Botnet 10/Botnet 11 around, if you can, since that way you can be certain that all your applications are supported. I recommend buying a separate HDD/SSD for Windows and Linux, if you can. Be sure to buy AMD GPU (or use the integrated graphics on you AMD CPU or Intel CPU). Nvidia works but it can cause more hassle (depending on your distro) Because you need to use the proprietary Nvidia drivers .

>are the radeon drivers mature enough? 
Yes, but the open-source/libre drivers are now called "AMDGPU". You don't ever need the proprietary AMD drivers (that are called "AMDGPU-pro").

>will multiple VMs crash my iGPU
No.

>... or kernel panic my system?
No, unless you run out of RAM.

>intense 3d work nowadays?
Yes, if Blender works for you. I don't know anything about other 3D modeling software.
Replies: >>7785 >>7795
>>7784
P.S.
As long as the program/game is supported by Wine and/or Proton (Check Wine AppDB and ProtonDB) , there is no reason to avoid using Wine or Proton, other than the fact that you are (most likely) using it to run proprietary software. Using Proton is easiest if you install Steam and use it to run your games using Proton (I think you can add non-Steam game to your library and run them using Proton via the Steam GUI). But Lutris makes using Wine really easy (if you don't want to be tied to Steam).
Replies: >>7795
Where do I start if I want to write a widget for linux destkop, I'm using xfce and I want to add a button in the taskbar that enables/disables the audio output devices available in the machine.
Replies: >>7795
.>7703
With a search engine, keyword xfce add taskbar button command
https://forum.xfce.org/viewtopic.php?id=5015
'
Replies: >>7791
dc6c3be6a5d9493fe58ca97bbe3d27c8b00e9b34e644936029f74677e640d4af.png
[Hide] (192.5KB, 721x509)
argos_example_2.png
[Hide] (27.3KB, 192x206)
>>7790
That is not it, I need to create an icon in the taskbar, that connects to a service, when clicking on this icon, a dropdown menu will show up with the currently available list of audio devices, and a checkbox on each entry, clicking on the checkbox disables/enables the audio device, the problem is not the service, but the desktop GUI.
I don't know where to start, and I want to make it desktop agnostic and GUI needs to decoupled from the service, the only option that I found is this one, https://github.com/p-e-w/argos, but, I don't know if it will work on XFCE.
Searching doesn't not give any meaningful result related to my question, maybe I'm wording it wrongly.
>>7791
Sounds like what you're describing is a tray icon (called a status icon in GTK), for example the NetworkManager tray icon pops up a menu on left click, maybe start there.
Replies: >>7797
>>7784 >>7785
>virtual disk IO is faster
what about internet? on virtualbox guest some programs can't download their contents properly but browsers have no trouble connecting. What causes this? ive seen this on vmware too (might be a dns problem). On hyper-v ive noticed a less severe version of this network problem (yet strangely msedge slightly glitches on GPU-P)

>intense 3d work
i was talking about the DX11 engine on VMsvga3D. Anybody had problems with it so far on linux?
also speaking of 3d why does autocad have orange textures on vmware but works just fine on mx150 (it was a school project a year ago) and on intel HD some of the 2d game textures fail to load in virtualbox what causes this? was it due to host drivers or incompetent hardware design

>avoid WINE like a bad goy!
haha all of my games are IGG pirated i aint installing paypig ware host in a million years however i do intend on using steam/itchio on VM windows guest (specifically due to woke poz related drama just for safety)

>proprietary nvidia drivers (for host)
offtopic but are these required for vgpu_unlock? i do not intend on mounting one of the gpu slices after splitting my card my host is gonna be radeon only (is the guest gonna need a different driver? due to vgpu features)

how do you configure SWAP and how much should i give? (for 64gb ram) im enabling hibernation incase my laptop server runs out of battery during unattended blackout (im asking these in advance before i buy my ssd on January)

ok thank you but another quick question how do i get windows kernel 10 ram usage to 1gb/2gb? when i shrink my VM ram it automatically compacts itself but how do i keep it small when i re-expand the ram capacity on next reboot?
will compressing or truncating that 4gb bloat affect my system stability? why the fuck does the system alone consume that much wtf microshaft? perhaps some kind of trick to make windows think its running on a low end tablet to force everything to be super efficient? ill check /r/SBCgaming again later on but its all linux centered last time i looked. Im rebuilding a hyper-v VM with only 8gb of ram and want to make the most of it without squeezing my host?

article related: https://www.techspot.com/news/84735-twitter-user-runs-windows-10-192mb-ram.html (based weeb)
ive seen some cherry trail (atom) processors run windows 10 swiftly how did they do it? i kinda have the urge to get one of these 2gb ddr3l hdmi compute sticks

can my n4000 compete with the rpi4 8gb? im not gonna support gamergate BS what are some practical server related uses for my underpowered celeron system? will the pentium n6000 be sufficient for browserfagging and webgl/flash gaming? strangely enough why does the n5105 score better on notebook check

also one thing ive noticed is that why do manufacturers disable IGP by default when a discreet gpu has been connected on desktop boards? what is to be gained from this? on some OEM prebuilts the hdmi port is not soldered at all why do they hate integrated graphics (like my radeon) so much was it due to gpu-passtrhough? i legit dont understand why they do this at a firmware level

>>7789
This. i want coed some small scripts infact ive already made a batch file for my winpe to autostart anydesk
Replies: >>7804
>>7791
what >>7793 says, it can either be the dock, system tray, notification center, they all have similar names
>>7791
You can try yad or zenity
>>7791
Try this this one. 
https://github.com/dardevelin/gensystray

You can customize your own systray like menu. I dont think you could have check boxes but at least you can make your own menu and put whatever shell scripts into the list as you like.
Spoiler File
(216.4KB, 1920x1080, 00:06)
>>7795
>proprietary nvidia drivers (for host)
>offtopic but are these required for vgpu_unlock?
I'm 99% sure that they are. The libre nouveau are really bad, unless you have ancient Nvidia GPU.
But on the other hand, the FOSS AMDGPU drivers and Intel integrated GPU drives just work.
>offtopic
Questions aren't offtopic ITT. 

>how do you configure SWAP and how much should i give?
If you don't want to suspend on disk, you don't need swap at all (you can still suspend on RAM). But if you want to suspend on disk, follow this guide: https://help.ubuntu.com/community/SwapFaq#How_much_swap_do_I_need.3F
< "64GB RAM: 72GB ~ 128GB swap"
I think suspending on disk is not worth it, if you have that much RAM.

>ok thank you but another quick question how do i get windows kernel 10 ram usage to 1gb/2gb?
Botnet 10 requires 2GB or more RAM. And Botnet 11 requires 4GB RAM. But in practice, Botnet 10 runs very poorly even with less than 4GB of RAM.

>why the fuck does the system alone consume that much wtf microshaft? 
Bad OS and the botnet/"analytics"/"telemetry" also requires some resources.

>ive seen some cherry trail (atom) processors run windows 10 swiftly how did they do it?
I have no idea. I have Intel Atom laptop and it came with Botnet 10. The performance and battery life on Botnet 10 are terrible. But it runs GNU/Linux just fine (and the battery life is at least twice as long). In short, don't try to run modern Windoze on low-end hardware.

>also one thing ive noticed is that why do manufacturers disable IGP
I heard that Intel and AMD sell CPUs that have ((( disabled ))) integrated graphics with a cheaper price. I don't know what's the reasoning behind this BS,
Replies: >>7805 >>7806
>>7804
>you can still suspend on RAM
Dont ever do this, suspend to RAM is bad for security and if you froze your system into RAM, everything that were store in ram will not be encrypted. It is a potential security threat for attacker to do some millicious shit after resuming from suspend.
Replies: >>7806
>>7805
>everything that were store in ram will not be encrypted
But that's also true when your computer is on. By that logic, you should never turn on your computer.
>>7804
>I think suspending on disk is not worth it, if you have that much RAM.
I have 128GB RAM and 32GB swap, just for suspending. You don't need to write disk cache to the swap to suspend, and that much ram is only for compiling things mostly chromium. I don't want to suspend during that, and normally it will just fit fine into that swap space. If not I kill some memory hungry garbage in the background usually clangd, that leaks memory like there's no tomorrow. I also set up my hibernate script to kill and restart bees, there's no point in suspending that.
Replies: >>7808
>>7806
If you apply suspend on encrypted disk setup, that partition will not be lock if someone tempered and resume into your computer while you're away. Though, there seems to be a solution on this by using a special script https://github.com/shmalebx9/luks-suspend-portable

I haven't tested this setup yet and it looks fairly easy to configure.
Replies: >>7811
>>7808
But until now you were talking about suspend to ram. And by the way, if you have a non-encrypted swap, anything that's in your memory can end up on your disk unencrypted. If you do FDE, you should also encrypt your swap, if not, it probably doesn't matter as everything else is already unencrypted.
Replies: >>7812
>>7811
>anything that's in your memory can end up on your disk unencrypted
I mean, even without suspending. If your memory usage is high, the kernel will move some shit from the RAM to the swap, and anything can be in it. (No, you can't trust every process to mlock every piece of sensitive info. It also doesn't help that non-root users have limits on mlock.)
Replies: >>7814
>Swap
Firstly, it's better have more RAM than to use Sawp. Secondly, you don't even need to have a swap partition or a swap file. But also read => https://chrisdown.name/2018/01/02/in-defence-of-swap.html
Replies: >>7819
>>7812
In my case I have both swap partition and a linux os partition within encrypted volume. I don't use "suspend" I but I do use "hibernate" feature which is a superior option in my opinion. If I choose to hibernate, it will froze my live running system into swap partition and then the computer will turn off completely. Whenever I turn the power back on, I have to key in my passphrase to open my encrypted volume and then it will load the kernal and resume back to where it was before. Alpine linux have this custom script for hibernation which I'm currently using it. As long you your kernel paramaters and kernel hooks were set set up correctly, you can this program on any linux distribution https://github.com/jirutka/zzz
Replies: >>7815 >>7819
>>7814
correction, zzz is not a script. It's a small c program.
>>7813
Of course, it's better if you don't need swap, but not everyone is a rich kid. And there are cases when some programs go and eat a lot of ram for a second, but for the 99.9% of the time you're fine with the amount of ram you have, it makes no sense to waste money on ram in this case.
Also, other observation, if you use the default suspend to disk in linux (not swsusp or tuxonice), it will just writes every memory page your apps use to swap, save the kernel and halt. When it resumes, it just have to read back the kernel and it can go, the apps will be read back when needed, just like they were swapped out normally. Now, this is a horrible idea on HDDs, but on SSDs it's acceptable, and it has an advantage of not needed memory pages are not needed to read back. Which is actually a lot, I can have >1GB swap usage even resuming after a week and never having an out of memory situation. Some apps just like to allocate memory and never touch it again. It doesn't make sense to store them in RAM, it just wastes the space.
>>7814
There's some ambiguity with the terms here, some sources use suspend to ram and suspend to disk, in this case suspend can mean both. Other sources use suspend and hibernate, in this case suspend is only suspend to ram.
>superior option in my opinion
You now what is the superior option? Suspend to disk then suspend to ram (I thin it's also called hybrid sleep). It writes everything to the disk, but after that instead of shutting down, it just suspends to ram. If your computer lose power, you can still resume from the disk, but otherwise you can just resume from ram which is much faster. Might not be that useful with notebooks that can be stolen while they're still powered though.
Replies: >>7820 >>7830
>>7819
Anon, you dont want your encrypted passphrase getting cached in RAM while suspending the running system into RAM. This is just bad security in practice and it makes you vulnerable to cold boot attack. Please have a read what cold boot attack is on wiki.
Replies: >>7821 >>7829
>>7820
Well, there is a thing called full memory encryption, looks like it could work on newer AMD systems (not just the server CPUs): https://mricher.fr/post/amd-memory-encryption/
Intel is lagging behind AMD as always.
>>7820
> encrypted passphrase getting cached in RAM while suspending the running system into RAM
Just encrypt your swap partition.
>>7819
>Some apps just like to allocate memory and never touch it again. It doesn't make sense to store them in RAM, it just wastes the space.
The kernel keeps track of less used pages, if low on memory, they're the first to go into swap. You get lingering swap usage after suspend because the kernel has no reason to move those pages back to memory, just as it has no reason to move them to swap when you don't suspend and don't run into a OOM situation.
Replies: >>7832
>>7830
>it has no reason to move them to swap when you don't suspend and don't run into a OOM situation
That's actually not true, since you have disk cache. When you run out of free physical memory pages, the kernel has two choices: drop some clean pages from disk cache, or swap out some program memory (anon pages, to be precise). (There are also dirty pages in disk cache, but let's not go into that. They're already written out in the background, so you will generally not have to deal with them). Now doing the first is the faster (since it doesn't hit the disk, you just forget the page), but depending on the usage patterns, in the long run it can be worse (it practically decreases the size of the disk cache to store pages in the memory that are accessed much less frequently). This is what vm.swappiness sets, the higher the value, the more likely linux will swap out a memory page instead of dropping the disk cache. So, as long as your swappiness value is bigger than 0, the linux might swap out pages, even when you're not OOM. (It still requires a somewhat high memory usage, but not OOM levels, with ample of free memory it won't swap out pages even with relatively high swappiness values.)
>>6449
>i found an unused variable in your code
>join fortune 500 hardware company

They didn't use a compiler with warnings?
Okay I've got a brainlet question for you faggots. I use Winshit, and while looking through my folders, I noticed a .android folder inside my /Users/anon folder. I don't own an Android, live alone and have not plugged anything that runs Android into my system (unless my Sony camera somehow runs some stealth Android). I also have never installed any Google software.

Where the fuck did this folder come from? It had one tiny text file in it labeled "adb_usb" which when opened in notepad has a hex value "0x0531" as the sole text in the file. I deleted the folder, but I'm concerned... did I somehow contract a virus? Did someone get into my apartment and plug in an Android device? Did my new keyboard I got a couple days ago somehow install this file? (it's an Anne Pro)

Shit like this really grinds my gears. Some faggot program probably created this folder but I can't seem to find any good info on the web that puts me at ease or confirms I need to wipe my system. I would appreciate some honest answers, but I expect you fags to tell me I deserve this for using Windows or whatever. Thank you anyway
Replies: >>7843
>>7842
Use a search engine. It should not be a virus. Some program runs adb, it could be your camera software or something else.
You deserve this for using a system where you can't even trust it. Imagine cucking so much for a tool that you should own and should be able to rely on.
Replies: >>7844
>>7843
I used several search engines to no avail before writing my post. I tried a number of queries involving the .android folder as well as the adb_usb file and  the hex string all as separate queries and together and in various combinations. There are a few results about the .android folder but nothing that adequately explains how it may have been created on my system. Most results point to an Android device being plugged in, but I haven't ever connected an Android device. I would have noticed such a folder if it came from anything else I've connected before. Now that I've had time to think more about it, I have never actually plugged in the camera to my PC, I always transfer photos through the SD card. I cant seem to recreate the folder by reconnecting any of my other devices.

Regarding Linux, I have used various distros for a number of years but currently my needs are better served by Windows. I think the file and folder are most likely benign, however my paranoia is so great that I will likely wipe my system when I have more time in a week or two. I will hope that I am not exposed in the meantime, as it would already be too late if my data is at risk.
Replies: >>7845 >>7846
>>7844
That folder is nothing burger compared to your os. Delete it or keep it makes little difference. I suggest directing your paranoia to other areas.
For example, if your use case can be satisfied by a VM. You can create a "clean" VM state and store data in a mounted folder. Then you are free to reset your environment as you wish.
As for whether you are exposed or not. Unless you went through numerous hacks to disable most known Windows phonehomes, Microsoft knows a lot about you already. If only hackers are your threats, you should be fine. Unless you believe you installed malwares.
>>7844
Take note of the file creation date and then look through Windows event log to see what else happened that day. What I do when I play family IT guy
Replies: >>7848
>>7846
Ah that is a great tip! I deleted the folder but I will look into that if it reappears.
how the fuck did this board get good over the last six months? I checked before that and it looked dead. 

What's the most secure and effective way to use an android phone as a wireless external mic for voice recognition/voice control/STT?

I'd like to use a gesture to record a voice command as a WAV file, a second gesture to stop recording and send the audio file securely to something like Dragon voice recognition on a desktop on the LAN. 

So many competing speech-to-text projects out there, can't believe someone hasn't integrated them.
Replies: >>7895 >>7896
>>7893
The called me a dreamer, but I always believed in /tech/'s return to greatness.
You are describing two things, one is transmitting audio from phone to desktop, two is to perform actions given some gesture.
There should be some apps that do both. Alternatively, you can use termux-widget triggering a termux script to ffmpeg to rtp to ffmpeg (https://wiki.archlinux.org/title/PulseAudio/Examples#Using_RTP/UDP_instead_of_native-protocol-tcp%29
Also >that spacing
Replies: >>7900
1670381434812858.gif
[Hide] (505.5KB, 500x519)
>>7893
>how the fuck did this board get good over the last six months? I checked before that and it looked dead. 
Just moar activity and people actually working on real projects (Funnily enough an extreme rarity on /tech/ and /g/ boards) like >>7874 .
I hope this place can actually grow into something with a huge amount of high quality discussion. Having used many various /tech/ boards over the years, there are a few traps that should be avoided lest the board falls into them. Endchans /tech/ board used to be high quality but it was overly paranoid and suffered from some extremely autistic users that lead to enormous meta arguments that spanned boards. 4chans /g/ is fine by me because I recognize it for what it is, but it gets tiring fast and boards like this should distinguish themselves from it by not letting blatant bait and shitposting slip through (I'm thinking of making a highlights thread here based on posts from 4/g/ since it does have legitimately good information buried under the shit. Benefit of it being a melting pot of users). Nanochan is total shit filled with overly hostile posters that are incapable of justifying their behavior with superior knowledge and experience (Think Linus Torvalds). Smug/tech/ is is at the mercy of that stupid fucking HoiHoi abomination and /a/ mods. Lainchan is alright. Some of the most fascinating /tech/-related stuff I've seen is in /robowaifu/ and on our /v/ (https://archive.ph/gVTeF).
>>7895
>/tech/'s return to greatness
It's back. Here anyway. If ye can keep it.
>You are describing two things, one is transmitting audio from phone to desktop, two is to perform actions given some gesture.
What I want to do is create an audio recording (high quality WAV) on the phone and then transmit the new audio file from phone to desktop. Using one of android's system gestures (swipe 2 fingers down) to start recording, then repeating the gesture to stop recording and automatically send the new audio file to the desktop was the plan. So termux is the way to automate this?
Replies: >>7902
>>7900
Termux:widget can add widgets on your homescreen to trigger scripts.
Use a gesture launcher to fire an app: https://f-droid.org/en/packages/com.easwareapps.g2l/
You can see if your launcher already support launching app with gesture. About the finish part, you will need to script a two finger down detection mechanism.
Yet another way is to setup some server on the desktop and serve a webpage that use javashit for mic and gesture, launch the page with gesture.
Replies: >>7916
Why can't we all use "./configure && make && make install " for everyything?
Replies: >>7910 >>7911
>>7907
Because autotools is an abomination, so people keep coming up with even bigger abominations (like cmake).
Replies: >>7920
>>7907
Because autotool is >le bad
Joke aside, new build tools and languages came out and people started using them. Now every language have their own tool and the rest are fractured into thousand tools.
>>7902
All glory to you termux anon. You've set me on the path. Now also grant me a warm place to work on this uninterrupted for a few days.
Has anyone else bothered to integrate self-hosted speech-to-text into their "workflow" in some convoluted way, as is tradition? It feels like people are sleeping on it - vosk released an 50 MB android demo apk over a year ago that does offline STT with a good accuracy rate, without training.
With the nReal air, all the hardware now exists for a mobile voice controlled system, it just needs to be intetgrated.
>>7910
>everything i don't understand is bad
/g/ never changes
Replies: >>7923 >>7925
>>7920
How is Autotools better? I like Meson.
Replies: >>7924
>>7923
I'm not saying one is better than the other I'm saying just because you are too lazy or stupid to understand how to use something properly doesn't mean it's a bad tool.
>>7920
>you don't like bloatware because you don't understand it
Interface complexity is irrelevant for the UNIX philosophy, so that's not true.
Replies: >>7926
>>7925
>uname -s
Bitch you don't even use UNIX.
Replies: >>7927
>>7926
No one does. I'm speaking of the UNIX philosophy; a program can exemplify it even if it's not UNIX.
Replies: >>7932
>>7927
You don't run a system that uses the UNIX philosophy either.
Replies: >>7935
>>7932
No system does, at least not entirely.
mpv just doesn't want to pickup external streams that aren't in the same directory, or am I understanding -audio-file-paths wrong?
Here are relevant options from .conf
sub-auto=fuzzy
sub-file-paths=sub:subtitles
audio-file-auto=fuzzy
sub-file-paths=audio:Sound
mpv 0.32 ffmpeg 4.3.5
Replies: >>7939
>>7938
See https://github.com/mpv-player/mpv/issues/9767 .
Either use --audio-file-auto=all or use fuzzydir from https://github.com/sibwaf/mpv-scripts (usage described in github issue).
Replies: >>7942
dumb.jpeg
[Hide] (203.1KB, 1089x1546)
>>7939
Correct, I even found the issue you linked but ignored it, because I thought in my case I didn't have nested files so the issue must be in something else. 
But indeed there were nested folders named after translators, thanks for second link by the way.
e52a0583dd8553425aa69defbee4e91473a553b154beabfcd8b5a6cc6aae2d6d.png
[Hide] (46.3KB, 569x571)
>wget please recursively download this page and all its subpages
>--header="Accept: text/html" --compression=none
<downloads one index.html.gz
<can't read it
<no links found! nothing to do! successfully finished downloading :)
Replies: >>7947
>>7946
What is the command line you used and is the site dynamic?
Replies: >>7949
>>7947
>What is the command line you used
wget -S --header="Accept: text/html" --compression=none -U "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" -N -np -k -r -l 20 -p -nH --adjust-extension "http://hyperreal.org/raves/de/"
>is the site dynamic?
Far from it. It's a static "index of..." page with some folders.
Replies: >>7952
>>7949
Works on my machine with this:
wget -U "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" -N -np -k -r -l 20 -p -nH --adjust-extension "http://hyperreal.org/raves/de/"
Replies: >>7954 >>7972
>>7952
What the fuck... It works! But why?
Thanks for this.
Replies: >>7972
Suggestions for useful shit I can do with a bare metal hypervisor and a phone with unlimited data, but no other connectivity? Innawoods with a handsome 8GB optiplex and a phone here to finally conquer my networking faceblindness.
>>7952
>>7954
Nevermind, I tried another URL and the problem remains. However I found a very old fork of wget with support for gzip and it works great:
https://github.com/ptolts/wget-with-gzip-compression
It's absurd that such a feature never made it to mainline wget, almost 10 years later too.
Replies: >>7973
>>7972
The problem looks like wget is not expecting compressed files but the sever responded with that and wget didn't handle it properly.
--compression-type is by default none. You can also try --compression-type=auto to try to get wget to recognize the file type.
But you already got it working.
Are there any programs to reencode webp animations into any non-retarded format? 
I'm pretty sure the ffmpeg devs have given up on the idea at this point.
Replies: >>7989
How 2 become hackerman
Replies: >>7982
>>7981
>How 2 become hackerman
0. Learn what a "hacker" is: http://www.catb.org/~esr/faqs/hacker-howto.html
1. Install GNU/Linux (start with something like *buntu). I recommend dual-booting at first.
2. Learn Bash and other CLI stuff: https://linuxcommand.org/tlcl.php *
3. Learn Python (https://automatetheboringstuff.com/) or some other scripting language
4. Learn computer networking (read something like Computer Networks by Andrew S. Tanenbaum or Computer Networking: A Top-Down Approach)
5. Read The Art Of Exploitation and C: A Modern Approach
6. Do CTFs and crackme's.
In addition, set up a home lab (buy a router, a Raspberry Pi and some used laptop/desktop computer).
Also, get a copy of Gray Hat Hacking book.

*
Pro Tip: To become a true UNIX greybeard, you need to also read https://tldp.org/LDP/abs/html/index.html + https://www.grymoire.com/Unix/Awk.html (also, his page on Sed, Grep and RegEx) + https://mbreen.com/m4.html & http://www.cs.stir.ac.uk/~kjt/research/pdf/expl-m4.pdf 
I forgot the Uganda editor and make
You can read "Learning the vi and Vim Editors" (published by O'Reilly), but remember that ed is the standard editor. For learning make, pls read these 2 pages: https://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/ & https://makefiletutorial.com/ 
No one cares about (F)lex or Yacc/Bison
Replies: >>7985 >>7988
02e1333e00402960a3712fbd599b44b9ed9ae4320bac1e9d2b7a219d1f330652.png
[Hide] (198.3KB, 494x700)
>>7982
I'm not that other guy, but thanks anon. Appreciate this a lot. I currently own a physical copy of TLCL and HLW and those two are great reference books. I'm also learning C through the C Programming Language, and while I know C89 (ANSI C) is an older and outdated standard, I want to stick with this book for now, and just learn a more modern version of C as well as better practices in dealing with this language at another time. After I get the gist of bash scripting and C, I'll probably do TAOE and python next. I'm starting to set up a home lab as well. Concerning Networking books, I found them all to be rather intimidating, but if I want to become more familiar with them, I guess I should read some...

By the way, after I get familiar with C, should I start reading a book on Computer Architecture and Assembly as well?
Replies: >>7993 >>7994
>>7982
That was a shitpost but I the effort you put into  it was nice. I do THM, I have a few python books with the intent to learn, what I really need is something practical to do with it. I use Mint right now for linux but should learn bash shell better but do ok solving issues I have. Its more to help brush up my red teamside. currently work in cyber rite now
>>7980
Try imagemagick? I'm pretty sure it supports webp, just convert to gif or alternatively dump the frames then do whatever you want with them.
Proxmox is debian based. How exactly do you add a tethered android phone as a network interface to a proxmox system from the cli to give the host net access. What lines exactly would I add to the /etc/network/interfaces file for a standard usb android tether? It should be just adding another network interface. I have fucked around with this fundamental thing for 2 days. Searxh engines are over.
Replies: >>7993 >>8057
>>7985
>By the way, after I get familiar with C, should I start reading a book on Computer Architecture and Assembly as well?
Yes. You should definitely know a bit about whatever platform you are developing for. The easiest way to get into x86 assembly is to read Programming From The Ground Up book: https://savannah.nongnu.org/projects/pgubook (download link under Quick Overview header).
Art of Assembly Book, 1st edition (but not the 2nd edition) or The Art of 64-bit Assembly Language (both written by Randall Hyde) are also good but I recommend starting with Programming From The Ground Up. You may want to also check out: https://godbolt.org

>K&R book
Be warned though: the book is a bit outdated. It won't cover newer standards (most importantly it doesn't cover C99) but it also won't tell you which stdlib functions are unsafe. I think you should read both K&R for examples and exercises but get your C knowledge from  C: A Modern Approach, 2nd edition (it's much better book because it's more comprehensive and easier to understand. It also includes best practices and it's written fro C99).
When you are learning C, you want to enable as many compiler warnings as possible: -std=c99 -pedantic -Wall -Wextra -Wformat=2 -fverbose-asm -Og -g -ggdb  (in my opinion, you should use -pedantic  when you are learning C (or C++) but you can turn it off when you are writing real programs). I also recommend using a lint (a program that checks your code), like cppcheck (works for both C and CPP). 


>>7992
I think the easiest way is to use NetworkManager + nmtui.  It should just work if you plug in your phone (at least it just works on standard Debian). You need to disable dhcpcd and whatever other networking services (like Connman or similar) you have enabled.
Replies: >>7995 >>8057
(cont)
>>7985
>After I get the gist of bash scripting and C, I'll probably do TAOE and python next
>Bash and Python
You should learn enough Bash to read it but you should almost always use Python (or some other "proper" scripting language) instead. Writing a portable shell script (POSIX sh) is hard. Also, Bash contains some non-standard GNU-isms. I think scripts written in other languages tend to be more readable as well. Bash and POSIX sh are good for doing quick trivial things, though.

Also:
>https://mywiki.wooledge.org/BashPitfalls

>Python
I recommend either reading Learning Python by Mark Lutz or Fluent Python (which is more advanced book) by Luciano Ramalho. Use virtual environments (either venv or virtualenv) when you install Pypi packages using pip (https://opensource.com/article/19/4/managing-python-packages). Pylint is also very helpful tool. If you ever get frustrated with asm or C, I recommend that you jump to Python for a while.
Replies: >>7995 >>7996
e192048748f397ddf3d6bb0b420c30f1--pokemon-plat.jpg
[Hide] (14.7KB, 236x401)
>>7993
I wanted to dab a little bit into x86 eventually before touching other architectures so thank you for the resources.
>Be warned though: the book is a bit outdated. It won't cover newer standards (most importantly it doesn't cover C99) but it also won't tell you which stdlib functions are unsafe.
I see. Perhaps then I should just stick with A Modern Approach and come back to K&R later. Also thank you for the heads up on compiler warnings.
>>7994
I planned to learn bash scripting only to make navigating through Linux a bit easier (so, for my own personal use). For everything else, I do plan on using another scripting language, such as python, so no worries.
>Use virtual environments (either venv or virtualenv) when you install Pypi packages.
Thanks for the suggestion, I never understood the need for virtual environments, but now that I do, I plan on installing venv. Also plan on reading Fluent Python once I get more familiar with the syntax of the language.
Replies: >>7996
>>7994
>>7995
Follow dash(1) for syntax available under POSIX shell. I don't like Python because it requires an additional runtime, is slow and moving fast. Forced indents is bad and the syntax is not good either.
To write readable shell scripts, use functions. That's about it for most stuff. Anything more you are better off writing a small C program.
Replies: >>8048
What's the easiest way to make programs with usable GUIs? 
Something that's easy and has lots of templates so you can focus on the functionality but that doesn't take half an hour to open like python programs.
Replies: >>8001 >>8006
>>8000 (chked)
Which platform? There are a few webshit templates around. Any other platform requires good few weeks to be good at, and therefore quick.
Replies: >>8003
>>8001
Linux and windows, no webshit. 
I just want something that's not retarded and fast but easy to set up.
Replies: >>8004
>>8003
Delphi/Lazarus, if you can stomach that object pascal garbage.
dear imgui if you have low expectations and want to trade less flexibility for simpler usage (and burn CPU cycles because it was designed to be used as a debug tool inside games and not as stand-alone gui).
Everything else is a huge PITA. There's a reason that 99% of developer tools are console only (at least outside windows).
Replies: >>8067
>>8000
Checked. FLTK. However, you sound a bit like some kind of nusoy panderer given your list of demands--so you probably won't have anything but complaints to offer in exchange. 

Regardless, it's not at all hard to use and lightning fast. Cf.
https://alogs.space/robowaifu/res/4895.html#13299
Replies: >>8067
elmo.jpg
[Hide] (30.5KB, 416x381)
Why does qBittorrent's UI keep getting progressively gayer ever since the switch to Qt6?
Replies: >>8014
>>8009
Why update? I'm still using an old version of qB. Works like a dream.
tplinktl-wr841n.png
[Hide] (339.2KB, 1140x855)
microtikhAPac3.png
[Hide] (41KB, 400x400)
>>2 (OP) 
I need a recommendation for a router upgrade. I'm currently using 1st pic related (with OpenWRT firmware) but need something with more power (at least 1Gbps cable and reliable wifi) under 100-150 yuros. Heard MicroTik ones were pretty good for the price, what do you guys say?
Replies: >>8022
1d865292c72d9238ba79bc1482c83994d717c49b492aca0b10e75a67360cda9a.png
[Hide] (142.7KB, 1000x1000)
636f73b38ece5f27c0986e4c1200a4ae3ed1136ea73e8cd77d61b4dbb5d977a0.png
[Hide] (76.2KB, 1000x1000)
>>8021
I have this and like it
https://www.gl-inet.com/products/gl-ax1800/
Replies: >>8028
>>8022
Wait, openwrt finally support ax? Last time I checked they only supported ac routers.
Not that it matters too much, I have zero devices that support ax. Well, maybe the integrated wifi in my desktop does, but what kind of brainlet uses wifi on a fucking desktop?
>updating linux kernel
possible language: kotlin, relevance: 6
CONFIG_AMD_PMF:

This driver provides support for the AMD Platform Management Framework.
The goal is to enhance end user experience by making AMD PCs smarter,
quiter, power efficient by adapting to user behavior and environment.

To compile this driver as a module, choose M here: the module will
be called amd_pmf.
Just when did the kernel config help texts become advertisement marketing bullshit?
I guess I should really bite the bullet someday and switch to BSD. Preferably to one without rust.
What's this supposed to do?

`        chunk_size += chunk_size & 1;
`

The value is the same before and after the operation.
Replies: >>8031 >>8032
>>8030
& has higher precedence than +=. chunk_size & 1 gets executed first. The value is then add assigned to chunk_size.
If the value is the same, then chunk_size & 1 == 0.
Replies: >>8032
>>8030
>>8031
In other words, if the first bit in chunk_size is set (number is odd) then chunk_size is incremented, otherwise the first bit is not set (number is even) and chunk_size is not incremented.
Are there any F-Droid apps that work with zzzchan? Kuroba+forks don't like it.
Replies: >>8038 >>8041
>>8036
Firefox, ungoogled chromium, or any other browser.
Replies: >>8042
>>8036
Try "FOSS Browser" I'm using it right now to post this. It's very fast and responsive however the JS is half working.
https://f-droid.org/en/packages/de.baumann.browser/
Replies: >>8042
>>8038
>>8041
Well when I do use my phone, Ive just been using the default GrapheneOS browser. Ill have a search around for an app on my own
Is there any way to search zzzchan? Catalog search only looks in the OP, and general internet search engines are not really good at this (they lag a lot behind, if they index this site at all). Or do I have to download the whole shit with wget and grep the thing I need?
>>7996
Thanks, will check this out as well.
a9440ab8c8a57dfcbfd60ff4cf5842780e0e41366ce2feab8a24faf9e2225276.jpg
[Hide] (89.3KB, 464x676)
Is glibc backwards compatible? Search results say yes, but the recent system update on my machine seems to disagree...
I always package each program that I compile into a self-contained appimage, including all required libraries and glibc, so that the program continues to run independent of the system. This works great for me because I can copy the appimage to older distros and it still runs. I don't include system-dependent libraries (i.e. graphics drivers) for obvious reasons but those are loaded at runtime by the appimage without issue.

Recently I updated my system and the glibc version got bumped, then all of a sudden one of my appimages (an emulator) stopped working:
/tmp/.mount_mGBA_QZk5c62/usr/bin/mgba-qt: symbol lookup error: /usr/lib64/libc.so.6: undefined symbol: _dl_audit_symbind_alt, version GLIBC_PRIVATE
It seems that the main binary of the program is accessing the system's libc (even though it's launched in a manner that guarantees it finds the appimage libc first) and can't lookup a symbol. Normally this wouldn't be an issue because glibc is supposedly backwards compatible, except it's clearly not as this error shows!

Is my observation correct or is there something else I'm missing? Is there a long-term solution that prevents this from happening in the future?
>>8051
From a similar issue https://discourse.appimage.org/t/created-appimage-on-mint-does-not-run-on-newer-non-debian-distros-solved/1115 . Bundling libc may not be a good idea.
Replies: >>8053 >>8063
>>8051
Well, GLIBC_PRIVATE is used by glibc internally, it shouldn't be used by external applications. Which means you most likely managed to put one part of glibc into the appimage, while the other part is loaded from the outside, and I don't think there's any version compatibility between different .so files of the glibc.
>>8052
Well, the problem is that as soon as you load shared objects from the system, for libc you'll need the newer version of {system libc, appimage libc}, which I have no idea if it is possible to get or not (I've never tried to create an appimage). A common workaround (from before appimage times) was to compile your program with an ancient glibc, since that will work everywhere. Downside is, your app must be written in a way that it doesn't use any functionality introduced in glibc in the last 10+ years, which is not always feasible.
Replies: >>8063
>>8051
glibc is a fucking nightmare that's been shit on by Linus himself (https://yewtu.be/watch?v=Pzl1B7nB9Kc) and was maintained by such huge faggots (Ulrich Drepper) in the past that eglibc and musl were made as replacements (musl in particular is quite competent and nice - https://ewontfix.com/).
Simply put: Is glibc backwards compatible? NO

Wat do? 
1) Don't let the binaries access the systems libc
2) Never update glibc
3) Switch to musl and hope the programs work correctly

>I always package each program that I compile into a self-contained appimage
Mind explaining how you do this? I've been thinking about something similar for a while but I'm not really sure where to start.
Replies: >>8055 >>8063
>>8054
>Switch to musl and hope the programs work correctly
Just note that on 32 bits, with 1.2 (i.e. the last minor release, released in 2020) just broke the ABI in non-obvious ways by changing time_t from 32-bit to 64-bit.
Do your homework and don't spread bullshit, nothing is 100% backward compatible. And glibc is actually pretty backward compatible on the ABI level.
>1) Don't let the binaries access the systems libc
Bullshit, the only safe way is to never load any library from the system. If you load a library from a system that uses a feature in glibc that is missing from your bundled glibc, it will fail.
Replies: >>8056 >>8063
>>8055
>Do your homework and don't spread bullshit
What bullshit did I spread exactly? " hope the programs work correctly" is the absolutely correct advice here. Not everything that works with glibc will work with musl which is why its the 3rd choice and not the first.
>nothing is 100% backward compatible
No, but musl is less retarded about it than glibc. 
>Bullshit, the only safe way is to never load any library from the system.
Which is what the original poster is doing but for some reason their programs are still reaching for the systems libc and are breaking because it updated which has been a problem with glibc for a very long time.
Replies: >>8059 >>8060
>>7992
3 days groping and 3,000 tabs later I can add and remove android usb interfaces from a proxmox installation. Honestly it should have taken a couple of hours max. Just the chatGPT existential crisis remains. I should have just had the AI suggest solutions, right? The implications of this shit are mind blowing.   

>>7993
>I think the easiest way is to use NetworkManager + nmtui.  It should just work if you plug in your phone (at least it just works on standard Debian). You need to disable dhcpcd and whatever other networking services (like Connman or similar) you have enabled.
Thanks for the pointer anon, it gave me the search terms to get results with.
>>8056
>musl is less retarded about it than glibc
Also note that musl was released in 2011 while glibc in 1987. It's easy to be backward compatible when there are no older versions you have to be backward compatible with. Historical baggage is a bitch. Musl is just now getting into problems that glibc had to solve some 20 years ago.
>are still reaching for the systems libc and are breaking because it updated 
No, the problem is that it's mixing different shared objects from different glibc versions. Glibc is not only libc.so, there's libm.so, libnss and gconv stuff, etc. It's like saying windows has no backward compatibility because if you replace random dlls in your win7 install with dlls from win98 it breaks. (And yes, there are nevertheless backward compatibility problems with windows, especially with newer versions, but that's beside the point).
Replies: >>8060 >>8063
>>8056
Oh, I forgot this
>What bullshit did I spread exactly?
The bullshit is that you imply using musl instead of glibc will solve all your backward compatibility problems. Yes, it's a bit better, because as I said in >>8059, much less older versions to worry about, and unlike glibc they put everything into a single .so instead of spread around in a dozen or so .so files, so less moving parts... but a bit less flexibility too.
ABI stability braindamage again?
Just boycott proprietary software and let your system's maintainers recompile.
BTW, you can get backwards compat by doing semver properly, let people with outdated programs run outdated versions of libraries.
Replies: >>8063
>>8052
>Bundling libc may not be a good idea.
Interesting thread, but that's not the message I'm getting... The way I see it bundling glibc (or not) doesn't matter, because it's not backwards compatible with recent older versions (on *ubuntu 18.x) but may be backwards compatible with sufficiently old / ancient versions (on *ubuntu 14.x). Compiling against ancient glibc could be a valid workaround (it's certainly what the creator of appimage recommends) but it's still no guarantee that it won't break in the future.

>>8053
>Well, GLIBC_PRIVATE is used by glibc internally
Then which part of the appimage is calling it? Is there a way to trace that somehow?
>you most likely managed to put one part of glibc into the appimage
Unlikely. Any library that is accessed by the program is automatically included at bundling time, that includes libc / libm / pthread...etc.
>for libc you'll need the newer version of {system libc, appimage libc}
Are you saying that if any system library is loaded and "finds" a newer libc, then said libc is forced on the entire appimage?

>>8054
>musl in particular is quite competent and nice
Agreed, I always link against it when compiling static programs and it gives me nice tiny binaries that work everywhere. Wish it was adopted more, especially considering the license.
>Simply put: Is glibc backwards compatible? NO
That settles it then.
>1) Don't let the binaries access the systems libc
I don't think that's possible, because the appimage will call system libraries (e.g. graphics drivers) which will then call the system libc. This approach would work if the appimage already bundles all (and I mean literally all) needed libraries, but in that case you might as well just statically link everything at compile time and not need an appimage to begin with.
>2) Never update glibc
>3) Switch to musl and hope the programs work correctly
Unfortunately not feasible in my use case.
>Mind explaining how you do this?
Sure thing, this will need a separate post though. I'll write a guide later today.

>>8055
>1.2 (i.e. the last minor release, released in 2020) just broke the ABI in non-obvious ways by changing time_t from 32-bit to 64-bit.
Making time_t 64-bit has been a unanimous decision across the entire software world for years now, I'm surprised musl did it as late as 2020 but better late than never. That being said, musl is a relatively new project so I anticipate that the ABI may break sometimes, but that should happen less often as the project matures, especially with backwards compatibility being a goal unlike with glibc.

>>8059
>Also note that musl was released in 2011 while glibc in 1987
Glibc predates the linux kernel?! 35 years of development time and still breaking with every other release, absolutely shameful.

>>8062
>you can get backwards compat by doing semver properly
Care to elaborate?
Replies: >>8064 >>8065 >>8081
>>8063
Semantic versioning.
In short, a semver is composed of 3 numbers: MAJOR.MINOR.PATCH
MAJOR is incremented every time a release has breaking changes, and MINOR and PATCH are reset to 0 when MAJOR increments.
MINOR is incremented every time functionality is added without breaking existing functionality, and PATCH is reset to 0 when MINOR increments.
PATCH is incremented every time you fix a bug without adding or breaking functionality.

If a program is built against libwhatever 1.1.1, on Unix, you can set it up such that the linker will provide any libwhatever that is version 1.1.x or greater, and less than libwhatever 2.x.x.
That way you can break the ABI, and have the old version from before the break installed at the same time as the new version, and the loader will provide the right one for the program depending on the version it was linked with. And you can add functionality or fix bugs without having to recompile programs that worked with older versions and without needing to have the version without the new functionality installed at the same time.

The one detail is that the Windows loader doesn't support this, instead it has a single counter that you're supposed to increment every release. This means Windows has an unsolvable DLL hell issue, so you just distribute the DLLs on the same folder as your program, that way the loader will use your copy instead of the one from System32 which mitigates the DLL hell, but diamond dependencies are still unfixable. This is why nobody except Microsoft installs DLLs to System32 on Windows, and Microsoft itself has failed to increment the counter properly.
Replies: >>8065
>>8063
>Then which part of the appimage is calling it?
Umm, the error message is not too detailed. If I were to take a guess, I'd say that you have the full libc in the appimage, and it loads that, except libc.so, which it loads from the system. Don't ask me why, I never used appimage.
>Are you saying that if any system library is loaded and "finds" a newer libc, then said libc is forced on the entire appimage?
I'm not saying it works like that, I'm saying it should work like that, otherwise you'll have compatibility problems.
>statically link everything
That usually works, until you need to use OpenGL or alsa or the likes.
>I'm surprised musl did it as late as 2020 but better late than never.
I'm surprised they went with 32-bit time_t in 2011, as Y2K38 was already a widely known problem. I guess they were trying to be (somewhat) binary compatible with glibc, but it still bit them in the ass later.
>Glibc predates the linux kernel?!
Yes, the GNU project predates the Linux kernel.

>>8064
This works fine, as long as your dependency graph is a tree. Which is usually not, and libc is an extreme case as almost all library you use will depend on libc. What happens if lib A needs version 1.1.0 of lib X while lib B needs version 2.0.0 of lib X? You try to load both libX.so.1.1.0 and libX.so.2.0.0 into the same process? What about symbol name clashes? Unless every function in libX is prefixed/postfixed with the major version of the lib, it won't work, since symbols go into a global namespace on unices. (I think ada? or haskell? solves this problem with mangling the library version into every symbol name so it can load multiple versions of the same library. But in C, you have to do this manually, and it's tedious.)
Now, you could do this on windows, because there you import (dll name, symbol name) pairs, not just symbol names from a global pool... and for example if you have an application compiled with msvc2020 and you load a dll compiled with msvc2015, you'll have two copies of C runtime in your process, the msvc2015 runtime and msvc2020 runtime, with all positive and negative consequences it has.
appimage.png
[Hide] (25.3KB, 256x256)
Creating AppImages the easy way
Let's say you just compiled/installed a program and you want to preserve it the way it is right now with all its dependencies, you can do so by bundling everything into an appimage. The process outlined here is pretty automatic and generally easier than the "official" methods, anyone can do it, even non-programmers. I've used it to successfully package GUI programs (X11/GTK/Qt), command line tools, games (SDL/OpenGL), and audio programs (Alsa/Pulseaudio) as appimages.
Note: appimages don't work on musl systems, only glibc (for now).

What you need
>fuse
You most probably already have this. Required to make appimages work.
>foobar
This is your program, or more precisely the command you run to launch your program. It must be accessible from the ${PATH} environment variable. In other words, if you run foobar from the current terminal and your program launches, you're good to go.
>make-portable
https://github.com/sudo-give-me-coffee/make-portable/tree/f9496f20c240dbc423bbc9b641f78314e6d40c8e
A bash script that automatically detects the dependencies of a program and copies them from your system into a single folder called the "AppDir". Notice I'm using an old version of make-portable, newer versions behave differently and are best avoided for now. I have made my own tweaks to this script, linked at the bottom.
>appimagetool
https://github.com/AppImage/AppImageKit
Itself an appimage, this program converts an existing AppDir to an appimage.
>strace
https://strace.io/
A tool that traces system calls made by a program. Required by make-portable.

////////////////////////////////////////////////////////////////////////////////

Step 0 - AppDir
Download make-portable somewhere and locate the make-portable.sh script, place appimagetool-x86_64.AppImage next to it. Under the same path create a new folder called foobar (same name as your program), this folder will serve as the AppDir. Manually create these 2 files inside the AppDir:
foobar.png
foobar.desktop
The first is the application icon in PNG format. It can be anything, use pic related if you're lazy.
The second is a plain text file containing information about your program:
[Desktop Entry]
Type=Application
Name=FooBar Deluxe
Comment=My awesome program
Exec=foobar
Icon=foobar
Terminal=false
Categories=Game;
Adjust the fields as necessary. You may specify one or more categories, the most common values are (without spaces) AudioVideo; Audio; Video; Development; Education; Game; Graphics; Network; Office; Science; Settings; System; Utility;

Step 1 - make-portable
Open a terminal where make-portable.sh resides and run:
./make-portable.sh --appdir=foobar --autoclose=300 foobar
Your program will now launch, and any files it accesses will be recorded, until you either manually close it or 5 minutes (300 seconds) pass and it auto closes. When this is done all the accessed files will be copied to the AppDir in their respective locations, with some exceptions (e.g. /home/*, /etc/*).
Note: this step assumes that your program will access all the files it needs while it's running, this is not the case with some programs (e.g. games) which load assets only when requested. In such a case you must locate any missing assets yourself and copy them manually.

Step 2 - tweaks
You can skip this step the first time you read this guide.
Now is a good time to inspect the AppDir and remove any files that are not needed in an appimage. /usr/share for example usually has some useless garbage, like font and locale files, those are safe to delete.
Take note of where the libraries are stored, are they all in /lib? If not, you need to edit the AppRun file inside the AppDir, particularly the LIB_PATH line, to reflect this. If you're lazy just copy this:
export LIB_PATH="${HERE}"/lib/:"${HERE}"/lib64/:"${HERE}"/lib32/:"${HERE}"/usr/lib/:"${HERE}"/usr/lib64/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/pulseaudio:"${HERE}"/usr/lib32/pulseaudio:"${LD_LIBRARY_PATH}":"${LIBRARY_PATH}":/usr/lib/:/usr/lib/x86_64-linux-gnu/:/lib/:/lib/x86_64-linux-gnu/:/lib64/:/lib32/

Step 3 - appimagetool
Time to create the appimage! In the previously opened terminal run:
./appimagetool-x86_64.AppImage -v ./foobar
After this command completes you should have your own appimage ready to run! Make sure you set it as executable first.
Note: appimages are read-only by design, but you can extract them by running:
./FooBar-Deluxe-x86_64.AppImage --appimage-extract
which will give you an AppDir, which you can later convert to an appimage again using appimagetool.

////////////////////////////////////////////////////////////////////////////////

My personal tweaked version of make-portable.sh: https://pastebin.com/MnyWiNEm
How to bundle python apps as appimages: https://github.com/AppImage/AppImageKit/wiki/Bundling-Python-apps
>>8004
I've tried imgui before but it really is limiting. I'll try the pascal ones, I've never used the language before so I don't hate it yet. 
>>8006
I gave it a try but it seems worse than SDL to use. Compiling from windows is FUBAR, and for the first time in my life even linux->windows just breaks more with every error I fix. 
Searching for "FLTK windows" seems to suggest that only the devs think it can compile on windows.
6ccb85efe2674d72761fddd374d1d23612f7c7f74066c15284687112ca8f2c9b.jpg
[Hide] (84.5KB, 720x720)
is there anything more wigger than disallowing your user from viewing/editing his own files?
>windows -> click documents or whatever the fuck -> access denied
>garbage linux desktop -> plug in usb stick -> random files have permissions that make fuck all sense based on user ids from other computers and even windows -> access denied
>99% of all un*x systems -> running things as not root -> requires typing password through sudo to make the user feel good about himself as if he just did some form of user isolation (he didn't)
>>7690
>bootstrap landing page
confirmed trash
Update to >>8051 [SOLVED]
I went down a rabbit hole of strace logs trying to diagnose why the appimage was accessing the system glibc, and found that the main binary (mgba-qt) has the string /usr/lib64 hardcoded into it... I zeroed out the string using a hex editor, and the problem was fixed!
Digging deeper I learned that linux binaries can have an optional field called the RPATH that stores the path(s) of needed libraries, and can be inspected using readelf:
$ readelf --dynamic ./mgba-qt
...
0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
0x000000000000000f (RPATH)              Library rpath: [/usr/lib64]
...
This field can be easily and safely removed using a tool called patchelf instead of a hex editor:
$ patchelf --remove-rpath ./mgba-qt
What's more bothersome is that shared libraries may also have RPATH! Multiple .so files that were inside the appimage had it, but I think there's no need to patch them as they don't seem to have any effect. Patching the main program binary was enough to make it portable and fix the appimage.

With that out of the way, it's fairly obvious now that glibc is neither forwards compatible nor backwards compatible. Here were two glibc versions released mere months apart, yet are already incompatible. Ancient glibc versions may be portable, for now, but I wouldn't bet on it...
I found some interesting projects that tried to work around the glibc nightmare pre-appimage, all dead unfortunately:
>Linux Standard Base / LSB (2007-2016)
A project by the linux foundation to standardize the glibc(+kernel?) ABI and release versioned specs that programmers and compilers can target, in order for their software to be portable and work across distros for a (sufficiently) long time. Apparently no one adopted this standard as there's no mention of it outside the LF website.
>apgcc (2005-2010)
Part of APBuild. This is a wrapper around gcc that forces it to use old symbols and features for increased portability, as well as (try to) manage dependency creep and library versioning problems. Has some mentions online circa 2008-2010, plus one fork on github.
>>8063
Good find. RPATH is set during compilation. If you are building the program, you should be able to take that out.


Using "export LD_LIBRARY_PATH=[my new path]:$LD_LIBRARY_PATH" works for me. It does not put /usr/lib at a higher priority.
I found a tool to check compatibility between library versions: https://lvc.github.io/abi-compliance-checker/ . Maybe you can use it to flag differences between glibc versions.
Replies: >>8082
>>8081
Please ignore the bits about LD_LIBRARY_PATH, copy pasted the wrong text.
machi.png
[Hide] (977.6KB, 1280x720)
This is perhaps the blackest gorilla nigger question ITT, but is there an option in stock Soydroid 11 to enable the hidden network feature of an existing WLAN connection so the phone can connect to APs that don't broadcast their SSID?
There's an option to enable that when adding a new connection and it works but I'm too stupid to find it on the settings for existing saved connections.

If there isn't one, then why?
Iranian hackers?
Replies: >>8087
>>8086
I don't think there is a setting for that. You need to add a hidden network. No idea why.
>>7647
So I've installed my own version of Win10 AME and this cunt STILL updates on its own.
I don't understand how that even happened, I have followed the instructions to the letter (with the exception of creating an admin-enabled user), gutted the update function and edited the hosts file. I'm pretty sure it included firewall rules to block microshit from sending data.
But after less than a day of use and 2 restarts later it notified me that it downloaded some updates. No info on what they were, just that I have to live with them now. When I tried to turn ,y computer off, it offered me the option to turn of regularly or Update and turn off. I picked the regular turn off AND THE CUNT UPDATED. Took it like an hour to install updates, fail, roll back and when I was finally able to log in, it installed PcHealthCheck (Win11 nagware) and Edge browser.


WHY?!


# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#	127.0.0.1       localhost
#	::1             localhost
0.0.0.0 telemetry.microsoft.com
0.0.0.0 vortex.data.microsoft.com
0.0.0.0 vortex-win.data.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
0.0.0.0 oca.telemetry.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
0.0.0.0 sqm.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
0.0.0.0 watson.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
0.0.0.0 redir.metaservices.microsoft.com
0.0.0.0 choice.microsoft.com
0.0.0.0 choice.microsoft.com.nsatc.net
0.0.0.0 df.telemetry.microsoft.com
0.0.0.0 wes.df.telemetry.microsoft.com
0.0.0.0 reports.wes.df.telemetry.microsoft.com
0.0.0.0 services.wes.df.telemetry.microsoft.com
0.0.0.0 sqm.df.telemetry.microsoft.com
0.0.0.0 watson.ppe.telemetry.microsoft.com
0.0.0.0 telemetry.appex.bing.net
0.0.0.0 telemetry.urs.microsoft.com
0.0.0.0 telemetry.appex.bing.net:443
0.0.0.0 settings-sandbox.data.microsoft.com
0.0.0.0 vortex-sandbox.data.microsoft.com
0.0.0.0 watson.microsoft.com
0.0.0.0 survey.watson.microsoft.com
0.0.0.0 watson.live.com
0.0.0.0 statsfe2.ws.microsoft.com
0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com
0.0.0.0 compatexchange.cloudapp.net
0.0.0.0 cs1.wpc.v0cdn.net
0.0.0.0 a-0001.a-msedge.net
0.0.0.0 fe2.update.microsoft.com.akadns.net
0.0.0.0 statsfe2.update.microsoft.com.akadns.net
0.0.0.0 sls.update.microsoft.com.akadns.net
0.0.0.0 diagnostics.support.microsoft.com
0.0.0.0 corp.sts.microsoft.com
0.0.0.0 statsfe1.ws.microsoft.com
0.0.0.0 pre.footprintpredict.com
0.0.0.0 i1.services.social.microsoft.com
0.0.0.0 i1.services.social.microsoft.com.nsatc.net
0.0.0.0 feedback.windows.com
0.0.0.0 feedback.microsoft-hohm.com
0.0.0.0 feedback.search.microsoft.com
0.0.0.0 cdn.content.prod.cms.msn.com
0.0.0.0 cdn.content.prod.cms.msn.com.edgekey.net
0.0.0.0 e10663.g.akamaiedge.net
0.0.0.0 dmd.metaservices.microsoft.com
0.0.0.0 schemas.microsoft.com
0.0.0.0 go.microsoft.com
0.0.0.0 40.76.0.0/14
0.0.0.0 40.96.0.0/12
0.0.0.0 40.124.0.0/16
0.0.0.0 40.112.0.0/13
0.0.0.0 40.125.0.0/17
0.0.0.0 40.74.0.0/15
0.0.0.0 40.80.0.0/12
0.0.0.0 40.120.0.0/14
0.0.0.0 137.116.0.0/16
0.0.0.0 23.192.0.0/11
0.0.0.0 23.32.0.0/11
0.0.0.0 23.64.0.0/14
0.0.0.0 23.55.130.182
Replies: >>8096 >>8099 >>8108
>>8095
I'm sure I've read that Windows 10 bypasses its hosts file for things like updates. I don't know whether AME is supposed to do anything to mitigate that.
Replies: >>8109
>>8095
>using windows
You should just rename the update dlls, or install Gentoo
Replies: >>8103
>>8099
yeah, never heard that one before, especially not in this very thread
>rename update dlls
the what now?
>>8095
You must've missed something anon, I know someone who did AME from scratch and it works as advertised. Did you use build 21H1? Was the VM definitely disconnected from the internet during the procedure?
Replies: >>8110
>>8096
>I'm sure I've read that Windows 10 bypasses its hosts file for things like updates.
In addition, Windoze Defender flags modified hosts files as malware. You need to add an exception.
ClipboardImage.png
[Hide] (258.8KB, 890x634)
>>8108
I accidentally used an earlier version of instructions, so I used 20H2 instead. And yes, it was definitely disconnected during the procedure until the very moment I had to download shit.
Replies: >>8111
>>8110
>until the very moment I had to download shit.
If it gets a connection even once before you've finished running all the amelioration scripts then you're fucked is my understanding. It looks like you're doing this on physical hardware. Perhaps you should get all the downloads and copy them to a spare USB, airgap the machine and try again with the latest instructions.
'Lua and metaprogramming'
So I was writing some lua and thought: "hmm I'd like to just generate different versions of this function".
Then I tried using loadstring like eval. Turns out you can't because it runs it in a seperate environment. But I want to run the generated stuff in file scope.
This is what I want but it passing the environment and setting it doesn't work for whatever reason:

local a = 4
local f = loadstring([[
  setfenv(0,...)
  return function (b) print(a+b) end
]])(getfenv(0))

f(5)

Now I just need to know where the error is. And yes, getfenv works and does return a table. (seems to be disabled in some online interpreters. getfenv works on https://replit.com/languages/lua)
Replies: >>8117 >>8118
>>8116
Link collided with the brackets.
https://replit.com/languages/lua
>>8116
Assuming lua 5.1 or luajit, since you use getfenv/setfenv.
You can call setfenv on a function, you don't need eval for that:
possible language: php, relevance: 6
function f(b) print(a+b) end
local a = 4
setfenv(f, setmetatable({a=a}, {__index=_G}))
f(5)

For the code you try to do originally (getfenv(0) to get a), that won't work. Local variables only exists in the parser/compiler and in debug info, they disappear at bytecode level, they will be simple numbered upvalues/local variable slots of a function. So the lua vm has no idea what is variable "a", it just loads a numbered local variable. For example this:
local a = 3
print(a)
in luajit bytecode is this (plain lua is a bit different, but the logic is the same):
0001    KSHORT   0   3
0002    GGET     1   0      ; "print"
0003    MOV      3   0
0004    CALL     1   1   2
0005    RET0     0   1
KSHORT 0 3 is to load the integer 3 to local variable 0, then mov 3 0 to copy the variable 0 to 3 (where the function call expects it). With global variables it looks like this:
0001    KSHORT   0   3
0002    GSET     0   0      ; "a"
0003    GGET     0   1      ; "print"
0004    GGET     2   0      ; "a"
0005    CALL     0   1   2
0006    RET0     0   1
In line 2, a temporary variable is stored to global "a". Then for print, that global "a" is loaded again to a temporary variable 2 to call the function. Here, you can replace "a" with setfenv and you'll see "a" in the global table. In the previous example, you won't see "a" in the globals or anywhere (except debug.getlocal, but then you have to figure out its 1-based index).
Replies: >>8120
>>8118
>You can call setfenv on a function, you don't need eval for that:
My example is shitty but I it does make sense to use eval for what I'm doing.
>Local variables only exists in the parser/compiler and in debug info
>you won't see "a" in the globals or anywhere (except debug.getlocal, but then you have to figure out its 1-based index).
Oh, that's it.
Turns out I don't need setfenv or getfenv at all then. I just needed to turn "a" into a global. I didn't think I could access globals from loadstring.
And thanks for the quick and helpful reply.
Or not. Since the variables are "static" I don't have to make them global. I can insert them right into the text.
Replies: >>8123 >>8126
>>8122
At least most of them. Still needed to make on variable global.
*one
To explain what I'm doing: I'm creating slightly different functions at startup, so I can cheap out on doing too many "if variant=="superspecial" then code end" conditions at runtime.
>>8122
>insert them into the text
You can also do local a,b,c,d = ... inside the eval string to inject locals into the code. Not needed when you only have numbers, but useful for more complex types.
AJKKC-3433852873.jpeg
[Hide] (185.5KB, 767x767)
how are you supoosed to connect to serial ports like these, no one has fucking serial ports anymore
anyone know how to splice a serial to usb cable
Replies: >>8174
PL2303HX.jpg
[Hide] (26.6KB, 600x600)
>>8173
Can't just splice, because the signals are different. Just get a cheap cable like this.
Also you need to solder some pins to your board's header, or use a gender-changer or rig something up.
c4d290bafed50a5a9006c8f0ed943d6a49c8904c4d3757b6af37faae653c6866.jpg
[Hide] (11.3KB, 500x485)
>be on loonix
>extracting some zip files using lxqt-archiver
>nothing too big, just some music
>pc starts slowing down for no reason
>extraction finishes without errors
>pc has now slowed down to a crawl
>all programs frozen, can barely switch windows
>restart into wangblows
>wangblows itself slow as shit
>chkdsk takes a long time but finishes without errors
>try to restart
>takes 5-10 minutes
>finally boot linux again
>everything suddenly fast like nothing happened
Never been this terrified in my whole life... What the fuck is going on? Is it possible to brick a system by extracting some zip files? They don't have any illegal NTFS characters or anything (it would have thrown an error, I tried before) so it can't be that.
>>8184
Maybe your HDD/SSD is dying in a weird way? Anything interesting in SMART?
Replies: >>8186 >>8189
>>8185
>Maybe your HDD/SSD is dying in a weird way?
The pc is barely 2 years old... I don't think the HDD is failing, I think linux is fucking with it. FWIW the volume I was extracting to was NTFS.
>Anything interesting in SMART?
What do you mean?
Replies: >>8188 >>8189
>>8186
>The pc is barely 2 years old...
HDDs can fail way earlier than that, if you're unlucky. See here for some stats, you'll see drives with 1% failure rates with average age of ~1 year:
https://www.backblaze.com/blog/backblaze-drive-stats-for-q3-2022/
>I think linux is fucking with it.
Well, HDDs are slowly but surely catching up with SSDs with firmware complexity, so it's also a possibility that it managed to somehow trigger some weird state in the drive.
>SMART
smartctl -a /dev/sdX , or something like that
Replies: >>8192
>>8184
>lxqt-archiver
LXQT is not as stable as other DEs in my experience. Perhaps you could try engrampa archiver? It just works.

>Is it possible to brick a system by extracting some zip files?
Well, zip bombs are a thing. But your zip is not a zip bomb.

>>8186
>I think linux is fucking with it. 
I doubt it. On my machine, accessing or writing to NTFS volumes just works.

>>8185
>Anything interesting in SMART?
this
>https://wiki.archlinux.org/title/Smart#Run_a_test
Replies: >>8192
>>8184
dmesg, if it happens again.
Replies: >>8192
2023-01-13-030220_850x686_scrot.png
[Hide] (105KB, 850x686)
2023-01-13-030425_919x686_scrot.png
[Hide] (103.3KB, 919x686)
>>8188
>SMART
I found a GUI for that and did the tests, no errors were found but I don't know how to make sense of these numbers. Some of them are labeled as "pre-failure" despite the values being above the threshold.

>>8189
>LXQT is not as stable as other DEs in my experience
I'm using XFCE as my DE, LXQT is just the archiver.
>Perhaps you could try engrampa archiver? It just works.
I was using engrampa before, it was good but couldn't handle some archives that LXQT handled. Also it doesn't support drag & drop to Dolphin FM. I miss 7-Zip

>>8190
>dmesg
This gave me long pages of output, what am I looking for?
Replies: >>8197 >>8213
>>8184
possible you came across some bad blocks on your drive and that made the system have an aneurysm. GSmartControl is good at showing the data in a readable format, any rows that are highlight in red would be your first sign that something is fucky. You may want to do an extended test and leave it running overnight, it will take a while depending on the size of the drive. My 8TB drive took about three days for a full test, but I was also doing it over a USB 2 connection so that's my fault.
Replies: >>8197
>>8195
See >>8192
>You may want to do an extended test and leave it running overnight
Alright, I'll see about that.
ClipboardImage.png
[Hide] (1.9KB, 254x36)
How to install GTK 4 with msys2 without installing gigabytes of trash like ncurses and ogre 3D?
I'm pretty sure it doesn't depend on that.
Tried: pacman -S mingw-w64-x86_64-gtk4
What flags am I missing?
Yes, I should do it on Linux, I know.
Replies: >>8200
>>8199
You actually shouldn't use gtk4, not even on Linux
Replies: >>8201
>>8200
Why? What's wrong with it? It supports Vulkan properly, I heard.
Replies: >>8207
And better yet: What am I supposed to use if not GTK 4?
Replies: >>8203 >>8207
>>8202
QT5/QT6, wxWidgets, FLTK, Tk (for simple GUIs) or SDL2.
Replies: >>8205
>>8203
But wxWidgets would use GTK or Qt on Linux anyway.
Qt 6 may be an option. If I find tutorials on how to do things without the gay IDE they are trying to sell me.
You still haven't told me why I shouldn't use GTK 4. Do you hate the version or GTK? What do you hate about it?
ClipboardImage.png
[Hide] (45.7KB, 1246x290)
And how do I not download all the stuff that isn't actually needed?
Replies: >>8212
>>8201
Because it's a fucking abomination, like systemd and pulseaudo, owned by redhat, pushing their diversity agenda down everything. A bit longer (albeit dated) description of the things:
https://igurublog.wordpress.com/
(search for gtk, the site's navigation sucks).
>>8202
Literally anything besides GTK.
Replies: >>8214 >>8216
>>8206
pacman -Sdd mingw-w64-x86_64-qt6-base
>>8192
>Some of them are labeled as "pre-failure" despite the values being above the threshold.
That's the type of error it would indicate if the value had passed the failure threshold. Everything there is fine though your G-Sense Error Rate (411) implies the drive is being moved around a lot while in use. As anon mentioned the long test is the way to go, it will check the entire disk and generally should find any problems.
>>8207
The second post after searching for GTK posits the potential of everyone being forced to use QT and being at QT's mercy then. It would be naive to assume QT is some kind of angel.
>>8207
>Remember Heartbleed? Don’t let that example escape your attention. OpenSSL is open, yet it is so large and poorly designed that it’s a dark mystery. Heartbleed was easily shown to be a deliberate hack, and was even deliberately coded to hide itself from tools that would otherwise have shown the leak.
Isn't heartbleed a CPU thing?
Replies: >>8217
>>8216
>Isn't heartbleed a CPU thing?
No, it was a catastrophic bug in OpenSSL that lead to the creation of LibreSSL fork.
>https://heartbleed.com
You are probably confusing it with Hertzbleed.
Replies: >>8218
>>8217
>You are probably confusing it with Hertzbleed
Who the fuck names these things?
23ba544649566db868aa3aa97912226b13a5e8732c30df9cee2e8040328e4320.jpg
[Hide] (62.6KB, 750x562)
Why do macOS libre software devs/maintainers even bother? it's the most restricted, locked-down environment you could have, running any kind of free software on it is pointless, and you might as well just use Apple's applications anyways.
Replies: >>8260 >>8288
>>8259
they already maintain it on linux, mac is a unix based posix system, its a zero effort cross compilation unlike winshits
Replies: >>8261
>>8260
>zero effort
You're fucking stupid. It might be somewhat posix based, but it's apple, so everything works (subtly) differently. If you create a file using the POSIX APIs with the wrong unicode normalization, Finder (or any other GUI app) won't be able to open it, for example (but only if you use AFS). And POSIX is only for basic cmdline, if you want gui or some other kind of platform specific functionality, you'll need to port your code to their objective-c abomination. (There's some kind of X server, but I hear it's buggier and buggier with every new macos release. Qt might be a better choice, if you don't need anything too mac specific). To cross compile you have to download random patches from random github repos and apply it on apple's linker, because of course it's "think different", so they doesn't use elf but mach-o binaries which nobody other than Apple supports. For arm64 macs, you have to produce digitally signed binaries (it can be self-signed, but it has to be signed). Every tool I tried on linux was buggy as shit, I had to patch them comparing the output to the binary produced on mac by apple shit tools to find the differences. Because if you don't include the correct XML into the binary it won't work.
t. someone who works on a library that runs on windows, linux, mac, ios, and android. Apple is the worst of them.
Replies: >>8262 >>8264
>>8261
>t. someone who works on a library that runs on windows, linux, mac, ios, and android. Apple is the worst of them.
So why do you even bother with Apple for the three homosexuals that use it?
Replies: >>8263
>>8262
Because they're stupid enough to pay.
>>8261 
posix outlines things like system calls and multithreading loser, try writing code instead of downloading someone elses libraries for once
porting from linux to mac just involves swapping some header files and build flags instead of rewriting massive chunks of code
Replies: >>8265
>>8264
Thank you for confirming that you're speaking from your ass. Try to port some non-trivial code that works fine on linux/bsd to mac before sprouting nonsense faggot. What you say would be true, if macos wouldn't be a buggy piece of shit where you have to workaround everything because nothing works.
What if I told you that you can't fork on macos after creating a thread while having some mac specific frameworks loaded? Even if you're careful to only call async signal safe functions? Or that poll was broken for something like 10 macos versions? But of course apple didn't care since you had those weird cocoa apis and mach ports (some kind of ipc system, I think?) and whatever else.
Replies: >>8266
Apple_Business_Strategy.gif
[Hide] (55.8KB, 640x199)
>>8265
tell me more about the pain of being an Applel dev
arrrggh!.png
[Hide] (214KB, 717x454)
torsocks gpg --keyserver 85.119.82.209  --recv-key 632C3CC0D1C9CAF6
gpg: keyserver receive failed: Operation not permitted
gpgconf --kill dirmngr
torsocks gpg --keyserver pgp.mit.edu --recv-key 632C3CC0D1C9CAF6
gpg: keyserver receive failed: Operation not permitted

Why is my gpg is acting so shitty lately. I already have my system updated. What the fuck is wrong with gnupg?
Replies: >>8276
zzzchan uses an unusually high % of cpu on my machine(s). nothing approaching a meltdown just annoying. anyone else experience this or know why?
Replies: >>8273
Kazam_screencast_00003.webm
[Hide] (28.9KB, 71x48, 00:05)
>>8272 
yes its this piece of shit, block .rainbow
Replies: >>8274
>>8273
wow thanks anon. i can now browse in comfiness.
>>8271
Alright I managed to fetch the key by running dirmngr only. While running  dirmngr cli module, I had to type KS_GET 632C3CC0D1C9CAF6, then it printed all the block of public key together with some bullshit text formating that has nothing to do with the original keys. So from there I exited it by typing killdirmgr and press enter. The only way to save all these printed public key block into txt file from terminal emulator is by triggering the save to log option in exterm emulator. Here are the steps that I did:

1. Hold Ctrl + Left mouse click and enable the "log to file" option. Then do the key micro again, from the menu choose "Print-All-immediately" Now I have all the text history that were printed in that terminal session being saved into a txt file.

2. Clean up all the useless garbage text from the txt file becuase I need the .txt file to be save as .asc file format. These garbages includes text formating like "D 0" and and %0A in every single line from key block. Also some identation need to be fix as well.

3. Finally, I got it saved as .asc file. To import the key locally, I simply type:
gpg --import publickey.asc

I don't know why I have to go through this tedious process. At the moment this the only option that work for updating public key. Seriously what the fuck.
9517e775ed79a6e44ea56dd52e317dff816f9a2331c0164caa3d71a4fa2684d3.jpg
[Hide] (15KB, 320x180)
Is there any open source tool or another way to export the browsing history on Edge on Windows? I know, Windows and Edge are botnet and cringe blah blah blah, but I'm actually doing this is because I'm migrating to [Arch] Linux as a daily driver (and I do have some experience with Linux and the command line and stuff, of course), so it's actually based. And obviously, I do want the exported history to be viewable on Linux and on a browser other than Edge or other Chromium clones.

PS: the Invidious front page is a soyboy goldmine
Replies: >>8281 >>8282 >>8287
>>8280
IIRC Firefox on Windows will offer to import those things from other browsers after a fresh install.
>PS: the Invidious front page is a soyboy goldmine
The popular feed is generated from the most subscribed channels on each instance. On a side note something I've noticed about Invidious is that recommended videos seem to skew towards the viewing habits of that instance. The developers have said that they specifically block "recommended for you" videos but the personalization is still at play to some extent. I wonder if individuals can be identified on some level even with the aggregate dataset Google can collect.
Replies: >>8282
DT2.png
[Hide] (544KB, 666x822)
>>8280
Another one for the collection. That's the fourth one today. Here is one of DeepThroat.

>>8281
I know one instance that has very different viewing habits, and I just tested this, and it does seem like you may be right. I used a Pokemon video in that one as a test, and all of the videos were just about Pokemon, mostly from the same channel. Opened the same video on one of the big instances, and most videos were still relevant, but "Why Doom is Awesome: Binary Space Partitioning" was randomly there as well, so it's still video game related, but it goes back to tech stuff, which is what people on the instance watch. Also, some random video with 2 million views that has nothing to do with anything.
Replies: >>8285
>>8282
>"Why Doom is Awesome: Binary Space Partitioning" was randomly there as well
That's interesting because I've seen that recommended several times too. The thing that made me notice in the first place was spotting a specific Jordan Peterson video (I think it was a year+ old so seemingly unlikely to be promoted by the algorithm on a more general basis) on many different vidya & tech vids which were of course unrelated. If the general userbase of these kinds of frontends were pushed towards them (and FOSS in general) because of concerns with content moderation/deplatforming then this makes sense.
Replies: >>8286
Spoiler File
(340.5KB, 512x600)
>>8285
> because of concerns with content moderation/deplatforming then this makes sense.

Its just a world without women.
>>8280
Any Chromium-based browser has an "export bookmarks" feature in the bookmark manager. This will give you an HTML file that can be fed into other browsers for importing bookmarks.
>>8259
Portability autism mostly. 

As the old saying goes, portability uncovers bugs, although I haven't actually uncovered any bugs other than OS X bugs by porting my programs to it. 

To be honest, the fact that OS X sucks is all the more reason to port stuff to it. If you can port your programs to the most broken, outdated, complicated, etc, platforms around, then you can port them to anything. It's like exercise: you lift some weights, your muscles grow, and suddenly 10kg feels lighter than it used to. After learning and practicing the correct techniques for porting programs to the worst platforms, suddenly it becomes easier to support the good ones.
Is neocities.org good in terms of freedom of speech? Like, for example, can I have a site that contains the word "nigger" hosted on that?
Replies: >>8290
>>8289
niggerhitlernuclearrap.neocities.org

Their acceptable use is really free speech as long as its legal but if you get them ddos'd theyll drop you in a heartbeat.
Replies: >>8291
>>8290
>Page Not Found
>The requested web page was not found on this site.
Bro...
Replies: >>8292
>>8291
https://niggerhitlernuclearrape.neocities.org/
Are there any gitlab alternatives other than gitgud?
>>8303
gitgud also runs gitlab. Are you looking for a gitlab alternative, or a gitlab instance?
>>8303
GitLab and Gitgud are the only good gitlab instances that I know of.
But there other code hosting platforms:
>https://codeberg.org
>https://bitbucket.org (at least it's not owned by M$)
>https://sr.ht
>https://repo.or.cz
> https://www.tuxfamily.org (BUT you need to give your real IRL contact details due to French law).
> https://sourceforge.net (at least it's not owned by M$, used to be the go-to site for code hosting along with Goolag Code. I think it has uncertain future because a lot of projects left it for GitHub years ago.)
> https://launchpad.net (at least it's not owned by M$. imo, it has even more uncertain future.)
Replies: >>8315
>>8303
Does it have to be Gitlab-based? I have a list of Gitea instances if you're interested.

>>8308
Note that codeberg has a CoC, avoid.
Replies: >>8316 >>8317
>>8315
>Note that codeberg has a CoC, avoid.
And sr.ht declared that they will boot any project the founder personally doesn't like. Bitbucket is owned by Atlassian, an Australian company, so the the retarded Australian laws (that would put Best Korea to shame) apply. If you want something safe, make it a hidden tor service that you host from your mom's basement.
>>8315
>Gitea
Wasn't there like a controversy over trademarks or something?
Replies: >>8332
This is a strange question, one that I might not be able to even properly formulate, but does anybody know how certain frameworks or even languages become popular in the tech industry? For example, take a look a Rust, it is shilled so much that at this point I'm expecting it to be a jewish trick, even if the language has good things (I haven't tried it out yet so I can't really give an opinion).  I don't know, I feel as if this is a retarded question but I wouldn't know how to ask about it otherwise.
Replies: >>8320 >>8323 >>8328
Screenshot_2023-01-27_at_09-14-49_All_software_sucks.png
[Hide] (202KB, 1574x980)
C.png
[Hide] (1.1MB, 642x2066)
Screenshot_2023-01-27_at_09-54-05_HN_Search_powered_by_Algolia.png
[Hide] (635.2KB, 2160x1849)
>>8319
Its a mixture of lots of things. Shilling. Ignorance. Necessity. One of the first languages I was ever going to learn in my life was Java because I was a heavy Minecraft player at the time and wanted to get into modding and game development. Afterwards I went on a site called Codecademy in 2015/16 and studied Python for a bit before leaving it entirely (I distinctly remember looking for C on the site and it not being available). It seems to be a trend that colleges/universities as well as companies (sufficiently big ones like Google that can afford to train people internally) will push their languages of choice onto you.

Ignorance is probably the most important yet most overlooked reason. There's no definitive comparison of languages that exists. Languages are extraordinarily complex and imperfect by nature, so people will look at small, ridiculable elements of a "competing" (Rust and C users) language to demoralize people in regards to using it and because very few people are grounded enough to say "no you're wrong", or "that's expected and not a big issue" it isn't shot down on the internet. Dumb narcissistic faggots like Uriel (In the same boat as other faggots like Jamie Zawinski, ESR, Theo, Etc.) brainwash people with tables like pic related that explain fucking nothing other than "simplicity is good lol" that are created almost entirely off of hearsay from Reddit/Hacker News/Usenet.
Languages are more than just standards and compilers, too. The ecosystem surrounding a language is extremely important as well. What learning resources and communities are available? What reverse engineering/debugging tools exist? What projects are written in your language? What libraries exist? What compilers exist? (C has GCC, Clang/LLVM, ICC, TCC, Movfuscator, MSVC, etc.). My 2nd pic (C Strengths/Weaknesses) is a good example of doing good by looking at the big picture rather than getting caught in small, mostly irrelevant details.

All of this isn't just limited to languages, either. Linux distros are exactly the same way. "Here's a book with 10,000 different choices, each telling you why theirs is the best. Good luck!".

>For example, take a look a Rust
Mainly the result of shilling and corporate backing. The language is always advertised based on safety and efficiency. Hacker News is one of the more fanatical communities in regards to Rust (3rd Pic) and a big part of their advertising strategy is shitting on other languages, mainly C++ and C.
Replies: >>8322
>>8320
First pic:
>or best of all: don't use HTTP
Says a page served over HTTP.
>json
Yeah, good choice if your only alternative is XML. Otherwise forget it.
>also suggesting go is good for anything
>ed instead of a visual text editor
Yeah, if you're still stuck with a teletype writer.
And these are just the most glaring issues. There is a difference between not overcomplicating things and making your life as miserable as possible, but realizing that requires a bit more brain processing power than these retards have.
Why do I have a feeling that it's just some plan9 zealot who is pissed that his perfect OS didn't get anywhere?
Replies: >>8324
>>8319
Corporate backing. And that happens from either coming out of a corporation in the first place, or benefiting corporations in some way or another, generally in the detriment of anyone that is not running a corporation. Even bad performance is probably a deliberate thing to create demand for new hardware that is really not necessary. It's not new either, it's no coincidence that Unix and C dominated most of computing and also happened to come out of AT&T, a government-regulated monopoly. Though neither of those are big and complicated enough to give corporations the level of control that they want now. Overcomplicated (ideally still very limited) software, with standards that are constantly growing and changing and breaking shit, that's what they like.
>>8322
>Why do I have a feeling that it's just some plan9 zealot who is pissed that his perfect OS didn't get anywhere?
Because that's exactly what he is, or was. Here's one of the only few pieces of media on the entire internet with himself in it: https://yewtu.be/watch?v=VJSlvoUFkBA. He was also extremely fanatical about Go to to the point of creating the main subreddit r/golang and having a popular page for it on his site http://go-lang.cat-v.org/. He was a frequent poster on Reddit and on HN.
He died in 2012, most likely from suicide based on this https://lists.suckless.org/dev/1210/12993.html.

Probably maybe a bit too cruel, but one of his [Uriel's] friends that was quoted a lot on his site that he had a "genius" http://genius.cat-v.org/erik-naggum/ page for died of literal ass cancer three years before him. That's what being an Emacs/Lisp user and a "Legendary hacker and Usenet flame warrior" will get you.
>>8319
Rust isn't popular because it has to compete with C++. Like maybe someday it will but thats an awfully big hill to climb.

Every popular language brings some needed innovation to the table i think. The unpopular ones are either academic or solving a problem that doesn't exist.
Replies: >>8340
>>8303
Some Gitea instances I found online:
https://git.creepercreep.fr/
https://git.teknik.io/
https://git.mills.io/
https://dev.conque.cn/
AFAIK all of these are owned by random people, not organizations. They probably don't give a shit what code you push as long as it's not illegal. You can search for Gitea instances easily using the phrase "A painless, self-hosted Git service" which is displayed on the instance homepage by default.

>>8317
Not exactly. See >>7387
Replies: >>8340
>>8332
I've tried to find some info about these hosts you mentioned, only teknik seems to have some kind of real webpage:
>Teknik is Shutting Down
https://blog.teknik.io/uncled1023/p/18302
If you go this way, make sure you have plans for the case your hoster disappears randomly without warning, and preferably have mirrors on multiple instances. (This is actually a good idea even if you use bigger instances that are less likely to disappear overnight, even large corporations fail sometimes, even if you don't trigger their woke department.)

>>8328
I think it has less to do having to compete with C++ (there are many other language that competes with C++ that doesn't get so much hate), and more how aggressively mozilla and their tranny shills try to shove it down your throat.
Replies: >>8346
>>8340
>I've tried to find some info about these hosts you mentioned, only teknik seems to have some kind of real webpage
The others have regular webpages as well, but they're just portfolios for the instance owners:
https://git.creepercreep.fr/ --> https://creepercreep.fr/about
https://git.mills.io/ --> https://prologic.shortcircuit.net.au/
I don't know about the remaining one because I don't know chinese
>make sure you have plans for the case your hoster disappears randomly without warning
This should be standard practice for hosting anything on the web in general.
Replies: >>8350
>>8346
>https://git.creepercreep.fr/ --> https://creepercreep.fr/about
I saw that, but it could be in Chinese for all I can care.
>https://git.mills.io/ --> https://prologic.shortcircuit.net.au/
I don't know where did you find that, I tried mills.io, but it only gave me some hello world page.
1674580884098193.png
[Hide] (838.7KB, 710x674)
Where can I find vidya music torrents?
Replies: >>8360 >>8370
>>8357
nyaa?
>>8303
Why the need for an alternative?

Gitgud is like all ero games plus jschan.  What else do you want from a host?
>>8357
SoulseekQt or Nicotine+ are my usually go to. There's also rutracker, but the site is down currently. You're probably gonna need to use SearX/XNG, since both DDG started censoring anything piracy-related.
Nvm. Rutracker is up again.
How to store LaTeX/markdown document in a version control system efficiently?
Emacs has a useful fill-paragraph command which will reflow your text so it fits 70 (or whatever you have fill-column set to) columns, which is nice if you want to read the source. But if I later decide to change one word in the middle of a sentence, the reflow can easily mess up every remaining line and I end up with a basically useless diff.
Replies: >>8379 >>8382 >>8384
>>8378
>Emacs has a useful fill-paragraph command which will reflow your text so it fits 70 (or whatever you have fill-column set to) columns
Set your nigger editor to just show the text broken at the window border instead of actually inserting line breaks, Mr. Stallman.
Replies: >>8380
>>8379
Then I will have gigantic long lines, not really useful from a diffing purpose, and also it fucks up grep/less/etc.
Replies: >>8381
>>8380
Just resize your window, faggot.
Replies: >>8384
>>8378
What does line wrapping have to do with version control?  It's just a text file and indistinguishable from any other text file full of source code.

I only run in to that when I have huge blocks of medium-level comments such as at the top of a file or class, and a big stupid diff on one of those typically only happens as a sign that there was a major ideological change or addition.  I never wrap comments for an individual line of code.  You can set your editor to auto-wrap for you or only bother scrolling horzontally if you really want to read the whole thing for once.  Nobody ever follows group guidelines for whitespace and commenting anyway, so I just give up and adapt to whatever the ambient style is when it's not my own OC.
Replies: >>8384 >>8385
Do any Anons know of some good resources for reverse-engineering custom image archives/files? I'm trying to extract images from this print studio program, but the files are in a .gli format. I've looked at them with a hex editor, but the only header I noticed was "PGA". And I've tried binwalk, but it doesn't notice anything.
Here's the file if anyone's interested: https://files.catbox.moe/lgmc3l.gli
Replies: >>8385
>>8382
>>8381
git diff is line-based. It can diff by words but most tools work with lines.
>>8378
latex syntax is strange, 1 newline doesn't break the line. 2 newlines does, or \\
Replies: >>8385
>>8382
>What does line wrapping have to do with version control?
If I have one big paragraph of text, and I change something in the middle, the rest will be rewrapped, and the diff will be unusable because every line will be different. (Of course you don't necessarily need a VCS for this, diff works on plain files...)
>comments
I started with this is LaTeX and Markdown, not code. I have shitloads of text, and not much else.
>group guidelines
I'm the only one who has access to the repo, so it's not a problem.

>>8383
Not exactly a tutorial but this is what I usually do
>look at hexdump for any obvious patterns
>open executable in ghidra and try to figure out where it loads
>failing that, attach a debugger, break at file open functions, and try to trace where the loaded data ends up (memory breakpoints are your friend)
>more staring at ghidra
>sometimes it helps if you modify the file with a hexeditor and observe the changes
>repeat the above instructions until you succeed or give up

>>8384
>latex syntax is strange, 1 newline doesn't break the line.
Still better than other formats where newline breaks the line and forces you to write ridiculously long lines.
Replies: >>8386
>>8385
>Still better than other formats
Yes, I consider that as a plus.
Right, well that's why I said I just let per-line source code comments scroll off the side of the screen.  You can just set your editor to pretend it's wrapped if you want to read the whole thing.  Same for latex.  Treat the text like a word processor would and then you don't have to worry about putting line breaks in it to make it fit whatever your particular terminal width happens to be.

Kind of like a mediawiki diff.  It just lets your browser's textbox wrap like a word processor would.  There aren't any line breaks in it unless you put them in (and even then they aren't necessarily rendered, so you can use that to break up the source content if conceptionally appropriate without affecting the resulting web page).
7168c50b33f86a9191f939bb193ee228ca18fea27e259deafc0f6de367997c69.png
[Hide] (7.6KB, 300x100)
What do anons think of the Hydrus Network? aside from its gay association with 8moe
I'm working on sorting through a fuckton of images and videos, and I thought it might help.
Replies: >>8390 >>8391
>>8389
It works, but it's slow as shit because python and it's also extremely hostile.
By hostile I mean that you either use it exclusively or you don't use it. Files must be imported into the program which moves them to internal files that have no connection with the originals.  You're meant to delete the originals and only use the program to browse them, which can sometimes be annoying if you don't want to leave it open 24/7. You can export symlinks which technically can be used to organize them outside but I've yet to see anyone do it because it's a huge pain in the ass. 
I use it for my porn because it was a huge mess of loosely organized folders and they're usually in boorus which can be scrapped for tags, but if you're already working on a folder structure and want to keep it that way I wouldn't recommend it.
>>8389 
>python
not even once
tagging files just requires maintaining two lists, one for files with their associated tags and the other for tags with their associated files
2000.jfif
[Hide] (103.5KB, 1126x1126)
Where can I get basic bitch Microsoft Server Admin certification courses without paying a dime and without listening to street shitters and chinks with accents thicker than the grease on their face?
Any time I look it up on magnet sites, it's outdated and/or without any seeds.
I'm tired of being stuck in this dead-end tech support gig, I need to branch out and grow.
Replies: >>8400 >>8413
>>8396
Have you checked books on libgen?
Replies: >>8402
>>8400
video form please. I've tried reading those, but my eyes just glaze over
Replies: >>8403
fda7e684972fba02cf284e8551a33f8dbce9f03ea95fae55fe0efe2570a51dd8.jpg
[Hide] (66.6KB, 566x480)
>>8402
>i am illiterate and need everything told to me through a zoomer dancing on tiktok
What's more dangerous:
A Win10 AME or LTSB HVM running on KVM or a Debian stable PVM runnig on Xen?
Replies: >>8406 >>8413
>>8405
your mom running on empty
I have a wine problem. I'm using a non-qwerty layout. Wine sends key values to program as key codes (positions).
That is very annoying for games which think I'm pressing the physical a key when I actually pressed a the key that makes the string "a".
This is not how it works on Windows. Cross games receive the keys fine in the Linux build but when the Windows build is run through wine this problem occurs.
Is there some wine argument or configuration that fixes that?
Replies: >>8412 >>8421
*Cross platform
bump
>>8407
Use a search engine. First result of "wine keyboard layout"
Replies: >>8414
>>8405
Win10 no doubt.
>>8396
Have you considered Linux certs instead?
>>8412
I know I can change my keyboard layout but I want it to work correctly with the keyboard layout I actually use like it does on Windows.
Replies: >>8416
>>8414
Did you try setxkbmap?
Replies: >>8419
>>8416
Did you read what I wrote?
Replies: >>8425
>>8407
Well, apps can generally ask for scancodes or keycodes, and if the app looks at the scancodes, it will ignore your layout. Games in particular like to look at scancodes, so their keybindings will be same regardless of keyboard layout, but of course this means that their keybinding menu will display weird values if your keyboard layout is not US English. (I had this problem in the past a lot, both on Windows and Linux, before I switched to US layout...) Are you sure this is a wine bug and not the game is broken? Input handling is something that have to be rewritten when porting to Linux, so it's completely possible that one game handles this differently on Wangblows and Linux. Or alternatively, try wine notepad, does it work correctly?
Replies: >>8425 >>8428
>>8419
Yes. I meant using setxkbmap to force your layout for the wine program.
>>8421
In this case, https://wiki.archlinux.org/title/Map_scancodes_to_keycodes
>>8421
>Games in particular like to look at scancodes,
I should have been more specific. I meant keycodes as opposed to key strings.
>Are you sure this is a wine bug and not the game is broken?
Yes, it should handle my key strings and positions seperately like on Windows.
I tried the same game with Wine and Windows, so I'm sure Wine is in the wrong.
>will display weird values if your keyboard layout is not US English.
I don't care.
leshilllion.png
[Hide] (16KB, 143x216)
How much does the le shill lion browser spy on you these days? Spyware Watchdog's article is outdated and therefore unreliable for this question. Is there any way to mitigate the spying if le shill lion does spy on you?
LibreWolf keeps crashing endlessly, same might happen with Troonfox. Pale Meme is a literal meme last time I tried it a while ago.
Replies: >>8433 >>8434
>>8432
It's based on Chromium. Just get ungoogled chromium instead.
Replies: >>8435
>>8432
I'm not using anything else these days because the sync feature works great.
>>8433
Ungoogled Chromium tends to be outdated with security vulns and it will have to axe Manifest V2 extensions at some point eventually. I still consider le lion shill because it has an adblocker built into the browser, which will continue to work after Manifest V2 is axed.
Replies: >>8436
>>8435
1. bullshit
2. so does Brave
Replies: >>8437
>>8436
>1. bullshit
It was the case a while ago. Seems like the Debian package is still very outdated.
>2. so does Brave
I know, but the adblocker bundled with le lion shill will continue to work after Manifest V2 is axed since the adblocker is built into the browser and is not an extension.
Replies: >>8440
I want to dualboot gnu/linux and openbsd on a single btrfs volume, encrypted with luks. Is this a viable setup?
Replies: >>8440
>>8437
It is not outdated.
>Debian package is still very outdated.
https://github.com/ungoogled-software/ungoogled-chromium-debian/issues/307#issuecomment-1320933865
>>8439
No. OpenBSD doesn't do btrfs.
Replies: >>8444 >>8453
thinkpad_000.png
[Hide] (116.9KB, 394x159)
I am thinking about buying a X201 from a shop that writes ram as "rem" in their spec paper. Can anyone tell if this clit is usable? This is the only photo where they showed the clit. It is quite late soo i can't ask for more pictures.
Replies: >>8443 >>8444
>>8442
you can buy a rubber piece off eGay for $0.10, it will work fine
Replies: >>8445
>>8440
There are portable Linux builds and Appimages. Use one of those.
>>8442
What do you want with a 13 yo laptop?
Replies: >>8445
>>8443
I will buy this one then, thanks

>>8444
İ am moving and i left my old pc to my family. Except compiling that pc was using nearly 3-4% cpu, i clearly don't need much power in my pc.
Replies: >>8446
>>8445
> clearly don't need much power in my pc.
Yes but newer computers will use less energy and your battery will last longer.
Replies: >>8448
And the screen is low res
>>8446
I will chance the battery and i use soo little power that i don't care about the efficiency but the low res issue is real, not gonna pay more for slightly better panels thought.
>>8440
>No. OpenBSD doesn't do btrfs.
Fug. This licensing shit is beyond retarded. It's the primary reason why BTRFS had to be developed as a Linux alternative to the vastly superior ZFS in the first place.
Replies: >>8455 >>8469
>>8453
>This licensing shit is beyond retarded.
Welcome to the open source world of the last 30 years if not more.
Everything should be just placed under public domain, and then you would have no problems.
serial-experiments-lain-men-in-black.webp
[Hide] (293.4KB, 810x578)
Why do some people hate WEBP and/or WEBM? Are those pozzed or pic rel (glowie crap)?
Replies: >>8468 >>8469 >>8477
webp_windows.png
[Hide] (509.9KB, 1017x1048)
>>8466
Replies: >>8470 >>8483 >>8490
>>8453
It may not have anything to do with licensing. Support for btrfs is just not there. OpenBSD doesn't support zfs either.
>>8466
webp is a format heavily pushed by google, many older software that people don't or can't upgrade don't support. webm were (are still?) not supported by apple devices for a long time. For many older hardware decoding vp9 is not hardware accelerated.
Replies: >>8486 >>8525
>>8468
No. It really sucks. It's worse than regular Jpeg.
I'd rather see Jpeg XL be adopted.
Replies: >>8490
>>8466
Webp is a retarded format that tries to be everything and accomplishes nothing. 
Webm is good for what it's meant for (extremely lossy videos with few static shots but small filesize) , but it's often misused, thus giving it a bad rep. 
Also they're both made by google with the usual hostile takeover tactics. The only reason h265 isn't supported on most browsers is because chrome doesn't like competition and firefox just happened to decide webm was better after receiving large sums of money from google.
Replies: >>8482 >>8486
>>8477
>h265
Also note that h265 is patented like shit with hefty fees if you want to use it legally (if you happen to live in a country where software patents are a thing), which also doesn't help its adoption among open source people, even without jewgle's interference. Just think about the GIF shitfest until that fucking LZW patent finally expired.
staring_tewi.png
[Hide] (221.8KB, 678x623)
>>8468
Please make sure to hang yourself on the way out.
>>8469
>>8477
> webp

The only problem, but its a massive one, is google lumping jpeg, png, and gif all together as one image format.  They are black boxing image formats from the user, further niggerizing the internet.
Replies: >>8488 >>8490 >>8496
doa_breast_envy.webm
[Hide] (3.9MB, 1920x1080, 00:09)
>>8486
Video codecs would be suitable for the sort of animations we make with GIF if muxers simply added a loop tag and image editors had support for video codecs. I can edit an animation frame by frame and set the frame timings easily in GIMP, but I can't output a video codec, I need to use GIF or webp.
Replies: >>8490
>>8468
It isn't supported on loonix either lol, try harder next time.

>>8470
>I'd rather see Jpeg XL be adopted.
What does it bring to the table?

>>8486
Nothing wrong with a versatile format (in principle) but it's simply not supported anywhere except chrome.

>>8488
>I need to use GIF or webp.
There's MNG but literally nobody supports that, not even GIMP.
Replies: >>8492 >>8496
>>8490
>loonix
What does a kernel has to do with decoding webp? There is no default image viewer for linux. kys winigger
Replies: >>8511
>>8490
>What does it bring to the table?
JPEG XL does everything webp does but better, and also supports lossless conversion to/from regular JPEG.
I had a neat infographic comparing "modern" image formats but I can't find it. You can find spreadsheets online comparing how well various formats compare to each other.
>it's simply not supported anywhere except chrome
I don't have many webps and try to avoid them but they just werk in everything I have on Linux. Firefox, GIMP, my image viewer, etc all work without any extra setup.
>>8486
This is the only downside to a "mega-format" like JXL or webp or whatever in my opinion. As it is now, you know that a PNG is lossless (unless some nigger converted a lossy image to a PNG for no reason), a JPEG is lossy, and a GIF is (most likely) an animation. Cramming all that into a single file format lets you do some cool stuff and save lots on storage space but most end users are retarded and export their pixel-art animations as lossy or otherwise misuse it.
Replies: >>8503 >>8511
>>8496
At least jxl has the excuse that it can actually mix lossy and lossless encoding and the reference encoder does take advantage of this to encode e.g. text.
>>8492
There's a default viewer for every DE, none of them support webp out of the box. I know that first hand by actually using linux.
>winigger
You're dead wrong.

>>8496
>supports lossless conversion to/from regular JPEG.
This could be useful... If you find that comparison chart please do post it.

>>8496
>most end users are retarded and export their pixel-art animations as lossy
They already do that, most pixel art you'll find off search engines is shamelessly saved as JPEG with extremely visible compression artifacts. If JXL can achieve better quality for the same file size then it's already better than JPEG and possibly PNG as well.
Replies: >>8512 >>8513
>>8511
not a problem on feh
>>8511
>There's a default viewer for every DE, none of them support webp out of the box
Every image viewer I have on my machine opens webp. Even fucking cacaview. If your DE's image viewer has worse image format support than a joke app, maybe you should replace your DE with something that's not complete garbage.
701c02bde2f596fab6a0f977a398d666305e297125cf48b12f3f6fcdfde0fcd8.png
[Hide] (214.2KB, 348x468)
Are there any beginner Docker tutorials that aren't narrated by JewTube soyboys and provide a deep explanation as to what the fuck I'm doing?
Replies: >>8518 >>8519 >>8520
>>8516
Docker is an infinitely gay technology, don't expect any sane documentation/tutorial on it
>>8516
Is the tutorial on Docker docs not good enough?
docker.png
[Hide] (247.2KB, 880x789)
>>8516
>Docker
Read the official docs. Here are some additional resources:
> don't add yourself to docker group: https://fosterelli.co/privilege-escalation-via-docker
>https://wonderfall.dev/docker-hardening/
>https://www.mooc.fi/en/ (DevOps with Docker MOOC)
>https://docker-handbook.farhan.dev
>https://training.play-with-docker.com
>(bonus): https://matt-rickard.com/non-obvious-docker-uses
Replies: >>8521 >>8522
>>8520
>don't add yourself to docker group
>surely they've patched this
<it works
whoops
Replies: >>8522
>>8520
>you bloody fucking shit ass shit pile of capacitor
I like this.
>>8521
It's not a bug, it's a feature!
>>8469
Are there any plans to inegrate it into openBSD?
Any BSDs that support BTRFS natively?
Replies: >>8527
>>8525
>Are there any plans to inegrate it into openBSD?
No. They do not want GPL code if they can help it. (Open)ZFS (or HAMMER2?) may be more likely candidate but I still highly doubt it. rsync and SFTP (OpenSSH) are good for quickly sharing files but if you want to share files more permanently with OpenBSD, you should use FAT32, ext2 or NFS.

>Any BSDs that support BTRFS natively?
No, but both FreeBSD and NetBSD supports ZFS.  ZFS is pretty much the same thing. As far as I know, the only reason why BTRFS exist is software licensing reasons (ZFS is open source but not GPL).
Replies: >>8528 >>8532
>>8527
>ext2
*I haven't tested how good the ext2 support is.
>>8527
If I'm using FreeBSD I would definetly opt for ZFS as it's much superior to BTRFS. But getting ZFS working on Linux is just too much of a pain to bother. You'd have to insert a kernel module which might break upon upgrade, basically mitigating the use of the handy snapshot feature which should make the system more reliable.
Replies: >>8533
>>8532
lol btrfs what a shitshow.  What do you get out of zfs vs. ext4?  There are still a few gotchas in ext4 but in my experience they're edge cases like if you have an array of a certain size but you're using an older version then you can't rsync everything over because some of the filenames are too long (wtf)

Theodore 'Tso might be overworked and wrong about some things, but at least he's open about it.  I've contributed in my own minor way to some recovery tools because it's my job to keep other peoples' data safe and if I screw up then it's on me to find a way to fix it.
Replies: >>8536
>>8533
>What do you get out of zfs vs. ext4?
File integrity mostly.
So I need a router that can take a wifi signal and make a seperate wifi network out of that. For just that purpose I bought a bogshit TP Link wr940n, only to find out it only offers an "extender mode", not allowing me to setup a seperate password for the network. "Access mode" is only available via LAN connection. 
My fucking phone can work as a wifi hotspot, but this device having only one single purpose can not?
So I found out about openWRT, but this fucking piece of shit doesn't have enough memory apparently. So I bought an entirely useless piece of plastic trash.
>Which devices are capable of the aforementioned: setting up a "hotspot" entirely over wifi? Preferably one that can install openwrt so I'm not dependent on their bogshit proprietary garbage.
Replies: >>8538 >>8682
>>8537
Stock firmware on consumer routers suck, no exceptions. (Well, maybe microtik's routeros is not an unusable garbage, but their devices cost an arm and leg).
I recommend you to look at openwrt's supported HW list:
https://openwrt.org/toh/start
But actually finding one of these models can be a challenge, since manufacturers like to randomly change the HW inside a model without any warning or indication on the box. Probably the best course of action is to look for a used one where the seller can confirm you the exact HW revision used. (And double check the openwrt wiki for known issues and HW variations *before* you buy, not after like I did...)
Replies: >>8539
>>8538
Thanks.
But my primary goal is still having a simple "Hotspot". How can I verify that the device is capable of creating an access point without LAN?
Replies: >>8540
>>8539
>How can I verify that the device is capable of creating an access point without LAN?
I don't think any normal router with stock firmware will be able to do this. Using a radio in STA and AP mode at the same time, but not in a simple extender fashion is such a super esoteric concept to niggeroids who think internet=facebook. And even with openwrt/stock linux there might be bugs in AP/STA coexistence mode, so your best bet would be a dual radio router...
Replies: >>8542
comdes1.jpg
[Hide] (156.1KB, 461x562)
Any lua programmers here? How do I make this test lua code work? Why cant I pass a function into table key and call it directly whenever I need? I think I able to rewrite this on tcl and it will work flawlessly, but why it is not working in lua? Why? Please response before I start asking Ai for assistant. Though, I doubt even Ai could even help me on this.

possible language: bash, relevance: 21
#!/usr/bin/lua

trig = 1
duh = 8

function say1()
       print "sayone"
end

function say2()
       print "saytwo"
end

function say3()
       print "saythree"
end

function say4()
       print "sayfour"
end

output = {say1(), say2(), say3(), say4()}

lookfor = {
	[1] = function()
		for i = 1, #output do
		   if duh == 1 then
			print (output[i])
		   else
			print "NO!"
		   end
		end
	end,

	[2] = function()
		print "nothing"
	end
}

lf = lookfor[trig]
if (lf) then lf() end
Replies: >>8544
>>8540
Oh god why is this such a pain?
I mean my phone can do it... I also managed to get my RaspberryPi setup this way using NetworkManager and 2 wifi USB sticks. It's just slow as fuck and will randomly shit itself for some reason.
I just don't want to connect my devices with open ssh ports to this public network. That's all I'm asking for.

So I have a FritzBox 7360. But that also doesn't have dual radio from what I can tell...
Replies: >>8544
So I've been looking to enhance my productivity through keeping a dedicated pocket-sized PDA/Pocket Tablet. I'm thinking of using an old pinephone I bought a few years ago, but could never link up to my cell service.

My problem is, I need a not-shit stylus for drawing things. What's a good pen-style-stylus for drawing on a pinephone?
Replies: >>8583
>>8542
Because normalfags don't need this feature and retard chinks are too retarded to implement this on their own, even if the linux kernel beneath knows this without a problem. Yes, even the gay networkmanager is 120 times better than your average router firmware.

>>8541
What the fuck are you even trying to accomplish here? My first gut is that you don't want to call those functions when creating the output table, because right now you create an empty table with that fancy line, but I have no idea what this code is supposed to do.
Also use local when you don't need global variables, unless you want to look like a nigger.
What is a good alternative to hamachi?
I have a friend in Europe (I am in South America) and we wish to play Divinity 2 together. Multiplayer on it's own seems to have problems. I tried it on a wangbblows machine with hamachi and it worked much better. So, what could I use on Linux to play with him without much trouble? Ideally it should run both on Linux (he exclusively uses windows for now).
Sorry if the topic is 
>gayming
But it's more an excuse to mess around a bit every very once in a while.
Replies: >>8547 >>8548
>>8546
learn to portforward
Replies: >>8548
>>8546
Zerotierone used to work pretty well back when I used it. 
>>8547
Port forwarding is often blocked at the ISP level. You have to spend hours at the phone to get it sorted and may even have to pay extra fees.
Replies: >>8549
>>8548
>Port forwarding is often blocked at the ISP level.
no it's not.
>>8544
I want to store function in the table instead of data like string or integer. Technically this is not an actual code, but rather a representation of somewhat similar codes that I'm working with. In the actual code, the duh variable is an incoming input that's not always "1". The reason I want to pull those functions in the table is that, I need to execute each function according to what kind of incoming input that the program is receiving. Is there a way to have an array of functions so that I could trigger a condition loop check in the array function table? If this is not posible, then I have write a lenghty if else statement to check the incoming input and execute which function that fits in accordingly. 

The lookfor = {} code is how switch case statement looks like in lua.
Replies: >>8555
israel.mp4
[Hide] (186.2KB, 640x336, 00:10)
Ok so I use firefox and whenever I try to view mp4s it gives a "Video can't be played because file is corrupt" error. I've googled around and tried the whole "set media.ffmpeg.enabled flag to true" solution and it doesn't work. Have anons encountered this problem and found a solution.
mp4 related, doesn't fucking work
Replies: >>8552 >>8553 >>8563
Capture2.PNG
[Hide] (7.3KB, 794x407)
>>8551
Ok and on this mp4 it gives pic related error. Apparently it's like an issue with firefox codecs or something. Important to add that it works on google chrome, which I have to use and i hate using Google CIA nigger tracking.
Replies: >>8553 >>8563
>>8551
>>8552
>still using firefox 
>despite the fact that they bundle google analytics in and refused to add an option to opt out for years 
>despite the fact that their botnet browser relies on a server and stopped working worldwide when the server went down for a day 
>despite the fact that they receive constant donations from google 
Firefox is not the alternative it once was. Forks are shit and they're the best you get.
>>8550
>Is there a way to have an array of functions
Yes, but in your code you're not creating an array of functions, you create an "array" of the results of calling your functions (which will be nil, since none of your functions contain a return statement, which due to how lua tables works, will actually mean you will have an empty array).
Hint: output = {say1, say2, say3, say4}
Replies: >>8617
>>8544
I'll buy a shitty android phone so I can use the wifi hotspot function.
Replies: >>8557 >>8558
>>8556
Oh well, most phones can't do this -create a hotspot out of a wifi connection.
>>8556
How hard is it to get a junk laptop with built-in wifi and get another wifi usb adapter?
Replies: >>8581
>>8551
I use FireFox and webms and MP4s work without any issues on my PC ™. The only thing that doesn't work is mkv. I use Arch btw (but firefox just works on (at least): Botnet 10, Xubuntu, Debian, Arch&Artix, Void (both glibc and musl), Gentoo and Alpine). Also, make sure you have ffmpeg installed.

>>8552
Install GNU/Linux. https://xubuntu.org
Install Chromium.

On Botnet 10/Botnet 11, you could use Brave but idk how much it glows. It has some kind of crypto currency integrated into it, and the idea is pretty suspicious to me (which is the reason why I haven't used it ever).
Replies: >>8575
>have Fujitsu Lifebook T904
>touchscreen is completely fucky with touch and pen input
>sometimes tapping on buttons with pen doesn't work but tapping on them with finger works, and vice versa
>i am apparently the only person in the world running linux on this thing
>device is a Wacom ISDv4 1002, it is detected and driver appears to be loaded
>still getting completely erratic behavior
now what
>>8563
Oh that reminds me I should look up how to make mp4s work in opera today rather than just getting drunk and bored to the BIG GAME.  Imagine actually clicking on one instead of being to lazy to youtube-dl it.  I'm going  to be so in the know about all the coolest and latest hip memes :D
>>8558
Lol. That was exactly my thought. 
Would it be equally slow as the raspi? 
The laptop only has USB 2.0.
Replies: >>8582 >>8606
>>8581
USB 2.0 should not be the biggest problem. Power supply is probably the reason why it fails on raspi, also the two wifi adapters are too close together.
I suspect the phone works by rapidly switching between being an ap and a client, which makes it very slow.
>>8543
There are lots of small styluses delivered with phones & tablets. Find one of those maybe. I suppose you could consider actually purchasing a replacement stylus for a real drawing tablet too? Good luck with you PDA goals Anon.
>>8581
I think last time I bought one of those USB wifi things it was only like $8 or something from amazon.  At any rate, cheap enough to try it and see if it works.  Little bastard had better range than the built in wifi in my laptop.  And you can always use a  USB hub if you only have one port to work with.

USB 2.0 itself is good for hundreds of Mbits (I'm usimg a round number there to account for overhead and possibly having other things on the same bus).  I want to say I pretty reliably got about 33MB/s talking to external hard drives over USB 2.0, but it was something up there, and roughly in line with the expectation of being able to get at leats 3x the bandwith of 100baseT ethernet provided there wasn't too much competition on the bus.

I set up a laptop with a USB wifi thing once to transfer files with another laptop's internal wifi whithout having to kick the main laptop's internal wifi off the internet (the available free wifi didn't allow two local devices to talk to each other).  It worked well enough that I didn't have time to get around to figuring out ihow to get the main laptop to act like a router so that the secondary one could use the primary's connection to the internet.  Distance of I guess a few to several feet.
Replies: >>8609 >>8681
>>8606
I guess the usb controller in the raspi is just shit.
Is it a bad idea to Dockerize just about everyting on my VPS? Nginx, Gitlab, Matrix, etc.?
Replies: >>8619
descomp4.png
[Hide] (212.6KB, 541x556)
>>8555
Alright, I got this running again but the end result are not what I wanted it to be. Right now I can do only do 1 return value for each function call in a loop from table. But what if I want to have 2 return values for each function call from table in a loop? Currently the running code can only access 1 function only to get 2 return values.

possible language: csharp, relevance: 20
#!/usr/bin/lua

trig = 1
duh = 1
a = 0
b = 0
c = 8

function say1()
	a = a + 8 + ((3 * 7 * c) / 3) - 8
	b = b + 5 + ((5 * 2 * c) / 5) - 12
	return a, b
end

function say2()
	a = a + 6 + ((8 * 4 * c) / 3) - 16
	b = b + 7 + ((2 * 9 * c) / 5) - 12
	return a, b
end

function say3()
	a = a + 3 + ((9 * 3 * c) / 3) - 17
	b = b + 1 + ((2 * 5 * c) / 5) - 11
	return a, b
end

function say4()
	a = a + 4 + ((8 * 8 * c) / 3) - 7
	b = b + 2 + ((9 * 9 * c) / 5) - 8
	return a, b
end

output = {}

local lookfor = {
	[1] = function()
		for i = 1, 4 do
		   if duh == 1 then
			output[1], output[2] = say1()
			print (output[1], output[2])
		   else
			print "NO!"
		   end
		end
	end,

	[2] = function()
		print "nothing"
	end
}

local lf = lookfor[trig]
if (lf) then lf() end

output:
56.0    9.0
112.0   18.0
168.0   27.0
224.0   36.0

I tried to do something like below but it didn't work. It shitted out the output into a 5th line which it miss tooked the b return value and place it under first row. The second row which belongs to b return value were all nil.

possible language: bash, relevance: 10
functable = {say1(), say2(), say3(), say4()}
output = {}


local lookfor = {
	[1] = function()
		for i = 1, #functable do
		   if duh == 1 then
			output[1], output[2] = functable[i]
			print (output[1], output[2])
		   else
			print "NO!"
		   end
		end
	end,

	[2] = function()
		print "nothing"
	end
}

output:
56.0    nil
131.33333333333 nil
189.33333333333 nil
357.0   nil
162.4   nil

What do?
>output = {say1, say2, say3, say4}
I don't understand what you could do from just that.
Replies: >>8620
Is this panel (
https://www.panelook.com/LTD121EQ3B_TOSHIBA_12.1_LCM_overview_11026.html ) falsely classified as 1280x720? Thinkwiki website (https://www.thinkwiki.org/wiki/TFT_display) says that panel was used in 1440*900 res x201s and x200s.
Replies: >>8619
>>8618
Panellook is wrong, or there are sub-versions of it.
>>8612
Depends on your reasons. It is easier to migrate and upgrade, but you also lose some control on the environment.
>>8617
() CALLS a function, say1() is a function call say1 without the () gives you the function pointer, youre storing results of a call not function pointers
you have to put function pointers in the table ( that means no fucking () ) and call the function from the table ( that means functable[i]() )
Do anyone know a disqus-like alternate that a) you can self-host, b) can comment anonymously, and c) works without javashit (I don't care if fancy features require javashit, but basic commenting should work)? I've found countless self hosted alternatives, but they all require javashit, even to just display the existing comments, for no good reason other than the developers being retarded. We had full fledged forum systems in the late 90s that worked perfectly well without any javascript, you just have to put it into an iframe and somehow handle auto-creating a new thread when commenting on a specific page for the first time, you don't need to run zillion megabytes of javashit on the client for that.
Bros what happened to nanochan? Did it really die for good or did it change URL or something? It was having lots of issues before it disappeared so I guess it died, but maybe not.
Replies: >>8652
>>8645
+1 ma bruddah
9pozz.jpg
[Hide] (85KB, 1280x1024)
Is this some sort of weird joke or are they serious about it?
Replies: >>8672 >>8732 >>8735
>>8670
They used to do that sort of stuff as a joke in the past but you never know nowadays.
Is there any usable pastebin where you can keep pastes forever and edit them later? Ghostbin is dead, pastebin.com is fucking SJWs on steroids, all other pastebins I found doesn't allow editing or expire pastes after a few weeks.
Replies: >>8677
>>8676
git repo hosts
Replies: >>8678
>>8677
I thought that post was the groundwork for ((( $soft docs ))) shilling.
Replies: >>8698
DSC_0297.JPG
[Hide] (3.9MB, 4000x3000)
>>8606
>>8544
Just installed openwrt on the FritzBox 7360.
It's only got singleband. Do you think I could use a usb dongle to create this desired "wifi - hotspot" configuration?
The wiki mentions something about this, tough it only goes into more detail about 4G dongles
Replies: >>8682 >>8698
>>8537
>>8681
Original post
>>8678
Just use public gitea or gitlab instances.
>>8681
Yes. Try it out and report back.
Replies: >>8768
>trackpad on laptop keeps fucking up
>after about 10 minutes of laptop running it will behave erratically and jump all over the place when trying to move/click on something
>restarting trackpad driver doesn't fix it
>replaced trackpad and cable from new stock, still doesn't fix it
>only fix is to put device to sleep then wake it up again
I haven't tested if it's a Linux-specific issue and if it happens in Windows as well, is there any other explanation for this?
Replies: >>8702
>>8699
Broken trackpad. evtest the device to find out what it is reading
Replies: >>8703
>>8702
I bought a brand new trackpad and is still has issues, I highly doubt I have two broken trackpads with the exact same issue.
tawawa_door_stuck.webm
[Hide] (657KB, 1286x1800, 00:26)
ClipboardImage.png
[Hide] (14.5KB, 1177x94)
Can't seem to make audio webm's that will play in browser with any codec besides vp8 any idea why? 
Using this command from webm guide with added -qmax 20 so it wouldn't look like shit, I used to make them with vp9 and h264 but now I can't for some reason, and my old files can be played but new ones don't want to.
ffmpeg 4.3.5
firefox-esr 102.8
Replies: >>8709 >>8711 >>8712
>>8706
I've had problems in the past with mememoon not playing audio unless I specified -af aresample=48000 (which is actually a bit weird, since opus doesn't support any sample rate besides 48kHz). If that's not the problem, then I have no idea what is.
Replies: >>8711
>>8706
This >>8709 and also try -c:a libvorbis instead of libopus.
>>8706
Try adding -colorspace bt709 -pix_fmt yuv420p
Replies: >>8792
>>8722
Wanted to post here, but for some reason I posted in the off topic thread instead.

What's a good gaman controller that's not something that already exists for controllers? 

Like. I'm talking good for precision platformers, and such.
Replies: >>8725 >>8726
>>8724
How does that make a difference? If the controller and driver are good, then it should work.
Also, spacing.
Replies: >>8733
>>8724
Dunno, in the end I ended up with a DS4 controller, since cheap chink controllers are so horribly made that if you move the analog stick just one nanometer it already saturates the output.
Replies: >>8730 >>8733
>>8726
>Dunno, in the end I ended up with a DS4 controller, since cheap chink controllers are so horribly made that if you move the analog stick just one nanometer it already saturates the output.
Just watch out you didn't end up with a counterfeit one. The analog on those is shit.
Replies: >>8731
>>8730
I lumped the counterfeit ones into the cheap chink shit category (I actually got mine for free after an ebay dispute, so it was really cheap, but still crap even for that money).
9fc44f8f51254c6c95aa109028c9f088.jpg
[Hide] (53.2KB, 720x720)
>>8670
>me = dumb zoomzoom
>never heard of 9Front
Replies: >>8735
>>8725
I've got a logitech f310 currently, It's got bad stick deadzones (not as dogshit as my xbone corded controller), and the the dpad has a tendency to ghost the up-direction when I'm not trying to press it.

I could say, what I'm looking for is a balance of support (works out of the box with generic linux/steam drivers), supply (won't be completely gone or marked up to bullshit levels by scalpers), and price (less expensive is better).

If I can only pick two, I will take support and supply, if it's a good product. 

>>8726
Tried that, I don't like the playstation family controllers require extraneous drivers to be downloaded most of the time.
Replies: >>8736
>>8670
>>8732
>never heard of 9Front
Plan 9 was developed by Bell Labs as successor to UNIX (its developers include Rob Pike and Ken Thompson). Plan9 is UNIX on steroids. Plan9 was also developed for distributed computing and namespaces.  9Front is a Plan9 fork.

Some pointers:
https://man.9front.org/1/intro
https://fqa.9front.org
https://wiki.9front.org
http://9p.cat-v.org
http://acme.cat-v.org and https://www.youtube.com/watch?v=dP1xVpMPn8M
https://www.youtube.com/watch?v=Dt3Dr3jUPjo (video about Rio)
https://doc.cat-v.org/plan_9/4th_edition/papers/ and https://9p.io/wiki/plan9/papers/

Plan9 tools for Linux: https://tools.suckless.org/9base/ or https://9fans.github.io/plan9port/ 
Rio clone for Wayland: https://git.sr.ht/~sircmpwn/wio (dead) and https://gitlab.com/Rubo/wio (semi-active fork)
Replies: >>8746 >>8748
>>8733
>I don't like the playstation family controllers require extraneous drivers to be downloaded most of the time.
Just make sure you have CONFIG_HID_SONY enabled in your kernel config and it should work. It works fine over bluetooth too if you don't mind the extra lag (as long as it's DS4, DS3 uses some weird proprietary shit), provided you have a genuine one (chink knock-offs usually fuck up the firmware and ship completely broken garbage, that somehow miraculously still manages to work with soyn's equally broken host implementation, but with nothing else.)
AAH what the fuck pacman
Fehler: Konnte Datei 'plasma-meta-5.27-2-any.pkg.tar.zst' nicht von mirror.freedif.org übertragen : Maximum file size exceeded
Fehler: Konnte Datei 'plasma-meta-5.27-2-any.pkg.tar.zst' nicht von mirrors.cloud.tencent.com übertragen : Maximum file size exceeded
Fehler: Konnte Datei 'plasma-meta-5.27-2-any.pkg.tar.zst' nicht von mirrors.42tm.tech übertragen : Connection timeout after 10000 ms
Fehler: Konnte Datei 'plasma-meta-5.27-2-any.pkg.tar.zst' nicht von mirror.aarnet.edu.au übertragen : Maximum file size exceeded
Warnung: Konnte einige Dateien nicht übertragen
Fehler: Der Vorgang konnte nicht durchgeführt werden (Fehler in der Bibliothek für Downloads)
Bildschirmfoto_2023-02-23_08-32-21.png
[Hide] (95.3KB, 803x433)
It fails at the last bit. Is this a mirror problem?
>>8735
>unix on steroids
So what is the difference to BSD?
Why does it seem so totally obscure compared to the BSD forks which are widely used professional server environments?
Replies: >>8759
ClipboardImage.png
[Hide] (150KB, 828x455)
gay
>>8735
possible language: csharp, relevance: 36
Plan 9 presents a consistent and easy to use interface. Once you’ve settled in, there are very few surprises here. After I switched to Linux from Windows 3.1, I noticed all manner of inconsistent behavior in Windows 3.1 that Linux did not have. Switching to Plan 9 from Linux highlighted just as much in Linux.

One reason Plan 9 can do this is that the Plan 9 group has had the luxury of having an entire system, so problems can be fixed and features added where they belong, rather than where they can be. For example, there is no tty driver in the kernel. The window system handles the nuances of terminal input.

If Plan 9 was just a really clean Unix clone, it might be worth using, or it might not. The neat things start happening with user-level file servers and per-process namespace. In Unix, /dev/tty refers to the current window’s output device, and means different things to different processes. This is a special hack enabled by the kernel for a single file. Plan 9 provides full-blown per-process namespaces. In Plan 9 /dev/cons also refers to the current window’s output device, and means different things to different processes, but the window system (or telnet daemon, or ssh daemon, or whatever) arranges this, and does the same for /dev/mouse, /dev/text (the contents of the current window), etc.

Since pieces of file tree can be provided by user-level servers, the kernel need not know about things like DOS’s FAT file system or GNU/Linux’s EXT2 file system or NFS, etc. Instead, user-level servers provide this functionality when desired. In Plan 9, even FTP is provided as a file server: you run ftpfs and the files on the server appear in /n/ftp.

We need not stop at physical file systems, though. Other file servers synthesize files that represent other resources. For example, upas/fs presents your mail box as a file tree at /mail/fs/mbox. This models the recursive structure of MIME messages especially well.

As another example, cdfs presents an audio or data CD as a file system, one file per track. If it’s a writable CD, copying new files into the /mnt/cd/wa or /mnt/cd/wd directories does create new audio or data tracks. Want to fixate the CD as audio or data? Remove one of the directories.

Plan 9 fits well with a networked environment, files and directory trees can be imported from other machines, and all resources are files or directory trees, it’s easy to share resources. Want to use a different machine’s sound card? Import its /dev/audio. Want to debug processes that run on another machine? Import its /proc. Want to use a network interface on another machine? Import its /net. And so on.
guess that partially answers my question.
>>8746
>what is the difference to BSD?
It doesn't follow POSIX standards; it's not even properly a *nix system, though it's inspired by UNIX and the UNIX philosophy.
Bildschirmfoto_2023-02-25_16-39-07.png
[Hide] (14.9KB, 739x139)
>>8698
Yep, it works. It's just pretty slow. I suppose the dongle is the cause of that, since connecting via LAN, I get 20Mbits down. 
But this not that big of an issue since I'll be hooking up my main PC directly via LAN anyways.
Initially openwrt also didn't want to recognize the dongle since it requires nonfree drivers. (I had the same issue on debian with this dongle - it's a Ralink one)
This is what got it to work:
opkg install kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb
reboot
ifconfig wlan1 up
All in all it was all surprisingly simple to set up and most of it could be done over the GUI. Sad that I threw out 15 bugs for that chinkshit router before though.
Replies: >>8770 >>8771
ClipboardImage.png
[Hide] (2.3MB, 1793x1200)
>>8768
The dongle is from the mid 2000s. Maybe it just doesn't work well as access point. In client mode it works perfectly fine
Replies: >>8783
Bildschirmfoto_2023-02-25_16-59-12.png
[Hide] (13.5KB, 657x145)
>>8768
relocated it a lil bit. Speeds improved
__thumb_1.gif
[Hide] (343.1KB, 145x256)
__thumb_2.gif
[Hide] (105.5KB, 145x256)
__thumb_3.jpg
[Hide] (7.3KB, 145x256)
Do you think videos in imageboards should have animated thumbnails? What should video thumbnails look like?

I originally thought the answer was "obviously yes" but now I'm not sure. The problem is that when the thumbnail is animated, it looks like a gif animation, and watching the actual video feels less necessary, even if most of the appeal is in the audio. The obvious upside is that you get a better indication about what the video is.

Pics related are some examples.
#1 quickly fast forwards through the content, #2 is a slideshow of only a couple screens through the video, and #3 is not animated similar to what zzzchan has.
Replies: >>8780 >>8782
1621109449859.webm
[Hide] (3.9MB, 226x400, 01:04)
Here's the video for reference.
>>8778
I don't like animated thumbnails but that thing porn sites do where it shows frames of the video when you mouse over it is kind of neat. Probably not worth the javascript though.
Replies: >>8781
>>8780
>shows frames of the video when you mouse over it
You can do that with just CSS, that's a good alternative.
>>8778
NO, it's distracting
ClipboardImage.png
[Hide] (13.2KB, 539x134)
ClipboardImage.png
[Hide] (42.9KB, 1209x261)
>>8770
Ok, so apparently my FritzBox can do both simultaniously: create an AP while working as client, even though it only has one radio.
That mitigates the need for a shitty dongle
>>8544
>normalfags don't need this feature and retard chinks are too retarded to implement this on their own
It's incredible how basic most proprietary router firmwares are. I'd say a router that can't install openwrt is useless garbage.
wide_thumbsup.jpeg
[Hide] (81.8KB, 640x480)
>>8712
Yeah this was the reason, thanks bro.
What's a rust and why does it suck?
>>8801
It makes iron brittle and much less useful.lurk moar
>>8801
>rust
It's a safer programming language than C or C++ but it's (probably) as complicated as modern C++ (it has nice docs, though. There is a free book, too!).
>https://doc.rust-lang.org/book/ (official book)
>https://nnethercote.github.io/perf-book/
Rust has better compiler errors than C or C++. But Rust also allows unsafe code that kind of voids it's promises of safety if you use unsafe code (I guess it's slightly better to have the unsafe code marked but still..).  It's also highly questionable that a language that's focused on safety is recommending to install the toolchain by piping curl to sh (which is potentially dangerous).

The reason why a lot of people hate Rust is that Rustaceans pretend that Ada doesn't exist (or that all other languages are unsafe like C), and that they will push the "Let's rewrite it in Rust!" (or "Why don't you use Rust instead?")  meme. There is very little original software written in Rust (most often you hear about ripgrep or alacritty but they are not exactly original ideas). Rust also encourages you to just install a package (crate) for everything, which is bad after a certain point (because then your program will pull in over 9000 other packages). There is also the problem that Rust is (or at least used to be) constantly evolving and changing. 
Also, Gentoo users probably do not want to compile Rust just because of Firefox but thankfully there is also a binary package (rust-bin).
Replies: >>8808 >>8814
>>8803
>Rust also allows unsafe code that kind of voids it's promises of safety
You can disable unsafe code when compiling and if you do that your code is supposed to be safe... but of course, it will be severely limited, like running a fucking java applet.
To be honest, safe everywhere except the few places where unsafe code is needed because of performance reasons/limitations of the language's type system/etc. is way better than the unsafe everywhere C/C++. If there's a memory corruption bug, you only need to look at the few unsafe blocks instead of everywhere, for example.
>Gentoo users probably do not want to compile Rust just because of Firefox
I'd be eternally grateful if only Firefox would require that shit, as I don't use that. No, librsvg needs it, python's cryptography needs it (which caused a ruckus for gentoo because there are some architectures that gentoo supports but rust no, so they had to remove that dependecy from portage so the fucking unicorn hipster woketards don't break the world), ruby 3.2's jit needs it, curl can use it (fortunately optional for now) for http3 bullshit, it's already in the fucking linux kernel, that fucking shit is everywhere with it's fucking snowflake llvm toolchain and zero other independent implementation.
Replies: >>8809 >>8814
>>8808
>fucking unicorn hipster woketards
Why does it seem to attract that type or is this just a fucking meme?
Replies: >>8813 >>8817
>>8809
Because that's the current trendy thing and these guys have an average attention timespan of 3 seconds? Or is it because normal coders are busy creating something actually useful instead of rewriting everything in the new meme language of the week decade?
>>8803
>>8808
>safety
It has been discussed forever. Safety is overrated because it is a programmer mistake. Colleges stopped drilling how to properly write software into new programmers. Most memory safety issues come from careless programming without full understanding of what every line is doing. They will also make other mistakes and that's why there are so many more bugs. Relying on safe languages doesn't fix the real problem.
Replies: >>8815
>>8814
Show me a person who never made any mistake in his life.
Yes, nothing is foolproof, and depending on these safety features too much is a mistake, but I'd rather have the compiler catch as many problems as possible than have a random crash (or worse, a security hole). Sometimes they find bugs in widely used software, like Linux kernel, that has been there for 10 years and nobody noticed it. People made bugs when you had to hand in the software in punched cards and wait a week for the result, even though at that time they double and triple checked everything because every mistake was so painful. Nobody is perfect (except God, if you believe in that),
>without full understanding of what every line is doing
That becomes infeasible as soon as you have more than 1 person working on a piece of software. Or even if that one person stops working on a said piece of code for more than a half year.
>They will also make other mistakes
And does that mean we shouldn't even try? Yes, diversity hires won't write correct code no matter what you do, but that's besides the point. Safety features are useful for real programmers too. They'll also precisely know when it is the time to override them.
>Relying on safe languages doesn't fix the real problem
Nothing fixes the real problem, since no-one is infallible. Even Knuth wrote, "Beware of bugs in the above code; I have only proved it correct, not tried it."
Replies: >>8816
>>8815
>never made any mistake
Safety has always been important. I don't believe anything is perfect. The point is safety is overrated.
>infeasible as soon as you have more than 1 person working on a piece of software
Of course, but the person writing it should know at least about lines he is putting in.
>Nothing fixes the real problem
Experience and wisdom does. Programming is a trade. Learning about low level and putting hours to polish the skills allow one to work relatively safely. The current mindset about safety is avoid them instead of understanding them. The real fix is to understand and respect safety issues.
>>8809
Its not a meme unfortunately. The central Rust community/administration (https://www.rust-lang.org/governance) is infested with trannies and other weirdos like Klabnik, not to mention big companies like Amazon and Microsoft (https://nitter.net/steveklabnik/status/1437441118745071617). People on 4/g/ have beat this horse to to the point of meme status, but its a real problem that's probably going to persist forever. The ecosystem surrounding a particular language is just as important, if not more, than the language itself. C (Specifically, the standard ISO/IEC 9899) is a powerful language on its own, but what it barely anything was written in it? What if the ICC was the only compiler that existed? What if the only educational resources that existed were videos made by Indians on Youtube who could barely speak english?
I don't like trannies. Most people don't. They're disgusting freaks that cry and bully others who don't align perfectly with them. Same goes for their supporters, of which there are many. Refusing to interact with them cuts out a huge part of the Rust ecosystem. Lots of Rust users shit on C in order to push their own language.

There is a serious lack of language comparisons. A bit of a tangent compared to the rest of my post, but there's lots of "holes" in people's perception of the programming language space. Same as OSes. There's something wrong when a huge number of Linux distros use terms like "Efficient", "Secure", "Flexible", and "Powerful" to advertise themselves. Perhaps its something subconscious, as in they make sense after you've fucked around with 20 distros over the span of a decade, but that's lousy.
Replies: >>8819
Rust.png
[Hide] (630.4KB, 1542x2113)
AshleyWilliams.jpg
[Hide] (41.5KB, 400x400)
>>8817
Here's a good example of the retarded drama that's so pervasive throughout the Rust project. https://news.ycombinator.com/item?id=28513270
Some context:
>The "woman" Ashley Williams is the "girl"friend of Steve Klabnik
>Steve Klabnik is the author of the popular book "The Rust Programming Language" and important in the Rust community all around
>Williams was one of the Executive Directors of the main Rust community for a while
>Williams was previously a part of npm before leaving after making a failed accusation against a male contributor

Basically the Amazon drama was a retarded tug of war between a megacorp Amazon and cum guzzling Twitter leftists.
>>8801
Can't compile a source code when offline. It's like their compiler tells you to eat bug, own nothing then be happy.
rust.png
[Hide] (287KB, 1200x1200)
>>8801
The Rust programming language was designed by the NSA. Its sole purpose is to backdoor everything. Rust and the Rust compiler are designed to use absurd amounts of time and resources, and to fail compilation randomly - compiling Veloren for example, a 3d voxel game written in rust, takes over 16GB of ram and 12 hours before compilation fails in in a system with 2 cores- this will de-incentivize compilation from source (specially on systems that are completely free, i.e: Libre/CoreBoot & no IME or AMD PSP), leading people to opt for simply downloading pre-compiled binaries - who will compile these binaries? of course ((they)) - that will be compromised. Even if you were to compile all your rust software from source, compiling the compiler itself is a paramount task, so anyone without modern backdoored hardware will be forced to download pre-compiled, which will of course, be compromised and compromise anything it compiles (for proof, just look at a simple helloworld in rust, it is 2.6MB and makes a web request every time its run). Rust is not about trannyes, Rust is the NSA's response to the community rejecting Systemd, they wont conform with backdooring your init anymore, now they will backdoor every piece of software in your system, starting with the kernel.
Replies: >>8831
nigger_cattle_utopia.webm
(927.3KB)
>>8830
I noticed that for a very long time there was no rust toolchain on 32-bit ARM for OpenBSD or NetBSD. So that also means there were only very old versions of Firefox.
Funny thing about 32-bit ARM is most SBCs have at most 2 GB RAM, and I think that wasn't enough memory to build the rust toolchain (read that on a mailing list). Talk about bloatage...
Also OpenBSD has a policy of making builds on the target platform only. It's quite possible they still don't have a rust compiler for 32-bit ARM. And that game you speak of of course would never get packaged. xD
GIF-230301_095809.gif
[Hide] (238.8KB, 140x96)
Where can i get aton of coding knowledge of various video game genres, and simulations? From AI to gameplay to control to graphics. Mostly gameplays and controls...and AI. We can put aside graphics.

I work with any language but i guess html is the easiest for me.
Replies: >>8837
>>8835
https://github.com/miloyip/game-programmer
HTML is not a programming language.
Replies: >>8838
>>8837
By definition its not but I wouldn't be surprised if it was Turing Complete in some insane way like MOV instruction only programs.
Is there any GUI Git instance that can be deployed to a VPS with 1GB of RAM? Gitlab needs 4GB minimum and I'd rather not use someone else's site for my projects or use nothing but a CLI.
Replies: >>8846
>>8845
gogs, gitea, maybe sourcehut if you want a full-featured UI.
gitweb, cgit, stagit if for UI you only want a public read-only HTTP frontend, while you use ssh for everything else. (Stagit is a bit special as it generates you a bunch of html files in advance, all you need on the server side is a basic HTTP server to host the static files, but of course the feature set is pretty limited)
Right now I'm using gitea, it takes 125M on my 1GB VPS, but it's getting more bloated with every update, depends more on javashit with every update, so in the long run I might migrate to something else. Sourcehut is designed to be infinitely scalable and modular, so you have to install and configure 1485 different packages just to have a simple git host, and still lacks some useful features, like git mirrors.
Replies: >>8848 >>8849
>>8846
Couldn't you stick to an older version of Gitea with minimal JS? Also maybe contribute to the project so it stays lightweight and/or offers a lightweight version.
Replies: >>8856
>>8846
What about stacking together
>gitolite
>cgit
>git-issue/git-bug?
Replies: >>8856
f2f5780a6e182574bc7fcaca3d12dd61c9291442f39b3f3126064c3021e6252c.jpg
[Hide] (111.3KB, 1280x720)
Hello /tech/. It's nice to see you all again. I have a question regarding how to close a program in C++ with user input. More specifically, how would I get a user to close a program by pressing a key on the keyboard? Would I use an else if statement? I apologize if I'm asking some very elementary questions. I'm still quite new to C++.
Replies: >>8854
>>8852
You seems to be new to programming in general. Forget about user input, try writing hello world first, then write a program that accept user input.
Replies: >>8857
Does anyone here have experience with running IPFS on a VPS? If so, how was its resource usage?
>>8848
The problem is that they fix like 2 security issues with each new release, and if it's a public instance, it's not a good idea running old vulnerable versions. And no, I'm not going to fix that go spaghetti.
I also had a talk with the west-Taiwanese retard mostly responsible for the UI parts of the gitea, he doesn't care about non-JS users too much. But what do you expect from a project with a dicksword link on their project's front page?
>>8849
Dunno, try it. The advantage of gogs/gitea is that it's a single app that you have to set up, not 3, and everything can be done from the webui without having to give ssh access to users.
Gitolite is only really useful if you have contributors, though, if it's your private server noone else should push to, then just put the repo in your home directory and direct cgit at it, you'll be able to push through standard ssh with your user and pass/privkey.
>>8854
I've already done that. I just don't know how to code an exit command. I can show you the exact program I am working for reference. It's a college related program.
Replies: >>8858
>>8857
How does your hello world program terminate? Also show the exact program.
Replies: >>8860
>>8858
while(1) { fork(); }
possible language: c++, relevance: 125
#include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
#include <iomanip>
#include <cmath>
#include <random>
using namespace std;
int main()
{
// The purpose of this program is to help the user find the area of a shape.
//The user is given 5 options. rectangle, circle, triangle, and trapezoid. The 5th and final option is to quit the program.
double recLenght, recWidth; //these variables are for collecting the user's input on the rectangle.
double circleRad; // this is for asking the user to enter the circle's radius.
const double PIE = 3.14159; // I have put this as a constant because pi is a mathematical constant that does not change. it is used in the circle equation.
double triBase, triHeight; // much like the rectangle, this for collecting user data on the height and width of a triangle.
double trapheight, trapbase1, trapbase2; // the trapzoid is a unique shape and isn't like the other formulas shown here. I will allude to this more below.
double choice; // a simple choice. This for collecting a user's input with 1-5. the program will then do one of the following if/elseifs below based on the input.

cout << "please make a selection" << endl;
//the "menu" of the program.
cout << "1. Area of a Rectangle" << endl << "2. Area of a Circle" << endl << "3. Area of a Triangle" << endl << "4. Area of a Trapezoid" << endl << "5. Quit" << endl;
//collecting the user's input.
cin >> choice;
// the rectangle if statement.
if (choice == 1)
{
cout << "please enter your rectangle's length" << endl;
cin >> recLenght;

cout << "please enter your rectangle's width" << endl;
cin >> recWidth;
//the formula for the area of a rectangle is lenght * width.
cout << "your rectangle's area is " << recLenght * recWidth << endl;
}
// the circle elseif statement.
else if (choice == 2)
{
cout << "please enter your circle's radius." << endl;
cin >> circleRad;
// the circle's area is the circle radius squared which is just basically (circle radius * circle radius) * 3.14159.
cout << "your circle's area is " << (circleRad * circleRad) * PIE;
}
//the triangle else if statement
else if (choice == 3)
{
cout << "please enter your triangle's height." << endl;
cin >> triHeight;

cout << "please enter your triangle's base." << endl;
cin >> triBase;
// this formula is nearly identical to the rectangle area, this formula is triangle height * triangle base.
cout << "your triangle's area is " << triHeight * triBase;
}
//the trapzoid else if statement.
else if (choice == 4)
{
cout << "please enter your trapezoid's base 1" << endl;
cin >> trapbase1;

cout << "please enter your trapezoid's base 2" << endl;
cin >> trapbase2;

cout << "please enter your trapezoid's height" << endl;
cin >> trapheight;

//this formula is probably the most complicated next to the cirlce's formula. it is 0.50 * (trapezoid base 1 * trapezoid base 2) * trapezoid height.
//note that in this case the 1 and 2 next to the trapbase variables refer to the number of bases. it is not an exponent.
cout << "your trapezoid's area is " << 0.50 * (trapbase1 * trapbase2) * trapheight;
}
//the quit else if statement.
else if (choice == 5)
{
//i haven't been able to get this working yet.
exit(1);
}



} 
There is my code for the program that I cannot get the quit feature working. I also need to code the input validation but one thing at a time. 


possible language: c++, relevance: 26
#include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
#include <iomanip>
#include <cmath>
#include <random>
using namespace std;
int main()
{
cout << "hello world!";

}
Here is the hello world program with no user input. while It is probably unnecessary to add all the libraries at the beginning, I do it out of habit. 
possible language: c++, relevance: 30
#include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
#include <iomanip>
#include <cmath>
#include <random>
using namespace std;
int main()
{
int input;
cout << "press the 1 on your keyboard to see a message."<< endl;
cin >> input;
if (input == 1)

cout << "hello world!";
else
cout << "wrong key. please reset the program and try again.";

}
Here is the user input program for hello world. I think I might have over complicated it.
Replies: >>8865
1673965888026.png
[Hide] (944.3KB, 1109x1037)
Can websites still fingerprint you if you use a very minimal browser like Dillo or one of the terminal browsers?
Replies: >>8863
>>8862
Yes, since you'll be the single user with such a weird browser.
>>8861
Got it, now answer this: what happens at the end of main() in your helloworld? This should answer your question.
hint: it starts with the letter 'r'
Replies: >>8866
>>8865
would the answer be 
 return 0; ?
Replies: >>8867
>>8866
Yes
qt.jpeg
[Hide] (90.4KB, 640x498)
So I live in these circumstances where I get electricity for free while for the rest of the country the prices are far beyond affordable. 
What are some ways I could exploit this to make some extra income? 
Is Btcoin still a viable option? I am completely ignorant in that regard.
>>8868
I want to make the electricity work for me
>>8868
The first option that comes to mind is, in fact, crypto mining. I'm not sure how viable it is nowadays, but since you don't pay for electricity, it doesn't seem like a bad option.
By the way, is the woman in the picture really female (I'm a little paranoid about this).
Replies: >>8877 >>8900
>>8874
That picture is at least 20 years old now, not everyone was a tranny back then.
Replies: >>8901
>>8868
mine a new shitcoin that has big returns and hope some jewtuber shills it enough to make it go big
Replies: >>8900
postbox.png
[Hide] (222.6KB, 2431x1262)
Which looks better?
The only difference is the post backgrounds.
Replies: >>8882
>>8881
left
b5889bb65b3c724e174993ef785629a3e6cdafde9a350a8c0195d72790d17d6d.png
[Hide] (84.8KB, 312x332)
Because burgers hate freedom every carrier in the country has now made VoLTE mandatory, and making/receiving calls/texts on 3G is now completely unreliable, if not impossible. Since LineageOS is developed by third-worlders that still have 3G none of them care about VoLTE support on their chinkphones. My current phone has Lineage but no VoLTE support with my carrier since it relies on proprietary firmware on the phone that LOS can't implement. I am not receiving important calls/texts until hours after they were sent. I ordered a new phone last year through a crowdfunding campaign, but they delayed shipping dozens of times and have now run out of money and are refusing refunds, so I am currently arguing with my bank to get my money back over that. Because of work I am required to have a couple of proprietary 2FA apps on my device as well.
I am therefore trying to explore all possible options. These are what I have so far:
>Option 1: Keep current phone, flash with a modified stock firmware someone on XDA has made that still supports VoLTE but is also deJewgled
>Cheapest option
>Could probably keep the phone going for a while
<Stock firmware still has tons of proprietary bloat, most of it can't be removed from the system without breaking it
<Flashing it is a very tedious task that can take a full day, probably more since things can and will go wrong
<Stock image is very outdated (5+ years, Android 8) and has no security updates since the ones last published by the manufacturer several years ago, apps will likely not work well either

>Option 2: Get a cheap flipphone and use that for important calls/texts, keep current phone for everything else
>Second-cheapest option
>Phone can stay connected to burger network and get calls/texts reliably
<It's a flipphone, you can't do much else on it besides calls
<Sending texts will be miserable
<Garbage quality camera and speakers
<Can't use smartphone for anything else without a WiFi connection, I could tether it to the flipphone when I'm out of the house but I don't want to carry two phones everywhere
<Going to be traveling a lot soon and need something I can use GPS/Osmand maps with

>Option 3: Convince family/friends to contact me exclusively over something like Matrix or other libre apps instead of calls/texts
>Also the cheapest option
<Will have to set up others with accounts on various social networks and show them how to use it
<There will obviously be resistance to this because they don't believe in Freedom™
<Apps are buggy and unintuititve, they're free because no sane person would pay for them
<Will still need to send/receive calls/texts on occasion, which will not come in reliably as mentioned above

>Option 4: Find the elusive smartphone that supports both Lineage and functional VoLTE in the USA
>Might be functional
<Reports of whether or not it will actually work are vague and unclear, may end up buying a phone that other guy said would work but doesn't work at all
<Will most likely spend days hopelessly flashing/configuring/rooting trying to get it to work in vain

>Option 5: Get a libre smartphone like Pinephone
>Free As In Freedom™
<Overpriced, bottom-of-the-barrel hardware that you're paying a premium for
<If it's Android it will shame you into putting proprietary apps on it, which I need for work and other things since I have a social life
<If it's not Android then no apps will work on it besides theirs

>Option 6: Accept defeat and get a goyPhone/Android without Lineage
>Everything Just Works™
<Proprietary spy/bloat/niggerware out the ass, glowies will know when you fart
<Most likely can't even root the device without jumping through a gorillion hoops

This is about all I can think of. Every option I go over in my head comes back to some sort of technical conflict (can't have free software on a phone because no calls/texts) or moral one (can't have free apps alongside a proprietary phone and vice versa, don't want glowies to spy on me or let Jewgle harvest my data). But the more I think about the last part the more hopeless it seems, as if they really have created a system where you can't function in society and not have a pozphone, so why even bother? I'm leaning towards option 6 because of this but I'd love some other advice.
>>8891
and I just bought a new phone, apparently OnePlus has confirmed working support with my carrier in burgerland on LOS. And it comes with that spicy testicle-cooking 5G too. I'm never buying another phone again.
Replies: >>8894 >>8897
>>8891
Option 3.
>the more hopeless it seems
>why even bother
You are misunderstanding the situation. The question you need to ask is: why do you persist in this society or continue to live?
The ((( botnet ))) is now wide and deep enough to thwart anyone using free software as a hobby and in an extension, maintaining freedom itself. In other words, you need to make a choice.
Do you remain ignorant; continue to be "free" watching your freedom taken from you by a thousand cuts; or accept the above fact AND do something, whatever it takes, about it?
don't you fucking give up you fucking nigger, I hope you make the right choice
Replies: >>8894 >>8897
f97f15f083526244a01936ba52650df2d051dabbb8f5b89fb2189aed5245a9a7.jpg
[Hide] (73.5KB, 612x612)
>>8893
see >>8892
i have more important things i want to do in my life than constantly worrying if i'm about to get a text from my mother sent three hours ago that she's in the hospital. society is dying, the OLD MEN in charge are dying off and the revolution will eventually come and set things back to how it should be. me deciding what phone to buy does not factor into that equation in the slightest.
>>8891
Buy the least shitty phone you can that fulfills your demands and then mentally sandbox it from everything you do. This means carrying a laptop with you for everything and using the phone only for calls and texting.
Replies: >>8898
>>8893
>>8892
If burgers were capable of making right choices, they wouldn't be the lapdogs of Israel openly.
100_corona.jpg
[Hide] (946.9KB, 2000x1500)
>>8895
That's basically what I did, when I needed a new phone, in order to use a currency conversion platform so I could move my money from overseas (before it all evaporates via inflation or currency crisis). But first I tried using my old dumbphone, and then several different computers, but none of that worked. So I bought the cheapest android the store had for 50 euros, and this was good enough to get my task done.
But the phone came with some kind of preloaded vendor app that one day woke up and downloaded a dozen or so common apps the vendor had selected. So I removed all that shit, and then I disabled the apps update crap in android. It warned me this could break apps, but I didn't care (and actually that's even better if it does). Because I don't want any apps at all, I just needed to use the camera and web browser one time. Now I just treat it as a voice/SMS phone, but I'm not much of a phone person to begin with, so it just basically sits at home, even when I go out.
>>8874
>>8878
Can someone spoonfeed me something?
How do I find the right shitcoin to mine and what hardware do I need to buy? 
I have lots of autism bux to spare.
slippery_slope_anime_traps.png
[Hide] (178.8KB, 965x584)
>>8877
>20 years
Wonder what happened to that qt linux grill
Replies: >>8902
>>8901
Where is /r9k/-style women hating on that picture?
e737e5d372198d8469e4c3cefec2f64d3f3a197858ef8bde6214f898a54e2986.png
[Hide] (12.6KB, 333x420)
>>8891
I feel you, Anon.
I fucking hate smartphones, everything about them, even if I have to admit that it's making some parts of my life very convenient. Like looking for train connections and automatically putting the whole connection into my calender.
But I notice how the whole gay swipety swipe user interface is designed to make you addicted. It's literally designed for no brain nigger cattle. 
Though you are right. It's not like it is a choice nowadays. You are now required to have this shit and are supposed to accept all the shit they are pushing onto you.

I got an Xperia 10 IV recently because it has a nice camera and that's what I use the phone most often for. But it doesn't have an XDA page yet and I haven't bothered looking into installing a GSI or what's that called on it. I'm lethargic as fuck lately and can't be bothered with it. So basically right now I have succumbed to the botnet. I guess they can still see everything, even if I haven't logged into a jewgle account.
It's scaring me, but I'm too lazy to do anything about it.
>>8891
Use whatever phone you want, get a data only plan and use an app like jabber with a paid voip line for texting and calls
DSC_0371.JPG
[Hide] (4.6MB, 4000x3000)
Just trying to install slackware with btrfs - mounted all the subvolumes before running the installer and it put everything in the right places. 
>now I get this beauty
I think there might just be the btrfs hook missing
How do I add ramdisk hooks in Slackware? 
With arch and mkinitcpio this is all very simple.
Replies: >>8925 >>8951 >>9059
>>8923
Use a search engine: https://www.linuxquestions.org/questions/slackware-14/custom-initramfs-hooks-4175658147/
Not a straight answer, but it is a start.
Replies: >>8926
>>8925
It's weird that the installer has tlbtrfs-progs installed but not the right hooks set
Replies: >>8927
>>8926
Did you read the link? There is no hook in slackware initrd script.
>>8868
>So I live in these circumstances where I get electricity for free while for the rest of the country the prices are far beyond affordable. 
So you live with your parents?
Replies: >>8989
c05a7f3889cdfd85b81d09bd5bd8a81dfd49e6cce6a8c93a1a5dcb50c963735c.png
[Hide] (785.6KB, 2880x1754)
Does anyone have recommendations/suggestions in regards to heatmapping and network surveying software? Preferably without needing to buy an accessory but if it can't be helped then so be it.
What is a good way to determine zoom levels for an image?
You can just, for example, add 25% to the zoom level with every step, then you can have 100%, 125%, 150%, 175%, 200%, etc. The problem is, 125% is 1.25 times bigger that 100%, but 425% is only 1.0625 times bigger that 400%, so at higher zoom levels it will appear you zoom less and less with each level. Also, in the other direction you can't go below 25%.
Another option is to multiply the zoom with some number, like 2x every time, so you will have 100%, 200%, 400%, etc. Unfortunately 2x seems a bit big for my taste, but if you choose something smaller, like 1.25, you'll have zoom levels 100%, 125%, 156.25%, 195.3125%, 244.140625% and other ugly values.
So what I would really need is the multiplication one, but snapping the values to some "nice" values, like 100%, 125%, 150%, 175%, 200%, 250%, 300%, 400%. etc (and probably the reciprocals in the other direction, even though they would also look ugly in decimal). Any idea how to do something like this without having to manually specify a list of allowed zoom levels?
Replies: >>8932 >>8934
>>8931
If you separate the first digit somehow you can use that as a multiplier. 
1xx -> 1x25 -> 100, 125, 150, 175, 200
2xx -> 2x25 -> 200, 250, 300
3xx -> 3x25 -> 300, 375, 450
4xx -> 4x25 -> 450, 650 or 400 ,600
and so on
Replies: >>8935
>>8931
This is something that can get extremely complicated very quickly. An image scaled x2 results in an output which has four pixels per pixel of the original image, which should scale up quite nicely. On the other hand, if you scale up an image by something weird like 1.531x then the computer will have to approximate what the output image should look like (which almost always results in the image being blurry or having repeating patterns in it if there's already a pattern present in the original image, like a grid). With this in mind you should design a computer vision algorithm that assesses the visual clarity of an image per 1% upscale steps from its original size (100%) to something large like 600%.
>100% - Original image, best quality
>101% - Shit
>102% - Shit
>103% - Decent
>Etc...
Replies: >>8935
>>8932
I'm not sure I follow.
>3xx -> 3x25 -> 300, 375, 450
This is the first line where the last number is not dividable by 100, which will cause problems here:
>4xx -> 4x25 -> 450, 650 or 400 ,600
If we start from 450, the next one should be 550, but that's 5xx, so the one after that should be 550+5x25=675, which looks pretty weird (why not 700, that 25% doesn't matter much there).
Or with that "or" option above, that would mean I have zoom levels 300, 375, 400, 500, 600, 700, 800, 1000. 375 is way out of place, then it practically increases with 100 for each step for a long time. Here it's basically my add constant number option, but more complicated.

>>8934
Of course, scaling up things will degrade quality, but how much it depends on what you scale. Scaling pixel-art with a non-integer multiply of the original image, or not using nearest interpolation results in a catastrophe, while if you have a (not too good) quality photo, you can scale it to pretty much any (not too large) size with some decent interpolation without the result looking crap.
>With this in mind you should design a computer vision algorithm that assesses the visual clarity of an image per 1% upscale steps from its original size (100%) to something large like 600%.
That could be an interesting research subject, I guess, but I don't need fancy features like that, just a way to get some scale values that are reasonable (in a generic case). Like how gimp has scale values 12.5%, 25%, 50%, 66.7%, 100%, 200%, 400%, 800% in its zoom dropdown menu.
Replies: >>8936
>>8935
That or implies you could truncate the numbers and go 300, 375, 400 like you said. It is weird, but I've seen systems that act like this and you're trading perfection for simplicity.
2b981cf622e28c73ff4789472a39b0b4.png
[Hide] (1.1MB, 2419x1516)
Not very /tech/ related, but is there a simple program for managing media (in my case manga) backlog that a bit fancier then just plain text file?
Replies: >>8938
>>8937
>a bit fancier then just plain text file
org-mode?
Only a little bit fancier, though, as you're still working with plain text files in the end.
Is Whonix good? How about Tails?
Replies: >>8968
Anyone got experience with Moto G phones? My iPhone 7 is on its last legs and I want out of the Apple ecosystem but don’t know where to start with android. I want something of at least equal horsepower to what I’ve got, and can emulate 16bit/gba games without having to be gaolbroken
Replies: >>8968
>>8923
>kernal hook order are very senstitve. Which goes first and which goes second, make sure you got the order right.
[visible_confusion].gif
[Hide] (4.2MB, 280x302)
What program would you recommend for burning an audio CD on a Windows 10 machine?  I have a Linux machine for work/dev stuff and a Windows machine for media and compatibility, and I'm trying to burn some audio CDs to play in my car.

Prior to my recent change to Win10, I just used Windows Media Player, which wasn't particular powerful but did "just work."  I've tried burning a CD with True Burner and ImgBurn, both of which have only burned half the tracks I told them to, with the tracks that did get burned being shoddy and skippy, and arranged in the wrong order.

I feel as though doing something for a media format this old and stable shouldn't be so difficult.

>just use windows media player again
I am leery of reinstalling it on my Win10 machine because I believe Microsoft has made it worse in some way and bundled the usual spyware into it.
>just transfer the files to linux and burn it on that
My Linux machine doesn't have a CD drive.  Believe me, I tried to get a tower that had one but literally nothing I could buy at a reasonable price had a spot for a CD drive.
Replies: >>8961 >>9054
>>8960
You could buy an USB CD-writer (or just an USB<->SATA cable and a plain CD writer), and write from Linux,
Or get a linux live CD, burn it to an usb drive, and boot it on the windows pc.

>format this old and stable shouldn't be so difficult
Actually, I think the problem here is that it's too old now and nobody uses it. I mean, I don't know when was the last time I held an audio CD in my hands. And audio CDs work completely differently than normal data CDs.
Replies: >>8963
>>8961
The programs I used are also quite old, though.  ImgBurn was last updated in 2013, when CDs were still kind of old but not antiques like now.
>CD drive for Linux
That might be the way to do it.  And if I want to have it as a work machine, then it would be nice to have a CD drive just in case.
Replies: >>8964
>>8963
>last updated in 2013
Then that's your problem. Botnet 10 really threw backward compatibility under the bus.
Replies: >>8965
>>8964
I guess I should be happy that Linux is now giving me better "it just works" experiences than Windows.
>>8947
>Is Whonix good? How about Tails?
Both are good. If you want a LiveCD distro, download Tails.

>>8948
>Anyone got experience with Moto G phones? 
Motorola has bad update support. The only good thing about Apple is that the update support is quite good (but there is a semi-confirmed rumor that they gimp the performance of old Apple devices with system updates after a new device is released). Instead, I recommend that you get a Google Pixel phone. It's really easy to unlock the bootloader on Nexus (RIP) and Pixel devices and you can flash a custom ROM (like GrapheneOS or LineageOS). Also, there is no bloatware on Pixel devices (Android One devices are also good in this regard). On Xiaomi and Samsung, there is bloatware pre-installed (I don't know how bad Samsung is these days, though). The problem with pre-installed bloatware apps on Android devices is that you may be unable to uninstall them (it depends on the Android ROM that the manufacturer put on it).
I wanted to stream my microphone from my Android 6 phone to my desktop PC over ssh. (So it is available there as an audio input) I already set up ssh but Android 6 doesn't seem to have arecord which is used in the guide.
What can I use?
Replies: >>8971
>>8970
https://github.com/termux/termux-app/issues/1448
Replies: >>8972
>>8971
If only it was that simple. F-Droid says Termux isn't compatible with my Android 6 device.
I was able to output the mic to the jack and feed it into my pc from there using the microphone app from f-droid and a male to male audio jack connector. I guess that's the best solution.
Is there something like a private front end (eg. Invidious, Nitter, etc) for Github?
Replies: >>8991
>>8928
No, I live in a government facility for the mentally impaired.
1139d023db3b2fb8bb8440952c30f27d1331073577_full.jpg
[Hide] (105KB, 507x600)
I have made multiple stock BIOS backup based from the one that came from the menufacturer but each of these backup files produce different sha256 checksum.Though, the file size are all the same. Do these files really count as a legit backup files? Please response.
Replies: >>9030
>>8983
gothub
Even though it's pretty basic at this point, and lacks some important features (like searching).
>>8990
All it takes is 1 bit to be different for the checksum to change.

If you want to compare the files you can use xxd to print the bytes as hex and vimdiff to compare

$ vimdiff <(xxd img1.bin) <(xxd img2.bin)

The contents wont mean much but it will give you an idea of how similar the binary files are and assure you they're not just random bytes.
723e09ab-2670-4431-bb6c-66d8cebfef74_1.8c54471b064f151f7ae2796b6f75dba7.jpeg
[Hide] (664.3KB, 1200x1200)
>What is a USB DVD Burner?
>>8960(You)
1646057600665-0.jpg
[Hide] (83.5KB, 640x640)
>>8923
Ok, so it was pretty easy. 
Just create an mkinitrd.conf file by cp /etc/mkinitrd.conf.sample /etc/mkinitrd.conf and add "btrfs" under "ROOTFS="
Replies: >>9061 >>9063
didn't report back the whole week because I fell with the wuflu
>>9059
here's the sauce article: https://docs.slackware.com/slackbook:booting
ClipboardImage.png
[Hide] (16.2MB, 4608x2592)
>>9059
I'm using grub btw. Now I only need to load a custom kernel so I can use this computer as a 15khz retro station.
https://www.metaswirl.com/blog/2018/July/05/slackware-15-khz-retro-gaming-box/
I have a x86 linux box that I use as a router and also has some other services running on it, and it's completely headless (unless I go there with a display and keyboard, but I only do it when it doesn't boot). Now my problem is that sometimes it "locks up" for 5-15 seconds, and during that time you can't communicate with it in any way (ssh, http, etc), but internet routing/nat works fine during that time, so the kernel side of the things seem to work fine, only the userspace locks up somehow.
Any idea how to debug this? It only does this a few times a day, so it's not like I can easily reproduce it.
Replies: >>9067 >>9070
>>9064
cron a script every minute (or faster) to log load average and top 10 resource hog.
>>9064
Your kernel might be tuned by average modern trannys.  Also instrument paging and /proc/cpu with your cron job.  Don't forget to give it even a little bit of swap space because a lot of VMs will shit and piss without any at all.
[New Reply]
500 replies | 101 files
Connecting...
Show Post Actions

Actions:

Captcha:

Select the solid/filled icons
- news - rules - faq -
jschan 0.10.2