[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: 1763629111676485.jpg (35 KB, 427x539)
35 KB
35 KB JPG
/dpt/ - Daily Programming Thread

Welcome to the Daily Programming Thread. What are you working on, /g/?

Previous thread >>>107627055
>>
>>107670460
If in C I have functions with attributes ([[noreturn]], [[unsequenced]], etc.) that I defined in a .c file, do I need to also include those attributes in my .h interface file's declarations?
>>
>>107670460
>no ddr4/5
>>
>>107670460
Thank you, shark of anti-botnet.
>>
>>107670624
This is the kind of shit that an LLM would know and tell you immediately.

Human answer: stick with C89. If you are going to upgrade, upgrade to Zig.
>>
>>107670624
Yes. In fact it's probably better to put it in your headers but not the actual function definition.

File: parabola tux.png (162 KB, 1241x1033)
162 KB
162 KB PNG
and enjoy freedom
4 replies and 1 image omitted. Click here to view.
>>
>>107670093
Usecase for buying new hardware?
>>
>>107670006
>and enjoy freedom
Freedom of what? To spend hours doing what could be done in minutes on Windows?
>>
I didn't know Parabola was still around, that used to be shilled hard here like 10 years ago or whatever. I don't use /g/'s flavor of the month distros. Fedora Plasma is my comfy place.
>>
>>107670006
I'm waiting for hyperbola to release their BSD, it seems promising
>>
>>107670069
You could use NixOS without blobs and nonfree software by assigning variables related to that.

>headphone jack
>gimmicky sensors on the back
>flat camera
>full glass finish instead of aluminium
>waterfall screen
>OLED display
>great size
>basic apps work flawlessly
>sd card reader
>usb-c
>mcdonalds app doesnt work (it's a win)
>os is outdated but its artificial block placed by samsung, could easily run newer android if I side loaded it

Other than better cameras, what is even the reason to upgrade anymore? I held S25, folds and newest iPhones in my hands in-store and they felt cheaper than this 7 year old masterpiece of a phone.
5 replies and 2 images omitted. Click here to view.
>>
>>107668365
>no removable battery
>no phone calls with custom roms
>can't even unlock the bootloader on some models (kek)
it's shit
>>
>>107669212
This.
>>
>>107668365
>terrorist colonizer invader state of israel pre-installed spyware
>>
File: IMG_0488.jpg (12 KB, 300x294)
12 KB
12 KB JPG
>>107668365
>a lip AND a forehead
Ill keep my 17 pro max
>>
>>107668365
the swipe down on the fingerprint sensor to show the notification bar on my S8 was my favourite feature.

File: 1765217185766300.png (83 KB, 499x253)
83 KB
83 KB PNG
>tim apple gives you $1,000.000 to make a distro that ACTUALLY just works and can at least attempt to match macOS
what do?
31 replies and 3 images omitted. Click here to view.
>>
>>107659047
get a million blowjobs from your mom
>>
>>107659047
>make a distro that ACTUALLY just works
impossible
> can at least attempt to match macOS
download literally any distro
>>
>>107659047
elementary OS exists and seem to be the only one that has actual HIG and actual coherent design
all the other DEs are made by people that have no clue and just do random shit
>>
>>107659047
Easy: make my distro support Mac hardware exclusively.
>>
>>107659047
>match macOS
Don't need that, we have ai now.

File: watching_tv.jpg (63 KB, 468x382)
63 KB
63 KB JPG
>screens get much bigger
>EVERYONE needs glasses now

???? isn't this backwards?
13 replies omitted. Click here to view.
>>
File: praying_to_trump_meme.jpg (155 KB, 1920x1080)
155 KB
155 KB JPG
>>107666248
>>107666099

are you fucking retarded
>>
>>107664336
seriously has the entire fucking planet forgot how to save jpgs overnight or something? how fucking obvious is this shit, you guys aren't even trying.
>>
File: NINTCHDBPICT000000976988.jpg (1.13 MB, 3202x3195)
1.13 MB
1.13 MB JPG
>>107668086
sorry anon, i simply watched a representative example of an old television to illustrate how much smaller TV sets used to be. one without watermarks or any other bullshit.

here, i used ImgOps' tools to find a larger-resolution JPEG from a newspaper that had licensed the image. i hope this helps!
>>
>>107664336
We weren't staring at video displays 24/7.

Television stations went off air at midnight.
Video-on-demand a relatively recent service; with the ease of clicking "next" to keep things playing, at little to no additional charge.
Personal computers not a common household fixture until mid/late 90s.
Smartphones not commonplace until late 2000s.
Menu boards all physical.
Auto dashboards all physical.
Relatively few computer based jobs, retail POS terminals not screen based.
>>
File: 1741150857076005.jpg (98 KB, 736x735)
98 KB
98 KB JPG
>>107664336
when covid happened, I was mostly confined to my computer screen and because of it I lost my vision to see far.
take care of your eyes bros... it was mostly caused by me browsing and gaming with no other lights on but my monitor.

File: images.jpg (5 KB, 225x225)
5 KB
5 KB JPG
I don't get it. Just let me click to run the installer. Fucking hippies
52 replies and 5 images omitted. Click here to view.
>>
>>107667750
this is because the linux foundation never bothered to make their own sanctioned distro with the blessing of linus torvalds.
Notice how the BSDs don't have this issue?
That is cause these distros aren't linux as an OS but seperate OSes all doing their own clown shoe thing that just so happen to have the linux kernel.
The only saving grace to this hell hole will be steamOS since valve has pretty much already perfected package distribution unlike the zoo of most distros.
Theres a reason linux games don't release as snap,flatpaks or debs.. it's cause steam has already solved tthe issue and those are imperfect solutions. Hell even libre applications that aren't games are on steam like krita and blender.
At some point all linux apps will be steam apps. All because the macfag incharge of the linux foundation was too busy sucking corporate cock instead of helping fix linux.
>>
>>107651731
such a RETARDED idea that it's still in use to this day and is the only way to install software in 2025 without signing in to some kind of (((account)))
>>107653305
>Just bundle 10GB of dependencies with your app, bro!
>>107656623
Yeah, except when it doesn't work (which is most of the time) you get some retarded C/C++ compiler error because someone put -Werror into the build flags and then you have to go edit it.
>>107665878
unix and C are tightly interconnected because the inventor of Unix also invented C in order to write Unix.
>>107655587
Works until you need to set file associations or other things in the registry. To be fair about 60% of apps can be made portable (on Windows. not on Linux though lmao)
>>107661098
>Want to install a program
>Linux tranny comes out of the woodwork and tells you to do unpaid repo janny work FOR FREE
lmao
>>107656526

Comment too long. Click here to view the full text.
>>
>>107667750
It's called a makefile, but yeah linux ecosystem is a total clusterfuck. Not that it really matters since the vast bulk of the systems are the same.
>>
>>107651707
It's for programmers you dip
>>
>>107651733
kek, OP is ngmi

File: G87TsMjbAAAWXRF.jpg (492 KB, 1600x1490)
492 KB
492 KB JPG
Merry Christmas Edition

>Not sure what private trackers are all about?
A private tracker is an invite-only torrent website. Each member shares common goals: collecting, preserving and discussing media.

>Have a question?
- FAQ https://archive.is/UVQkn
- WIKI https://igwiki.lyci.de/wiki/Private_trackers
- NEWFAG PYRAMID https://inviteroute.github.io/graph or https://inviteroute.github.io/sheet/
- STUDY https://www.cambridge.org/core/services/aop-cambridge-core/content/view/2F379FE0CB50DF502F0075119FD3E060
- SPREADSHEET https://hdvinnie.github.io/Private-Trackers-Spreadsheet/
- TEN CURRY COMMANDMENTS https://pastebin.com/raw/dBbdE73M (embed) (embed)
- TEN NEON COMMANDMENTS https://pastebin.com/raw/Ud2pGYaE (embed) (embed)
- RED SPAMMER'S BIBLE https://rentry.org/69zbxh4h
- #ptg is on irc.sageru.org but it's pretty dead

Comment too long. Click here to view the full text.
250 replies and 29 images omitted. Click here to view.
>>
>>107670473
Saar I click on link it ask for login? What is the login saar?
>>
>>107670505
You are just jealous of huno's success bloody benchod keep using your boomer trackers
>>
>>107670505
isn't HUNO ratioless tracker?
what are the rules and FAQ at HUNO? asking as uploader to several private places...
>>
>>107670521
should've been born bangladeshi saar
>>
Seedbox cleanup day. How exciting!

File: tranny ad.jpg (263 KB, 1033x857)
263 KB
263 KB JPG
why are tranny ads allowed on 4chan
>>
>>107670516
the 4 chan is by trannies 4 trannies...
>>
Did you mean to write tranime or do you really say "tranny" so often it autocorrects, embarassing either way.

You can post NSFW to blue boards if you pay hiro for the privilege.
>>
>>107670516
wdym?
>>
4chan serving porn ads is the reason I have an ad blocker on my phone.
Yes, I'm phone posting.
>>
i saw this ad when i accidently opened 4chans on the chrome

File: SvpvTZEF.jpg (122 KB, 606x642)
122 KB
122 KB JPG
AIncels BTFO!
https://x.com/ProtOfMantle/status/2004240611046777272
https://noaiedits.quadvision.eu/
12 replies and 2 images omitted. Click here to view.
>>
>>107669603
you don't understand, every time you click on the like button, you used some force to move your finger/mouse and tap it, that energy is contributed to fighting others in their imaginary world where they can't stop winning
this satisfies them and they are happy
>>
>>107669289
>>107669209
based CHADtists mogging aijeets and fighting back (even if they lose kek)
Meanwhile programmers get excited when some ai jew launches a new model so they can replace them with an Indian using ai.
>>
>>107669282
> stop uploading
No, make burner accounts and upload tons of random ai slop scanned boring public documents, literally random bytes and pretend it’s encrypted.
>>
Is this because of the sharty adding israeli/ice edits to every artists uploads?
>>
>>107669289
slacktivism

File: 1766197563671884.png (7 KB, 192x192)
7 KB
7 KB PNG
>download an image
It crashes
>verify captcha
It crashes


So what was the point?
66 replies and 13 images omitted. Click here to view.
>>
>>107668418
I only updated my own copy of it so that it shows the instructions at the bottom (and removes the now useless "use the slider" and "then click next" parts of it so that it takes less space)
>>
File: tv_cy_hacking.webm (1.67 MB, 1334x720)
1.67 MB
1.67 MB WEBM
I enjoy KurobaEX. I don't have captcha because I have a 4chan Premium account.
>>
Test
>>
well it works
>>
werks

File: ion_storm.jpg (1.99 MB, 2749x2184)
1.99 MB
1.99 MB JPG
Ion Storm 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/107607659/#107607659
49 replies and 6 images omitted. Click here to view.
>>
>>107667771
im relieved you are angry with the world and not me
>>
>>107658781
>Ion Storm edition

Quake source ports are the future of PC gaming.
>>
just report the retarded troll, don't talk to him
>>
I am having a bit of a moment. I'm currently making a sidescroller with the help of ChatGPT. After doing so many motions, you sort of get the hang of it. So now, after so many weeks and months of thinking "oh, well, maybe if i did this, or how could we make this happen?" Basically rubber duckying the fucking thing I get to the answer an okay bit of the time.
But my question is is this bad? I feel like I am making progress and learning but I dont want the stigma that is "LMAO AI coded this game!!"
Is it my acheivement or an LLM's?
>>
>>107658781
ChurchofBedrock.aternos.me

File: image.png (477 KB, 1112x816)
477 KB
477 KB PNG
>Lisp is a family of programming languages with a long history and a distinctive parenthesized prefix notation. There are many dialects of Lisp, including Common Lisp, Scheme, Clojure and Elisp.

>Emacs is an extensible, customizable, self-documenting free/libre text editor and computing environment, with a Lisp interpreter at its core.

>Emacs Resources
https://gnu.org/s/emacs
https://github.com/emacs-tw/awesome-emacs
https://github.com/systemcrafters/crafted-emacs

>Learning Emacs
C-h t (Interactive Tutorial)
https://emacs-config-generator.fly.dev
https://systemcrafters.net/emacs-from-scratch
http://xahlee.info/emacs
https://emacs.tv

Comment too long. Click here to view the full text.
213 replies and 30 images omitted. Click here to view.
>>
>>107666568
>>
>>107670192
>N for nigger
>>
Does this actually ever work? With encryption setup by the installer I have to input my encryption password once on US QWERTY and once on dvorak. I've just written down the matching keys on dvorak so far.
On other distributions only systemd-boot seems to use the right layout recently and is much faster than GRUB with encrypted disks.
>>
File: bootloader password.png (108 KB, 1440x611)
108 KB
108 KB PNG
>>107670545
>>
>>107670548
It's setup by default if you look at the generated system configuration

File: file.png (32 KB, 1098x470)
32 KB
32 KB PNG
it just makes sense
115 replies and 14 images omitted. Click here to view.
>>
>>107667777
Matlab and Fortran both use 1 based indexing, and they're rather popular. It's the logical way to do it, for math and science in particular. 0 based is an aberration and only existing due to implementation details.
>>
>>107669460
Yes, in your silly little language.
>>
>>107667859
>love it so much
You are not allowed to love a language until you've used it. Odin is actually noticeably slower than C. It's roughly like Golang, when it comes to speed. If you are OK with this, why not just use Golang?
>>
>>107668912
I like javascript but the runtimes are hot garbage. node is slow for what it asks for but bun has memory leaks. quickjs has no ecosystem.
>>
There is LuaJIT and also there is a language that looks a bit like Haskell and compiles to Lua. It's called MoonScript. I recommend checking it out if you don't like Lua's syntax

File: 1766623551690405.png (555 KB, 1024x768)
555 KB
555 KB PNG
Ask your BSD-related questions here, discuss tips and tricks, share
scripts, and everything in between.

>Main operating systems
https://www.openbsd.org
https://www.freebsd.org
https://www.netbsd.org
https://www.dragonflybsd.org

>Updates and advisories
OpenBSD: https://www.undeadly.org
FreeBSD: https://www.freebsd.org/security/notices/
NetBSD https://www.netbsd.org/changes/
DragonFly BSD: https://www.dragonflydigest.com


Comment too long. Click here to view the full text.
43 replies and 6 images omitted. Click here to view.
>>
>>107669676
It makes me feel like that fat nigga from jurassic park
>>107670203
damn
>>
>freebsd
woke shitware in bed with lincucks
>openbsd
slow and bloated
>>
>>107661294
is this the macos general?
>>
>>107670373
netbsd is the based and correct option
>>
>>107670528
redpill me on netbsd

>employ Chinese people
>they steal your tech and join your Chinese competitors
21 replies and 4 images omitted. Click here to view.
>>
>>107669638
They can’t, China is always at least month behind US at almost every technology. However they have massive manufacturing base that mogs the rest of the world. US can only do a single thing, and that is invest all of its money into RnD. So US spying or even both parties sharing all technology would just benefit China because they could build all the tech faster and cheaper.
>>
>>107670339
What good is RnD when you don't have to means to (mass) produce?
>>
>>107670332
Stock price is not revenue. Insisting that it is is like insisting that a landlord that owns a 1m house is making 1m a year renting it out.

At least 20 years of profit and growth is priced into that 4t valuation. It's more like 50 years in the case of Nvidia right now
>>
>>107670405
It’s not. US fell for the RnD meme. Too busy researching fiction instead of just building nuclear power plants or making solar panels more durable like China. Just taking what already works and making it better.
>>
>>107669906
>>107669913
God fucking damnit. I have jew fatigue


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