[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: 1761294078041015.png (247 KB, 657x527)
247 KB
247 KB PNG
wayland? more like GAYland hahahahaha

File: incr.png (48 KB, 449x981)
48 KB
48 KB PNG
/dpt/ - Daily Programming Thread

Welcome to the Daily Programming Thread. What are you working on, /g/?
Previous thread: >>107575071
164 replies and 24 images omitted. Click here to view.
>>
File: kernighan-on-dijkstra.jpg (86 KB, 850x400)
86 KB
86 KB JPG
>>107646158
>UB exists because C is anemic.
holy autismo retard

dereferencing a number is UB in C, ok?
because a valid pointer is supposed to be emitted by malloc for ex.
but when you write an os, youre implementing malloc and youre working with numbers as pointers.
which is UB. but the whole OS is built on that

UB is deterministic, and it only means "hasnt been defined in the standard"

dont talk about c, anon, you know shit from fuck
your autism makes it so that any amount of fuzziness confuses you
and since youre a retard, you start hating what you dont understand instead of upgrading your knowledge.
>>
>>107646158
>>107646573
also
>hurr durr use ATS
did you only look up what that is?
its an experimental/research language
its not something youre supposed to be using outside of academic pursuits

you heard a fancy name and you repeat it around like a namedrop or something
without even paying attention to the actual thing.
thats autism, everyone
a serious mental handicap.
>>
grep -R -I --exclude-dir=.git '^$' . | wc -l
0


Vertical space is bloat. I know how to read code and I want to see all of it. Books don't have empty lines, so why should code have them?
>>
>>107646868
>Books don't have empty lines
Yes they do, books have paragraphs.
Empty lines are useful in code for the same reason.
>>
>>107646868
>Books don't have empty lines
they sure do
and when they don't they're tiring to read because you have to keep track of where you are in the half-page block of text
but they're also better formatted, as long as you have that

File: x11.png (105 KB, 512x512)
105 KB
105 KB PNG
>Use KDE gayland, everything is slow, low fps, input lag, weird frame pacing that doesnt feel smooth even with a smooth frametime graph in games

>Use X11 with Xmonad Tiling window manager, It just werks, everything werks, no latency or input lag
>High FPS, gaming just werks and I get 20fps+ more than gayland for some reason and its buttery smooth
>Fast with zero bloat, Configure everything to my liking

At this point, I wont even use any desktop environment on linux if it isn't X11. Even XFCE is dead to me because it has wayland support. I will never support anything wayland based on linux.
I'm X11 pilled.
57 replies and 5 images omitted. Click here to view.
>>
>>107643396
>buggy multi monitor setup
>no VRR
Switching to Wayland fixed all these issues for me, same for several people. Unless xlibre fixes this shit I won't switch back.
>>
>>107645902
Xmonad supports multimonitor flawlessly even up to 6+

I dont need multi monitor VRR besides my front gaming monitor also HDR is meme tech
>>
>>107644006
sure, just enter a fullscreen application and disable vsync
>>
>>107645998
>I dont need multi monitor VRR
>also HDR is meme tech
When you say this you sound completely raped. I guarantee you're some destitute 1366x768 zigger on a TN panel lmao
>>
>>107645998
>I dont need multi monitor VRR
you don't even understand what the limitation is anon

mornin' retards and alike
prev >>107602756
39 replies and 17 images omitted. Click here to view.
>>
>>107645783
>>107643315
at least for me, nothing "broke" so far due to my resolution or aspect ratio

Since I prefer single monitors aswell, I love the added real estate horizontally
>>
>>107646476
not her but I recommend community as a more persistent form of ego death
>>
I decided I had a functional purpose for a PAPE (specific inspiration/meditation material for my writing) so figured out out how to make one set by feh persist across reboots.

1/∞
>>
File: Desktop.png (3.66 MB, 2560x1440)
3.66 MB
3.66 MB PNG
>>107642301
>>

File: fbsd.png (116 KB, 1024x768)
116 KB
116 KB PNG
most dedicated community in FOSS?
6 replies and 3 images omitted. Click here to view.
>>
>>107639976
this and fpga devs too
>>
>>107640314
yeah because it got like 7 users, and all of them are contributors
>>
File: pepeHmm.jpg (8 KB, 238x212)
8 KB
8 KB JPG
>>107639976
this guy fuckin GETS IT
>>
File: file.png (37 KB, 512x448)
37 KB
37 KB PNG
>>107639976
Emulating CPU bugs isn't the difficult part, they're well documented, it's more so making sure things are accurate to the physical components of the console. Software is deterministic and predictable but real life hardware can be more unstable.
As an interesting example, Super Bonk on the SNES has a gameplay demo where there's a chance that the inputs of the demo will become desynced and that it'll mess up because of variance in the clock speed of the graphics chip and the CPU. However it never happens on emulator, because emulators don't bother to emulate the physical clock component. Therefore, a more stable result is less accurate than actual hardware... now you see, true accuracy is hard to achieve. Of course, you could argue that the more stable result is preferable to the behavior of the actual hardware, but then you have other games like the SNES Speedy Gonzalez game where a level cannot be cleared *unless* a specific hardware edge case is emulated.
>>
File: file.png (14 KB, 256x224)
14 KB
14 KB PNG
>>107639976
>>107639976
Another emulator development tidbit that may interest you are illegal opcodes. This is mostly a 6502 specific thing AFAIK, but I think the 8086 may have some as well. You might know about their existence, but why they work is pretty interesting too. The 6502 (The CPU used in the NES) had a flawed instruction decoder. Instructions were decoded by looking up entries in a table of microcode depending on which bits of the opcode are on and off. Nothing wrong with that, but there's also nothing stopping you from using opcodes that mix properties of completely unrelated instructions. Some can be useful but most just jam the CPU. Even some official NES games used unofficial opcodes, for instance, Aladdin uses a SLO instruction which shifts the contents of a byte of memory left and then compares it against the accumulator register. Anyways, apparently some of these instructions are unstable and don't work the same way all of the time due to analog variance. A truly accurate NES emulator would have to emulate all the undocumented opcodes and then account for the hardware being used. Accuracy is a total nightmare.

File: Greta_Thumbberg.jpg (79 KB, 764x1080)
79 KB
79 KB JPG
So now that I have a "Ryzen AI™" laptop, what can I actually use it for? All of the marketing was about adobe slop, but I really don't care about generative ai.
>>
>>107646261
>lust provoking image

File: IMG_0501.jpg (2.61 MB, 1620x1595)
2.61 MB
2.61 MB JPG
https://www.thurrott.com/dev/330980/microsoft-to-replace-all-c-c-code-with-rust-by-2030

>Our North Star is ‘1 engineer, 1 month, 1 million lines of code.’ To accomplish this previously unimaginable task, we’ve built a powerful code processing infrastructure. Our algorithmic infrastructure creates a scalable graph over source code at scale. Our AI processing infrastructure then enables us to apply AI agents, guided by algorithms, to make code modifications at scale. The core of this infrastructure is already operating at scale on problems such as code understanding.”

LOL
74 replies and 8 images omitted. Click here to view.
>>
>>107645901
When this doesn't work, you can bet they'll simply try to rewrite the kernel in react.
>>
>>107640777
he didnt even try
>>
>>107640674
Is 2030 going to be the year of linux desktop?
>>
>>107643431
They'll have to use so many unsafe blocks to try and keep things together that it will be riddled with CVE's. That is if the OS even runs at that point.
>>
>>107645314
1000 million kloks

File: internet-explorer-1995.png (192 KB, 640x480)
192 KB
192 KB PNG
66 replies and 25 images omitted. Click here to view.
>>
>>107646546
SuSE Linux 7.2
It's showng the X server config tool called sax2
>>
File: 1746897596448079.png (110 KB, 800x600)
110 KB
110 KB PNG
>>
File: s-l1200.jpg (385 KB, 1200x900)
385 KB
385 KB JPG
>>107637108
2 more years and the best RPG of all time comes out.
>>
File: tj60h13mh38g1.jpg (27 KB, 386x523)
27 KB
27 KB JPG
>>107637356
Bill before he choose the dark side.
Now he's just old pdf file and genocidal maniac. Sad.
>>
>>107646897
>made billions by buying DOS for cheap and selling its license to IBM
>not evil

File: 2nv8nz7ykx6g1.jpg (128 KB, 1320x995)
128 KB
128 KB JPG
Would this solve to hiring crisis?
68 replies and 6 images omitted. Click here to view.
>>
>>107643058
>"Please hire anon he really likes gay furry porn."
>>
>>107644036
>women stay at home and raise family
>>107644614
>remigration
This is is racist and bigoted and orange though
>>
File: 1766503934792928.jpg (261 KB, 747x1024)
261 KB
261 KB JPG
>>107642789
Microsoft jeet outed himself again
>>
>>107645935
>LLM uses its massive data sets to find novel correlations with job productivity
>finds that number of favorites on furaffinity has a correlation of 0.65 with economic productivity
>>
>>107643058
Carmack really fell off when he jumped into the AI money mosh pit

Devil's Technology Edition

Discussion of Free and Open Source Text-to-Image/Video Models

Prev: >>107634126

https://rentry.org/ldg-lazy-getting-started-guide

>UI
ComfyUI: https://github.com/comfyanonymous/ComfyUI
SwarmUI: https://github.com/mcmonkeyprojects/SwarmUI
re/Forge/Classic/Neo: https://rentry.org/ldg-lazy-getting-started-guide#reforgeclassicneo
SD.Next: https://github.com/vladmandic/sdnext
Wan2GP: https://github.com/deepbeepmeep/Wan2GP


Comment too long. Click here to view the full text.
249 replies and 55 images omitted. Click here to view.
>>
>>107643343
The new captcha is primarily the result of one dude who mass ban evaded with a tool he made so much that grape had to add in a captcha that couldn't be auto AI solved. And yes, I know he released the tool on discord or some shit and a lot of mass spammers started to use it. Point is, don't underestimate the autistic rage of some faggots here. I said a few threads back, but /owg/ on /vg/ has it's own dedicated janny AND posting restrictions because of one third world silver shitter spic with a BBC obsession. To the point where mods mass banned a bunch of image MD5s to try and avoid his porn spergouts, only for him to mass add noise to all of his spam images and go right back to spamming. Bans and deletes don't stop these mentally ill fucks. They ban evade as easily as they breathe. I've just never seen anyone be so bad at trying to thread hijack before.
>>
>>107646180
AMD works fine on linux and comfyui, and are actually very good value for the VRAM and the superior Linux drivers. I use a 7900 XTX and can run all of the models people use ITT, with speeds comparable to a 3090. There are a few areas where AMD requires a bit more tweaking/troubleshooting, but it's been getting a lot easier, and AMD is actively fixing and optimizing it.
>inb4 screeching nvidia+windows shills
everyone knows nvidia is the standard for AI, but why do you fags want to convince people they have no choice/options?
>>
>>107640910
i don't like the algorithm that the collage maker uses it gives too much real estate to landscape images
>>
>>107646805
I've been considering getting one as my next GPU since I'm using Linux now and the PC building thread recommends it. It's much cheaper than an NVIDIA card too. I forgot to mention in my other post I was looking at the GPU benchmarks specifically in the OP post where the AMD GPUs rank really low there, I guess they weren't fair to AMD with setting it up correctly.
>>
>>107646805
>>107646905
>but why do you fags want to convince people they have no choice/options
if you want the headache of dealing with an amd card then go ahead but if you wanted a card specifically for AI it doesn't make sense to choose the inferior option

File: count.jpg (199 KB, 1000x1374)
199 KB
199 KB JPG
Recounting the threads edition

/gedg/ Wiki: https://igwiki.lyci.de/wiki//gedg/_-_Game_and_Engine_Dev_General
IRC: irc.rizon.net #/g/gedg
Progress Day: https://rentry.org/gedg-jams
/gedg/ Compendium: https://rentry.org/gedg
/agdg/: >>>/vg/agdg
Graphics Debugger: https://renderdoc.org/

Requesting Help
-Problem Description: Clearly explain your issue, providing context and relevant background information.
-Relevant Code or Content: If applicable, include relevant code, configuration, or content related to your question. Use code tags.

Previous: https://desuarchive.org/g/thread/107546157/#107546157
225 replies and 20 images omitted. Click here to view.
>>
>>107646753
Is there anywhere else to go?
>>
>>107646741
>goes off on a rant about IQ, alpha/beta males, basedboys, and gun culture
I can't even blame you for being mentally ill, I'd be as well if I had to work in C++ outside of work.
>>
>>107646842
not him but whats wrong with C++? I use it for my hobbies and I much prefer it to the alternatives
>>
>>107645712
atomics are fun. the only slightly painful thing is the memory order semantics. luckily on x64 they dont matter, though that means im not 100% sure im using the correct ones
>>
>>107646842
>picking up a 3-5kg pipe and pointing it away from your feet, or better, away from yourself entirely, is "culture" and supposedly "extremely difficult and an intellectual task that majority of people cannot do"
Please explain to me, which part of this isn't about low IQ, beta males, basedboys and you being brown?
>>107646871
His skin color is what's wrong. Every. Single. Time.

What makes minecraft so flexible in how you can mod the game? The reason it is still holding strong as the highest selling game after 15 years is because of the freedom it offers with modding. You can make an infinite number of new minigames in multiplayer servers. You can make an endless variations of new parkour maps or modpacks that will never feel repetitive.

No game comes close in how much you can change the vanilla version to make new stuff.

What allows minecraft to have this ability?
>>
Simplicity, amazing community and lack of censorship.
>>
>The reason it is still holding strong as the highest selling game after 15 years is because of the freedom it offers with modding
Is it? Actual gameplay mods are almost completely dead. Most never made it out of 1.7.10 and the rest never made it out of 1.12.2. People only use mods these days to load cancer shaders and somewhat reduce the awful post-1.13 lag. And most modders these days are less aspiring game dev and more fosstard. It's a completely different environment bottom to top. Don't get me started on the speedrunning. Ruins all games but hit minecraft especially hard.

File: dos multiplayer.webm (1.45 MB, 600x338)
1.45 MB
1.45 MB WEBM
>made full offline backups of all my video games and software
>canceled Spotify and went back to downloading music
>forgot I already have ~6000 songs that are completely unsorted, some have low bitrates, ripped from Youtube, downloaded from Kazaa, screen recorded, etc. and need to be renamed, metadata'd, and in some cases redownloaded in higher quality

Fuck. How was your detransition back to the old ways?
15 replies and 5 images omitted. Click here to view.
>>
>>107643089
would you be kind to elaborate, my dear anon? :3
>>
>>107645583
12*spotify sub*5 years = $500+ which could have been spent on an HDD storing those. the reason people sub is to support the music machine, also it comes with a huge library etc.
>>
>>107640773
>downloading music from youtube
What is wrong with you retards? Use Soulseek.
>>
>>107640773
Lidarr or MusicBrainz Picard
>>
File: 1752373611640822.gif (218 KB, 220x201)
218 KB
218 KB GIF
>>107643300
>Cum

Sam is based for this.

Post yours.

I love ChatGPT.

I hope it wins the AI war.
68 replies and 18 images omitted. Click here to view.
>>
>oh, heh. t-thanks
>>
>>107646836
>troonfox
remember to dilate
>>
>>107646852
based ladybird enjoyer
>>
>>107640770
I gave mine a look yesterday and I was liek "ooh that's lovely, thank you OpenAI uWu"
>>
>>107646675
>get tkl keyboard now you need tkl keyboard everyone has tkl keyboard why don't you have tkl keyboard reeeee
>just use this obscure alt keycode oh you can't type that with your cool tkl keyboard that's too bad

File: Crop.png (468 KB, 1518x684)
468 KB
468 KB PNG
>mpv constantly gets shilled
>"aight I'll try it"
>see picrel
Yeah nah, I'll pass.
122 replies and 29 images omitted. Click here to view.
>>
>>107634923
Brb changing all my profile pics to pictures of rainbow dash to piss off spastics like you.
>>
File: triple.jpg (42 KB, 680x760)
42 KB
42 KB JPG
>>107640478
>>107640618
Haven't seen so many gigachads in one pic in a long time.
>>
>>107646643
Wow how based "woah mods=gods" posts to jerk off their ego instead of actually ban people causing problems, do nothing to combat obvious shitposting spam and worse of all literal child porn dumb agp tranny retard
>>
File: 1742241824717.jpg (848 KB, 1583x2408)
848 KB
848 KB JPG
>>107646684
>brb spraying diarrhea shit all over myself in public to piss you off transphobic neurotypicals
Okay lol? Tranimetroons lack any sort of self awareness it seems.
>>
>>107646888
You have your cause and effect backwards. People with gender dysphoria like anime because they have gender dysphoria, they don't have gender dysphoria because of anime. How would that even make any sense, anime girls don't look like real people. You wouldn't say anime causes autism but autists like anime for several reasons, one big one being it's very easy to read the emotions of girls with animal ears on top of their head compared to a normal person. I think you can figure out what trannies like about it.


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