/dpt/ - Daily Programming Thread - /g/ (#105850854) [Archived: 322 hours ago]

Anonymous
7/9/2025, 9:30:35 PM No.105850854
1704054509603662
1704054509603662
md5: 5404bd68a29281b473dd6bcc0dcbe526๐Ÿ”
What are you working on, /g/?

Previous: >>105800235
Replies: >>105850884 >>105870266 >>105886647
Anonymous
7/9/2025, 9:33:26 PM No.105850884
>>105850854 (OP)
>MAID
>Medical Assistance In Dying
Replies: >>105850932 >>105850991
Anonymous
7/9/2025, 9:39:48 PM No.105850932
Screenshot_20250709_153836_Chrome
Screenshot_20250709_153836_Chrome
md5: 704aad2f5ff4908eb17f9186a92b25ff๐Ÿ”
>>105850884
How far will i get with the tax man if i withold till all of this is gone but donate ghe equivalent to food banks, internet archive and the canadian constitution foundation?
Replies: >>105850971
Anonymous
7/9/2025, 9:43:44 PM No.105850971
>>105850932
chat gpt please learn which board you are posting on we are joking about the maid avatarfag who posts here
Anonymous
7/9/2025, 9:46:45 PM No.105850991
1751877473890444
1751877473890444
md5: a2ea836d037189bea90804229a367c7f๐Ÿ”
>>105850884
>Mechanically Assisted iToddler Death
Replies: >>105851004 >>105862835
Anonymous
7/9/2025, 9:48:59 PM No.105851004
>>105850991
based sneechia poster
Replies: >>105851062
Anonymous
7/9/2025, 9:52:05 PM No.105851034
final_verdict_2
final_verdict_2
md5: 299b028b008ae07bb2e9a5b871d3200e๐Ÿ”
Threadly reminder.
Replies: >>105851091
Anonymous
7/9/2025, 9:55:02 PM No.105851062
Tohru
Tohru
md5: 34f33c16d3f09f1bfd195d1dce525456๐Ÿ”
>>105851004
>/g/ - Dra/g/on Maid Board
What does this have to do with maids and would anyone like to discuss counting big numbers?
Replies: >>105851075 >>105851091 >>105851095 >>105852110 >>105879359
Anonymous
7/9/2025, 9:56:12 PM No.105851075
>>105851062
Shut up tranny.
Anonymous
7/9/2025, 9:58:07 PM No.105851091
>>105851062
Meant for >>105851034
Replies: >>105851100
Anonymous
7/9/2025, 9:58:29 PM No.105851095
>>105851062
Continue speaking, real woman.
Anonymous
7/9/2025, 9:58:46 PM No.105851100
>>105851091
Read the thread title, motherfucker.
Anonymous
7/9/2025, 10:08:00 PM No.105851188
sha1-wiki
sha1-wiki
md5: 857578a3491b08f3b82a806602ae253b๐Ÿ”
>code SHA-1 in C++
>pseudo-code on wiki is broken (took me ages to notice)
>fixed it after consulting RFC
>still doesn't work
>spend another 2 evenings pulling my hair out
>turns out it was a minor endianness error
yes,I spent 3 (three) fucking evenings coding SHA-1, with access to plenty of example implementations. posting this just in case you ever think you are bad at coding.
Replies: >>105851607 >>105871959
Anonymous
7/9/2025, 10:55:59 PM No.105851607
>>105851188
that's normal when you're coding something new
Anonymous
7/9/2025, 11:19:28 PM No.105851854
I'm not even the real maidposter. I just posted Tohru because I want her to come back.
Anonymous
7/9/2025, 11:35:24 PM No.105852029
Bikeshedding over how I should expose a way to queue up a complex request: an Add method with many arguments, one per configuration field, or an Add method with a single struct/class argument that contains all the configuration fields
Replies: >>105852035
Anonymous
7/9/2025, 11:36:07 PM No.105852035
>>105852029
the latter, make it abstract if you need backwards compatibility
Replies: >>105852243
Anonymous
7/9/2025, 11:42:15 PM No.105852110
>>105851062
>counting big numbers
Honestly kinda miss that lil' nigga just because of how retarded/insane he was.
Replies: >>105852378
Anonymous
7/9/2025, 11:52:36 PM No.105852243
>>105852035
That's what I'm thinking, because of what you said and the fact that I can then create an AddMany method that takes in an array of the complex configuration objects
Anonymous
7/10/2025, 12:07:54 AM No.105852378
>>105852110
>retarded/insane
You are a numberlet
Replies: >>105852414
Anonymous
7/10/2025, 12:11:14 AM No.105852414
>>105852378
Alright keep counting, I'm sure you'll free the maid mind one of these days with your numbers.
Anonymous
7/10/2025, 12:15:13 AM No.105852445
talkingtoatranny
talkingtoatranny
md5: 3bb9223ad5593561cd61274c274c3deb๐Ÿ”
Threadly reminder about maid posters.
Replies: >>105879100 >>105879367
Anonymous
7/10/2025, 12:21:39 AM No.105852494
For any ML programmers... what's the best way to do feature selection on something with like a couple million features?
Anonymous
7/10/2025, 12:22:46 AM No.105852503
>For any ML programmers
OCaml sisters I don't think he means us
Replies: >>105852523
Anonymous
7/10/2025, 12:26:24 AM No.105852523
>>105852503
Yeah, I'm referring to machine learning stuff.
Anonymous
7/10/2025, 2:31:10 AM No.105853449
2025-07-09 17-24-29_thumb.jpg
2025-07-09 17-24-29_thumb.jpg
md5: 2ce87b8e4ed488060d21884ac61eefca๐Ÿ”
https://files.catbox.moe/rdvnst.mkv
https://github.com/Zizin13/ROLLER
3D CAR 3D CAAAAR 3D CAR 3D CAAR
Replies: >>105856895
Anonymous
7/10/2025, 2:45:59 AM No.105853553
Does this make sense as a way to use polymorphism in C++ to store implementations of a base class and access them through an interface? (base would have some functions, just none shown here for demonstration)

I'm not a fan of the enum, seems like an easy way to make a programming mistake when adding new derived classes, but I don't know how else to convey the information after inserting the class into the list
#include <vector>

enum class DerivedType {
Derived1,
Derived2
};

class Base {
public:
Base(DerivedType type) : type(type) {}

DerivedType type;
};

class Derived1 : public Base {
public:
Derived1() : Base(DerivedType::Derived1) {}
};

class Derived2 : public Base {
public:
Derived2() : Base(DerivedType::Derived2) {}
};

class BaseList {
private:
std::vector<Base *> bases;
public:
void addBase(Base *base) {
bases.push_back(base);
}

void removeBase(int index) {
bases.erase(bases.begin() + index);
}
};
Replies: >>105853733 >>105854812 >>105857139 >>105867752
Anonymous
7/10/2025, 2:53:16 AM No.105853612
1739913646489736m
1739913646489736m
md5: 8be15dffeb5be928071900ffdee45a0e๐Ÿ”
Been a while since I tried coding anything, what are some good resources to read/watch if I want to make basic GUI apps in Linux?
I'm kinda familiar with C, Lua, and Python.
Replies: >>105853936
Anonymous
7/10/2025, 3:15:28 AM No.105853733
>>105853553
yes that's very normal, including the enum which is often used to implement a faster dynamic cast that avoids RTTI
https://llvm.org/docs/HowToSetUpLLVMStyleRTTI.html
llvm has a pretty detailed docs on how their libraries use this, although IMO their approach is very heavy
Replies: >>105854812 >>105867571
Anonymous
7/10/2025, 3:49:58 AM No.105853936
>>105853612
Doesn't get much more straight forward than this
https://docs.gtk.org/gtk4/getting_started.html
Everything you need will already be installed on your system.
Replies: >>105864057
Anonymous
7/10/2025, 5:17:30 AM No.105854437
The developers of a software my company uses pulled out functionality that I wanted to use and that was accessible via their API into an opaque RPC server
I'm upset, I'm tired of reverse engineering their file formats because they don't give me the tools to properly access their data
Anonymous
7/10/2025, 6:17:15 AM No.105854812
>>105853553
>>105853733
another problem I've been thinking about is how to address a specific object in the list when in a multi-threaded scenario. In my example I used the index, but in the case of like a GUI where a person views the list and then selects the object to act on, the object at that index could change or disappear all together between viewing and acting.

Things I've thought of are:
>base gets created with unique ID value that increments each time, basically file descriptors for objects
>I don't necessarily care that the object I interact with is the exact same one as the one I was looking at, but an equivalent object would do. for example if my objects were blocks in a game like minecraft, they 'key' could be their x,y,z + block type. then I search for it in the list and can do stuff with it

Also to go along with that, how do you act on an object in a multithreaded environment like that? I was thinking I could make a function on my BaseList class which accepts a function + object key as argument and then lets the list itself perform the operation, kind of like qsort. That way the list is always in control of the objects and you don't have to worry about external things holding references that could expire or locks just to mess with 1 object. Thoughts on that?
Replies: >>105854845
Anonymous
7/10/2025, 6:20:04 AM No.105854845
>>105854812
I'm OK with not caring. If you still do that's solely a You-problem.
Anonymous
7/10/2025, 7:48:03 AM No.105855484
my brain is too small for make files and having different targets plus their tests so i just grabbed meson
at least its easy to use and will tell you where you're fucking up but man, i hate having to fuck with the build file every time i add a dependency to a source file
Anonymous
7/10/2025, 7:53:55 AM No.105855526
assets
assets
md5: 3f444f91477a9cb37e2b7eed55bcdfaa๐Ÿ”
Is there a cli tool to download all of these asset files in bulk from github pages?
Replies: >>105855846 >>105866041
Anonymous
7/10/2025, 8:48:09 AM No.105855846
>>105855526
wget
Anonymous
7/10/2025, 11:12:12 AM No.105856791
crab-rave
crab-rave
md5: d0c157935d6144d45c48d5a3053ab118๐Ÿ”
Just wrote and compiled my first Rust program
Replies: >>105862310
Anonymous
7/10/2025, 11:29:29 AM No.105856895
>>105853449
based decomp but I've never heard of this game. Did you play it as a kid or something?
Replies: >>105858340
Anonymous
7/10/2025, 12:04:46 PM No.105857139
>>105853553
undefined behavior
Anonymous
7/10/2025, 1:17:55 PM No.105857651
What would it take to get a job in a.i/ machine learning? Is it even possible with a bachelor's in comp sci?
Anonymous
7/10/2025, 2:30:05 PM No.105858340
whiplash_nemesis_thumb.jpg
whiplash_nemesis_thumb.jpg
md5: f3f7fb211e100788564f2d10fe101d99๐Ÿ”
>>105856895
Yeah it was the standard by which I judged all racing games as a kid. Nothing quite like it has ever been made. It's got crazy loops, corkscrews, and other stunts like trackmania but it's also a combat endurance race where you are encouraged to wreck other cars. It's got manufacturer teams running two cars each like le mans or f1 and the AI is really funny with player-like behavior I have never seen AI do in other games. They'll do things like drive through the pits at top speed to try and wreck people trying to repair or if one car on a team is doing really poorly they might decide the best thing for the team is to turn around and drive the track backwards to wreck people. It's got 2 player split screen and 16-player network multiplayer in 1995.

Also my mom hated it because when you successfully murder someone the announcer shouts YEAAH FATALITY so it was "too violent" aka extra cool when you're ten years old.
Replies: >>105859833
Anonymous
7/10/2025, 5:36:24 PM No.105859833
>>105858340
>my mom hated it
Thanks for reminding me why people like Jacob Ind are my unsung heroes.
Replies: >>105860234
Anonymous
7/10/2025, 6:18:20 PM No.105860234
irl_whiplash_thumb.jpg
irl_whiplash_thumb.jpg
md5: 1ef582d63d140d414596a46dbf96cb3c๐Ÿ”
>>105859833
Nah my parents were wonderful. I was lucky enough to experience a two parent household with lots of siblings and parents who obviously love each other to the point of doing gross embarrassing PDAs like high schoolers all their lives. You know how moms can be about violent stuff though. My wife is the same about our kids, it's like becoming a mom flips a switch in your brain. She thought goddamn chitty chitty bang bang would be too scary for them. The child catcher guy is pretty creepy though ngl.
Replies: >>105860384
Anonymous
7/10/2025, 6:34:25 PM No.105860384
>>105860234
Sounds like your parents got lucky. It's up to fate if you guys will share that luck, or prematurely end up beneath a tombstone.
Anonymous
7/10/2025, 6:35:02 PM No.105860389
Learning about cache replacement algorithms and planning to implement clock pro+ to see how it performs compared to someone elses ARC implementation. May end up doing CAR too to compare against CP+ but I'm already procrastinating so I might not go that far.
Anonymous
7/10/2025, 6:47:48 PM No.105860501
1750931878985731
1750931878985731
md5: bbce0029a185ed03f8ec1d19f3007d49๐Ÿ”
Diving deeper into Go. Just setting a pointer to nil feels so wrong, but holy balls is the whole process comfier than fighting the C link/build systems.

The interface system in pretty nifty too. All a thing has to do is fulfill the interface and it is one of such kind.
Anonymous
7/10/2025, 8:21:03 PM No.105861524
2025-07-10 11-15-51_thumb.jpg
2025-07-10 11-15-51_thumb.jpg
md5: 4079c59addae8c8b8e562de4dc927361๐Ÿ”
Fixed the little issues that caused the model to explode and the shadow to be all fucked up.
https://files.catbox.moe/dp98n3.mkv
Replies: >>105861895
Anonymous
7/10/2025, 9:00:58 PM No.105861895
f1wack_thumb.jpg
f1wack_thumb.jpg
md5: b72194c1b2cdb52c66212f8e27459b57๐Ÿ”
>>105861524
Even the fucked up z-ordering on the open wheel cheat car works exactly like the real game, and now I know why it's like that.
Anonymous
7/10/2025, 9:18:15 PM No.105862071
1736111822868886
1736111822868886
md5: 5db175d3fee20d27a282fea8a806c1a5๐Ÿ”
is there an efficient way to do polymorphism with an object's function depending on the object's state without using a bunch of if statements since each function will be ran 10000+ times? should i make it so the function instead evaluates a lambda function which changes depending on the state before running the function running loop?
does it even matter in the end if its not time critical?
Replies: >>105862103 >>105862142 >>105862317 >>105862678 >>105865280 >>105872791
Anonymous
7/10/2025, 9:20:44 PM No.105862103
>>105862071
vtables?
Anonymous
7/10/2025, 9:22:42 PM No.105862122
1747768428025266
1747768428025266
md5: e38bdfcab2ce7f07c13f4148ad80d10e๐Ÿ”
Alright, uber mega ultra /g/, javascript, SQL newfag but not really because of frontend experience almost 2 decades ago working on html, css and mostly former flash/dreamweaver obsessive retard here.

I've been doing a JS class for 2 months now and recently we tapped into JSON and what I found interesting is how the teach showed us an example on how to load a whole site by delaying the load limit precisley using JSON to esentially hide the main web data(as in inspect element doesn't show anything about the site's structure). Why is this not common practice? Asking as someone interested in web security.
Replies: >>105862352
Anonymous
7/10/2025, 9:24:07 PM No.105862142
>>105862071
what? everything will compile down to if statements anyways, so just use if statements
Anonymous
7/10/2025, 9:26:45 PM No.105862169
Iโ€™m tired of wasting my time mindlessly doing nothing and am continue learning python again, wish me luck
Replies: >>105862190
Anonymous
7/10/2025, 9:28:07 PM No.105862190
>>105862169
>wasting my time mindlessly doing nothing
>continue learning python again
You're repeating yourself.
Replies: >>105862356
Anonymous
7/10/2025, 9:37:39 PM No.105862296
2025-03-19-155801_hyprshot
2025-03-19-155801_hyprshot
md5: 3de0f3df59fb2ec8936c2e69e27ae0c9๐Ÿ”
So last night I helped some kid from my faculty to get a grasp on some graphics programming. I made a video tutorial for him using Raylib and C.
Just some basic shit like drawing rectangles and triangles.
After I sent him the video I got a little entertained and continued by myself. Just a baby recreational project.
I set a circle to bounce around the screen, like the DVD screensaver. That took me a little more than expected. The I went to sleep.

Today I thought I'd add a second ball and have them bounce off each other. So I googled how to find when two circles intersect.
Holy fucking shit the math required only for this little thing is insane.
Game devs are fucking INSANE. I kneel.
Any recommended reading? I kinda want to get into graphics/engine programming but, you can see where I stand now.
Replies: >>105862385 >>105864028 >>105864070 >>105879025
Anonymous
7/10/2025, 9:39:07 PM No.105862310
>>105856791
Nice, it's not that hard to be honest, but congrats anon. Keep going. That language is hard as fuck and honestly kinda shit.
Anonymous
7/10/2025, 9:39:45 PM No.105862317
>>105862071
You could try using function pointers or delegates depending on the language you're using
On a state transition you override the function pointer with whatever should execute at this point

It sounds like you're building a finite state machine anyways, you should look up how smart people do that in whatever language you're using
Anonymous
7/10/2025, 9:43:41 PM No.105862352
>>105862122
If you mean dynamically generating the website based on the contents of the JSON, you can inspect the JSON in the Network tab of your browser's developer tools
It's common practice for big companies' modern websites, e.g. Facebook, Instagram where the page dynamically fetches content and then parses/displays it
Replies: >>105862601
Anonymous
7/10/2025, 9:44:10 PM No.105862356
>>105862190
I already started the shit, might as well finish it
Anonymous
7/10/2025, 9:47:26 PM No.105862385
>>105862296
Isn't it as simple as testing if the distance between the centers is less than the combined radii?
Replies: >>105862664
Anonymous
7/10/2025, 10:07:11 PM No.105862601
>>105862352
Forgot to mention. He also used ajax to order the load delay time for site elements to "cascade" per se.
Anonymous
7/10/2025, 10:12:18 PM No.105862664
>>105862385
Not afaik
https://math.stackexchange.com/questions/256100/how-can-i-find-the-points-at-which-two-circles-intersect

However I found Raylib has a handy function:
bool CheckCollisionCircles(Vector2 center1, float radius1, Vector2 center2, float radius2); // Check collision between two circles


So I'm getting some traction again
Replies: >>105862700
Anonymous
7/10/2025, 10:13:47 PM No.105862678
43ec587240a05456bb0f4280bd852e4cced25d8a3c8b726e86dd950f927e16f7
>>105862071
Computed goto.
Anonymous
7/10/2025, 10:16:05 PM No.105862700
>>105862664
Why would you need the points?
Replies: >>105862811
Anonymous
7/10/2025, 10:25:37 PM No.105862811
>>105862700
To decide wheter to invert or switch the direction or "bounce" vertically or horizontally?
Honest question. I'm not entirely sure what I'm doing and I don't want to ask chatgippity just yet
Replies: >>105862834
Anonymous
7/10/2025, 10:27:29 PM No.105862834
>>105862811
You know the wall that the circle intersects.
Anonymous
7/10/2025, 10:27:41 PM No.105862835
apple users vs android users
apple users vs android users
md5: 6da0cdb1ef9e4179681f3985fb372e00๐Ÿ”
>>105850991
>sars android (and AMD) are very very good valu sars!
Replies: >>105862848 >>105871082
Anonymous
7/10/2025, 10:29:02 PM No.105862848
>>105862835
There are more indians in USA and Canada than there are in the rest of the world excluding India itself.
Replies: >>105863382
Anonymous
7/10/2025, 11:19:31 PM No.105863382
>>105862848
doesnt explain north korea
Replies: >>105863399
Anonymous
7/10/2025, 11:21:38 PM No.105863399
>>105863382
It does.
Replies: >>105863449
Anonymous
7/10/2025, 11:26:07 PM No.105863449
>>105863399
lets heart roru theroies
Anonymous
7/10/2025, 11:59:24 PM No.105863794
Patchouli_Knowledge
Patchouli_Knowledge
md5: 044b7138f7e47057f987b6c9df3faf6a๐Ÿ”
ive been working on a game in bevy, rust is fun, first time making a real desktop app since work is all boring microservice crap
but the engine is just not ready, i want to make a strategy game and thats obviously going to be very UI/menu intensive and it is just absolutely not ready for that kind of thing but im trudging through it anyway
something like half my repo is purely UI code, and i havent really been able to test the core gameplay like i wouldve wanted to by now

i also looked into some ui abstraction libraries but theyre either out of date for the recent version of bevy or dont have the features to justify me moving over what i already have
i know theyre currently working on a proper editor for the engine but its probably not going to see the light of day till next year if anything, and i want to 1. use rust 2. make game so i am stuck here, suffering
thank u for reading my blog
Replies: >>105863986
Anonymous
7/11/2025, 12:14:01 AM No.105863941
1740932863212383
1740932863212383
md5: ff90647b569ee7d4a9fc96054a376c7f๐Ÿ”
This is a fucking lie btw, even with [[gnu::always_inline]], you'll still often end up with an extra stack frame somewhere in the code. If your function is trivial, always use macros

https://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/Inline.html
Replies: >>105867108
Anonymous
7/11/2025, 12:17:58 AM No.105863986
>>105863794
Yeah, as far as I understand Bevy is incomplete but also heard it is way too different and complex. Too different from a normal graphics library. How has it been?
I've read the book, but only written basic to mid shit in Rust
Replies: >>105864073
Anonymous
7/11/2025, 12:22:02 AM No.105864028
>>105862296
>Holy fucking shit the math required only for this little thing is insane.
It's not too bad, except you need to handle what happens when the intersection really happens between simulation steps, and you need much more complex math if you want to handle rotating objects. Damn, do I hate tensors.
Replies: >>105864070
Anonymous
7/11/2025, 12:25:16 AM No.105864057
>>105853936
>Doesn't get much more straight forward than this
Yes it does.
Anonymous
7/11/2025, 12:26:43 AM No.105864070
1743105862905788
1743105862905788
md5: 1e89cc65f1006ddc9c102d54f723ce15๐Ÿ”
>>105864028
>>105862296
Honestly I do not understand how I keep seeing people on YouTube making Minecraft clones. That seems extremely hard and like it might take one to three years to accomplish.
Anonymous
7/11/2025, 12:26:58 AM No.105864073
>>105863986
honestly i've barely done any work on the rendering side so far. my game is basically going to be a 2D map so i'm just drawing basic meshes, no animations or anything fancy yet. i don't have a frame of reference to compare the engine to other things because it's first game engine ive used

I will say ECS is a joy to work with, at least for the type of game I'm making. it's so incredibly easy to implement new mechanics and I rarely have to think about performance because of how component querying works alongside how 'systems' (the functions that define all your actual logic) work and are by default run in parallel where possible (so no modifying components while being read somewhere else). coming from a background of java and not doing any c++ since college rust has been a breath of fresh air after learning the borrow checker, the pattern matching is also so incredibly useful
Anonymous
7/11/2025, 1:39:38 AM No.105864743
Uuuhhhh
Do any of you guys work with Visual Studio (not VSCode) ?
I might need to start using Windows for all my C++ coding and I was wondering if Visual Studio was an actual option or just MS slop.
Replies: >>105864773 >>105867542
Anonymous
7/11/2025, 1:43:12 AM No.105864773
>>105864743
if youre coding for Windows, visual studio is the best youre gonna get it can do some magical things with debugging and profiling, CLion is also extremely good and you can at least transfer those ide skills for when youre working in linux
Replies: >>105864828
Anonymous
7/11/2025, 1:50:44 AM No.105864828
>>105864773
I've rarely used debuggers and if I were to try to use dbg right now I'd be lost af.

Idk, I'm wondering whether to go drop Linux for a while full Windows productivity mode. Maybe learn all these tools that Visual Studio offers. Maybe I'll actually become productive and get a job inshallah
Replies: >>105864867
Anonymous
7/11/2025, 1:55:25 AM No.105864867
>>105864828
>I've rarely used debuggers and if I were to try to use dbg right now I'd be lost af
perfect, visual studio is made for retards like you its impossible to fuck up debugging and barely requires configuration
also no theres no point in dropping linux if you want to get a job being a codemonkey because 99% of jobs will have you interacting with linux in some form whether youre developing something that runs on linux or interacting with cloud services that run on linux, there is no point in dropping linux especially when its the best its ever been from a user desktop experience, and the dev environment will always be 100000x times easier to manage and set up than anything on windows
Replies: >>105865584
Anonymous
7/11/2025, 2:52:45 AM No.105865280
>>105862071
Make the state an enum and use a jump table.
Anonymous
7/11/2025, 3:40:31 AM No.105865584
>>105864867
I mean it is not like I haven't used dbg before and like I couldn't learn to use it and other tools like Cmake or whatever.
I was just wondering whether to switch for more "comfort" or productivity or both. But I ultimately agree that for a codemonkey job it's kind of the same.
Anonymous
7/11/2025, 4:18:37 AM No.105865814
output_thumb.jpg
output_thumb.jpg
md5: bed30caa0f7d753c400070f2c54263c4๐Ÿ”
I adding a flashing effect to my gtk timer.
Replies: >>105866054
Anonymous
7/11/2025, 4:56:28 AM No.105866041
>>105855526
Github cli probably has something for that
Anonymous
7/11/2025, 4:59:35 AM No.105866054
>>105865814
>gboolean
>gchar
>gpointer
This is cancer
Replies: >>105866150
Anonymous
7/11/2025, 5:12:47 AM No.105866150
screenshot-11-07-2025-13:08:58
screenshot-11-07-2025-13:08:58
md5: ce7184820864f551ca94ceb871a82e5f๐Ÿ”
>>105866054
I use it to differentiate which c files depend on gtk and which don't.
Like plain c vs glibc
Replies: >>105880297
Anonymous
7/11/2025, 5:39:58 AM No.105866333
jon blow compiled 300k loc in his new language in 2 seconds without caching builds how is this possible?
Replies: >>105866360 >>105866370 >>105866398 >>105866630 >>105866632
Anonymous
7/11/2025, 5:45:49 AM No.105866360
>>105866333
Don't care.
Anonymous
7/11/2025, 5:48:40 AM No.105866370
>>105866333
he literally talks about it for an hour why dont you go find out
Anonymous
7/11/2025, 5:53:41 AM No.105866398
>>105866333
custom x64 backend that doesn't optimize and doesn't include the same file six billion times per header
Replies: >>105866485
Anonymous
7/11/2025, 6:12:06 AM No.105866485
>>105866398
he said he still uses llvm THO
Replies: >>105866638 >>105866658
Anonymous
7/11/2025, 6:38:09 AM No.105866630
>>105866333
you are only just now finding out how slow compilers have gotten?
Replies: >>105866968
Anonymous
7/11/2025, 6:38:19 AM No.105866632
>>105866333
The better question is how is it possible all other build systems are so slow. After all these years of effort from the entire world, some even considered industry standards that the whole planet depends on.
Replies: >>105866968 >>105867002
Anonymous
7/11/2025, 6:39:25 AM No.105866638
>>105866485
the 2 seconds figure was not including llvm optimization passes
Anonymous
7/11/2025, 6:43:18 AM No.105866658
>>105866485
Wasn't it:
Debug build - Blow backend
Release build - LLVM
Anonymous
7/11/2025, 7:11:01 AM No.105866809
my programming language has no concept of "functions"
Replies: >>105866834 >>105866842
Anonymous
7/11/2025, 7:16:13 AM No.105866834
>>105866809
No one asked.
Anonymous
7/11/2025, 7:18:03 AM No.105866842
>>105866809
you vill implement ze monad
Anonymous
7/11/2025, 7:34:08 AM No.105866919
The ideal programming language would read just like English.

They add A to B and store the result in C.


Elegant. Beautiful. Self-documenting.
Replies: >>105867020 >>105867049
Anonymous
7/11/2025, 7:44:14 AM No.105866968
>>105866632
>>105866630
rust at least has a good excuse for its slow compiler, its doing a lot of extra work other compilers dont, i do wish it could be faster but incremental builds are good enough that i never spend that much time compiling while working on something anyway and i recently found out you can hot reload rust so thats saved me a bunch of time too
Anonymous
7/11/2025, 7:50:13 AM No.105867002
>>105866632
im flashbacks to working on a java 8 spring monolith that took an hour to do a full compile and the only other option was a hacked together script a coworker wrote that would let you recompile a singular module, but then you still had to wait a minimum of 10-15 minutes to deploy it because it was impossible to set up locally and all development had to be done through a remote vm that was always lacking enough RAM because IT was stingy, so much so that you couldnt even attach vscode and run your lsp without it crashing half the time

i hate corposoftware so much
Anonymous
7/11/2025, 7:53:33 AM No.105867020
>>105866919
I'm trying to imagine writing anything more complicated than fizzbuzz and it sounds like a nightmare. Even in your example it's 100x harder to read that than
C = A + B
But imagine writing an allocator. For laughs I asked Claude to make one
Create a memory allocator called BlockAllocator.

Define a memory pool of 4096 bytes for BlockAllocator.
Define a bitmap of 64 bits to track block usage.
Set block size to 64 bytes.
Calculate total blocks as 64.
Set all bits in bitmap to 0 meaning available.

Define allocate function:
Loop through each bit in bitmap from 0 to 63.
If current bit equals 0:
Set current bit to 1.
Calculate memory address as block number times 64.
Add memory pool base address to get final pointer.
Return final pointer.
Continue to next bit.
If no available blocks found, return null pointer.

Define deallocate function that takes pointer as input:
Subtract memory pool base address from pointer.
Divide result by 64 to get block number.
If block number is valid:
Set bitmap bit at block number to 0.
Clear the 64 bytes of memory at that block.
Otherwise ignore invalid pointer.

Define get_free_blocks function:
Set counter to 0.
Loop through each bit in bitmap.
If bit equals 0, add 1 to counter.
Return counter.

Initialize BlockAllocator memory pool to all zeros.
Set bitmap to all zeros.
Mark allocator as ready for use.
That's so much Hardee to read than an equivalent C allocator
Replies: >>105867026 >>105867049
Anonymous
7/11/2025, 7:55:23 AM No.105867026
>>105867020
You're thinking too much like a programmer. You need to refactor that to read more like Harry Potter. Every program should tell a story.
Replies: >>105867041 >>105867062
Anonymous
7/11/2025, 7:57:41 AM No.105867041
>>105867026
Bro AI is gonna take our harry potter fanfic writing programming jobs
Conjure a memory allocator called the Enchanted Block Grimoire.

Summon a magical memory vault of 4096 bytes for the Grimoire.
Create a crystal orb with 64 glowing runes to track block enchantments.
Set each memory block size to precisely 64 bytes.
Calculate total magical blocks as 64.
Dim all runes in the crystal orb to show available blocks.

Cast the allocation spell:
Examine each rune in the crystal orb from first to last.
If current rune shows dim light:
Illuminate the rune with bright magic.
Calculate memory location as rune number times 64.
Add the vault's entrance address to find the exact chamber.
Return the chamber's magical address.
Move to the next rune.
If no dim runes remain, the spell fails and returns nothing.

Cast the liberation spell that takes a magical address:
Subtract the vault's entrance from the given address.
Divide by 64 to discover which rune controls this chamber.
If the rune number is within the crystal orb:
Dim the rune to show the block is free.
Cleanse the 64 bytes with purification magic.
Otherwise ignore the invalid magical address.

Cast the counting charm:
Begin with zero available chambers.
Examine each rune in the crystal orb.
If rune shows dim light, add one to the count.
Reveal the total number of free chambers.

Prepare the Enchanted Block Grimoire with empty chambers.
Dim all runes in the crystal orb.
Declare the magical allocator ready to serve wizards.
Anonymous
7/11/2025, 7:59:13 AM No.105867049
>>105866919
>>105867020
nlp is probably the stupidest idea ive ever heard of
and theres fags talking about making languages to interface with llms directly like this
Anonymous
7/11/2025, 8:02:03 AM No.105867062
>>105867026
Once upon a time there was an Integer named Inty. Inty was an Unsigned Integer. All the other Signed Integers would make fun of Inty, asking him questions like, "Inty, what is 0 minus 1?" to which he would reply "4294967295" and they would all point at him and laugh. But that all changed one day when Inty brought an Exception to school.
Replies: >>105867075
Anonymous
7/11/2025, 8:06:33 AM No.105867075
1730662003177280
1730662003177280
md5: 3def9a5e50c661ab63a628e4924a4a52๐Ÿ”
>>105867062
>they would all point at him and laugh
Anonymous
7/11/2025, 8:16:07 AM No.105867108
>>105863941
If your function was truly trivial, it would be inlined without being marked inline. You're just a mouthbreather who doesn't know how to use a compiler then gets mad at nothing.
Anonymous
7/11/2025, 8:21:08 AM No.105867138
screenshot-11-07-2025-16:20:09
screenshot-11-07-2025-16:20:09
md5: 41feb4abbd6332033130d7289449492d๐Ÿ”
Use case for gtk_widget_set_margin_all?
Anonymous
7/11/2025, 8:36:41 AM No.105867218
ass embly
ass embly
md5: 64ec8d21b91f57859ab5ffcc3419fe96๐Ÿ”
I need to learn x86-64 assembly for debugging shit on windows. Recommend me some learning resources.
Replies: >>105867260 >>105867288 >>105867291 >>105867343 >>105867791
Anonymous
7/11/2025, 8:43:08 AM No.105867260
>>105867218
daniel kusswurm's latest assembly book, i think it goes up to AVX-512
Anonymous
7/11/2025, 8:48:23 AM No.105867288
>>105867218
Write basic c code and compile it with zero optimizations and then study it with objdump.
Anonymous
7/11/2025, 8:49:09 AM No.105867291
>>105867218
use godbolt, learn it, love it its useful even if you never end up writing any assembly by hand
Anonymous
7/11/2025, 9:00:05 AM No.105867343
screenshot-11-07-2025-16:59:40
screenshot-11-07-2025-16:59:40
md5: ed12575095e16a017b644582ad94c960๐Ÿ”
>>105867218
gdb is the answer.
Replies: >>105867497 >>105867760
Anonymous
7/11/2025, 9:21:20 AM No.105867456
The little triple bleep bloop back and forth dance between the 8086 (or really any x86 processor i suppose) and the 8259A is a bit of a fucking pain for a brainlet like me to emulate but I'm getting through it
Anonymous
7/11/2025, 9:29:38 AM No.105867497
>>105867343
does gdb's tui stuff work on windows yet?
Replies: >>105867666
Anonymous
7/11/2025, 9:40:31 AM No.105867542
>>105864743
VS is fine, I have been using it for decades. still, I moved all my workflows to VSCode last year. I am not saying it's better, but it lets me to work the same way on Linux and Windows. I just got used to it.
Replies: >>105874335
Anonymous
7/11/2025, 9:45:19 AM No.105867571
>>105853733
>"LLVM avoids using C++โ€™s built in RTTI. Instead, it pervasively uses its own hand-rolled form of RTTI which is much more efficient and flexible"
lmao, how about they just fix their fucking compiler and make RTTI faster
Replies: >>105867631
Anonymous
7/11/2025, 9:57:31 AM No.105867631
>>105867571
because the standard requires it be shit
Replies: >>105867898
Anonymous
7/11/2025, 9:59:33 AM No.105867646
there is literally no use case for rtti
Replies: >>105867898
Anonymous
7/11/2025, 10:02:31 AM No.105867666
>>105867497
I don't know anything about windows man. I would expect gdb to be used in WSL.
Replies: >>105867673
Anonymous
7/11/2025, 10:03:53 AM No.105867673
>>105867666
I will not use WSLop, satan.
Replies: >>105867685 >>105868296
Anonymous
7/11/2025, 10:04:54 AM No.105867685
>>105867673
why would you not use the only way to get a sane and manageable dev environment on windows
Anonymous
7/11/2025, 10:17:54 AM No.105867752
static-member-rtti
static-member-rtti
md5: ef6bbe0bdfa54f18bf1c334e8d7b86c0๐Ÿ”
>>105853553
I am not sure if this is a good idea, but some time ago I came up with my own way to do RTTI, without having to manually manage ids. I am just using an address of a static member as an id.
https://godbolt.org/z/1bqoT5z7G
Replies: >>105867837
Anonymous
7/11/2025, 10:20:30 AM No.105867760
>>105867343
>enable tui
>program print something
>everything is broken
Nice meme.
Replies: >>105867800
Anonymous
7/11/2025, 10:25:58 AM No.105867791
>>105867218
x64dbg
Anonymous
7/11/2025, 10:28:04 AM No.105867800
>>105867760
>he doesn't know
Replies: >>105867974
Anonymous
7/11/2025, 10:35:25 AM No.105867837
>>105867752
now, that I think about it, it could be just:
#include <cassert>
#include <cstdint>

constexpr auto type_id(auto&& x) noexcept
{
static char dummy = 0;

return reinterpret_cast<std::intptr_t>(&dummy);
}

struct A {};
struct B {};

int main()
{
assert(type_id(A{}) != type_id(B{}));
assert(type_id(B{}) == type_id(B{}));
}
Replies: >>105868181 >>105868581
Anonymous
7/11/2025, 10:48:44 AM No.105867898
>>105867631
how so?
>>105867646
mostly true. I needed it once for testing type of native objects coming from a scripting language.
Replies: >>105868216
Anonymous
7/11/2025, 11:05:20 AM No.105867974
>>105867800
I will NOT use a frontend or redirect my stdout/strerr.
Replies: >>105868081
Anonymous
7/11/2025, 11:30:26 AM No.105868081
>>105867974
just Ctrl+L nigger why do you give up so quickly
Replies: >>105868333
Anonymous
7/11/2025, 11:49:41 AM No.105868181
>>105867837
That doesn't make much sense. It only works because you already know it's an A or a B. If you have some form of type erasure it all breaks.
Replies: >>105868224
Anonymous
7/11/2025, 11:55:47 AM No.105868216
>>105867898
i dunno, now that i think about it i never asked
i assume it has something to do with how large it is, and at least on both the windows and itanium ABIs, the way the underlying structures also encode inheritance hierarchies for dynamic cast since iirc it and typeid were always explained away as the problem parts of RTTI
i think? it has to traverse a fairly large tree,
i don't have the vcruntime library source on hand atm
Anonymous
7/11/2025, 11:56:52 AM No.105868224
>>105868181
yeah, it's mostly about avoiding to manage the enum with type ids yourself. you still need to store the id somewhere.
Anonymous
7/11/2025, 12:06:28 PM No.105868296
>>105867673
>uses Windows
>tries to lecture me about using slop
Replies: >>105868325
Anonymous
7/11/2025, 12:11:47 PM No.105868325
>>105868296
Go fix your graphics stack, Linux tranny.
Anonymous
7/11/2025, 12:13:56 PM No.105868333
>>105868081
>refresh
>all logs gone
Absolute GNU/Meme
Anonymous
7/11/2025, 12:54:33 PM No.105868581
>>105867837
>reinterpret_cast
humiliation ritual
Anonymous
7/11/2025, 4:09:04 PM No.105870112
Currently bikeshedding over what serialization I want to use for the object representing an HTTP API, JSON, XML, or something new and exciting
Replies: >>105870130
Anonymous
7/11/2025, 4:10:30 PM No.105870130
>>105870112
>webshit
>exciting
just use JSON like a normal person
Replies: >>105870136 >>105870147
Anonymous
7/11/2025, 4:11:14 PM No.105870136
>>105870130
It's amazing how you can make yourself sound incompetent in so few words.
Anonymous
7/11/2025, 4:12:09 PM No.105870147
>>105870130
Well yes, I could do that, but that would mean I have to actually build the thing instead of endlessly ruminating over a trivial implementation detail
Anonymous
7/11/2025, 4:26:30 PM No.105870266
>>105850854 (OP)
Why am I still getting an floating point error if cpp automatically does implicit type conversion between ints and floats/doubles?

For example, if I have x and y set as ints and have them equal to 5 and 2. Then I set z as a double and have it equal to 5 /2, it should just result in 2.5 rather than giving me an error, right?
Replies: >>105870318 >>105870495
Anonymous
7/11/2025, 4:33:06 PM No.105870318
>>105870266
no, 5/2 gets evaluated first (as ints) to 2, then assigned to z (double)
Replies: >>105870869
Anonymous
7/11/2025, 4:51:55 PM No.105870495
>>105870266
>He thinks implicit type conversion is real.
It's no mere conversion, but pure enshittification. In fact, if you ever try to rely on it, you quickly find out that the case where it would be useful, will do the opposite of what you expect it to do.
Replies: >>105870869
Anonymous
7/11/2025, 5:35:05 PM No.105870869
>>105870318
>>105870495
Thanks anons, TIL implicit type conversion is a meme and it's better to just assign data to the right type from the start. Or just explicitly convert at the very least.
Replies: >>105870924
Anonymous
7/11/2025, 5:40:51 PM No.105870924
>>105870869
Assigning isn't enough, literal must be the correct type or explicitly cast to it.
Anonymous
7/11/2025, 5:56:30 PM No.105871082
>>105862835
Those country shapes are mad, the UK doesn't look like that, and where's Ireland? I assume that island is meant to be Iceland.
Replies: >>105871391 >>105888438
Anonymous
7/11/2025, 6:27:47 PM No.105871391
>>105871082
Non-autists don't care.
Anonymous
7/11/2025, 7:20:13 PM No.105871959
>>105851188
>pseudo-code on wiki is broken (took me ages to notice)
when i was in college i used to change the example code on wikipedia to be subtly wrong a day or two before a homework assignment that involved implementing it was due to fuck with peers who copied from wikipedia.
Anonymous
7/11/2025, 7:41:24 PM No.105872174
any .vscode configuration aficionados here? How do I use a .vscode folder that is NOT located inside of the project that I'm working on? I do not want any mention of the editor to appear in my git repo, not as a folder and not as an entry in the .gitignore

I tried to use a multi-root workspace where the first folder in the workspace is the .vscode and the second is the project but the configuration files seem to be unable to cross the folder boundary despite being in the same workspace
Replies: >>105872378 >>105873780 >>105873967
Anonymous
7/11/2025, 8:01:57 PM No.105872378
>>105872174
Use neovim
Anonymous
7/11/2025, 8:44:36 PM No.105872791
>>105862071
Vtables.
Anonymous
7/11/2025, 9:42:47 PM No.105873386
I program directly in .net il for maximum performance
Replies: >>105873607
Anonymous
7/11/2025, 10:07:39 PM No.105873607
>>105873386
I've considered doing this seriously, are there performance gains to be had similar to dropping down from C/C++ to x64 assembly?
Not necessarily the same magnitude, just the idea of dropping down to a lower level to improve performance
Replies: >>105873659
Anonymous
7/11/2025, 10:11:33 PM No.105873659
>>105873607
>She doesn't know about the anon who has a melty every thread about this
Anonymous
7/11/2025, 10:15:11 PM No.105873694
Thinking you're a subhuman autist who deserves to be turned into fertilizer through torture isn't having a melty. It's the default disposition of normal human beings, which you're not.
Replies: >>105873800
Anonymous
7/11/2025, 10:23:27 PM No.105873780
>>105872174
gitignore can accept
*
**
!src/*

To ignore everything but src. No .vscode and no trace of it.
Anonymous
7/11/2025, 10:25:11 PM No.105873800
>>105873694
>Thinking you're a subhuman autist who deserves to be turned into fertilizer through torture isn't having a melty
Anonymous
7/11/2025, 10:27:42 PM No.105873827
1623558772091
1623558772091
md5: f224af0eb31a01e30cbd3fd43f232b27๐Ÿ”
Yes.
Anonymous
7/11/2025, 10:41:06 PM No.105873967
>>105872174
you can set up a global gitignore that isn't part of the git project and in it ignore the vscode folder. that will ignore the .vscode folder from any git project you work on from your computer without needing to add it to the projects' individual gitignore files and without anyone ever knowing you're a bitch who can't into vim.
Anonymous
7/11/2025, 11:13:10 PM No.105874335
>>105867542
So you use VSCode both in Windows and Linux? I suppose that is productive.
Anonymous
7/12/2025, 3:21:56 AM No.105876389
let square: AsmFn<i32, i32> = AsmFn::new(|a| {
use iced_x86::code_asm::*;

a.imul_2(edi, edi)?;
a.mov(eax, edi)?;
a.ret()?;

Ok(())
})?;

println!("square(2) = {}", square(2));
println!("{:#?}", square);



square(2) = 4
400000: 0F AF FF imul edi,edi
400003: 89 F8 mov eax,edi
400005: C3 ret


Thoughts?
Replies: >>105876969 >>105877133 >>105878060 >>105879063 >>105884909
Anonymous
7/12/2025, 3:41:47 AM No.105876534
Windsurf announces it is leaving the developer market and focusing on Enterprise after CEO goes to Google.
Anonymous
7/12/2025, 4:34:23 AM No.105876876
i just spent like an hour and a half debugging some stupid javascript shit

"\\[".replace(/\\\[/g, '$$') only gives one $. you need $$$$ to get $$
was fucking with some latex thing which uses $$ for delimiter

i hate this language so much
Replies: >>105878956 >>105881954
Anonymous
7/12/2025, 4:50:05 AM No.105876969
>>105876389
very nice. now let's see the godbolt
Anonymous
7/12/2025, 5:15:24 AM No.105877133
>>105876389
look what they need to imitate a fraction of our power
Anonymous
7/12/2025, 7:12:17 AM No.105877779
JjUMxtqGYXaKc-ezgif.com-webp-to-gif-converter
JjUMxtqGYXaKc-ezgif.com-webp-to-gif-converter
md5: 1c9025303e3dd15b1410c97e11409c39๐Ÿ”
Cursor is pretty much like

>How I learned to stop worrying and love the bomb.

and not just that, you can discuss what you want with grok and have it build a prompt for cursor for the entire project.
Anonymous
7/12/2025, 7:53:04 AM No.105878060
>>105876389
>can the compiler read return from EDI, or does the return value HAVE to be moved to EAX?
>can the compiler inline the generic IMUL away? (MOV 16 is faster than 4 << 2 is faster than 4 * 4)
>can the compiler avoid CALL/RET and use LEA/JMP R64 instead?
Just use a macro, mate.
Anonymous
7/12/2025, 10:33:53 AM No.105878956
>>105876876
What rule is there that says RegEx has to consist of one-character tokens.

Can anyone tell me if there is a largely adapted version of RegEx that is slightly more verbose than using one character to represent something?
Anonymous
7/12/2025, 10:45:24 AM No.105879025
>>105862296
It is literally the simplest collision detection in existence. You can describe a circle with one number

The next simplest is AABB and yes it gets very fucking confusing very quickly
Replies: >>105879061
Anonymous
7/12/2025, 10:51:58 AM No.105879061
>>105879025
>You can describe a circle with one number
Only in an useless edge case.
Replies: >>105879075
Anonymous
7/12/2025, 10:52:09 AM No.105879063
>>105876389
It's like looking into another universe where C doesn't let you blow your computer up and also got more advanced an extensible than something from 1978. It looks like the definition of reasonable.

This continues to be my opinion on Rust and conversely that this board is retarded and good for nothing.
Replies: >>105879070
Anonymous
7/12/2025, 10:53:00 AM No.105879070
>>105879063
Functions are advanced and extensible. Nobody ever needed more.
Replies: >>105879086
Anonymous
7/12/2025, 10:53:23 AM No.105879075
>>105879061
u wot m8
Replies: >>105879081
Anonymous
7/12/2025, 10:54:09 AM No.105879081
>>105879075
Radius doesn't mean anything without a center point.
Replies: >>105879106
Anonymous
7/12/2025, 10:55:13 AM No.105879086
>>105879070
Have we confirmed or denied that sudo got hacked because of a buffer overflow on C
Replies: >>105879097 >>105880275
Anonymous
7/12/2025, 10:56:45 AM No.105879097
>>105879086
I never used sudo, usecase?
Anonymous
7/12/2025, 10:57:04 AM No.105879100
>>105852445
Me on the right
Anonymous
7/12/2025, 10:57:38 AM No.105879106
>>105879081
You mean the location / translation transformation?

That's inherent with any object. The constructor for a circle shape is literally just one number.
Anyways it gets a million times more fucked after that.
Look up polygon decomposition if you want to see what goes into properly figuring out whether a character is clipping into a wall.
Replies: >>105879116
Anonymous
7/12/2025, 10:59:02 AM No.105879116
>>105879106
It isn't, there are platonic objects that do not have position in any world.
Anonymous
7/12/2025, 11:03:22 AM No.105879153
1722097652445090
1722097652445090
md5: 7d9f84feffe6130ff071d49b0f3507f0๐Ÿ”
imagine an operating system that only transmits data over the internet when you explicitly instruct it to
Replies: >>105879161 >>105879376 >>105879515
Anonymous
7/12/2025, 11:04:55 AM No.105879161
>>105879153
So like Linux?
Replies: >>105879257
Anonymous
7/12/2025, 11:05:54 AM No.105879168
alright regexsisters lets say i have a string
"+foobar"
where the '+' character can be any character of either +-~? what regex would match this string?
Replies: >>105879173 >>105881954
Anonymous
7/12/2025, 11:06:44 AM No.105879173
>>105879168
https://regex101.com/
Replies: >>105879192
Anonymous
7/12/2025, 11:10:58 AM No.105879192
>>105879173
oh wow, wish i had known about this earlier. thanks!
Anonymous
7/12/2025, 11:23:12 AM No.105879257
>>105879161
lol

lmao
Anonymous
7/12/2025, 11:39:14 AM No.105879359
>>105851062
>movq rax, 9
>syscall
Let me guess. You need more
Anonymous
7/12/2025, 11:40:27 AM No.105879367
>>105852445
Did you imagine the one on the right the first time you talked to maid poster, or his avatar? Why? Nobody does this. You just make yourself look like a retard.
Replies: >>105883033
Anonymous
7/12/2025, 11:42:32 AM No.105879376
>>105879153
Operating systems don't transmit data over the internet, they are a set of programs, some of which, instruct the computer to send data over the internet.
Anonymous
7/12/2025, 12:12:28 PM No.105879515
>>105879153
so any operating system with a firewall? fucking revolutionary.
Anonymous
7/12/2025, 12:56:29 PM No.105879785
https://pastebin.com/yRWnNaZ3
rate my blackjack discord bot code.
i have no idea what i am doing but it just werks.
Replies: >>105879838 >>105879880
Anonymous
7/12/2025, 1:03:56 PM No.105879838
1721718902532844
1721718902532844
md5: e2e0dc3d9ae92fe1e63f361051950a66๐Ÿ”
>>105879785
>card => `\`${card.rank}${card.suit}\``
Replies: >>105879880
Anonymous
7/12/2025, 1:11:14 PM No.105879880
>>105879785
Gemini says its missing the blackjack rule
>>105879838
>Conclusion: The line is correct and effectively uses JavaScript features (template literals) and knowledge of the target platform (Discord's Markdown formatting) to produce a nicely formatted output. It's a good piece of code.
Anonymous
7/12/2025, 1:20:58 PM No.105879968
1722361679670680
1722361679670680
md5: 425ea99dc941f27fab48793bf28cd383๐Ÿ”
>It's a good piece of code.
Anonymous
7/12/2025, 1:28:00 PM No.105880010
>fewer instructions
>more cycles
the fuck does this mean
Replies: >>105880039 >>105880083
Anonymous
7/12/2025, 1:32:11 PM No.105880039
>>105880010
What's there to misunderstand?
Anonymous
7/12/2025, 1:39:38 PM No.105880083
1733481897572812
1733481897572812
md5: 419832ac20e679c986502f1a04acece3๐Ÿ”
>>105880010
Replies: >>105880120
Anonymous
7/12/2025, 1:45:32 PM No.105880120
>>105880083
damn
I wasn't expecting that big a difference
Anonymous
7/12/2025, 2:08:04 PM No.105880275
1731161093077013
1731161093077013
md5: 390ec038cbcaecf5bdddcf8cb53b79eb๐Ÿ”
>>105879086
No one cares, freak.
Replies: >>105886596
Anonymous
7/12/2025, 2:12:27 PM No.105880292
OOP is like jazz music
Replies: >>105880310
Anonymous
7/12/2025, 2:13:15 PM No.105880297
>>105866150
but what of headers?
can't you tell by if gtk header is included?
Anonymous
7/12/2025, 2:15:08 PM No.105880310
>>105880292
Nigger art?
Replies: >>105880325
Anonymous
7/12/2025, 2:16:33 PM No.105880325
>>105880310
Jazz isn't just made by black people
I'm talking like, Maxis game music (i.e SimCity 3000). It's improvisational, instrumental jazz
Replies: >>105880335
Anonymous
7/12/2025, 2:18:37 PM No.105880335
>>105880325
It's a black mark you cannot scrub off, that permeates everything you touch. Like exceptions.
Anonymous
7/12/2025, 2:57:31 PM No.105880643
PXL_20250712_125513142~2
PXL_20250712_125513142~2
md5: 215f0957af3f9df2c5eb09df84d7bb4c๐Ÿ”
Are you even writing your own fuckign RISC-V CPU in the very high speed integrated circuit hardware description language, with your own fucking VGA controller in motherfucking Rust????

Well, I do. Just need PS/2 input and non-volatile storage now
Replies: >>105880650 >>105880663
Anonymous
7/12/2025, 2:58:08 PM No.105880650
>>105880643
PS: 640x480, 16 Colors. It's a covenant, like circumcision
Replies: >>105880787
Anonymous
7/12/2025, 3:00:13 PM No.105880663
>>105880643
Pffff. Now do SVGA.
Replies: >>105880688
Anonymous
7/12/2025, 3:02:07 PM No.105880688
>>105880663
That's literally just a matter of adjusting generics inside the vhdl code.... There is nothing to it. All VGAs are equal, but some VGAs are more equal than others (legacy 640x480@Hz is max superior)
Replies: >>105880694
Anonymous
7/12/2025, 3:02:48 PM No.105880694
>>105880688
Less talking, more doing.
Replies: >>105880768
Anonymous
7/12/2025, 3:09:55 PM No.105880768
>>105880694
No i won't waste time on a few more pixels.
Time to make more peripherals and build my own fucking OS
Anonymous
7/12/2025, 3:10:57 PM No.105880779
>chickens out
Predictable.
Anonymous
7/12/2025, 3:11:18 PM No.105880787
krita
krita
md5: 05e191e106289a3d32fdf81372eec646๐Ÿ”
>>105880650

hawt bunnyayumi
Anonymous
7/12/2025, 3:19:37 PM No.105880865
<talks something about KFC
I dont even know
Anonymous
7/12/2025, 3:21:44 PM No.105880878
>raw, unfiltered autism
Replies: >>105880894
Anonymous
7/12/2025, 3:23:38 PM No.105880894
>>105880878
>So langsam glaube ich, dass sie keine รคngstliche Persรถnlichkeitsstรถrung haben, sondern eher eine Autismus-Spektrums-Stรถrung
t. my psychiatrist on wednesday
Replies: >>105880914 >>105881867
Anonymous
7/12/2025, 3:26:06 PM No.105880914
>>105880894
Thinking in literal terms (a.k.a. assuming that "chickening out" has anything to do with KFC) is a massive red flag.
Replies: >>105880948
Anonymous
7/12/2025, 3:30:46 PM No.105880948
>>105880914
>implying i didn't know what you mean.
I am a shitpost professional. The question is only how much is shitpost, how much is autism
Replies: >>105880957
Anonymous
7/12/2025, 3:31:48 PM No.105880957
>>105880948
>I was irooooonic
Sure thing, autist-kun.
Anonymous
7/12/2025, 3:33:37 PM No.105880971
1737116087085638
1737116087085638
md5: e5c1d9b5f149401887b5537252ec7b7d๐Ÿ”
>Use LibTooling to generate a machine readable representation of a C/C++ codebase to automatically generate bindings from or do other stuff with
Why isn't this done more often
Why isn't there like a general CPP2JSON tool out there
Replies: >>105881469 >>105886943
Anonymous
7/12/2025, 4:24:14 PM No.105881469
>>105880971
It's called clangd
Replies: >>105881861
Anonymous
7/12/2025, 4:29:38 PM No.105881526
AI tools are making the imposter syndrome really hard so the point I feel like all I'm doing is asking ChatGPT inateqd of thinking myself.

How do I fix this?
Anonymous
7/12/2025, 4:35:50 PM No.105881609
>>>/jp/49704088
Replies: >>105881768
Anonymous
7/12/2025, 4:51:51 PM No.105881768
>>105881609
>Reverse engineer this whole ass file format from a random Japanese 3DS game
Probably not gonna happen
Replies: >>105881817
Anonymous
7/12/2025, 4:57:09 PM No.105881817
>>105881768
it's not that much of a huge deal, there's lots of hints that should make it possible
Replies: >>105881826
Anonymous
7/12/2025, 4:58:29 PM No.105881826
>>105881817
Good for you.
Anonymous
7/12/2025, 4:58:53 PM No.105881831
how do I git gud?
>just write stuff
ok but how do I power through the effort of making something that is ultimately useless? should I grind leetcode?
Replies: >>105881869
Anonymous
7/12/2025, 5:01:24 PM No.105881861
>>105881469
clangDick
Anonymous
7/12/2025, 5:02:08 PM No.105881867
>>105880894

what shrink will commit if echo | aplay "meine ehre'
Replies: >>105881920
Anonymous
7/12/2025, 5:02:24 PM No.105881869
>>105881831
>ok but how do I power through the effort of making something that is ultimately useless? should I grind leetcode?
just do it. It doesnt matter what you do, just do it and dont do the same shit too often
Anonymous
7/12/2025, 5:08:03 PM No.105881920
>>105881867
i will force push you're mom. bitch
Anonymous
7/12/2025, 5:10:47 PM No.105881954
>>105876876
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#specifying_a_string_as_the_replacement
>perl's special variables
lol
>>105879168
[-+~?]foobar
Anonymous
7/12/2025, 5:33:41 PM No.105882205
Screenshot 2025-07-12 at 11-29-20 ใ€ใ‚ชใƒชใ‚ธใƒŠใƒซๆฅฝๆ›ฒใ€‘ใฒใฃใฒใฃใตใƒผ _ ใ—ใใ‚Œใ†ใ„ใ€ใ˜ใ‚“ใ€‘ - YouTube
C++ MENTIONED
Replies: >>105883471
Anonymous
7/12/2025, 5:39:18 PM No.105882261
C++ won
Replies: >>105882387
Anonymous
7/12/2025, 5:52:59 PM No.105882387
>>105882261
... the sucking contest.
Anonymous
7/12/2025, 6:21:42 PM No.105882652
I've refactored my interpreter/compiler over 3 times.
I think 4th is the charm.
I've had 3 iterations of this.
I did the interpreter and the bytecode compiler but never made it to actual completion. I managed to do recursion and that's kind of it. I didn't do structs etc.
This time I'm going straight to x86_64 raw assembly(god's chosen assembly, arm is gay).
Replies: >>105885012
Anonymous
7/12/2025, 6:59:27 PM No.105883033
>>105879367
Everyone who posts on this site is a cute maid with huge boobs who likes advanced Mathematics and Computer Science research. This is a Science Foundation for maids.
Anonymous
7/12/2025, 7:11:53 PM No.105883168
Medical Assistance In Dying
Medical Assistance In Dying
md5: 3bb9223ad5593561cd61274c274c3deb๐Ÿ”
Replies: >>105883919
Anonymous
7/12/2025, 7:42:09 PM No.105883471
>>105882205
>auto&
>~...{}
Anonymous
7/12/2025, 8:26:27 PM No.105883919
>>105883168
To be fair, I don't care if they're cute or not - looking at you, Vivian from TTYD, you silly freak.
Anonymous
7/12/2025, 9:05:24 PM No.105884315
1514618171577 hammer angry reaction
1514618171577 hammer angry reaction
md5: a0b1d819c57a581bcd65b6ff8f4747ca๐Ÿ”
Cnile bros what the FUCK is going on with Windows?

>do: char string[8]; snprintf(string, sizeof(string), "%.0f", 123456789e300); anywhere
>get "1234567"
>do it on Windows 10 with VS2022
>get "12345678"
Replies: >>105884718
Anonymous
7/12/2025, 9:27:44 PM No.105884530
auto<auto> x = {1, 2, 3};
Replies: >>105884718 >>105885272
Anonymous
7/12/2025, 9:29:14 PM No.105884542
i apologize for smugly lauging at people who complained about weird image formats
just wasted 5 hours of my life debugging an error that made zero sense until I realized GDK was refusing to process webp and it was shortcircuiting my entire program logic
fml
Anonymous
7/12/2025, 9:46:09 PM No.105884718
>>105884315
lies
>>105884530
also lies
Anonymous
7/12/2025, 10:05:45 PM No.105884909
>>105876389
dogshit compared to
int square(int a) {
asm {
imul2 a, a;
}
return a;
}
Replies: >>105884981
Anonymous
7/12/2025, 10:14:22 PM No.105884981
>>105884909
Rust obviously has inline assembly too, dumbshit. Not the point.
Replies: >>105885162
Anonymous
7/12/2025, 10:18:55 PM No.105885012
1705600943846805
1705600943846805
md5: 82f89d542437bdbbc7452207fe5ea93f๐Ÿ”
>>105882652
>This time I'm going straight to x86_64 raw assembly(god's chosen assembly, arm is gay).
t0 = t1 + t2
add r0, r1, r2
add rbx, rcx
mov rax, rbx
Replies: >>105885083 >>105885287
Anonymous
7/12/2025, 10:27:42 PM No.105885083
1661598761211551
1661598761211551
md5: fb0392afe720f3f32b06368f95aa82a0๐Ÿ”
>>105885012
>he doesn't know about
lea r0,[r1 + r2]
Replies: >>105885161
Anonymous
7/12/2025, 10:38:04 PM No.105885161
>>105885083
Only appears to work for addition unfortunately
Replies: >>105885191 >>105885197
Anonymous
7/12/2025, 10:38:05 PM No.105885162
>>105884981
>obviously
lmao
Anonymous
7/12/2025, 10:41:06 PM No.105885191
>>105885161
lea rax,[rcx + rbx * (1,2,4,8)]

Words for me.
Anonymous
7/12/2025, 10:41:51 PM No.105885197
4c2eb6be4a6cecd2537df77e722dcfc4
4c2eb6be4a6cecd2537df77e722dcfc4
md5: 4dc36ec3a46a39ac9ea93619c7624e56๐Ÿ”
>>105885161
add negatives
Replies: >>105885232 >>105885535
Anonymous
7/12/2025, 10:46:43 PM No.105885232
1742684162589834
1742684162589834
md5: 42e7da9b64ab163875edc306df4392aa๐Ÿ”
>>105885197
>unsigned int x = 1 is really -1, but only during particular ops
Replies: >>105885535
Anonymous
7/12/2025, 10:50:41 PM No.105885272
>>105884530
auto x[auto] = {1, 2, 3};
Anonymous
7/12/2025, 10:51:56 PM No.105885287
>>105885012
dorkness my wife
Anonymous
7/12/2025, 10:51:56 PM No.105885288
me
me
md5: 322b9713125b06dad32de38165b0e981๐Ÿ”
You obfuscate your assembly for security.
I write Haskell so the assembly is impossible to understand.
We are not the same.
Replies: >>105885324 >>105885331 >>105885433
Anonymous
7/12/2025, 10:54:57 PM No.105885324
>>105885288
I'm too brain addled to read assembly anyway
Anonymous
7/12/2025, 10:55:45 PM No.105885331
hexes
hexes
md5: 4f7d1e50b88072c1b5ca6c4a170eb6ee๐Ÿ”
>>105885288
Not really a need to obfuscate anything if you don't know which values the registers have.
Replies: >>105885488
Anonymous
7/12/2025, 11:06:18 PM No.105885433
297
297
md5: 2a77210ef316a51cdd967864726a58b6๐Ÿ”
>>105885288
It's not that bad
Replies: >>105885474
Anonymous
7/12/2025, 11:10:45 PM No.105885474
>>105885433
what book?
Replies: >>105885507
Anonymous
7/12/2025, 11:11:46 PM No.105885488
>>105885331
why don't you post the version with real register names?
Replies: >>105885571
Anonymous
7/12/2025, 11:13:47 PM No.105885507
rooster
rooster
md5: eacc3a587306d696af613d56e580483c๐Ÿ”
>>105885474
https://www.microsoft.com/en-us/research/wp-content/uploads/1987/01/slpj-book-1987.pdf
Replies: >>105885925
Anonymous
7/12/2025, 11:16:44 PM No.105885535
1740692532069189
1740692532069189
md5: b340492152305270cc5033b35c72152f๐Ÿ”
>>105885197
>>105885232
Replies: >>105885590
Anonymous
7/12/2025, 11:20:23 PM No.105885571
hexes_names
hexes_names
md5: da928b5d9b426c9f5c17a8cb5892d29a๐Ÿ”
>>105885488
Right, because that's going to help.
Replies: >>105885925
Anonymous
7/12/2025, 11:21:44 PM No.105885590
1752347295773651
1752347295773651
md5: e84df5f3dbf59e885b68edb36d50820f๐Ÿ”
>>105885535
https://www.youtube.com/watch?v=AZBVgE244cA
Here you go boomer
Anonymous
7/13/2025, 12:04:15 AM No.105885925
>>105885507
thanks anon, I'd like to understand how Haskell's IR work. There's a stackoverflow that says it has a lot similarities to a new optimizing compiler's IR, RVSDG
https://langdev.stackexchange.com/questions/1823/what-is-the-relationship-between-stg-and-rvsdg

>>105885571
thank you to you too, and it might actually. I have some SSE assembly for the first time recently for 4x4 matrix and vector multiplications, for both column and row order.
Replies: >>105885980
Anonymous
7/13/2025, 12:05:57 AM No.105885943
hello๐Ÿ’ฉsar
hello๐Ÿ’ฉsar
md5: b9f7ba3d5fc84ef20b269b8645f659a0๐Ÿ”
#? replace(sub = "", by = " ")
prochello(sars:int)=
forsarin0..<sars:
echo"goodmorning,sar!"

hello3
Replies: >>105885950
Anonymous
7/13/2025, 12:07:22 AM No.105885950
>>105885943
why does gookmoot hate sar code?
Anonymous
7/13/2025, 12:11:13 AM No.105885980
>>105885925
If you do SSE, then keep 'em VEX-encoded.
https://www.agner.org/optimize/optimizing_assembly.pdf
Page 106
Replies: >>105886047
Anonymous
7/13/2025, 12:19:32 AM No.105886047
>>105885980
ty for the tips, I saw that for each instruction there was a "legacy" version that didn't require AVX and I used that. I'm going to try to see if the AVX is really faster.
Replies: >>105886072
Anonymous
7/13/2025, 12:20:25 AM No.105886054
scrollscrole_thumb.jpg
scrollscrole_thumb.jpg
md5: 7f69266d91ef1903590289470b23d9ce๐Ÿ”
wow this forum is ded. I should go to mastodon
Anonymous
7/13/2025, 12:22:04 AM No.105886072
>>105886047
and I even use ifdefs to use different code depending if you have SSE2, SSE3 or SSE4.1 lol. I realized after how old all of this is.
Anonymous
7/13/2025, 1:27:12 AM No.105886596
>>105880275
Do you even read what you type or do you just shit in your hand and throw it at the keyboard?

The Rust language is fool-proof as a default but one person (read: not standard, not the Rust language) has created a library to simulate these vulnerabilities in an ethical manner.

Explain where in this is supposed to be some kind of complaint about the Rust language or disgrace yourself because of this abhorrently stupid post and never post here again. Jesus christ.
Replies: >>105886648
Anonymous
7/13/2025, 1:33:41 AM No.105886647
IMG_3975
IMG_3975
md5: 3b15e27ad5c8aa453d30b9363bec7ae3๐Ÿ”
>>105850854 (OP)
Made a text editor using Flask and CkEditor using files uploaded by a user, right now im working on converting .docx files to .txt ones :D
Replies: >>105886751
Anonymous
7/13/2025, 1:33:44 AM No.105886648
1597561699112
1597561699112
md5: df31cc08710b4a7909190bca401279c9๐Ÿ”
>>105886596
Cry more, rusty.
Replies: >>105886730
Anonymous
7/13/2025, 1:48:10 AM No.105886730
>>105886648
About what.

What are you trying to say.

I'm more convinced that C users are retarded the longer I'm talking to you.
When I say "retarded", I mean "not quite right".

You put C users in front of a computer and they'll start typing away and simulating runtime polymorphism out of electricity.
The "retarded" part comes in where they lack basic cognitive functions like an ability to articulate their thoughts. Or communicate period.
Replies: >>105886742
Anonymous
7/13/2025, 1:49:29 AM No.105886742
>>105886730
Who cares what you think? if I had it my way we would genocide literally every single Rust dev. No, I won't bother with arguments. Future corpses don't deserve them.
Replies: >>105886750 >>105886942
Anonymous
7/13/2025, 1:50:38 AM No.105886750
>>105886742
And yes, if that means killing a dozen million people, then so be it. And another dozen million. And another dozen million. Until the cancer or the nation is dead.
Anonymous
7/13/2025, 1:50:44 AM No.105886751
>>105886647
>right now im working on converting .docx files to .txt ones
lmao have fun with that cock and ball torture
Replies: >>105888385
Anonymous
7/13/2025, 2:15:32 AM No.105886942
>>105886742
Rust developers are backing one of the largest cryptocurrency projects in the world.

The future is clean, refined and blazingly fast without sacrificing control like a Porsche 911. As much as you insist that the 1978 F-150 "just does the job". As long as the keyfob hasn't been compromised.

Enjoy the contentment that raw pointer management brings you. I don't get it but I don't get Antique Roadshow either.
Replies: >>105887021
Anonymous
7/13/2025, 2:15:37 AM No.105886943
>>105880971
clang has an argument to output a json representation of the code. I use it at work to parse code to find common mistakes
Replies: >>105888003
Anonymous
7/13/2025, 2:30:53 AM No.105887021
>>105886942
Then they're the first to be murdered, alongside you, and no one can do anything about it. The future is full of bloodshed.
Replies: >>105887108
Anonymous
7/13/2025, 2:44:37 AM No.105887108
>>105887021
theyll call it the regicide
Anonymous
7/13/2025, 5:00:16 AM No.105887864
trying to find a nice high contrast theme is harder than expected
Anonymous
7/13/2025, 5:23:58 AM No.105887985
anyone ever participate in demoscene competitions?
I'd be really interested to hear about your experience.
Anonymous
7/13/2025, 5:27:48 AM No.105888003
>>105886943
>clang has an argument to output a json representation of the code.
Whoa that's neat. I'm a beginner, and I'm just using gcc but how do I do this? I installed clang and googled, but I'm too stupid to understand what I'm reading.
Anonymous
7/13/2025, 5:30:16 AM No.105888018
also any reasons or situations I should decide to use clang instead of gcc?
Replies: >>105888040 >>105888074
Anonymous
7/13/2025, 5:33:01 AM No.105888040
>>105888018
better question: are there any reasons or situations to use gcc?
Replies: >>105888055 >>105888915
Anonymous
7/13/2025, 5:35:32 AM No.105888055
>>105888040
As a beginner (but experience with interpreted languages), I welcome answers to either question pretty equally, if you care to elaborate.
Replies: >>105888087
Anonymous
7/13/2025, 5:39:55 AM No.105888074
>>105888018
compiling for multiple targets is easier with clang, but I usually just use gcc
Replies: >>105888088
Anonymous
7/13/2025, 5:42:31 AM No.105888087
>>105888055
clang has native builds for Windows, clang usually produces better code than GCC, while supporting the same extensions as GCC with a few other useful additions, and clang's error messages are better than GCC's as well. There are architectures GCC supports that clang/LLVM doesn't which is useful to know but likely not important.
Replies: >>105888112 >>105888171
Anonymous
7/13/2025, 5:42:32 AM No.105888088
>>105888074
What kind of multiple targets do you mean?
I've only done basic-bitch makefile
I should also look into cmake right?
Replies: >>105888110
Anonymous
7/13/2025, 5:45:16 AM No.105888110
>>105888088
targets as in other architectures, you can select a target without installing some architecture specific version of it

also fuck cmake
Replies: >>105888118
Anonymous
7/13/2025, 5:45:22 AM No.105888112
>>105888087
It looks from a quick search that the relationship between clang and LLVM is that clang is basically a frontend for LLVM, is that right? Any reason to look into LLVM specifically?
Replies: >>105888143 >>105888159
Anonymous
7/13/2025, 5:46:22 AM No.105888118
>>105888110
>also fuck cmake
Why? And what's better?
Replies: >>105888132
Anonymous
7/13/2025, 5:47:59 AM No.105888132
>>105888118
it's very convoluted, I just write makefiles unless I'm forced to use cmake :P
Replies: >>105888179
Anonymous
7/13/2025, 5:49:37 AM No.105888143
>>105888112
it just does
C -> intermediate representation -> machine code
Replies: >>105888179
Anonymous
7/13/2025, 5:50:48 AM No.105888159
>>105888112
>Any reason to look into LLVM specifically?
You want to compile your new language and don't want to target JavaScript, C, QBE or whatever else.
Replies: >>105888179
Anonymous
7/13/2025, 5:52:22 AM No.105888171
>>105888087
>clang usually produces better code than GCC
not really
Replies: >>105888181 >>105888196
Anonymous
7/13/2025, 5:53:15 AM No.105888179
>>105888132
Fair enough, though as a beginner makefiles are a bit convoluted haha. You think it's a matter of being used to one thing, or you think cmake (or anything else) is just pointlessly convoluted?

>>105888143
I mean that's gcc too right?

>>105888159
Oh ok so more general in a sense. If I wanted to make my own lisp I'd maybe look at LLVM to compile it or something?
Replies: >>105888225
Anonymous
7/13/2025, 5:53:34 AM No.105888181
>>105888171
the difference is typically negligible
Anonymous
7/13/2025, 5:55:17 AM No.105888196
>>105888171
every time I've bothered to look clang has produced better output
most of the time it doesn't matter
Anonymous
7/13/2025, 5:59:20 AM No.105888211
So how do I get clang to output json representation of my code?
Or if you prefer, how do I look into how to find this out myself
Replies: >>105888259
Anonymous
7/13/2025, 6:02:32 AM No.105888225
>>105888179
Lisps are usually interpreted but sure you can go that route.
Anonymous
7/13/2025, 6:07:14 AM No.105888259
>>105888211
-ast-dump=json should work
Replies: >>105888407
Anonymous
7/13/2025, 6:28:00 AM No.105888385
>>105886751
Surely cant be that bad, I can use os.rename() or docx2txt right?
Anonymous
7/13/2025, 6:31:10 AM No.105888407
>>105888259
>unknown argument '-ast-dump=json'; did you mean '-Xclang -ast-dump=json'?

clang -o clang_test main.c -Xclang -ast-dump=json spits out json but then gives me a 'linker command failed'

Anyhow this is very much beyond anything I'm actually trying to work on, but it's just neat I guess. Not important.
If anyone in the future has input on gcc vs clang vs llvm or make vs cmake vs something else, I'm happy to hear about it.
Anonymous
7/13/2025, 6:34:29 AM No.105888438
>>105871082
At least they remembered to put in New Zealand for once.
Anonymous
7/13/2025, 7:15:14 AM No.105888630
>pointers
what a fucking joke

"That will be $32.43"
"Oh actually I'll just give you a pointer to something that might hold that amount"
Absolute lunacy
Replies: >>105888656
Anonymous
7/13/2025, 7:21:20 AM No.105888656
>>105888630
yeah bro its in my wallet, here, check it
segmentation fault (core dumped)
Anonymous
7/13/2025, 7:25:06 AM No.105888680
1709216605191983
1709216605191983
md5: d6a90ea0c1ccea34cf1ad74f88e675c6๐Ÿ”
What's a meme technology you always wanted to try but never really had a reason to do? When i started i was more or less fascinated with the things you could do with ImageJ, namely weird fractals and shit. You could script this library with jRuby, but i never got into it cause i was lazy. Nowadays, there's little point for picking that up. Babashka does the same use case jRuby could do for me but doesn't need a JVM process to run. And i can use that library directly from Clojure or even a jshell script if i ever wanted. Another one i never got around to test was Elm. Everyone was sucking its dick for a couple of years and then just died.
Anonymous
7/13/2025, 7:51:03 AM No.105888800
Screenshot_2025-07-12_21-54-05
Screenshot_2025-07-12_21-54-05
md5: 11e6b3b07f68207b314abae56382981e๐Ÿ”
On and off work on a dumb site that I might turn into a free app someday for my own learning ZHONG WEN
The left is hanzi-writer animation to quick show the stroke order, and click to replay. On the list here is coloring the radicals, but hanzi-writer only does one radical by default so it would take more JS sorcery than I care to learn, probably
Middle is from strokeorder.com which lists the stroke order, right is "components" but this is a major fucking hassle due to weird unicode shit and things that almost look identical actually being different and basically a massive can of headache.
Hovering components highlights other characters currently displayed by filter, clicking a component will further filter to characters sharing it.
Also have Zhuyin, but not sure how/why I might utilize. Probably not helpful to search/filter by.
In the red bar is hanzi, pinyin (mark), pinyin (numeric), zhuyin, my own basic-bitch definition, and an HSK level from https://github.com/drkameleon/complete-hsk-vocabulary

A cool thing is there's a whole fetch script that I just feed a list of characters and wa la, so this could potentially be adapted to anyone else's uses.
Next is getting into compounds/words and phrases, but I sort of got burnt out.
But one of the libraries I'm using can look up all words that utilize a character, so the idea would be filtering it down to my own list of words that I've come across as an early learner.

Just a stupid flask thing but it's the only thing I've (started to) made that I feel kind of proud of.
https://www.youtube.com/watch?v=a1_lB65bn9A
Anonymous
7/13/2025, 7:51:59 AM No.105888802
Science Foundation
Science Foundation
md5: 4f759d0d62c0c6b406df944df79a8e0b๐Ÿ”
This should be the OP image of the next thread.
Replies: >>105888834 >>105889070
Anonymous
7/13/2025, 7:58:34 AM No.105888834
>>105888802
go back
Replies: >>105888841
Anonymous
7/13/2025, 7:59:48 AM No.105888841
>>105888834
I'm from here. You go back.
Anonymous
7/13/2025, 8:00:11 AM No.105888843
A moth landed on my hand.
I thought to myself: "I really like this."

I'm really happy about programming and my new moth friend.
Replies: >>105888846
Anonymous
7/13/2025, 8:01:17 AM No.105888846
>>105888843
Wh-what are you programming with your new moth friend?
Replies: >>105888851
Anonymous
7/13/2025, 8:02:37 AM No.105888851
>>105888846
We're just playing around in C!
Anonymous
7/13/2025, 8:04:44 AM No.105888861
>java retard
>no moth will ever land on my hand
fuck this life
Anonymous
7/13/2025, 8:19:53 AM No.105888915
>>105888040
Register variables. clang still can't provide variables that would violate the ABI.
Anonymous
7/13/2025, 8:39:21 AM No.105889005
>>105889001
Anonymous
7/13/2025, 8:52:03 AM No.105889070
>>105888802
Who are you quoting
Anonymous
7/13/2025, 9:24:03 AM No.105889257
who are any of us quoting, really