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

engineering 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/107814484/#107814484
212 replies and 25 images omitted. Click here to view.
>>
>>107884855
why does your dev environment matter
>>
>>107884862
Just getting sick of Windows 11 and vscode
I already have i3 and neovim set up on my linux install but I have stockholm syndrome for windows and keep coming back
>>
>>107880206
handmade network/handmade hero community? they have a discord as well I haven't really used it but that's all about engine stuff
>>
>>107884914
they're ideological larpers not gamedevs
>>
>>107884855
you can, and should use both.
I sync up my changes with github.
the only tool on linux that windows lacks is valgrind helgrind/drd which are thread sanitizers (but they don't work with atomics, you can use mutexes locklessly technically by just not locking the mutex).
valgrind memcheck checks for uninitialized memory access (address sanitizer won't catch uninialized memory access) but drmemory on windows does the same thing (with pretty much the same number of false positives) as valgrind memcheck.
But memory sanitizer (linux only) does the same job (I think? might be missing stuff) but it should be a lot faster than valgrind/drmemory but it won't work with GUI applications (because all your libraries must be compiled with memory sanitizer, I believe, but I have not attempted using it).
GUI applications on linux (and windows) will have false positive leaks (not just from nvidia, also for some font libraries that QT loads), it's kind of annoying that linux address sanitizer checks for leaks with no way to disable it with compiler flags, you need to set ASAN_OPTIONS=detect_leaks=0 (can be set internally with a function) or you have a suppression file which still shows a report even if all leaks are suppressed.

What are you working on, /g/?

Previous thread: >>107840984
93 replies and 4 images omitted. Click here to view.
>>
>>107884884
I'm going to use tinyexpr until I implement my own PEMDAS one which I will never do.
>>
>>107884837
How can I help?
>>
>>107884927
lame. You're never going to learn anything if you import the solution each time. Parsing expressions is easy with this algorithm:
https://en.wikipedia.org/wiki/Shunting_yard_algorithm
>>
>>107885017
I'm not making a parser.
>>
>>107884518
>all the design patterns are literally snake oil except the interface one
t. filtered

>just write the code (especially if you are new), no amount of whiteboard masturbation will find out the issues in the problem as just writing the code
that was my point, nigger
but with enough experience you'll eventually find design patterns actually fit well to specific problems. just don't start with them

File: file.png (33 KB, 250x250)
33 KB
33 KB PNG
C++ is the goat because of it's elitist nature. you are either smart and dedicated enough to ascend to the Olymp and become a god or you are shitter and will forever kept out and all you can do is impotent screech and seethe and call yourself a C dev.
the gatekeeping keeps this language pure and superior.
10 replies omitted. Click here to view.
>>
>>107885312
sure thing, bro. you know better than all the experts from the industry and academia.
>>
>>107884515
The fact that it filters retarded, incompetent people does not magically make it less ugly and sloppy. Both can be true at the same time.
>>
>>107885397
so what you're saying is it's the linux of programming languages
>>
>>107885397
>does not magically make it less ugly and sloppy
it isnt. but for that to understand you actually need to master it.
>>
File: le pepe.jpg (95 KB, 798x798)
95 KB
95 KB JPG
>>107884591
Skill issue.
C++ is the best language.

File: 1696342843575.jpg (335 KB, 1920x1080)
335 KB
335 KB JPG
>>107601582
"The further a society drifts from the truth, the more it will hate those that speak it."
--George Orwell

>Cyberpunk
The FAQ: https://sizeof.cat/post/cyberpunk-faq/
What is /cyb/erpunk?: https://pastebin.com/pmn9vzWZ
How do I into /cyb/erpunk?: https://pastebin.com/5tpNFQds
Huge list of cyberpunk media: https://sizeof.cat/post/cyberpunk/
The cyberdeck: https://pastebin.com/7fE4BVBg
Cyberlife: https://jinteki.industries/files/cyberlife.7z
Bibliothek: https://www.mediafire.com/folder/4m5hd2065hde8/Bibliothek

>Privacy
Tools: https://www.privacyguides.org/en/tools/

Comment too long. Click here to view the full text.
251 replies and 41 images omitted. Click here to view.
>>
What are you building, anon?
>>
=== /sec/ News:
>Tails 7.4 Anonymous Linux OS Released with Persistent Language and Formats
https://9to5linux.com/tails-7-4-anonymous-linux-os-released-with-persistent-language-and-formats
>Coming a month after Tails 7.3.1, the Tails 7.4 release introduces a new feature that lets you save your language, keyboard layout, and formats from the Welcome Screen to the USB stick and have them applied automatically when restarting Tails.
>>
>>107884107
Been meaning to try it, is Tails any good?
>>
does cybersec have the same unemployment epidemic as other cs fields?
>>
>>107885174
Its probably worse because of all those certs

File: 1768265434831758.jpg (384 KB, 1024x808)
384 KB
384 KB JPG
At this point I think the newer models are smart enough that if you ran like 100 thousand instances of them for long enough you could achieve AGI in a year or so.
They're not even more intelligent than a junior engineer, but the issue is that the average person can do very little real intellectual work over the course of a lifetime. LLMs are like if you took an immortal halfwit and forced it to take Adderall until it wrote you Shakespeare.
I guess it's happening just like AI 2027 lol. [spoiler]Except God will intervene with some bullshit slowdown like a Taiwanese tsumani or a coronal mass ejection or COVID 2 or some shit because we are meant to rot and wither away instead of living in peace and abundance[/spoiler]
>>
>>107885054
Cmon, at least reply to my thread with some antisemitic remark about OpenAI and say that the bubble is gonna burst in 2 more weeks
>>
File: 1754194359532.jpg (384 KB, 1101x1081)
384 KB
384 KB JPG
OpenJews bubble gonna burst. Just two more weeks my fellow ludditeNigs.

File: 1738717320804.png (62 KB, 400x400)
62 KB
62 KB PNG
>does several things really well and has never had an adequate replacement
90 replies and 12 images omitted. Click here to view.
>>
>>107883542
Damn that looks silky smooth. Is this a screenshot from 20 years ago? Proved me wrong huh
>>
Is flash the new CRT monitor? (Zoomers having nostaliga for something they didn't have enough experience with to remember that it was actually dogshit)
>>
>>107867907
Contain everything into a single .swf file
>>
File: Xperia X1.jpg (731 KB, 2560x1920)
731 KB
731 KB JPG
>>107867907
Look the same on any device
>>
>>107881232
>A lot of Newgrounds games did exactly that.
No they didn't. There was no game that stored your personal info on its own servers while also streaming up to date ads from an adserver. Why make shit up?

File: 0rdp6xxjojdg1.jpg (78 KB, 576x680)
78 KB
78 KB JPG
72 replies and 7 images omitted. Click here to view.
>>
>>107884317
after reading a couple of sites and threads I still don't understand wtf "number paths" are.
wtf is wrong with the good old "you have five apples and you give away two apples, how many apples do you have left?"
also get off my lawn
>>
>>107884814
You really expect them to imagine even just one apple in "dey" head, let alone more?
>>
>>107874156
Absolutely.
About month ago one of my zoomer coworkers asked me what 10 percent of 160 is.
Then again, he's a sandnigger, so I clearly set the bar too high.
>>
>>107874103
We didn't use calculators until middle school(7th grade/ 12-14 year olds) in my country and I'm a zoomer
>>
They're right though. Calculators should only be used for expediting long operations you already understand completely or error checking simple calculations you really don't want to fuck up. Letting people use calculators for everything in a school setting is a waste of teaching math, I already know the calculator knows how to do long division I'm trying to make the students know how to do long division. At a certain point you're just not preparing students for real life. Not everyone is going to to get a job sitting in front of a glorified calculator all day, most tradies have to do a fuckton of napkin math and you really can't pull your phone out every single time. It's why like half of every trade school program is just forcing people to actually learn how to do math without a calculator.

File: 26878206.jpg (981 KB, 4032x3024)
981 KB
981 KB JPG
OLED is great
260 replies and 51 images omitted. Click here to view.
>>
File: IMG_20260117_004517.jpg (2.71 MB, 4096x3072)
2.71 MB
2.71 MB JPG
>>107884700
>>107884603
>saar the google images look dont redeem oled
>>
>>107879011
"can be" and "is" are two different things. It has to be frequently written to the chip because it does not know when a tard will unplug the tv. It's pretty unlikely to last more than, say, 5 years.
>>
>>107870562
Why do they always send the poor?
>>
>>107870562
>watch a lot of 4:3 content
>eats lines into the screen lmao
i daily drive crts for this but they also arent forever. uneven wear is enough of a reason for me that i wont get one until i am forced too or they come down to the price of $200. They undeniably look nice but they are a shit technology with billions of dollars of r&d to mimic shit that crts just did by default. SED/FED getting cucked hard by patent trolling is some of the worst shit to happen to display tech possible.
>>
>>107870562
Press the degauss button

File: 1740201892575669.png (631 KB, 1393x921)
631 KB
631 KB PNG
previous: >>107860495

#define __NR_brk                12


now THIS is a strange syscall. it's always a good sign when the notes section advises you not to use a function, lol. if you haven't read any of the other man pages yet, go read this one: https://man7.org/linux/man-pages/man2/brk.2.html
>the actual Linux system call returns the new program break on success.
>On failure, the system call returns the current break.
such a bizarre api. there's lots of bookkeeping and hoops required if you dare to use this syscall for your allocator. but it's pretty neat to use in toy examples. it requires a very nonstandard approach

relevant resources:
man man

man syscalls

https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/

Comment too long. Click here to view the full text.
49 replies and 4 images omitted. Click here to view.
>>
>>107882345
calm down anon
>>
>>107868194
Worth noting that the manpage is fucked and describes the libc behavior, not the syscall behavior. Many such cases!
>>107868275
I do because I'm an autist: https://hephaist-os.com/sasm
Others do because they don't want to use libc, I think Bun the Javascript runtime makes syscalls directly. Libc does a bunch of goofy things with syscalls, I guess because it's cross-platform.
>>107868424
No that would be libc. If you're directly using syscalls you'll inevitably rely on implementation specific behavior.
>>
back in the day we had to manually sbrk to get heap
and we hiked to the computer lab barefoot in the snow with cast iron furnaces on our backs uphill
etc, etc
>>
i noticed a strange behavior with brk(2). i expect the program break to be placed right after the regions of memory demanded according to the ELF headers, such that you can know it's address statically. but there seems to be a gap.
> end of program = 0x0804a000
> brk(NULL) = 0x09db8000
trying to move the page break backwards fails. maybe the memory is already allocated, but inaccessible?
> mprotect(0x0804a000, 0x1000, PROT_READ|PROT_WRITE) = -1 ENOMEM
wtf. why is there an inaccessible, unallocated region of memory between the real end of the program, and the program break? was i wrong to assume they should be the same?
>>
>>107885012
draw a diagram, where does your stack go?

File: 1760606540974492.png (928 KB, 1424x1320)
928 KB
928 KB PNG
tummy 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
- TEN NEON COMMANDMENTS https://pastebin.com/raw/Ud2pGYaE
- 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.
167 replies and 17 images omitted. Click here to view.
>>
File: 1721581649381.jpg (91 KB, 714x531)
91 KB
91 KB JPG
>>107883963
only know of RED, and it seems 95% of uploads are to game the system and push their shit onto automated seedboxes for buffer
looking at the "snatch" counts across like 9+ years is disheartening for a tracker that's supposedly filled with music enthusiasts, and I suspect the recent freeleech was acknowledging that

heard other trackers reward longtime seeding and have far more frequent FL events to stem all that shit, but RED is limited to seedbox fuckery and severely underutilized, undervalued requests that "rich" oldfags don't use to get newfags to buy and rip shit to gain upload beyond the seedbox economy to be even able to download shit and revolve the whole economy in turn

in expecting some kind of impending total scrotal implosion if it continues unchanged, I hope the other western PTs will begin to open sign ups independently, even with having to offer like 50 bucks worth of stuff at the door like on chink trackers
>>
Seedpool Hits 25 PiB and Enables Every Conceivable Bonus to Celebrate
Global freeleech of course, but also double upload, double earnings on seedpool size, and double daily login rewards for the next 7 days.

18 months ago seedpool did not exist.

Today we are seeding 25 PiB via 616k torrents being seeded by 2 million peers hitting the tracker 2.2 billion times per month. We have 3253 users in chat at the moment, gambling and sharing memes & feet pix 24/7.

We are absolutely humbled by this level of meteoric growth.

Not only do we have our own community to thank, but also the communities and staff of several friendly trackers whom have helped us along the way. You know who you are : ]

Here's to 2026 and another fantastic year lads!

-seedpool staff
>>
File: 1762070881470544.jpg (97 KB, 700x547)
97 KB
97 KB JPG
>>107885284
>>
>>107885284
a great day to be indian
>>
i want an invite. SAD!

If you want a tablet and also want to draw, should you get an iPad or a Samsung tablet?
149 replies and 13 images omitted. Click here to view.
>>
>>107879031
>Teclast
Right. Exactly that.
>>
>>107878983
When did the art industry use Samsung devices?
>>
>>107880899
Never, I think.
>>
>>107880899
Some do, some don't. Most prefer Apple.
>>
I've never seen an actual professional artist use a shitty ass iPad.
The real pros all use Samsung.

File: IMG_9918.jpg (13 KB, 300x300)
13 KB
13 KB JPG
Hi! I have a question to you - which OSINT tools do you recommend?
>>
google

File: 1742975544601849.png (390 KB, 751x492)
390 KB
390 KB PNG
How far away is medical technology from tetrochromatic implants?

If you don't know, some women have a genetic mutation where they have 4 functional color cones in their eyes, allowing them to see a new dimension of colors compared to normal humans.
59 replies and 9 images omitted. Click here to view.
>>
>>107881064
Did he really? Is this some jewish thing?
>>
>>107881150
Retard. After your eyes adjust to the red and the screen changes to teal you see "ovo". If I'm seeing it right, it's basically to purple what cyan is to blue.
>>
>>107883562
That's not how color works. You don't see some imaginary new color when you leave a movie theater to a super bright sunny day.
>>
I don't have this but I have Aphakia, so I can see UV light. Any time I'm in a room like an arcade or something with UV lights its overwhelmingly bright, I only have it in 1 eye though, so the light looks like purple or super ultra intense pink / purple depending on my head orientation.
>>
>>107881033
>tfw no car air filter eyes

File: adt89.jpg (3.76 MB, 4868x2801)
3.76 MB
3.76 MB JPG
>UIs to generate anime
ComfyUI:https://github.com/comfyanonymous/ComfyUI
SwarmUI:https://github.com/mcmonkeyprojects/SwarmUI
re/Forge/Classic:https://rentry.org/ldg-lazy-getting-started-guide#reforgeclassic
SD.Next:https://github.com/vladmandic/sdnext
Wan2GP:https://github.com/deepbeepmeep/Wan2GP
InvokeAI:https://www.invoke.com/

>How to Generating Anime Images
https://rentry.org/comfyui_guide_1girl
https://tagexplorer.github.io
https://making-images-great-again-library.vercel.app/
https://neta-lumina-style.tz03.xyz/

>Output cleanup

Comment too long. Click here to view the full text.
32 replies and 16 images omitted. Click here to view.
>>
File: 1755252501138525.png (1.75 MB, 1216x832)
1.75 MB
1.75 MB PNG
>>
File: file(res).jpg (1.16 MB, 2048x3072)
1.16 MB
1.16 MB JPG
>>
File: ComfyUI_17269_.png (2.76 MB, 1664x2048)
2.76 MB
2.76 MB PNG
>>107884204
Hiroyuki Imaishi
Shinkiro
Masamune Shirow
Nobuteru Yuuki
Kimura Takahiro
Soejima Shigenori
Yoshiyuki Sadamoto
>>
File: surtr.png (1.62 MB, 848x1264)
1.62 MB
1.62 MB PNG
man her official hair shape looks weird
>>
>>107878148
>>107879205
man I envy your tenacity
for what feels like months youve been spamming this board with these slop images. I've never seen anyone tell you that you youre doing good. instead maybe it's time someone told you that you are not creating anything of value or even visually pleasing. it's just slop. it would be kind of minimally interesting if at least you improved, but like I said it's just pure slop and it's not getting better or interesting.
this kind of workflow only works for porn you know

File: Feels_Bad_Meltley~2.png (121 KB, 283x273)
121 KB
121 KB PNG
WHY DOESN'T MICROSOFT OFFICE WORK ON LINUX
61 replies and 6 images omitted. Click here to view.
>>
>>107884954
so how did it continue after that? was it just that one time?
>>
File: IMG_2486.jpg (113 KB, 832x1216)
113 KB
113 KB JPG
>>107880143
another coffindude here, i found myself using libreoffice, hell, my father prefers it over ms office. the one thing one should keep in mind is to adapt, try to achieve the same result with different tools and such, that’s about all, happy incesting
>>
>>107885096
>so how did it continue after that?
The next week was awkward as fuck for me, at first she just blamed it on the alcohol and the breakup, her being emotional. We can't do that again. But we did end up having sex again a few weeks later which we kept up for a while but we eventually had to stop for good because it's REALLY hard to keep secret and neither of us wanted anyone around us to know, especially not our parents.
It's not like the doujins where you end up together and have kids and against the world bla bla bla but it still was a dream come true for me.
>>
Vendor lock-in
>>
>>107885192
>doujins
do you have some recommendations? preferably books.
and I know you/your family needs to be a little messed up in the first place for things like that to happen. were you separated a lot or did westermarck effect just not apply to you?


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