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

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

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


[Advertise on 4chan]

[Catalog] [Archive]

File: 1654407511855.gif (3.01 MB, 498x280)
3.01 MB
3.01 MB GIF
>be me
>year of our lord 2025
>lets install ubuntu
>nice, some things have improved
>logs into gnome accounts
>neat.webm
>sudo apt keepassx
>it works
>comfy.gif
>let's open my database
>it's a little slow
>ctrl-s
>everything freezes
>oh no
>database is bricked

Comment too long. Click here to view the full text.
5 replies omitted. Click here to view.
>>
>>107694409
>shit that didn't happen
>>
>>107694409
I use keepassxc.
Arch on my pc.
Windows dual boot.
Cacheyos on my laptop.
On my phone as well.
I keep the database on my server and I keep it synced with a copy on my phone.
>>
>>107696048
of course you use arch. only retarded shitters who use password managers and do things like cut their dicks off use arch.
>>
>>107695874
I stored it in the cloud, but gnome accounts bricked the file
>>107695928
literally try it yourself. all because linux dont have google drive app
>>107696048
sounds comfy, but when do you use windows and linux respectivly?
>>
>>107696230
Last time I booted into windows was to use rufus to write the iso for my laptop because the dd one wasn't working. Also the windows vm that I made to do stupid stuff like that had its password expire and I was too annoyed to look at it anymore.

File: cirnocomputer9.png (284 KB, 800x600)
284 KB
284 KB PNG
Why isn't there a system call to tell the kernel that a certain piece of code is uninterruptible? this would eliminate race conditions once and for all
20 replies omitted. Click here to view.
>>
>>107693305
You can eliminate race conditions (and nulls) by using a better type system.
>>
>>107693305
>system call to tell the kernel that a certain piece of code is uninterruptible
This could conceivably be implemented but maybe not with acceptable performance.
It would also rely on the programmer using those calls at the right times, and since they already misuse mutexes etc there might not be much hope of that.
>>
>>107693446
if you can make a thread uninterruptible, think of what would happen if you make a mistake that leads to an infinite loop.

though it depends on what you mean precisely: 'no other thread of process X can interrupt thread Y of process X' VS 'no other thread can interrupt thread Y of process X'

In the first scenario, that's not really a problem, but in the second scenario, this can be a real issue (e.g whole system becomes unresponsive)

Multi-threading used to work like that:
https://en.wikipedia.org/wiki/Cooperative_multitasking
But we've moved on to use preemptive scheduling which doesn't have this whole system freezes problem.

Even when you use mutexes perfectly, you still may encounter data races/raceconds with other resources, like the filesystem. There are special mutexes for those, but locking a file can lead to new problems (e.g deadlocking another process that needs to access the file).

>>107694324
There are no fundamental solutions that fix race conditions. Even Rust has race conds, it's type system was only designed to prevent data races. Anyway as soon as you talk to an external component (server, filesystem, database), you introduce invariant that are too complex to clearly express in the type system.
>>
>>107693305
Try working in embedded systems with no OS. You can literally just turn off interrupts and run your code. But you'll need to get the hardware interlocks for some things right, or you'll get stuff like network hardware shitting on you anyway.
And you'd better make sure that you remember to turn the interrupts back on or you'll be in for a bad time unless you have a different way to service all the devices. That can be done but it's not for anyone less than a hard-core expert, such as one of my former bosses who'd do that to make the fastest code ever. It was also totally unmaintainable code that scared the living shit out of my team. lol
>>
>>107696567
And you're still getting fucked by racing conditions, because interrupts can happen any time.

File: gay retard.png (65 KB, 592x501)
65 KB
65 KB PNG
what do you call this genre of homosexual AI musing?

The key is never having any projects or problems solved by AI to back up this display of homosexual retarded delusions of grandeur.
48 replies and 5 images omitted. Click here to view.
>>
>>107684178
Why is it that you never see electricians or engineers waxing poetic about marginally better technology appearing? Only programmers have to do this pathetic navel-gazing bullshit.
>>
>>107684330
Yeah pretty much, that's what it feels like and in the real world their products are far less useful than they pretend.
>>
File: ai-lmao-windows.jpg (139 KB, 681x1224)
139 KB
139 KB JPG
>>107684178
>twatter repost
kill yourself in an original and entertaining way
>>
>>107696164
Because electricians don't make tools for other electricians
All this insider praise should be automatically dismissed on basis of vested interest
>>
>>107696718
>Because electricians don't make tools for other electricians
Have you ever had even a passing idea of how incredibly fucking dumb you are?

File: 1766706160972.png (47 KB, 925x201)
47 KB
47 KB PNG
I thought Europe is on the decline and can't make anything good?
272 replies and 33 images omitted. Click here to view.
>>
>>107696753
better ask him whats the average *american iq.
bc they base their average on people who go to college

i think theyre somewhere between a nigger and a semite
but some semitic nations score lower than niggers, though

like morrocco.
they score 65 iirc, too retarded to even function in a western society
>>
>>107696770
good idea
too lazy for that doe

their mc mansions cost as much as our buildings, but theyre made of paper and good intentions

fukken
why would you have a customer buy a house once, when you can have them buy a house from you every other tornado season?
>american efficiency
>>
>>107696723
>>107696731
>>107696770
only Americans are white. keep coping, thirdy
>>
unironically our shit is made of concrete prefabs
fukken vibrated, sturdy as fuck, and cheap
we live in fucking bunkers
when americans live in houses made of papier maché and fukken PU foam
in a fucking tornado country
this is fucked, things should go the other way around
>but americans see nothing wrong with that
>>
>>107668641
not even amerilards are this uneducated, everyone knows about the netherlands

File: 1749798067568534.png (156 KB, 960x768)
156 KB
156 KB PNG
Users of all levels are welcome to ask questions about GNU/Linux and share experiences.

*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread ***

Before asking for help, please check our list of resources.

If you would like to try out GNU/Linux you can do one of the following:
0) Install a GNU/Linux distribution of your choice in a Virtual Machine.
1) Install a GNU/Linux distribution of your choice on bare metal and run your previous OS in a Virtual Machine.
2) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
3) Go balls deep and replace everything with GNU/Linux.

Resources: Please spend at least a minute to check a web search engine with your question.
Many free software projects have active mailing lists.


Comment too long. Click here to view the full text.
49 replies and 1 image omitted. Click here to view.
>>
Is there a way to make ubuntu/kubuntu keep EVERYTHING it loads into ram cached until it *absolutely* needs to free up ram for something else?

I just installed kubuntu on a PAINFULLY slow 16 GB flash drive. I got a 5 pack for like $15-$20. None of them are fast but the one I happened to pick to install onto is truly terrible. I didn't time it but I'm pretty sure it took at least 15 minutes from when I booted the computer to when the login screen came up. From a SATA SSD booting mint its conservatively less than 30 seconds. I just want to minimize the amount of time I spend waiting for disk read/write to finish as much as possible.

>inb4 yes I already ordered another SSD to experiment with. It gets here in 2 days. At this rate I might actually get this thing all the way set up by then.

Also this isn't a daily driver install, I'm specifically using it to do openCL testing with John The Ripper and just needed a clean install.

>>TLDR: how do I minimize the pain/impact of a fucktackularly slow boot drive on ubuntu? I have up to 32 GB of DDR4 ram to work with.
>>
Also while I'm here, as someone who has casually used Mint since ~2013-2014 (Mint 13 was my introduction to linux) and never seriously tried anything else, what actually IS the difference between ubuntu and Mint? All this time I thought it was basically just the desktop environments, but then I realized there's xubuntu that is just ubuntu with an xfce desktop environment, which is what I used on mint. So why is mind different?
>>
>>107696820
that's linux standard behavior
>>
>>107696820
Look into readahead(2)
https://man.archlinux.org/man/readahead.2.en

There are some programs that can do this. Systemd used to but they removed it because nobody uses slow storage devices anymore.
https://wiki.archlinux.org/index.php?title=Readahead&direction=prev&oldid=263704
>>
>>107696871
Apparently there is this which restores the functionality that was dropped from Systemd:
https://aur.archlinux.org/packages/systemd-readahead

No idea if it works though.

File: GVXWDS.png (40 KB, 315x250)
40 KB
40 KB PNG
is it legit bros?
>>
Probably not in the way you're thinking. Look up XKeyscore.
>>
yes but its a bit more subtle, social media can be used as a psychological conditioning in the same way I think

File: Radeon HD 7950.png (21 KB, 600x195)
21 KB
21 KB PNG
Holy mother of fine wine.

All due to a single engineer from Valve who cared enough
3 replies and 1 image omitted. Click here to view.
>>
>>107693725
>70 to 124
Fake frames?
>>
>>107694486
I'd doubt on a gpu that old.
>>
>>107693725
Imagine if support for newer Vulkan versions was added.
>>
File: 1760092643730804.jpg (37 KB, 720x459)
37 KB
37 KB JPG
>>107693725
>13 years for drivers to work as should have on release
>>
They just swapped the old radeon driver with the new one by default. AMDGPU always had better performances.

File: 1766940144324791.png (91 KB, 404x455)
91 KB
91 KB PNG
I think what people miss the most is the lightheartedness of anything computer back then.
4 replies omitted. Click here to view.
>>
>>107694251
Watch out everybody we have a nooticer amogus
>>
>>107693755
i want to go back
>>
>>107694307
I use this on my daily driver. https://github.com/ful1e5/banana-cursor
>>
>>107694582
Why...
>>
>>107693755
Software made by transgender devs always feel soulful

File: 7470955940c84a59.jpg (24 KB, 400x400)
24 KB
24 KB JPG
What exactly is the point of libreboot?
5 replies omitted. Click here to view.
>>
>>107695906
>vimuser.org
>>
>>107695983
>her
>>
>>107695906
It's disappointing that Libreboot had chosen to make nonfree images, for the goal of supporting more hardware.

The biggest danger to freedom is still the Intel Management Engine and it is not completely disabled on platforms with CPUs newer than Core 2. You'd have to trust Intel that the boot process doesnt do anything malicious.
>>
>>107696255
damn she doesnt pass at all on the photo on her homepage
>>
>>107695983
Absolutely retarded take. If you want classic Libreboot, then use Canoeboot. Modern Libreboot needed to evolve to include more devices.

>>107696644
It's a pragmatic choice. Fun fact, there is no way that devices like the X230 or T480 will ever, ever, ever, be able to run without some proprietary firmware. You people need to grow the fuck up and accept the reality of the situation on x86 CPUs.

File: pepe-rat-toast.jpg (93 KB, 842x856)
93 KB
93 KB JPG
a Toast!
to XFCE
3 replies and 1 image omitted. Click here to view.
>>
LXQT is better doe
>>
Been using it for the past month and it do be squeakin’
>>
File: 1760466826276309.gif (807 KB, 737x720)
807 KB
807 KB GIF
>>107691784
>>
>>107691784
Pretty good. I use Mate personally.
>>
File: 1740254746766358.png (309 KB, 3000x3000)
309 KB
309 KB PNG
>107692175
>abandonware
You're so right, sister! I need a DE that breaks every 4 months!

File: 1725974643409547.jpg (1018 B, 130x97)
1018 B
1018 B JPG
how can rust be a serious language if doubly linked lists are still an unsolved problem?
>>
>>107696817
>doubly linked lists
Usecase?
>>
>>107696834
go backward

File: cancer.jpg (97 KB, 1080x1440)
97 KB
97 KB JPG
is my wifi repeater giving me cancer? israelites said not to worry and that it was a conspiracy.
7 replies omitted. Click here to view.
>>
>>107696447
people keep making this silly classical mistake that if it's not ionizing and not high power it's safe.
it could theoretically interfere with your cells, slight deposits of energy could disrupt some type of activity that leads to cancer or other issues. doesn't have to be ionizing or insta damage for it to be bad.
I hate idiots feeling smart saying shit like "uh ackshually it's not ionizing" because they say some youtube video
>>
>>107696477
>microwaves don't cause cancer.
Let me expose you to some for extended periods?

>>107696564
>and not high power it's safe.
I don't recall mentioning it is safe.
>>
>>107695850
of course it is. anything 2.4Ghz will kill you. microware oven uses 2.4Ghz and it cooks food. so guess what the 2.4Ghz devices are doing to your head.
>>
>>107695850
>is my wifi repeater giving me cancer?
probably not
more likely to cook you than give you cancer, unless it's a piece of absolute chinkshit that's leaking some very dodgy chemicals into the environment
chance of cancer from low power electronics is real real low
>but the microwaves!
your phone and headset will do a hell of a lot more damage to you than your wifi repeater, as you literally hold that in your hand or put it on your head
>>
Many have a scheduler to turn it off when you're asleep

File: file.png (100 KB, 682x919)
100 KB
100 KB PNG
Started fucking around and accidentally starting making a cross platform build tool for deploying web based applications to Android, Windows, and Linux. No apple products cuz I'm poor and can't test it.

Basically it just uses whatever native webview is on the platform and syncs with your web project.

Working on basic plugins for native APIs such as keystore, camera, file system, biometrics, etc. whatever
this means there is a javasript bridge that talks to the native API

Did I mention that it's all in C and only depends on c compiler, +( gradle and CMake for android builds) ?

What are the technological implications of building cross platform with C, HTML, and JavaScript with sprinkles of native code for mobile platforms?

https://github.com/Named666/crossweb
8 replies omitted. Click here to view.
>>
>>107690361
Rust is actually a nice language to work in imo. If you dislike it for political reasons then you hate it for the wrong reason. Right wingers are have a retarded mindset where if something is even a little pozzed then you have to abandon it. Meanwhile lefties will infiltrate institutions with decades of traditional right wing views just to make it more left wing. That's how you lose.

If you dislike the language itself then that's ultimately personal, but it really is easy to learn for webdevs ironically.
>>
>>107690268
I don't see any deployment instructions in the readme.
Are people supposed to distribute the crossweb.exe and ./web/index.html together?
>>
>>107690268
this + HTMX is pretty decent
>>
>>107690268
Vibe coded slop
>>
>>107690268
>https://github.com/Named666/crossweb
>451 commits
>28 contributors
>0 stars
seems odd

>Find an ancient SD card that was left unpowered for over 15 years
>Still works
>Still has every last bit of data on it, just like a decade and a half ago
Is the whole "muh flash memory doesn't retain any data if left unpowered for a year+!" thing a retarded meme perpetuated by the spinning rust industry that we allowed ourselves to fall for? I get that it's an anecdotal sample size of one, but then again, all of my spinning rust HDDs failed after less than 10 years of use (also anecdotal, but makes me think).

Kingston micro SD card btw.
1 reply omitted. Click here to view.
>>
>>107693222
/thread
>>
Yeah same I found some SD cards last used in 2008 in a drawer
Totally fine
>>
>>107693006
>"muh flash memory doesn't retain any data if left unpowered for a year+!"
I'm pretty sure that if you buy a new SD card today and you leave it unpowered for like 6 months all the filles will be completely corrupted. Treasure your SD because the shit you can buy now is absolutely worthless.
>>
>>107693006
It was meme propagated by /g/
>>
>>107693006
i have never heard this. flash memory is non-volatile

Any version of Windows since 1995 has been more polished, production-ready and user-friendly than any Linux distro ever made. That's obvious to anybody who has installed both of them on the same machine.

Are Linux users just lying about their distros being a better experience than a Windows installation?
286 replies and 18 images omitted. Click here to view.
>>
>>107621970
>Why do Linux users pretend that Linux is a better experience than Windows?
It's true in many cases.
Programming is better on Linux than on anything else because you have real native Docker available (not the hacky VM shitware that is "docker desktop").
HTPC gaming with Bazzite is better than any HTPC running Windows.
>>
File: img.png (260 KB, 1216x294)
260 KB
260 KB PNG
>>107622384
Linux isn't even close to matching Mac OS numbers, let alone Windows. If it was ever going to get a huge boost in numbers, it would be now, with the massive shill campaign on YouTube with giants like PewDiePie making videos telling people to switch to Linux while others make videos about how terrible W11 is. The mass exodus never happened. Never going to happen.
>>
I just switched to Linux after decades on Windows. I took the time to learn the nuances and difficulties people run into as new Linux users.

Windows is absolute dogshit. If you think Windows is better you either don't actually think or are paid to do so.
>>
>mfw my start menu cant load ads so doesnt show me my local program search results
>>
>>107695583
>The mass exodus never happened. Never going to happen.
It's happening in 2026 when google reveals their Linux desktop OS.


[Advertise on 4chan]

Delete Post: [File Only] Style:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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