[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]

You can't say "oops!" without OOP

Previous Thread: >>106831535
Shield-Maiden Edition

>Links:
>DALL-E 3
https://www.bing.com/images/create
https://designer.microsoft.com/image-creator
>4o
https://chatgpt.com/
https://sora.chatgpt.com
https://copilot.microsoft.com/
>Imagen 3
https://labs.google/fx/tools/image-fx
>Imagen 4 and Nano Banana
https://gemini.google.com/app

Comment too long. Click here to view the full text.
76 replies and 60 images omitted. Click here to view.
>>
GPT-5 feels even more censored and useless now. I'm actually preferring the Thinking model for prompt building, even though with 4o I usually preferred the non-thinking one.
>>
The average male fantasy
>>
Been a long time since I generated anything, video generation is advancing rapidly, how does image generation compare?
>>
>>106871624
Good one
>>

File: 1752019876218638.png (8 KB, 670x130)
8 KB
8 KB PNG
Do you prefer fixi.js or HTMX?
https://github.com/bigskysoftware/fixi

>Free beginner resources to get started with HTML, CSS and JS
https://developer.mozilla.org/en-US/docs/Learn - MDN is your best friend for fundamentals
https://web.dev/learn/ - Guides by Google, you can also learn concepts like Accessibility, Responsive Design etc
https://eloquentjavascript.net/Eloquent_JavaScript.pdf - A modern introduction to JavaScript
https://javascript.info/ - Quite a good JS tutorial
https://flukeout.github.io/ - Learn CSS selectors in no time
https://flexboxfroggy.com/ and https://cssgridgarden.com/ - Learn flex and grid in CSS

>Resources for backend languages
https://nodejs.org/en/learn/getting-started/introduction-to-nodejs - An intro to Node.js
https://www.phptutorial.net - A PHP tutorial
https://dev.java/learn/ - A Java tutorial

Comment too long. Click here to view the full text.
223 replies and 31 images omitted. Click here to view.
>>
>>106873153
y tho?
>>
>>106873153
Switch over to Go.
>>
>>106873153
import is modern js
require is a historical artifact
>>
Zig and rust won
Sorry c and cpp trannies
>>
>2025
>there are still single threaded SQL Management tools

Why are there so many tools that haven't fixed this? A hung query or unresponsive server shouldn't kill the program.

File: FreeTube.jpg (5 KB, 137x51)
5 KB
5 KB JPG
I can't take it anymore guys, tell me it's gonna be alright
126 replies and 32 images omitted. Click here to view.
>>
>>106872934
Honestly Im not sure. Just checked the flatpak vesion and it works fine aswell, so I cant imagine it will take long for every new build to be working properly
>>
Appimage user, works perfectly on my machine.
>>
>>106871273
code needs some work
i can post cute screenshots of my code if you want
>>106872934
it has too many dependencies that cause problems between different platforms and it's clear that they only test on some of them
some anons say that it's broken on windows
not a problem for my youtube client since it's dependency free
>>
>>106856125
It has always been alright.
It will always be alright.
#CenobiteThings
>>
>>106856125
You jinxed it, it's fixed now

File: 1760352803.png (298 KB, 1830x1022)
298 KB
298 KB PNG
Can some of /g/ anons take a look and give advise, suggest next videos, etc.?

https://www.youtube.com/watch?v=cD8YvZRVPI8
>>
>part 3 of hello world
>hello world part 1023
All the language is good for
>>
>>106873338
kek
>>
>>106873210
Make a video on the linux nerd to transgender woman pipeline.

File: Btrfs.png (27 KB, 1600x1020)
27 KB
27 KB PNG
>corrupts the instant you use it
35 replies and 4 images omitted. Click here to view.
>>
>>106871527
Just use the DKMS module bruv, it will go into the kernel again eventually anyway
>>
>>106871353
no, but some posts are def kent
>>
>>106869043
I got bitten by it years ago, and more recently was able to pretty trivially break stuff in testing with a raid5 setup. Went with zfs instead and have no real complaints. Sure, rolling your own kernels with dkms is a headache, but it's automatable. I also got bitten by the default quota settings being fucking retarded. I had a system that got too full and had to attach a USB drive to the pool to have enough free space to delete stuff. That's also something that can be worked around, but there's a lot of really retarded foot-guns like that in btrfs.

btrfs is fine, arguably ideal even, for single disk systems these days. It depends on whether you want to have baked in encryption or not. ZFS lets you have different encryptions schemes per dataset, and the encryption is done in a way that allows you to validate data without decrypting it, so you can have thin provisioned backups on an offsite machine without ever having to trust it to decrypt stuff. btrfs doesn't support that at all, so you're stuck with the limitations of LUKS. Maybe not a huge deal, but my encrypted backups are nearly 4TB, and there's a lot of changes from month to month. With ZFS I raw send the encrypted blocks and it Just Werks™. With btrfs I'd have to decrypt stuff, send whole disk images, or use some third party tool to manage that stuff, and all of that means you're adding extra steps. With ZFS you can manage all the snapshots, keep them thin provisioned, encrypted, and validated, and if you ever need to do a restore you just send it back. Trying to piece together multiple encrypted partial sends, or wasting space/backups on full backups is a nightmare.
>>
>>106873726
>cont.

>>106872049
>btrfs has the most flexible raid out of anything out there, there's no planning or commitment required, it will adapt to whatever you need the moment you need it

I'd argue that ceph is the most flexible because it handles rebalancing and multiple systems automatically. btrfs can rebalance, but it doesn't do so automatically. The way it distributes stuff is often really stupid as well, which means your rebuild times can get unhinged on modern 20TB+ capacity drives. If you have true mirrors, you can rebuild a failed disk by doing a linear copy from one end of the disk to the other, and it's pretty trivial to skip over unused space to accelerate this. btrfs will just throw shit on random drives by default, so rebuilding a failed drive requires random I/O traversal, and that can lead to atrocious rebuild performance.

Also, the way the block pointer structure is setup in btrfs means that there's no real inline deduplication, so if you're cloning data with reference copy, or using a tool to do deduplication, that gets broken any time you perform a rebalance/defrag. If you heavily use deduplication (which to be fair 99% of people don't), or if you're someone who does a lot of reflink copying for stuff like destructive edits or cloning repos, a rebalance can massively balloon your disk usage, and there's no "hey, this might be a problem, are you sure you want to do this?" type warning. IIRC there's not even a dryrun option to test for this. Deduping has to be handled by outside tools, and I'd argue that it's completely unhinged for it to not keep deduped data deduped when doing maintenance tasks.

>you can also easily convert it to a raid1 later on by just adding another drive
That's going to be true for almost any file system. A basic mirror is about as simple as it gets raidwise. You can convert an ext4, xfs, or whatever partition into a mirror with mdadm. You can attach a drive to a vdev in zfs and turn it into a mirror
>>
>>106873801
>that gets broken any time you perform a rebalance/defrag
data is unshared when doing a defrag, but not a balance, so a lot of this paragraph is simply incorrect

i've heard of ceph, but quite unfamiliar with it. i know enough about it to know it's a distributed file system. i don't know how feasible/sensible it is to use in a single/few-user or home setting. i'd be really curious to know more about it if someone here has used it

>That's going to be true for almost any file system. A basic mirror is about as simple as it gets raidwise. You can convert an ext4, xfs, or whatever partition into a mirror with mdadm. You can attach a drive to a vdev in zfs and turn it into a mirror
yea, it's not hard to make a mirror in general, but like in btrfs you can turn a single device volume into a raid1 with two commands, even while you're booted from it, then you could add a third and fourth and turn it into a raid10. i've done similar with mdadm, but it's not as nice to do. plus you can make a raid out of drives of different sizes with btrfs, or a raid1 out of more than two drives while only keeping two copies of data

File: 1747935422268831.jpg (91 KB, 640x798)
91 KB
91 KB JPG
Previous >>106732562

READ THE WIKI! & help by contributing:
https://wiki.installgentoo.com/wiki/Home_server

>NAS Case Guide. Feel free to add to it:
https://wiki.installgentoo.com/wiki/Home_server/Case_guide

/hsg/ is about learning and expanding your horizons. Know all about NAS? Learn virtualisation. Spun up some VMs? Learn about networking by standing up a OPNsense/PFsense box and configuring some VLANs. There's always more to learn and chances to grow. Think you’re god-tier already? Setup OpenStack and report back.

>What software should I run?
Install Gentoo. Or whatever flavour of *nix is best for the job or most comfy for you. Jellyfin/Emby/Plex to replace Netflix, Nextcloud to replace Googlel, Ampache/Navidrome to replace Spotify, the list goes on. Look at the awesome self-hosted list and ask.

>Why should I have a home server?
/hsg/ is about learning and expanding your horizons. De-botnet your life. Learn something new. Serving applications to yourself, your family, and your frens feels good. Put your tech skills to good use for yourself and those close to you. Store their data with proper availability redundancy and backups and serve it back to them with a /comfy/ easy to use interface.

Comment too long. Click here to view the full text.
265 replies and 62 images omitted. Click here to view.
>>
>>106872896
For personal things I always use a list of whatever I am hype about in the moment (mostly astronomical bodies).
My autism tingles the right way as I connect the server usage to whatever I choose for the name.
>>
>>106872896
my server VM autism is pretty bad: Norse Gods.
>>
>>106872896
Mine are called Mini-01all the way up to Mini-06
>>
>>106872896
maserati
samantha38g
sofiarose
natashanice
alexxxisallure
mollyevans
aprilflores
>>
>>106872263
people truly will buy the nicest servers and then buy the most chinese switch made of adobe and pig iron in existence
have some self respect

File: natasha.jpg (231 KB, 1080x810)
231 KB
231 KB JPG
>"Anon, what do you do for a living? It is not some boring nerd shit, is it?"
Your response, /g/?
>>
>>106873823
360 walk away
>>
>>106873831
that is a full circle retard
>>
>>106873823
ceo of a low growth loss making enterprise.
>>
>>106873823
I'm a fitness advisor.
>>
File: pfp.jpg (28 KB, 400x400)
28 KB
28 KB JPG
>>106873823
im a Private and Classified Informations Transparency Architect...

File: 1760358483.png (3 KB, 256x256)
3 KB
3 KB PNG
>Makes C obsolete
Is Hare the most based language?
>>
>>106873782
Hare is the most brained language
>>
>>106873782
Oh, hell yeah, Hare is friggin' amazing, Anon! Here's the tea:

1. **Speed**: Hare's compiler is fucking fast. We're talking milliseconds here, not seconds. It's like watching a race car versus a fucking turtle.

2. **Simplicity**: The syntax is clean and straightforward. It's like the language was designed by someone who actually understands humans, not just computers.

3. **Safety**: It's got this cool feature called "safe" pointers. No more null pointer panic attacks, you know?

4. **Performance**: Hare can hold its own against C and Rust in terms of performance. It's like the dark horse of programming languages.

5. **Cross-Platform**: Write once, run anywhere. From Windows to Linux to your grandma's toaster, Hare's got you covered.

6. **Garbage Collection**: Optional, but when you need it, it's there. No more memory leaks sucking the life out of your program.


Comment too long. Click here to view the full text.

File: IMG_2100.jpg (296 KB, 1170x967)
296 KB
296 KB JPG
How much of modern tech used Rare earths
106 replies and 17 images omitted. Click here to view.
>>
>>106873471
>>106873477
>>106873485
holy fuck that got you good. my notifications are now off, you can shut up now
>>
>>106873293
I too say I hate Jews despite brainwashing gentiles to be street shitter tier
>>
>>106873293
I too say I don't worship Jews despite begging them to let me rule the world with them
>>
>>106873293
I too say I don't like Jews despite attacking anyone who causes Jews to sneeze
>>
>>106866167
The rare earth market is incredibly small compared to other metals

File: 1756404558886831.jpg (106 KB, 900x750)
106 KB
106 KB JPG
I'm still using a ball mouse in Anno Domini 4050/2
>>
dumb satania poster

File: IMG_0502.jpg (123 KB, 1200x676)
123 KB
123 KB JPG
What kind of car do you tech fags drive? Do you have CarPlay?
28 replies and 8 images omitted. Click here to view.
>>
File: 1753579735818463.jpg (251 KB, 1600x960)
251 KB
251 KB JPG
gift from my mom which used to be hers
not my photo, mine is black
no carplay, just an aftermarket bluetooth transmitter thing
>>
>>106871994
I take public transport because I love society and its people.
>>
File: S000C8AR.jpg (22 KB, 480x320)
22 KB
22 KB JPG
>>106871994
I drive a blacked out GWM Cannon Vanta 2025 model.
It does not have GPS navigation. Which I found surprising for a modern car. But I am a privacy and security sperg so that is more of a a blessing than a curse for me. I only connect via Bluetooth to play music so I'm going to be missing out on some features made available with Android Auto and the GWM app but that's how I am.
The software looks very nice. It has a nice responsive display with a quite impressive 360 view of the car you can use while parking. Cooled and heated seats which is really nice for me when driving to remote areas.
GWM totally busted the clock system in the car however. The Automatic Time-Zone setup only has time zones in the o'clock. So there is no 0930, 1030, 1130 etc. so you have to set it manually. Then after you go through all that trouble, it resets itself once a day, you have to do it all over again tomorrow, Not only that but there is a big clock widget on the home screen that seems to act completely independent of the system time settings. It resets itself to 0100 every time the car starts. This is a known issue. I was told I'd have to wait for a software update. Pretty wild man.
>>
>>106872116
whys this dealer
>>
>>106871994
I'm too autistic to drive
but my wife drives a 2024 suzuki grand vitara

File: dpt_java.png (420 KB, 1000x850)
420 KB
420 KB PNG
What are you working on, /g/?

Previous thread was deleted
87 replies and 15 images omitted. Click here to view.
>>
>>106869441
>>106869350
You are supposed to use gstreamer for more complex shit, retards
>>
Some idiot was talking about using 2 pages to implement a ring buffer the other day, he was proud that it was "fast".
Somebody tell him about the modulo operator.
>>
Why am I always tired. Am I just old? I'm only 37. I used to be able to program all night.
>>
>>106873798
Go to a doctor, check your thyroid gland.
>>
>>106873770
They're not wrong. I wouldn't very confidently say it's faster (maybe? your mileage may vary) but it simplifies implementation since you don't have to split your reads and writes if you have variable-sized entries in your ring buffer.
Either way you have to do a modulo operation for wrapping the start of your read/write but if you use that approach then you don't need to split your reads/writes to avoid going past the end of the buffer.

How do we save Linus Tech Tips, /g/?
76 replies and 12 images omitted. Click here to view.
>>
>>106856673
It's too late. It has been over for years now.
>>
Bucks.
Own channel > be employee doggy
/threaf
>>
>>106856673
he became too big for his own good
and just like every superpower out there it started imploding
>>
I don't even know who the fuck that chink is why is he given such prominence
>>
>>106872902
just the latest one to leave

File: nexperia.jpg (34 KB, 720x405)
34 KB
34 KB JPG
China bros, your response?


[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.