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

Anonymous
7/4/2025, 6:24:28 PM No.105800235
1707860893850095
1707860893850095
md5: ae1b8bbe905651b1927efdfe87f5b988🔍
What are you working on, /g/?

Previous thread: >>105764133
Replies: >>105808265 >>105825312 >>105836443 >>105838443 >>105839719 >>105846468
Anonymous
7/4/2025, 6:26:26 PM No.105800250
Why is the anime girl upside down in these threads? PLEASE respond.
Replies: >>105800308 >>105804121 >>105825401
Anonymous
7/4/2025, 6:29:00 PM No.105800262
Already lost interest in my interpreter/compiler, game, operating system, blog template engine. None of it lasted over a month.
What the fuck do I build so that I don't drop it in 2 weeks? In fact I refactored the architecture for my compiler 3 times.
I fucking hate this. Any tips or ideas to avoid this awful feedback loop where I have the sudden urge to rewrite from scratch because I start noticing flaws in the architecture or just lose interest.
Replies: >>105800275 >>105800385 >>105817551
Anonymous
7/4/2025, 6:30:41 PM No.105800275
>>105800262
Something that's not worthless. Something that solves a real problem. Something that is born out of necessity and not novelty.
Replies: >>105800289 >>105805847
Anonymous
7/4/2025, 6:32:52 PM No.105800289
>>105800275
Well everything that needs to be made has already been made.
I'm out of ideas except to reinvent the wheel.
Replies: >>105800385 >>105805762 >>105817708
Anonymous
7/4/2025, 6:35:45 PM No.105800308
>>105800250
learn programming
Replies: >>105800328 >>105825554
Anonymous
7/4/2025, 6:40:22 PM No.105800328
>>105800308
I already do. Please explain instead of gaslighting.
Replies: >>105800345
Anonymous
7/4/2025, 6:44:08 PM No.105800345
>>105800328
If you don't know what gaslighting is how are you going to understand why she's upside down?
Replies: >>105800355 >>105800368 >>105800402
Anonymous
7/4/2025, 6:44:12 PM No.105800347
final_verdict_2
final_verdict_2
md5: 5a68df76478f9f047bf6745e2650e858🔍
Threadly reminder.
Anonymous
7/4/2025, 6:45:08 PM No.105800355
>>105800345
i kinda want to murder your family with a fork ngl
Anonymous
7/4/2025, 6:46:48 PM No.105800368
>>105800345
i will skullfuck you kike
Anonymous
7/4/2025, 6:48:40 PM No.105800385
>>105800262
>>105800289
for the idea part, you need to think like a user and not a programmer
think of something that will give you a real practical benefit, eg. save time on doing something you do routinely (not some imaginary user - actual YOU)
start using it already while writing it. don't wait until it's in a "perfect" or "complete" state, instead use its incompleteness as a driving factor. write something that just barely works, but still does its job; then work on improving it: keep adding more functionality and configurability and refining the code
Replies: >>105800440 >>105800484
Anonymous
7/4/2025, 6:50:57 PM No.105800402
>>105800345
pissrael will fall and i will wipe my ass with their flag
Anonymous
7/4/2025, 6:54:43 PM No.105800431
How could anyone hate Israel? The assrape they gave Iran was absolutely delicious.
Replies: >>105800446 >>105800458 >>105800496
Anonymous
7/4/2025, 6:56:06 PM No.105800440
>>105800385
When I think like a user I get big ideas like operating system or things like IDE but I already know that they're a death trap.
Every idea I can think is already there much better than I could ever do. And they're already in just werks territory.
Replies: >>105800924
Anonymous
7/4/2025, 6:56:45 PM No.105800446
>>105800431
hows the AI research center
Replies: >>105800485
Anonymous
7/4/2025, 6:58:41 PM No.105800458
>>105800431
>How could anyone hate the Nazis?
>The assrape that they gave Polamd was crazy.
Anonymous
7/4/2025, 7:00:42 PM No.105800472
I like both Israel and the Nazis.
Anonymous
7/4/2025, 7:02:06 PM No.105800484
>>105800385
That is how I made my Whiplash editor. Early versions were literally just a glorified text editor that allowed users to mass edit fields and I pumped out new releases every few days. It was more of a tool so less technical users could help me figure out what everything did than something practical for actually making your own custom tracks in those early days.
Anonymous
7/4/2025, 7:02:09 PM No.105800485
>>105800446
How's Iran's leadership?
Anonymous
7/4/2025, 7:03:26 PM No.105800496
>>105800431
He hates Israel because they are evil and committing genocide. I hate Israel because I am antisemitic. We are not the same.
Replies: >>105800537
Anonymous
7/4/2025, 7:07:55 PM No.105800537
>>105800496
>Israel commits genocide
You need to have a human population for it to count as genocide, otherwise it's just an extermination.
Replies: >>105800562
Anonymous
7/4/2025, 7:10:18 PM No.105800562
>>105800537
It really is too bad the moustache man didn't actually do any extermination. Hell, it's too bad Titus didn't finish the job.
Replies: >>105800645
Anonymous
7/4/2025, 7:20:31 PM No.105800645
>>105800562
Yeah, and now they are in charge, and no one can do anything about it. Pretty great ngl.
Anonymous
7/4/2025, 7:52:08 PM No.105800924
>>105800440
that's ambitious programmer thinking, not user thinking
what do you need a whole custom operating system or custom IDE for?
Anonymous
7/4/2025, 9:23:59 PM No.105801689
>>105783828
i am STILL looking for an answer to this question.
Replies: >>105801729 >>105801819 >>105802455 >>105802474
Anonymous
7/4/2025, 9:28:31 PM No.105801729
>>105801689
C++ obviously.
Anonymous
7/4/2025, 9:38:50 PM No.105801819
>>105801689
Perl.
Anonymous
7/4/2025, 10:37:22 PM No.105802245
b
b
md5: 6d2a9bff0330b2a6534b1f767941f2fb🔍
Python with static types. Compiles to C. With C++ style templates. And Java object model. And SDL2 built-in.
declare and assign with the following syntax
x : int = 10
Replies: >>105802271 >>105802465 >>105827205 >>105827220
Anonymous
7/4/2025, 10:40:50 PM No.105802271
>>105802245
>With C++ style templates
why
Replies: >>105802759
Anonymous
7/4/2025, 10:57:42 PM No.105802407
still working on the prime numbers from the other day. going to work on it some more when I have time tonight.
Anonymous
7/4/2025, 11:05:23 PM No.105802455
>>105801689
"Better" is a loaded term. What are the evaluation criteria? Faster to execute with a particular size of input data? Faster to write? More flexible in the face of the "types" in the CSV? More fun to write?
The only way we know what you think is "better" is if you tell us. Or we can just project our own BS onto you and give you answers that are true for us but don't help.
Replies: >>105802843
Anonymous
7/4/2025, 11:06:36 PM No.105802465
For me it's C11 with GNU extensions.

>>105802245
C, if you use libraries can be just as simple as python.
>java object model
Maybe something that compiles to jvm like kawa(scheme).
>assigns with the most gayest man can assign
maybe you should just kill yourself
Replies: >>105802705
Anonymous
7/4/2025, 11:07:12 PM No.105802474
>>105801689
if you rewrote that in Haskell it would be beyond better
some faggot was shilling his dataframe library, and his basic requirement was that it DIDNT do good typeshit but was instead garbage stringshit thus defeating the purpose of the language
Replies: >>105802639
Anonymous
7/4/2025, 11:29:27 PM No.105802639
>>105802474
The more you deal with real data, the more you find what a shitshow real data entry is.
Replies: >>105802747
Anonymous
7/4/2025, 11:38:20 PM No.105802705
>>105802465
>>assigns with the most gayest man can assign
do you mean to tell me that you've never used the formal parameter annotation together with a default value before? This code works in Python 3
def foo(x:int=10): return x+1
Replies: >>105846217
Anonymous
7/4/2025, 11:44:26 PM No.105802747
>>105802639
programmers only write programs that process data, data entry is another monkey's job
that said: if you refuse to process real data for whatever reason, you're not a real programmer but only a pretender - a script kiddie at best
Anonymous
7/4/2025, 11:45:59 PM No.105802759
>>105802271
Because static types means assigning a type to each expression, so if 'foo' is type 'list<int>' then we know 'foo[3]' has type int, all of this at compile time
There is also a type 'list<obj>' for a list of arbitrary objects, where 'obj' is an object
Replies: >>105802768
Anonymous
7/4/2025, 11:46:50 PM No.105802768
>>105802759
Python already has generics. Why do you need templates?
Replies: >>105802815
Anonymous
7/4/2025, 11:53:41 PM No.105802815
>>105802768
To satisfy the C compiler, of course! The whole point is to compile to C and rely on the C static type checking system.
Anonymous
7/4/2025, 11:58:54 PM No.105802843
>>105802455
my usecase is: i'm writing a script that takes in singular csv files (not big ones), calls an external API to gather additonal data, reformats the table into something usable, then spits it out as a new csv.
pandas has been great for the reformatting part, like applying functions to entire columns, performing sql-like joins on dataframes, etc. but what frustrates me about it is having to remember all the arcane syntax. e.g. it's [[col1, col2]] to grab multiple columns not [col1, col2], or oh shit that's actually not a dataframe its a series object so you can't even key into it with column names, etc. not to mention the complete NaN hell. it just feels like i'm constantly running into exceptions to what i assume are rules.
also, i'd eventually like to write similar scripts and host them all as API endpoints using something like a local network http server (golang?) so my coworkers can use them too. long story short i just don't really like python's whole venv thing.
Replies: >>105802890 >>105802952
Anonymous
7/5/2025, 12:06:09 AM No.105802890
>>105802843
types solve this problem
except nan
Anonymous
7/5/2025, 12:15:11 AM No.105802952
>>105802843
>what frustrates me about it is having to remember all the arcane syntax
write a wrapper for it, then
Anonymous
7/5/2025, 12:26:46 AM No.105803031
is it possible to link to a shared library as if it were a static library with existing tools on linux, i.e. resolve all the library's symbols in the linked to binary, perform the necessary relocations, etc.
arbitrary dynamic linkage isn't an option on some of the platforms i'm deploying to and on others i don't want to deal with dependency resolution

i've tried looking into it but anything that's not generic
>how do use linker
has been shit like bundling shared libraries inside of an executable then just like writing it to disk and loading it with loadlibrary/dlopen

embedding the libraries and using llvm's JIT based dynamic module loader might work if it doesn't trip security measures but at that point i'd be avoiding linking by embedding a linker, and it might be more sensible to just use llvm to build something that does what i want instead
Replies: >>105803830 >>105808612
Anonymous
7/5/2025, 2:08:21 AM No.105803767
I am too sick today. Got up super late. It's currently 18:00. Feels good that I didn't program.
I kinda only feel like playing games now.
Sorry for blogposting
Anonymous
7/5/2025, 2:16:02 AM No.105803830
>>105803031
Maybe I'm misunderstanding what you're saying, but why not build the library both as static and dynamic, and then pick how to link based on the platform? There's resources out there on how to do this with CMake.
Replies: >>105806446
Anonymous
7/5/2025, 2:58:17 AM No.105804121
1751646268416603
1751646268416603
md5: 7b8828397cdb189a7b9884cc82b3bcdb🔍
>>105800250
Replies: >>105804148 >>105804599
Anonymous
7/5/2025, 3:01:50 AM No.105804148
>>105804121
delete this
Anonymous
7/5/2025, 4:10:00 AM No.105804599
>>105804121
turn her face upside down but leave the rest
Replies: >>105804674
Anonymous
7/5/2025, 4:24:47 AM No.105804674
1751646268416603
1751646268416603
md5: 4207a69f81470544aef016318b07efd4🔍
>>105804599
Replies: >>105805308
Anonymous
7/5/2025, 6:25:26 AM No.105805308
>>105804674

Yup, effective programming behavior: following instructions even when they seem not to make any sense.
Anonymous
7/5/2025, 7:29:40 AM No.105805640
drinking beer and learning C by vibe coding w/ chatgpt
I will never larp that it's 1980 and read K&R, deal with it babe :)
Replies: >>105805666
Anonymous
7/5/2025, 7:34:54 AM No.105805666
>>105805640
can I make a linked list? sure, probably, but how about instead this: *yoink* and #include "linked_list.exe" ;)

problems?
Replies: >>105805670
Anonymous
7/5/2025, 7:35:51 AM No.105805670
>>105805666
>he can't make a linked list without AIslop
grim
Replies: >>105805679
Anonymous
7/5/2025, 7:37:05 AM No.105805679
>>105805670
Al is just another tool in my arsenol
Anonymous
7/5/2025, 7:53:02 AM No.105805762
>>105800289
Retard take. Windows went to shit, Linux still can't dominate desktop, and everything is getting bloated and slow AF.
Anonymous
7/5/2025, 8:10:07 AM No.105805842
file
file
md5: a59651f43793ed8a824abd105bc78333🔍
Suppose I placed well in a civil service exam (in my 3rd world country) for a tech specialty job position in a court of justice and it's very likely I will get the job position. Now suppose I have 0 skills, no personal projects beyond the simplest python scripts and 0 experience working in the tech area, actually any area at all since I'm a useless NEET.
Pic related is the job description, I have never done any of that, and more importantly I can't even imagine a sperg like me becoming a functional employee. Considering your own experiences working in tech, how hard would it be for someone like me to actually fit in the job within a reasonable time frame? Maybe AIslop can save me?
Replies: >>105805850
Anonymous
7/5/2025, 8:11:11 AM No.105805847
>>105800275
Put down programming for a bit and get into some hands-on work. You can do both, and they will inform each other. Get involved in a local makerspace, learn some woodworking, welding. In the meantime your brain will make connections between seemingly disparate activities.
You will find people who have different skillset and might benefit from software in some way, at the very least. For instance generating patterns for laser etching or something. A girl who wants to make coasters will kiss you on the mouth just for basically making an inkscape plugin/macro.
Now you start a family, and you can teach all of them what you know, and together decide on important projects.
Anonymous
7/5/2025, 8:11:36 AM No.105805850
>>105805842
sorry wrong thread I will post on /twg/
Anonymous
7/5/2025, 8:54:02 AM No.105806078
file
file
md5: 3755c78655ed195385305377c7ec9ace🔍
https://godbolt.org/z/nobWs81dv

I've been working on a library for a while, and have been implementing formatting in it (fmtlib and std::format do not do what I need in my library). I couldn't figure out why one of my tests was failing and it turns out that libstdc++ is doing something wrong. clang with libc++ and msvc do the right thing.
Anonymous
7/5/2025, 9:39:17 AM No.105806277
1740223794273367
1740223794273367
md5: 876a39c747447d81bfe0b9c8ee707d47🔍
basically I just use c++ as c with namespaces
Replies: >>105806299
Anonymous
7/5/2025, 9:42:58 AM No.105806299
>>105806277
>not a c programmer
>most niggerlious sepples programmer
why would anybody do that, literally the worst thing you can do
Replies: >>105806319
Anonymous
7/5/2025, 9:45:00 AM No.105806313
I write everything in sloppy python
bottleneck? drop to C and have chatgpt do it lol
Anonymous
7/5/2025, 9:46:05 AM No.105806319
>>105806299
look, I just like, don't care, alright? ugggggh, I know, sorry! but I just don't care and my programs run! sorry not sorry!
Replies: >>105806354
Anonymous
7/5/2025, 9:53:21 AM No.105806354
>>105806319
>my programs run
then you better go catch them
Replies: >>105806369
Anonymous
7/5/2025, 9:55:31 AM No.105806369
>>105806354
I can't, they're too fast!
Anonymous
7/5/2025, 10:09:32 AM No.105806446
>>105803830
not really an option, it's not one library, and not just one application either
trying to put together a utility/dev environment with as close to 1:1 feature parity regardless of host so i can distribute work over a wide variety of old devices currently just sitting around doing nothing
a lot of of dependencies, and some of them also have complex abi and configuration sensitivities that make that a non-starter
and it would also take forever to build them all in a controlled predictable manner for each platform as my cpu is shit

alternatively if i could target a generic IR and just build one set of programs and build a runtime for each platform that would work
the various ways of executing LLVM IR don't really perform all that well, i think MLIR might be a bit better but that's also new
there's BPF but i don't know how actually usable that is
WASM seems like such a pain in the ass to get working and 64 bit support isn't really there
Replies: >>105808590
Anonymous
7/5/2025, 10:21:36 AM No.105806496
/dpt/bros.. Is it too late to learn to code? Also what language(s) are most useful for coding programs interfaces?
Replies: >>105806555 >>105806754
Anonymous
7/5/2025, 10:34:40 AM No.105806555
>>105806496
>Is it too late to learn to code?
Yes, you're 4 decades too late.
Anonymous
7/5/2025, 10:54:00 AM No.105806633
global EVERYTHING

there's really no reason not to
Anonymous
7/5/2025, 11:18:14 AM No.105806750
domain.renewal
domain.renewal
md5: bcfcd1d2331465a4f34a88e7059cc5f2🔍
>renewing the domain for the 6th year in a row
>project nowhere near to be ready for release
Replies: >>105806817 >>105806963 >>105807168 >>105825879
Anonymous
7/5/2025, 11:20:09 AM No.105806754
>>105806496
>Is it too late to learn to code?
no. just don't expect to make any money.
Anonymous
7/5/2025, 11:34:44 AM No.105806817
>>105806750
>did anon kill himself yet?
>ah nope, his domain is still up, he's fine
Replies: >>105825879
Anonymous
7/5/2025, 11:35:27 AM No.105806821
oldfag here who has zero idea in programming, how do i start learning programming for GPUs ?
Replies: >>105806963 >>105807393
Anonymous
7/5/2025, 12:07:14 PM No.105806963
>>105806821
>programming for gpus

>>105806750
thats actually sad what the fuck have you been doing. get some work done bitch
Anonymous
7/5/2025, 12:47:23 PM No.105807168
>>105806750
Remember to never release until it is perfect! Not a single flaw in the git history, not a single grammatical error, not a single bug per commit!
What would others think of you when you release a half-baked 80% finished project? The cruel answer is that they never knew you.
You need to shill your broken product then improve it. Remember, windows didn't just get released in 1 day and suddenly supported all software that was built from DOS times until now.
It started with a simple command prompt, then a simple window manager with programs that can be counted on your hands, and so on.
Anonymous
7/5/2025, 1:31:28 PM No.105807393
>>105806821
depends on whether or not you want graphics or compute

for graphics AMD's website has a bunch of helpful articles, in particular this one has a few links to places to get started
https://gpuopen.com/learn/how_do_you_become_a_graphics_programmer/
aside from https://vulkan-tutorial.com/ which is really out of date, (vkguide.dev is better) they're all good resources
NVIDIA has a whole bunch of free ebooks somewhere if i remember right

there's not really anything like that for learning pure compute (especially if you have an AMD graphics card)
the landscape is fragmented between different C++ dialects with 90% of it being NVIDIA's CUDA
AMD is trying to catch up with their basically 1:1 open source CUDA clone HIP, neglecting support for features of their hardware in favor of maximizing NVIDIA compatibility for lazy assholes who still think porting things to HIP is difficult
intel is trying to get everyone to adopt SYCL which is the only open standard modern compute API
no one has, despite there being a few SYCL implementations
intel's oneAPI being the main one, which also supports NVIDIA and AMD using CUDA and HIP as a backend

nvidia and AMD both have documentation on the CUDA and ROCm/HIP websites
nvidia has dev blogs, AMD has like one slideshow with a few interesting techniques and a few examples
https://tschmidt23.github.io/cse599i/
although i did find a course on CUDA randomly on github which i found very helpful despite needing to translate everything to HIP
Anonymous
7/5/2025, 3:58:39 PM No.105808265
Screenshot_20250705_155714
Screenshot_20250705_155714
md5: d979bc71028c77f7fea6c31be4ef631d🔍
>>105800235 (OP)
Fucking around with terrain generation and opengl rendering with shaders.
Anonymous
7/5/2025, 4:50:31 PM No.105808590
>>105806446
CMake has functions and macros to automate those kinds of things across multiple libraries/executables
Replies: >>105808778
Anonymous
7/5/2025, 4:54:30 PM No.105808612
>>105803031
Do you not have access to the library's source code? If so you can always build it as a static lib. The amount of pain involved varies of course. I link Qt statically. It's very painful.
Replies: >>105808778
Anonymous
7/5/2025, 5:03:33 PM No.105808669
R-27609663-1688761052-4573
R-27609663-1688761052-4573
md5: a04a548ffb6cc7bb8cb2be9f77780bc2🔍
Here's some sample Lyzyrd's Gyzzyrd code. As you can see, it's very exciting and fresh, capitalizing on the absolutely massive historical cultural trends in programming language design stretching back generations. The Lyzyrd's Gyzzyrd team is a motley crew of renegades, rock stars, and ninjas. Until our initial release, we recommend using Python, C, or Java to satiate your lust for computer control.
Code on, dude. \_/
# conditional execution
if (test):
SUITE

# interface definition
interface NAME(baseinterface):
SUITE

# class definition
class NAME(baseclass) implements CLASS,...:
VAR : TYPE
...
SUITE

# cast object to type
OBJECT as TYPE

# container type template
x : list<int>
x.append(10)
x.append("20" as int)

# function definition
def foo(x:int=20) -> float:
print x + 1
return (x as float) + 0.5
Replies: >>105828179
Anonymous
7/5/2025, 5:18:38 PM No.105808778
>>105808590
yea that's all well and good when you control what cmakefiles are doing
it's wild cmakefiles that don't let you set certain options and configure shit based on what they detect "automatically" are part of what's causing the problems
i'd have to write a really complicated script heavy toolchain file to actually deal with some of the shit i've run into

>>105808612
nope
one of the more problematic platforms i'm targeting are several non-rooted androids but specifically through termux
not quite android, because it's trying to emulate a normal linux execution environment, as best it can with what it's got, and not quite linux because it's still quite limited
occasionally there's certain system libraries that have to be linked to that won't be and other times it's preferable or necessary to prefer either a termux supplied one or a system one
for a couple of more complex projects building them properly involved having to hack together a hybrid of the cmake linux arm configs and android configs along with injecting compiler and linker settings through config files outside of cmake
it would be nice to just forcibly cludge together a single binary that only really depends on system libs

iirc internally as part of the app's build process it does something odd with dummy shared libraries to partially circumvent the dlopen/ld restrictions for some shit so it and programs packaged for it don't have to worry about this
Anonymous
7/5/2025, 8:36:48 PM No.105810356
functor
Replies: >>105810480 >>105810757
Anonymous
7/5/2025, 8:44:57 PM No.105810441
so i am wrapping my head around operator precedence and making an AST for expression parsing, but everything seems to gloss over brace matching. like not parenthesis which directly affect precedence, but the braces in a language which for example you can declare an array like arr = { 0 1 2 3 } or the braces to mark the block of a function declaration. brace tokens arent exactly operators, so what are they
Replies: >>105811062
Anonymous
7/5/2025, 8:49:59 PM No.105810480
>>105810356
>can't tell if haskell (based) or cripples-- (cringe)
Replies: >>105810870
Anonymous
7/5/2025, 9:24:15 PM No.105810757
>>105810356
generic
Anonymous
7/5/2025, 9:32:40 PM No.105810830
bros, what tool for documenting JS APIs do you recommend? I need it to be able to describe the API without the actual JS code. currently I am using Sphinx, but maybe there's something better.
>https://www.sphinx-doc.org/en/master/usage/domains/javascript.html
Anonymous
7/5/2025, 9:38:03 PM No.105810870
>>105810480
sepples has functor?
>class that overloads ()
what the fuck?
Replies: >>105810900 >>105810903 >>105810924
Anonymous
7/5/2025, 9:40:46 PM No.105810892
1726756998760131
1726756998760131
md5: d16a407dc8446e419f37f9ac312418db🔍
>every single line of code has to be rewritten 5 times, encased in different #ifdef #endif directives to support multiple compilers and build configurations
why do people choose to live like this
Replies: >>105810917 >>105810939 >>105810952 >>105811788 >>105813213 >>105828333 >>105835358 >>105835365 >>105835410 >>105835456
Anonymous
7/5/2025, 9:42:17 PM No.105810900
>>105810870
what's wrong anon? you can also use a lambda expression (possibly with a capture list) if you want.
Anonymous
7/5/2025, 9:42:54 PM No.105810903
>>105810870
its a dumb name for a "function object"
Anonymous
7/5/2025, 9:44:28 PM No.105810917
>>105810892
don't forget all of the different gpu/multi cpu/NUMA technologies which require totally different compilers and will perform like ass anyway in any generic set up
Anonymous
7/5/2025, 9:45:08 PM No.105810924
>>105810870
would it make you feel better if the class just had a Invoke() method instead of overloading ()?
Replies: >>105811298 >>105811330
Anonymous
7/5/2025, 9:47:10 PM No.105810939
>>105810892
Me? I exclusively target MSVC and have a couple debug macros that go away in release builds
Anonymous
7/5/2025, 9:48:54 PM No.105810952
>>105810892
it's a cross a white man has to bare, so others can fuck around in Python.
Anonymous
7/5/2025, 10:03:35 PM No.105811062
1751399159513532
1751399159513532
md5: b974134f7480cc8a328ee707f46db47c🔍
>>105810441
I've seen them referred to as grouping operators
Anonymous
7/5/2025, 10:35:16 PM No.105811298
>>105810924
No, I want more templates and redundant copies.
#include <functional>
#include <iostream>

template <typename A>
class arr {
public:
A a[10];
template <typename F>
auto map(F f) -> arr<decltype(f(std::declval<A>()))> {
using B = decltype(f(std::declval<A>()));
arr<B> x;
for (int i = 0; i < 10; i++) {
x.a[i] = f(a[i]);
}
return x;
}
void print() {
for (auto y : a) {
std::cout << y << " ";
}
std::cout << std::endl;
}
};

int main() {

arr<int> x;
for (int i = 0; i < 10; i++) {
x.a[i] = i + 65;
}
x.print();

arr<char> y = x.map([](int v) { return (char) v; });
y.print();

return 0;
}
Replies: >>105811342
Anonymous
7/5/2025, 10:40:26 PM No.105811330
>>105810924
Yes, actually. I hate when syntax intentionally obfuscates what's actually happening.
Anonymous
7/5/2025, 10:42:44 PM No.105811342
>>105811298
cool now map into an array of objects that cant be default constructed
Replies: >>105811577
Anonymous
7/5/2025, 10:42:46 PM No.105811343
1740956847682985
1740956847682985
md5: e2231e4d47064fea2e326ed08dc7c479🔍
Pythonchads?
Replies: >>105811368
Anonymous
7/5/2025, 10:47:13 PM No.105811368
>>105811343
>janitorial duties
literally slavery forcing him to clean what he will never use
Anonymous
7/5/2025, 11:19:37 PM No.105811577
>>105811342
#include <functional>
#include <iostream>

template <typename A>
class arr {
A oc1;
int oc2;
public:
A* a;
arr(A oc1, int oc2) {
this->oc1 = oc1;
this->oc2 = oc2;
this->a = new A[oc2];

for (auto i = 0; i < oc2; i++) {
a[i] = oc1;
}
}
~arr() {
delete a;
}
template <typename B>
arr<B> map(std::function<B(A)> f) {
arr<B> x(f(oc1), oc2);
for (auto i = 0; i < oc2; i++) {
x.a[i] = f(a[i]);
}
return x;
}
void print() {
for (auto i = 0; i < oc2; i++) {
std::cout << a[i] << " ";
}
std::cout << std::endl;
}
};

int main() {

arr<int> x(65, 10);
x.print();

std::function<char(int)> f = [](int v) { return (char) v; };
arr<char> y = x.map(f);
y.print();

return 0;
}
Replies: >>105811610
Anonymous
7/5/2025, 11:25:08 PM No.105811610
>>105811577
anon you could have just used placement new, or variadics
instead this pointer garbage
shame on you
Anonymous
7/5/2025, 11:50:59 PM No.105811788
>>105810892
programming has to be hard or you cant get paid
Replies: >>105813213
Anonymous
7/6/2025, 2:17:04 AM No.105812718
screenshot-06-07-2025-10:15:57
screenshot-06-07-2025-10:15:57
md5: b2d4e8110f4cc623a8c3875663476eb2🔍
What the fuck does this even mean?
Replies: >>105812779 >>105812783
Anonymous
7/6/2025, 2:27:54 AM No.105812779
>>105812718
why do you expect there to be any difference its 99% calls to some library which will take the vast majority of the time compared to the tiny amount of python bytecode execution
Anonymous
7/6/2025, 2:28:42 AM No.105812783
>>105812718
that spinning up an interpreter and running library initialization has a cost
probably mostly just interpreter start time
but in a larger application going in and out of python the constant (un)marshalling does have a significant overhead despite the oft repeated myth that you get native performance with native python libraries
Replies: >>105812797
Anonymous
7/6/2025, 2:30:50 AM No.105812797
>>105812783
shit never mind i misread the times lmao
with small enough programs any performance differences are probably vanishing into noise
i'm actually really impressed python could init that quickly
Replies: >>105812814
Anonymous
7/6/2025, 2:33:10 AM No.105812814
>>105812797
>i'm actually really impressed python could init that quickly
the python runtime remains in memory after you run it the first time, try running it one time after a cold boot
Anonymous
7/6/2025, 3:36:01 AM No.105813213
>>105810892
that's cnile "portability" for you
meanwhile in Java land, not only you can run same source code over different environments, you can even run the same compiled classes/jars over different environments

>>105811788
the hard part should be the business logic, not language/environment setup
Replies: >>105813297
Anonymous
7/6/2025, 3:37:24 AM No.105813226
6502 assembly is the ultimate language for portability because every platform has a nintendo emulator
Anonymous
7/6/2025, 3:54:32 AM No.105813297
>>105813213
I have to maintain Java 6 because corpo has a shitload of Visual JSP shit made with Netbeans 6, kill me.
Replies: >>105816865 >>105817590
Anonymous
7/6/2025, 4:48:48 AM No.105813553
screenshot-06-07-2025-12:44:47
screenshot-06-07-2025-12:44:47
md5: ac120ec1f4bc02485b3da07e1650a50b🔍
This type casting polymorphic bullshit in gtk is annoying, inconsistent and unreadable.

It's more time and effort to write the cast than it is to just ensure you're passing in the correct type to the function.
Replies: >>105813608 >>105814139 >>105821516
Anonymous
7/6/2025, 4:59:14 AM No.105813608
>>105813553
>annoying
it's C
>inconsistent
where?
>unreadable
skill issue
Anonymous
7/6/2025, 6:37:02 AM No.105814139
>>105813553
you only have yourself to blame for using GNOME shitware
no developer who acts the way they do could possibly be capable of actually designing a usable library
with the damage they've done to critical projects like wayland and to the linux desktop as a whole i genuinely consider them the single biggest threat to FOSS

i wish there was some org whose sole purpose was to be contrarian to GNOME
whenever GNOME nacks some wayland protocol for literally no reason it could ack it
whenever GNOME refuses to implement some very reasonable feature into their DE it could add it to a forked version
whenever GNOME removes some feature tons of people use because the GNOME devs personally don't need it it could maintain it
Anonymous
7/6/2025, 7:42:44 AM No.105814461
I need to share a list of objects between multiple classes. Some of these classes need to be able to add / remove from the list. Some also need a mechanism to map a class specific value to elements on this list. Problem is when an element is removed via another class, how do I make the one with the mapped information aware of the change?

class Class1 {
readList();

List<T> &list;
};

class Class1 {
addElement();
removeElement();

List<T> &list;
};

class Class2 {
readAssocaitedList();
addAssociation();
removeAssociation();

List<T> &list;
map<key, T *> associatedList; //<-- this needs to be informed of list removals
};
Replies: >>105814501 >>105814691 >>105816310
Anonymous
7/6/2025, 7:51:39 AM No.105814501
>>105814461
Use a pointer
Replies: >>105814507
Anonymous
7/6/2025, 7:52:49 AM No.105814507
>>105814501
where, and how does that help?
Replies: >>105814534
Anonymous
7/6/2025, 7:56:56 AM No.105814534
>>105814507
Assuming that the list is just some collection of elements, you can use a pointer as an abstraction to point to said list. Then, copies of that pointer will always remain accurate so long at that list stays in that address. Assuming some other class needs to be notified (post-processing?) a pointer to an instance of that class can be used to notify it when some operation is done.
Replies: >>105814558
Anonymous
7/6/2025, 8:01:57 AM No.105814558
>>105814534
so something like this?
class List {
vector<function<void(T *)>> notifyTargets;
};

class Class2 {
Class2() {
list.notifyTargets.push(updateAssociatedList);
}

readAssocaitedList();
addAssociation();
removeAssociation();

void updateAssociatedList(T *);

List<T> &list;
map<key, T *> associatedList; //<-- this needs to be informed of list removals
};
Replies: >>105814634
Anonymous
7/6/2025, 8:16:14 AM No.105814634
>>105814558
actually now that I think about it, isn't my problem the same as a database with associated objects needing to propagate a delete? How do they deal with this sort of thing?
Replies: >>105814693
Anonymous
7/6/2025, 8:25:12 AM No.105814691
>>105814461
I assume your concern is that updating the list is making the pointers in the map point somewhere invalid.
Instead of storing T in the list and T* in the map, store std::shared_ptr<T> in both.
Unless you mean "when I remove something from the list, the map has to actually get updated to remove all the keys with that value". In that case make the class with the map actually hold the list instead of referring to it, let everyone else refer to it. and put the necessary logic in that class too. The shared_ptrs will probably still help here tho.
Replies: >>105814790
Anonymous
7/6/2025, 8:25:19 AM No.105814693
>>105814634
Databases don't propagate a delete, a row is a row, they have triggers but you have to manually set them up.
You might be thinking of ORMs which have code annotations of CASCADE to generate boilerplate that sends queries to delete one thing after the other.
So yeah, you have to write or generate the boilerplate (aka the constraint where you touch X and you update Y and you touch Y and update X).
Anonymous
7/6/2025, 8:43:18 AM No.105814790
>>105814691
doesn't a shared_ptr lead to a memory leak?
>add element to list
>add association in map
>remove element from list (map still holds the shared_ptr)
>repeat until OOM
if you don't make any attempt to access these deleted elements in the map you never have a chance to clean them up
Anonymous
7/6/2025, 1:07:18 PM No.105816310
>>105814461
observer pattern for instant removal, shared pointers for delayed removal, or rethink your design to avoid shared state
Anonymous
7/6/2025, 2:46:07 PM No.105816865
>>105813297
how is the IDE where the JSP were authored in a factor in what Java version you're running?
Replies: >>105817524
Anonymous
7/6/2025, 4:34:22 PM No.105817524
>>105816865
Usually it doesn't matter.
In this particular case the issues are thus:
1) The Visual JSP shit has certain dependencies that come bundled with Netbeans 6, meaning you can't copy paste the project to Netbeans 21 and have it work out of the box.
2) Decouple it anyways. Extract the jar dependencies. Well, the jar dependencies are obsolete Netbeans plugins and obsolete Sun libraries (com.sun.rave) that have no source code available and have no upgrades available. These jar dependencies require things easy to replace (javax to jakarta transition) to very hard (JDK 6 concrete bullshit that was removed).
3) Try to find replacements anyways. Well, for the com.sun.rave stuff there is no replacement, you need to rewrite. And the Visual JSP format is very old, it existed during the transition from JSP 1 to JSP 2 while they were figuring shit out, so there's no modern "replace X for this com.sun.rave Y".
4) The cherry on top is that this Visual JSP format is for Netbeans 6. Netbeans 6 has a Design tab (removed for Netbeans 7 and over) that builds the website based on the JSP pages. Meaning that the JSP pages are autogenerated and bloated with autogenerated bloat that was added but not removed because it served a purpose at some point and the system it didn't make any difference to remove it. Directly porting the JSP pages means you get bloated autogenerated pages and no Design tab (which boomers like) to interpret them.
The moral of the story is: don't use meme frameworks.
Replies: >>105820864
Anonymous
7/6/2025, 4:37:35 PM No.105817551
1689522730131166
1689522730131166
md5: e540255625212efa5e9fe949fced0859🔍
>>105800262
>Find crap programming lang nobody uses like Clojure, Pascal, D, Crystal, Nim, Haxe, nushell
>Obsess over them for some cool feature or design choice they have
>Rewrite a bunch of imagemagick and ffmpeg wrappers on it, some with toy raylib/Qt GUI
>Realize is a waste of time and i could've just used Python since the beginning instead of going against the current
>Get depressed and quit for two weeks
How to break the cycle? So far the only one of these i had developed some affinity is Clojure. And that's mostly due of sunk cost fallacy. But i dread I'll fall in the same meme with Nim soon.
Replies: >>105821122 >>105821258
Anonymous
7/6/2025, 4:42:13 PM No.105817590
>>105813297
>Visual JSP
Abstract kind of hell. Rewriting that piece of shit would be far more viable. There's a good reason all that got deprecated. It was a hack built on workarounds by corporate brownosers fishing good boy points.
Replies: >>105817690
Anonymous
7/6/2025, 4:55:15 PM No.105817690
>>105817590
Rewriting is the only option.
Some of the applications got turned into raw HTML/JS/CSS from JSP.
One public facing one to React.
The others (the important ones) are too big and too important and the model/controller/view logic for each page is just one big mixed bean for everything, unraveling the business logic is too risky. I imagine it was quite convenient to have the "this field is visible" info nested 10 calls into Java land, but it generated horrible coupling.
Anonymous
7/6/2025, 4:57:32 PM No.105817708
>>105800289
>everything that needs to be made has already been made.
You're just not creative enough. I'm working on multiple novel personal projects that other people use regularly.
Anonymous
7/6/2025, 6:57:02 PM No.105818814
>Try running a file watcher in a Visual Studio project
>On save it's writing to a temporary file and renaming it as the original
Why?
Replies: >>105819159
Anonymous
7/6/2025, 7:32:39 PM No.105819159
>>105818814
so it cant fail in a successful-looking state?
Anonymous
7/6/2025, 8:38:02 PM No.105819706
What's the most straightforward way to play low level audio on Windows? There's like a million different APIs
Replies: >>105821237
Anonymous
7/6/2025, 10:52:10 PM No.105820864
>>105817524
>The moral of the story is: don't use meme frameworks.
Meme designer+framework combos are the worst. Fragile as fuck as soon as anything changes.
I want to program my UIs precisely so they keep on working, damnit!
Anonymous
7/6/2025, 11:16:13 PM No.105821105
1619988307977
1619988307977
md5: 3f213b41363e4e127e33a4e59a01fd31🔍
do {
coom()
} while (condition)

vs
let condition = false
while (condition){
coom()
}

The great debate.
Replies: >>105821204 >>105821221 >>105821275 >>105821299 >>105821377
Anonymous
7/6/2025, 11:18:36 PM No.105821122
>>105817551
Why, of all languages, would you feel that over Python? With Py you have a CLEAR different use case from your hipster languages: quicker to write/read, absolute ass performance.
Your hipster language wrappers run faster.
Replies: >>105821258 >>105822978
Anonymous
7/6/2025, 11:25:46 PM No.105821204
1726277079526504
1726277079526504
md5: 28a3aa629013c2e9c9b511c0f0cc3130🔍
>>105821105
loop
coom();
exit when condition;
end loop;
Anonymous
7/6/2025, 11:27:04 PM No.105821221
>>105821105
>while(false)
Anonymous
7/6/2025, 11:28:30 PM No.105821237
>>105819706
The most straightforward is gonna be PlaySound innit?
Anonymous
7/6/2025, 11:30:53 PM No.105821258
>>105817551
>How to break the cycle?
If you're results oriented then just stick with Python or JavaScript.
Otherwise find the lang that is not
>crap programming lang
for you.

>>105821122
Some people just NEED immediate results. With Python there is so much slop that you can produce even much more slop to consume and it is self reinforcing.
Replies: >>105822978
Anonymous
7/6/2025, 11:32:04 PM No.105821275
>>105821105
forever coom
Anonymous
7/6/2025, 11:34:43 PM No.105821299
>>105821105
#define ever ;;
for (ever)
coom()
Anonymous
7/6/2025, 11:42:54 PM No.105821377
be7745300396f083b149b7a88897803e
be7745300396f083b149b7a88897803e
md5: 8e58aa2e57c3e267d78ec26c154cb734🔍
>>105821105
coom condition
Replies: >>105821443
Anonymous
7/6/2025, 11:50:03 PM No.105821443
hmm
hmm
md5: 868406c8ae0691362d775fa9ff3cd925🔍
>>105821377
Replies: >>105821509
Anonymous
7/6/2025, 11:57:15 PM No.105821509
1749151622319528
1749151622319528
md5: 39eaa0138b30d2e1a4b1bd770edcbc1e🔍
>>105821443
prune parent 2
Anonymous
7/6/2025, 11:58:18 PM No.105821516
>>105813553
Don't write GTK applications in C. Seriously. Nobody does this.

GObject/Glib is implemented in C as well as many other libraries in the GTK/GNOME ecosystem to make generating bindings easier, but you're not supposed to use C for actual applications. Just use Rust or Vala or Python.
Replies: >>105821832 >>105827237
Anonymous
7/7/2025, 12:43:22 AM No.105821832
alphabet
alphabet
md5: b0ce59846f235255f91704f21d578aa6🔍
>>105821516
>use Rust
Anonymous
7/7/2025, 3:40:17 AM No.105822978
>>105821122
>>105821258
I'm more or less obsessed with the "fear of missing out" effect where i could've shipped out something faster on the sametime that would take me learn from another tech. What if i sunk too much time into it and realize i don't like it in the end? But at the same time, i don't really click with most of the mainstream languages, niche ones are just a lot funnier. Python is a charade, only usable thanks to some Rust based startup or docker bloat, JavaScript ecosystem is only marginally better than Python in quality, Java's average codebase is the most atrocious thing I've ever seen (though i like the JVM on paper, i've been looming over Clojure for that reason) Rust takes too long to compile, and i'm too retarded for C++'s ecosystem. Only mainstream langs i've not tried yet are Go and C#, some people say they're considerably better than these ones, but Go doesn't look like a big deal compared with D and Nim. Isn't C# tooling also VS locked?
Replies: >>105823356 >>105823518 >>105824251
Anonymous
7/7/2025, 4:46:29 AM No.105823356
>>105822978
This thought is foreign to me. I mostly just use what I know already from work. That means visual studio, C++, and Qt lmao. Maybe it's a bit much for some things but it's also the fastest way for me to whip something up that other people can actually use and it's easy for me to make it build on linux/mac too. If I am forced to use a new library I don't already know I pick whatever is the most standard and most popular. Just go down the path of least resistance that accomplishes the goal. Some nerd can refactor it in Rust or Zig or whatever meme language later if they want.
Anonymous
7/7/2025, 5:15:59 AM No.105823518
>>105822978
Miss out on what, if you tried all languages? What's the point of shipping faster if you don't ship? Spend more time not making anything? If you like Clojure go with Clojure.
Anonymous
7/7/2025, 5:19:23 AM No.105823532
a daemon.
don't ask me what it does, it's not free and you can't have it.
Anonymous
7/7/2025, 5:23:08 AM No.105823555
still working on the prime numbers
Anonymous
7/7/2025, 5:25:42 AM No.105823571
real numbers
Anonymous
7/7/2025, 5:29:45 AM No.105823596
fibonacci numbers between 2^100 and 2^200 holding a secret pattern
Anonymous
7/7/2025, 6:57:43 AM No.105824091
women_koders_thumb.jpg
women_koders_thumb.jpg
md5: ab69289987592fd676098dcd4dad6745🔍
Are there any good books on compilers and debuggers that go through the fundamentals of how they work, etc.like those computer sci books that teach you about the fundamentals of computers like processrors, asm, binary, etc? How did you guys learn about compilers and debuggers?
Replies: >>105825423 >>105827227 >>105827885
Anonymous
7/7/2025, 7:30:02 AM No.105824251
>>105822978
Try Common Lisp
Anonymous
7/7/2025, 11:00:48 AM No.105825312
>>105800235 (OP)
I have been able to develop a way to cause PNG files to mutate slightly on open. This mutation stores a fingerprint of the system the PNG was opened on back to the PNG itself stegonagraphically in a way which is not visible to humans, forming a log of everybody who every viewed the image, even if they did so fully offline, as well as the number of times it was viewed and a timestamp. No metadata is used to achieve this. Nothing is required except for the user to open the PNG in pretty much any viewer. I made it because I was curious if this technology is possible after watching YouTube videos and it is. Is there any actual application? How do I turn a PNG that records everybody who looked at it into money? Am I even the first person to do this?
Anonymous
7/7/2025, 11:16:25 AM No.105825401
>>105800250
The pose is a reference to Ghost in the Shell, specifically the stunts the Major pulls, the bishojo is Yuki Nagato from Haruhi Suzumiya.

Both japanese cartoons have technolo/g/ical themes.
Anonymous
7/7/2025, 11:19:41 AM No.105825423
>>105824091
The course is called computer architecture in unis, search up book on zlib on the topic
Anonymous
7/7/2025, 11:49:06 AM No.105825554
>>105800308
If she had anything to do with programming she'd be wearing a maid outfit and the book would be about number theory.
Anonymous
7/7/2025, 12:53:02 PM No.105825879
1639096590074
1639096590074
md5: 49fd63c24ddb764eba4221bb80e0597e🔍
>>105806750
>>105806817
>tfw I went back to free DynDNS after those shitty laws in EU made my entire record public
don't think a company has ever seen one cancel within the first minute of going live
>you will still pay for that year
>get my data offline first
>deletes my records and I pay them
that was the closest to people being able to dox me
Anonymous
7/7/2025, 4:07:10 PM No.105827205
>>105802245
>Python with static types. Compiles to C.
nim
Replies: >>105827247
Anonymous
7/7/2025, 4:08:20 PM No.105827220
>>105802245
FreeBASIC has all of those except for templates. BASIC frontend with a GCC backend
Anonymous
7/7/2025, 4:09:42 PM No.105827227
wallhaven-0p26lp
wallhaven-0p26lp
md5: 5557f38d3f20b3c3d7e0e12e0d72ab35🔍
>>105824091
>compilers
dragon book
>debuggers
can't help you sorry
Anonymous
7/7/2025, 4:10:47 PM No.105827237
>>105821516
gtkmm is pretty close to my ideal UI framework. Shame it's a total pain in the ass to get working on any platform other than Linux
Anonymous
7/7/2025, 4:11:57 PM No.105827247
>>105827205
>Nim is Python becoz block syntax
Nocoder detected. Nim is a Pascal derivative.
Replies: >>105827529
Anonymous
7/7/2025, 4:12:35 PM No.105827254
learning a bit of c, lovin it so far
Anonymous
7/7/2025, 4:18:44 PM No.105827305
Where do you start reverse engineering this?
$ objdump -d a.out

a.out: file format elf32-littlearm

$ ldd a.out
/system/bin/ldd[24]: linker: inaccessible or not found
$ readelf -a a.out
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x9794
Start of program headers: 52 (bytes into file)
Start of section headers: 0 (bytes into file)
Flags: 0x5000200, Version5 EABI, soft-float ABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 4
Size of section headers: 0 (bytes)
Number of section headers: 0
Section header string table index: 0

There are no sections in this file.

There are no section groups in this file.

Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000000 0x00008000 0x00008000 0x017c4 0x017c4 R E 0x1000
LOAD 0x002000 0x0000a000 0x0000a000 0x2d6b78c 0x2d6b78c R 0x1000
LOAD 0x000000 0x02d76000 0x02d76000 0x00000 0x02048 RW 0x1000
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x10

There is no dynamic section in this file.

There are no relocations in this file.

Dynamic symbol information is not available for displaying symbols.

No version information found in this file.
Replies: >>105827386
Anonymous
7/7/2025, 4:29:52 PM No.105827386
>>105827305
Open it in Ghidra or IDA
Anonymous
7/7/2025, 4:49:01 PM No.105827529
>>105827247
Pascal is an Algol derivative, n00b
Anonymous
7/7/2025, 5:36:11 PM No.105827885
2023-11-08b
2023-11-08b
md5: 35cabf71fe3a0bffab161c889f8e6d5b🔍
>>105824091
>Are there any good books on compilers and debuggers that go through the fundamentals of how they work, etc.like those computer sci books that teach you about the fundamentals of computers like processrors, asm, binary, etc? How did you guys learn about compilers and debuggers?
I've only written an instruction-level debugger for linux/arm but all the required info was in man ptrace, where poke/peektext are used to insert/remove bkpt #0 (trickier on archs with variable width instructions), and where getregs/cont is used to advance to the next pc

A source-level debugger on linux uses dwarf info where dwarf_addrdie, dwarf_getsrc_die, and dward_lineno finds the correspondence between the current address and source location, it gets complicated when there are multiple src files or cus, I began implementing it but didn't finish besides single src assembly programs

On compilers there are the usual books (dragon and appel) but I quite like compiler journals like these: https://github.com/DoctorWkt/acwj
Anonymous
7/7/2025, 6:14:05 PM No.105828179
>>105808669
Here is more exciting, fresh Lyzyrd's Gyzzyrd code, fresh off the presses!
x : list<int> = []
x.append(10)
y : obj = x
# this is a syntax error
y.append(20)
Syntax Error: type 'obj' has no method 'append'

a : list<str> = []
a.append("Hello,")
b : obj = a
(b as list<str>).append(" World!")

In order to compile a class, we need to know the names and types of the members and the names, number of arguments, formal parameter types, and return types of the instance methods.
class Foo(obj):
x : int
y : Foo
def __init__(self:Foo,n:int):
self.x = n
self.y = NULL
def fooSum(t:Foo):
if t != NULL:
return t.x + fooSum(t.y)
return 0
Replies: >>105829550
Anonymous
7/7/2025, 6:34:34 PM No.105828333
>>105810892
use wrappers and contain that shit outside of your main application logic nigga
Anonymous
7/7/2025, 6:49:30 PM No.105828466
1751332555033775
1751332555033775
md5: 4e3538732d5446779c3d1032010eab26🔍
https://github.com/Zizin13/ROLLER/blob/master/PROJECTS/ROLLER/polyf.c The function "poly" is my best attempt at making the 16.16 fixed point math readable. I added some macros so I don't have to see bit shifting everywhere. Annoyingly the function is so big that temporary values are re-used for different things so I gave up on giving them meaningful names and just put extremely verbose comments instead. My previous attempt shadow_poly is below and you can see how it's worse to try and name them. I also did that one before adding the macros lol. I may go through it and update it to be a little better and more like poly but it should work as-is even if it's extremely ugly. I am curious what the original code looked like and how they made their 16.16 fixed point math look pretty.
Replies: >>105829434
Anonymous
7/7/2025, 6:51:22 PM No.105828487
I want to learn how to compile software on linux to understand more about the process but I don't know which software to use.

cmake / ninja / cargo, etc. These are foreign to me, which package suites do you recommend?
Replies: >>105828498 >>105828986 >>105839818
Anonymous
7/7/2025, 6:52:04 PM No.105828498
>>105828487
I just use regular old make personally.
Replies: >>105829235
Anonymous
7/7/2025, 7:35:24 PM No.105828986
>>105828487
you use whatever software the project prefers/needs for whatever config you're using
you can't build a autotools and makefile based project with cmake
cmake turns CMakeFile based projects into specific build tools like makefiles, windows visual studio projects, and single or multi config ninja build scripts (with ninja being preferred because speed + cross platform)
there's a little wiggle room, like you can pick between GNU or LLVM tools and libraries for example, depending on the language and how robust the project itself is, sometimes despite the build tools it uses supporting multiple setups a project will only ever support one small set of configs

there should be meta-package(s)/package bundle(s) for development in most distos that contain(s) all of the commonly used build tools for a task or tasks and that should set you up for most things
Replies: >>105829055 >>105829235
Anonymous
7/7/2025, 7:42:28 PM No.105829055
>>105828986
oh and most projects will have a list of dependencies both in terms of tools and libraries and will typically have a list of their package names for common distros as well assuming they're packaged
if they're unpackaged it's usually just links
or a lot of the more "integrated" programming languages like C#, Python, Go, etc. will have some sort of dependency manifest that you point a language provided package management tool or build tool at and it'll install what you need
Replies: >>105829235
Anonymous
7/7/2025, 8:06:28 PM No.105829235
>>105828498
>>105828986
>>105829055
Thanks for your replies, it seems I will just have to use the project-specific tools instead of having a comprehensive, do-all collection of packages installed. It was really to cover all the bases in terms of packages being up-to-date and having no incompatibility or dependency issues.
Replies: >>105829293
Anonymous
7/7/2025, 8:12:52 PM No.105829293
devel
devel
md5: 538246c6d04a6a22de4d39c829058448🔍
>>105829235
>it seems I will just have to use the project-specific tools instead of having a comprehensive, do-all collection of packages installed.
anon i just told you that exists, it just depends on your distro
for example these are all the development meta-packages (package manager specific term being patterns) i've got installed on opensuse tumbleweed
there's not going to be one that covers 100% of your bases because that would be very stupid, you'd wind up with hundreds of gigabytes of python libraries alone (and there are some python distributions that partially do this, i believe that's what conda/anaconda is) never mind every other language
Replies: >>105829392
Anonymous
7/7/2025, 8:24:47 PM No.105829392
>>105829293
Good info thanks
Anonymous
7/7/2025, 8:28:27 PM No.105829434
>>105828466
>readable
That looks like a 1000 line function of code that was decompiled and then slightly cleaned up that no one else will ever try to understand.
Replies: >>105829778
Anonymous
7/7/2025, 8:42:25 PM No.105829550
>>105828179
Since it compiles to C, Lyzyrd's Gyzzyrd relies on the segmentation fault handler for what Java would ordinarily call a NULL pointer exception. This lightweight error handling approach has exceptional performance and exemplifies the maxim "make the common case fast"
$ cat segfault.lg
x : int = NULL
print "The integer value is" + (x as str)
$ lgc segfault.lg
$ gcc -o segfault segfault.c
$ ./segfault
sh: segmentation fault ./segfault

Here at Lyzyrd's Gyzzyrd we encourage development in C, Java, and Python. We think you'll find the use of GNU debugger / LLVM debugger (gdb/lldb on the command line) most beneficial, especially the backtrace facility (bt). We encourage you to experiment with your system's segmentation fault handling by compiling the following code with the "-g" (enable debugging information) command line option to pass to your compiler
#include <stdio.h>
#include <stdlib.h>
struct foo {
int a;
};
int main(int argc,const char * argv []) {
struct foo * x = NULL;
printf("The integer value is %d\n",x->a);
return 0;
}
Replies: >>105831315
Anonymous
7/7/2025, 9:05:47 PM No.105829778
>>105829434
Someday I will refactor it and roll it up for beautiful looks sars (i won't)
Replies: >>105829816 >>105830498
Anonymous
7/7/2025, 9:09:11 PM No.105829816
Picture1-10
Picture1-10
md5: 88f5d5425f308228746f23bb073b4125🔍
>>105829778
int iDx; // edx
int iDy; // ecx
int iX0_1; // edx
int iY0_1; // ecx

are you the same fake dev who downloaded the world maps for a Chinese RPG and claimed they were for a game he was making?
he was mad butthurt
Replies: >>105830035
Anonymous
7/7/2025, 9:31:21 PM No.105830035
whiplash-irl
whiplash-irl
md5: ccfba9fbe998751fecb4599f7c22bb23🔍
>>105829816
Just an anon on a mission from God. I WILL have a software rendered spinning 3D car on the main menu by next week.
Anonymous
7/7/2025, 9:44:48 PM No.105830178
66f-1
66f-1
md5: 6d202d38b84c6ec1011f6b3f3cf848e8🔍
>1 file
>1 class
>1 function
>20k lines
Replies: >>105830196
Anonymous
7/7/2025, 9:46:43 PM No.105830196
>>105830178
>0 comments
Anonymous
7/7/2025, 10:18:11 PM No.105830498
1737352729663770
1737352729663770
md5: 98eacd906ba56e92cfccba749b3c30b7🔍
>>105829778
In a few weeks you wont be able to understand it any better than the sars
Anonymous
7/7/2025, 10:36:59 PM No.105830714
fn main() {
let args: Vec<String> = args().collect();
}

Is there something wrong about this?
Replies: >>105830756 >>105830844 >>105833909
Anonymous
7/7/2025, 10:41:08 PM No.105830756
>>105830714
>fn
>let
>args:
><String>
Replies: >>105830799 >>105830934
Anonymous
7/7/2025, 10:44:49 PM No.105830799
>>105830756
I think <String> looks great.
I am actually starting to prefer how Vec<String> looks over std::vector<std::string>
Anonymous
7/7/2025, 10:49:01 PM No.105830844
>>105830714
fn main() {
let args = std::env::args().collect::<Vec<_>>();
}
Replies: >>105830885
Anonymous
7/7/2025, 10:53:58 PM No.105830885
>>105830844
Only a mother could accept this.
Replies: >>105831332
Anonymous
7/7/2025, 10:59:45 PM No.105830934
>>105830756
... what's your language?
Anonymous
7/7/2025, 11:41:28 PM No.105831315
kermit
kermit
md5: 2d8f18b6221e7a1fb719cc0bc6ab8686🔍
>>105829550
Until we release a MVP compiler, our process is to compile Lyzyrd's Gyzzyrd code by hand. Pic related is a visual depiction of how CTO Kermit the Frog gets ready for the process. Vigorously spinning and throwing your arms about helps to improve circulation, vital for the mind-numbing task.
Scanning of LG source files occurs in two passes. In the first pass, type information is collected: declared classes and interface as well as function, procedure, and method signatures are collected and used to populate the type namespace, which is separate from the object namespace just as it is in C. Unlike Python, types are not first-class.
When a source file has been translated, our tech team celebrates by listening to rock music.
https://www.youtube.com/watch?v=8g6h1vI4Xv0 "The Cult - Fire Woman HD"
Replies: >>105831973
Anonymous
7/7/2025, 11:43:44 PM No.105831332
>>105830885
;()<<_>>();
I'll accept it
Anonymous
7/8/2025, 12:58:40 AM No.105831973
images
images
md5: 68b7c8a40c06f3dfb789b385b020b2e7🔍
>>105831315
A sad note: upon taking too much LSD and listening to too much rock music, our director of HR has fired all of the female employees here at Lyzyrd's Gyzzyrd, Inc. It's a sausage party over here right now. Alright, back to work. I'm going to warm up for some more hand compiling now.
*ring ring*
Hello?
...
*click*
Ah, well, it appears that one of the more attractive former employees of Lyzyrd's Gyzzyrd has offered me sex for $3,000. Pic related. I'll be leaving work early right after dealing myself a few lines of cocaine.
Anonymous
7/8/2025, 3:29:05 AM No.105833014
do you pronounce daemon like demon or damon?
Replies: >>105833354 >>105833534 >>105833614 >>105833736 >>105834339 >>105835212
Anonymous
7/8/2025, 4:12:45 AM No.105833354
>>105833014
Damon.
Anonymous
7/8/2025, 4:36:40 AM No.105833534
>>105833014
I've never said that word out loud but I'll let you know when I do.
Replies: >>105833574
Anonymous
7/8/2025, 4:42:49 AM No.105833574
>>105833534
lold
Anonymous
7/8/2025, 4:47:44 AM No.105833614
>>105833014
daymen
Replies: >>105835363
Anonymous
7/8/2025, 5:05:23 AM No.105833736
>>105833014
like this
https://youtu.be/Xu9L2FxPTws?t=29
Anonymous
7/8/2025, 5:33:10 AM No.105833909
>>105830714
That is the standard way to get command line arguments in Rust. The thing that sucks about it though is you need to make a heap allocation to get them. You can't just... tell the OS to give you a slice of &'static str
Anonymous
7/8/2025, 6:34:45 AM No.105834339
>>105833014
だえもん
Anonymous
7/8/2025, 6:45:00 AM No.105834418
I require your most esoteric, schizophrenic approaches to and resources for mid-to-low-level physics engine programming
Replies: >>105834526 >>105839761
Anonymous
7/8/2025, 7:04:39 AM No.105834526
>>105834418
pi = 3 ought to be accurate enough
Replies: >>105835497 >>105835534
Anonymous
7/8/2025, 8:54:27 AM No.105835212
>>105833014
like 'women' but d instead of w
Anonymous
7/8/2025, 9:21:51 AM No.105835358
>>105810892
youre doing something wrong
Anonymous
7/8/2025, 9:22:53 AM No.105835363
>>105833614
fighter of the night man
Anonymous
7/8/2025, 9:23:12 AM No.105835365
>>105810892
Not a problem in my programming language of choice (you know the one)
Anonymous
7/8/2025, 9:28:58 AM No.105835410
>>105810892
You can stay incompetent. That works for me.
Anonymous
7/8/2025, 9:34:20 AM No.105835456
>>105810892
this is why i use alt-langs
Anonymous
7/8/2025, 9:40:31 AM No.105835497
>>105834526
I swear to fucking God
Anonymous
7/8/2025, 9:48:11 AM No.105835534
>>105834526
they hated him because he spoke the truth
Anonymous
7/8/2025, 12:31:33 PM No.105836443
>>105800235 (OP)
learning TCP sockets programming for a network filesystem. I want my client to be robust and handle server disconnects/crashes mid-transfer, to ensure data integrity (kinda like `hard` option works in NFS).
Apparently, blocking recv() can't detect a crashed TCP connection that was not properly closed by the server, it will block indefinitely (i guess that makes sense, as it has no way to tell a healthy connection from a crashed one).
Using SO_RCVTIMEO can detect such stale connections, now everything works properly and doesn't freeze my threads indefinitely.
Replies: >>105836490
Anonymous
7/8/2025, 12:40:11 PM No.105836490
>>105836443
>using thread per connection
Replies: >>105836608
Anonymous
7/8/2025, 12:55:36 PM No.105836576
screenshot-08-07-2025-20:51:00
screenshot-08-07-2025-20:51:00
md5: 5ba881dc7ba7740971ae3b960091aaae🔍
I restructured my percentage calculator for gorgeous looks.

Every row is now modulated.
https://github.com/aussie114/percentage_calculator/tree/master/src
Replies: >>105837793
Anonymous
7/8/2025, 1:03:30 PM No.105836608
>>105836490
libfuse spawns threads on-demand for filesystem ops. I just have a few connected sockets and let each fs op pick a non-busy socket.
Previously, i've allowed for send/recv concurrency on a single socket, so that 2 threads could share one TCP connection, however the reconnect logic got complicated, so i've opted for not allowing that and just making 2x the connections for now.
Anonymous
7/8/2025, 4:14:53 PM No.105837793
>>105836576
v cool anon. Is that vim?
Replies: >>105840704
Anonymous
7/8/2025, 5:25:08 PM No.105838443
>>105800235 (OP)
>daily programming thread
>3 days ago
also, if your programming language doesn't optimize this to x * 9 you're using a blub language.
VM/script kiddies need not apply.
long int
mathz ( int x )
{ return x + x + x * 2 + x + 3 * x + x;
}
Replies: >>105839370 >>105839749 >>105841702 >>105841787 >>105841817 >>105848595
Anonymous
7/8/2025, 6:45:18 PM No.105839339
https://github.com/ziglang/zig/pull/24362
It is done. He did it.
Replies: >>105840309
Anonymous
7/8/2025, 6:48:32 PM No.105839370
>>105838443
Very cool PEMDAS, bro. Mind if I save it?
Anonymous
7/8/2025, 7:23:20 PM No.105839719
Screenshot_2025-07-08_19-22-54
Screenshot_2025-07-08_19-22-54
md5: 24c682017f58effd6c5fd90e540791ec🔍
>>105800235 (OP)
'em
Anonymous
7/8/2025, 7:26:26 PM No.105839749
>>105838443
how does a language optimize something?
Replies: >>105848484
Anonymous
7/8/2025, 7:27:42 PM No.105839761
>>105834418
what kind of physics engine?
Anonymous
7/8/2025, 7:33:31 PM No.105839818
>>105828487
your shell.
learn how your compiler works, how linking works, how rpaths work, etc. study the flags and settings and environment variables. build systems won't give you any insights, they exist to hide all the details from you. that's the whole point of them.
>a comprehensive, do-all collection of packages
your shell, your filesystem, your compiler, your linker, etc.
everything can be built with these.
Anonymous
7/8/2025, 7:55:23 PM No.105839995
Screenshot 2025-07-08 122918
Screenshot 2025-07-08 122918
md5: 7d25f8cd9b180f59a6e9809c09057660🔍
this is absolutely fucking amazing
>uses a game engine for 8 years
>didn't know it had the boolean variable
>if else 400 times over
Replies: >>105840052 >>105841237 >>105846171 >>105848464
Anonymous
7/8/2025, 8:02:24 PM No.105840052
>>105839995
That's what you get for abolishing euthanasia.
Anonymous
7/8/2025, 8:29:07 PM No.105840309
>>105839339
Qrd? Are they switching to green threads or merely using .await() instead?
Anonymous
7/8/2025, 9:06:37 PM No.105840704
>>105837793
It's nvim with this theme https://github.com/catppuccin/catppuccin
I also use the treesitter mod for better syntax highlighting which is not really shown but it changes the colour of struct members and consts etc in addition to your standard keywords.
https://github.com/nvim-treesitter/nvim-treesitter
Anonymous
7/8/2025, 9:52:13 PM No.105841158
Is it possible to do better than this in C#? I'm creating a class to get the result of unmarshalling a C union whose concrete type I only know at run time, not ahead of time.

public class ParamValueObj
{
public ParValueKind Kind { get; set; }
public object Value { get; set; }
}
Replies: >>105841766
Anonymous
7/8/2025, 10:00:27 PM No.105841237
>>105839995
Maybe I don't have enough context but why wouldn't you have storyline_array as a struct of structs so you do
global.storyline.cafe.coffee_cold_knowledge = 0;

and then just do
if (global.storyline.cafe.coffee_cold_knowledge)
Anonymous
7/8/2025, 10:24:06 PM No.105841417
Always check your AI slop. Copilot just wrote me the most amazing automation for Home Assistant to advise whether or not I should have my window open based on indoor and outdoor temperatures and humidity (it even calculated absolute humidity to do this) but it was pulling temperature data from the forecast condition instead of the temperature state attribute so the outside temperature displayed as "cloudy" with 0°C being the temperature it was using in its calculations.
Replies: >>105841494
Anonymous
7/8/2025, 10:32:56 PM No.105841494
yEGpIM
yEGpIM
md5: 7368d0d062df3863752e4c93048dbbf0🔍
>>105841417
How obese are you?
Replies: >>105841507
Anonymous
7/8/2025, 10:34:37 PM No.105841507
>>105841494
Skinny as fuck. If I were obese I'd probably figure out how to wire up a robot to open and close the window for me but that's a bit too much of an automation step for me. Until we have AI powered sex robots that can do this I'm good for now.
Replies: >>105841528
Anonymous
7/8/2025, 10:37:27 PM No.105841528
>>105841507
Oh shit my bad man. I thought that's what you meant and I pictured you lying in bed turning to your side to shit in a bucket because you had not moved in 20 years.
Replies: >>105841571
Anonymous
7/8/2025, 10:42:19 PM No.105841571
Screenshot 2025-07-08 at 20-40-24 Overview – Home Assistant
>>105841528
It's just a little sensor that displays advice.
Also fuck YAML:
https://pastebin.com/raw/yLUBtyxk
Replies: >>105842174
Anonymous
7/8/2025, 10:57:58 PM No.105841702
>>105838443
The thread slowed down when the maidposters got banned. Total Eglin AFB victory.
Replies: >>105841871 >>105842016
Anonymous
7/8/2025, 11:04:53 PM No.105841766
>>105841158
>Is it possible to do better than this in C#?
Maybe. Do you know if the value you're going to unmarshal is one of a fixed set of types, or is it entirely open? (What you've written is the Entirely Open option.)
Replies: >>105841834
Anonymous
7/8/2025, 11:06:53 PM No.105841787
>>105838443
Optimizations are compiler specific not language.
Anonymous
7/8/2025, 11:10:31 PM No.105841817
>>105838443
Everyone is using AI now instead of asking questions here. Stake overflow is also dying which is exactly what it deserves to be honest.
Anonymous
7/8/2025, 11:12:43 PM No.105841834
>>105841766
One from a fixed set of types, but it includes both reference and value types.
The C union holds a 256-long char array, a double, a short, or an int
Other than having an object field, the only solution I can think of is having a separate class for each possible type and each class inherits from an interface or something
Anonymous
7/8/2025, 11:18:00 PM No.105841871
9rcwrzw91yra1
9rcwrzw91yra1
md5: 6480f79690d24ab7b19f353d362467fb🔍
>>105841702
Nah, I'm just busy.
Replies: >>105842141
Anonymous
7/8/2025, 11:38:43 PM No.105842016
>>105841702
>no! the global domestic post rate must go up!
Replies: >>105842141
Anonymous
7/8/2025, 11:53:47 PM No.105842141
>>105842016
Maidposts were usually of exceptionally high quality and polite. Like, actual research instead of just college students doing homework.

>>105841871
Which maid were you?
Replies: >>105842176 >>105842512
Anonymous
7/8/2025, 11:59:18 PM No.105842174
>>105841571
There's a point where people should just use Lua as a configuration language and this clearly past that point
I feel bad that you had to implement that
Replies: >>105842197
Anonymous
7/8/2025, 11:59:26 PM No.105842176
>>105842141
>Maidposts were usually long winded and if you had a low attention span you could be convinced they were intelligent
Replies: >>105842244
Anonymous
7/9/2025, 12:00:32 AM No.105842188
how complicated would you describe this? it's not very big.

https://github.com/francisrstokes/tiny-c-projects/tree/main/state-machine
Replies: >>105844428
Anonymous
7/9/2025, 12:01:56 AM No.105842197
>>105842174
>1 indexed
That decision is what killed the language outside of game development, and the only reason it is tolerated there is because most game developers are nocoders using engines and never learned any kind of programming before getting into gamedev, so they don't even notice the 1 indexing.
Replies: >>105842217 >>105842265
Anonymous
7/9/2025, 12:05:31 AM No.105842217
>>105842197
Which is why the small language known as Fortran never picked up steam
Face it, the 2 inch barrier of 1-based indexing is a skill issue
Replies: >>105842862
Anonymous
7/9/2025, 12:09:36 AM No.105842244
>>105842176
>the world's best computer scientist liked posting her research, but if you didn't have a graduate level understanding of number theory you wouldn't be able to understand it
Anonymous
7/9/2025, 12:11:15 AM No.105842265
>>105842197
It's a shame because the table design of Lua is extremely elegant.
Anonymous
7/9/2025, 12:40:58 AM No.105842512
>>105842141
I never said I was a maid, just that me being busy caused the thread to slow down.
Replies: >>105848952
Anonymous
7/9/2025, 1:11:36 AM No.105842769
10 years as a software engineer, and I finally just learned how to actually use lookarounds in regex lol. Much easier than I thought it would be
Anonymous
7/9/2025, 1:21:54 AM No.105842862
>>105842217
>Which is why the small language known as Fortran never picked up steam
All the gamedevs stitching things together in their engines with Lua are secret Fortran programmers now?
>Face it, the 2 inch barrier of 1-based indexing is a skill issue
Face it, the 2 inch barrier of YAML is a skill issue
Anonymous
7/9/2025, 1:29:55 AM No.105842914
Modern project creation starts with loading cursor and telling it what to do.
Anonymous
7/9/2025, 2:09:26 AM No.105843185
screenshot_Wed09Jul2025__01_05_50
screenshot_Wed09Jul2025__01_05_50
md5: 9ea0a617e24870603313a905d53ea524🔍
Over the past couple days I wrote some scripts that convert data to audio, and audio back to data. I've tested it by recording it onto cassette tapes and after tweaking it, I've been able to record data onto tapes and read it back with 100% reliability, even with large files and repeated testing.
I'm using amplitude modulation, which seems to be uncommon with this kind of experiment. All the 80s home computers used frequency modulation for this, as far as I know.

https://github.com/dusthillresident/johnsonscript/tree/master/example_programs/data_on_audio_cassettes
Replies: >>105850528
Anonymous
7/9/2025, 3:25:41 AM No.105843670
if i wanna make a tool for controlling remote computers how do i make sure that it's secure
Replies: >>105843676
Anonymous
7/9/2025, 3:27:07 AM No.105843676
>>105843670
add captcha to it
Anonymous
7/9/2025, 5:38:01 AM No.105844428
>>105842188
not very
even simple state machine libraries tend to be much larger even if they're straight C like something like ragel can output
Replies: >>105844990
Anonymous
7/9/2025, 7:03:48 AM No.105844990
>>105844428
I guess I meant in terms of the syntax use. Was that demonstrative of a competent programmer?
Replies: >>105845329
Anonymous
7/9/2025, 7:55:03 AM No.105845329
>>105844990
beginner-intermediate
demonstrating skill above that in C is mostly going to chiefly concern correct platform library usage and understanding system behavior and not syntax (aside from using modern C features, and that's arguable because their historic lack of support means a lot of good C programmers don't use them); because that's where the fuck ups happen
kinda too small, not enough dynamically allocated memory, and not enough dependencies to run into issues that would demonstrate typical weaknesses

imo an actual advanced display of competence would entail demonstrating increasing knowledge of platform/compiler/other toolchain minutia on top of that which would require actually making it a library, not using a single shell script to build and using a real build system, supporting multiple configurations like static vs shared, supporting multiple platforms
i.e. demonstrating you can maintain and author real world library code with all pain that comes with that and not just consume it
Anonymous
7/9/2025, 10:46:04 AM No.105846171
>>105839995
honestly the fact this pseud got as far as he did without being publicly called out, is the reason we need to bring back gatekeeping and toxic communities.
Replies: >>105846188
Anonymous
7/9/2025, 10:50:00 AM No.105846188
>>105846171
Reminder: He's against stop killing games.
Yes, I am personally also against it, I want shit slop like this to die in an inferno blast along with subhumans who unironically enjoy playing it, but just reflect on the fact that he is financially invested in this and wants to abuse your stupidity while his code looks like that.
Replies: >>105847364
Anonymous
7/9/2025, 10:54:36 AM No.105846217
>>105802705
What's the point if you use it once
Anonymous
7/9/2025, 11:41:17 AM No.105846468
1748737388621122
1748737388621122
md5: 7f18e5eda54136d0a90aee96f3df86b8🔍
>>105800235 (OP)
Are there any books how to design databases? Not language specific books, but something to teach me how to organize them, what columns there should be and how to get the right data out of them.
Replies: >>105846525 >>105847490
Anonymous
7/9/2025, 11:51:28 AM No.105846525
>>105846468
No. Go away.
Anonymous
7/9/2025, 2:11:54 PM No.105847364
>>105846188
Luckily no one cares what you think, otherwise they would've elected you as a king.
Replies: >>105847382
Anonymous
7/9/2025, 2:14:23 PM No.105847382
>>105847364
You cared enough to respond, so, did you figure out how unix commandline is meant to be used? Or are you still waiting for your perl script to finish running?
Replies: >>105847396
Anonymous
7/9/2025, 2:16:42 PM No.105847396
>>105847382
Everything for a chance to put your ego down.
Replies: >>105847417
Anonymous
7/9/2025, 2:19:09 PM No.105847417
>>105847396
Seems like you're still waiting for perl to finish running what du did in less than a second...
Replies: >>105847425
Anonymous
7/9/2025, 2:20:20 PM No.105847425
>>105847417
Whatever, not-king.
Anonymous
7/9/2025, 2:23:47 PM No.105847446
>Whatever, not-k-AAACK!
I will still be here after your kang gets beheaded on liveleaks.
Anonymous
7/9/2025, 2:25:31 PM No.105847458
Fascinating.

Not your nonsense, but your delusion anyone cares about it.
Anonymous
7/9/2025, 2:26:21 PM No.105847465
>Fascinating.\n
Stopped reading right there.
Anonymous
7/9/2025, 2:27:47 PM No.105847477
>ADHD
Anonymous
7/9/2025, 2:28:27 PM No.105847480
>>AD
Stopped watching the AD right here.
Anonymous
7/9/2025, 2:30:20 PM No.105847490
mgdb
mgdb
md5: 698622e49c2fda8e2cce6ecaedb9b238🔍
>>105846468
Anonymous
7/9/2025, 2:31:41 PM No.105847500
>severe ADHD AND autism
We made euthanasia for subhumans like you.
Anonymous
7/9/2025, 2:33:40 PM No.105847516
>>severe AD
Yet I am using uBlock Origin and saw none of it.
Anonymous
7/9/2025, 2:36:51 PM No.105847532
>they arrest heroes that get rid of useless lawmakers
>but they don't use the Patriot Act to identify and purse scum like you for twenty years now
No wonder no one trusts the government.
Replies: >>105847538
Anonymous
7/9/2025, 2:37:45 PM No.105847538
>>105847532
But you said government will kill me in 2 weeks?
Replies: >>105848017
Anonymous
7/9/2025, 3:45:01 PM No.105848017
>>105847538
No, but I wish they fed you to pigs. Alive.
Replies: >>105848024 >>105848030
Anonymous
7/9/2025, 3:45:50 PM No.105848024
>>105848017
Are you ok?
Replies: >>105848030
Anonymous
7/9/2025, 3:47:45 PM No.105848030
>>105848024
>>105848017
Replies: >>105848047
Anonymous
7/9/2025, 3:50:22 PM No.105848047
>>105848030
It seems like your melty is much stronger than anything we saw thus far...
Replies: >>105848060
Anonymous
7/9/2025, 3:52:47 PM No.105848060
>>105848047
Pigs' hunger for your flesh is bigger.
Replies: >>105848067
Anonymous
7/9/2025, 3:53:41 PM No.105848067
>>105848060
Well?
Replies: >>105848084
Anonymous
7/9/2025, 3:56:16 PM No.105848084
>>105848067
If the government won't do it, then will I, together with a random assortment of people who might become jurors. It's assertive revenge for a guilty verdict.
Replies: >>105848100
Anonymous
7/9/2025, 3:58:35 PM No.105848100
>>105848084
I'm waiting.
Anonymous
7/9/2025, 4:00:36 PM No.105848114
I'll also record the feast and upload it to various video platforms from which it can't be deleted, so that the entire world will forever be able to experience your justly demise.
Anonymous
7/9/2025, 4:43:33 PM No.105848464
>>105839995
NGL but starting the video with books on clean code, design patterns, and this hideous code example
Car car (
HorsePower{98u},
...
)

Made me think the real fake is code jesus. It solves a problem that only exists in the eyes of fakes like Uncle "Clean Code" Bob. My editor shows me the definition of a function after pressing Shift+K. I don't need """Clean Code""" to understand what my parameters are
Rest of the video was alright though
Anonymous
7/9/2025, 4:45:52 PM No.105848484
1751920199486331
1751920199486331
md5: 5f268d48bf9e665db21be739cb30adef🔍
>>105839749
In this case it's applying the rules a + a = a * 2 and a * b + a * c = a * (b + c) until the expression stops changing
read("x + x + x * 2 + x + x * 3 + x")
(+ (+ (+ (+ (+ x x) (* x 2)) x) (* x 3)) x)

fold(read("x + x + x * 2 + x + x * 3 + x"))
(+ (+ (+ (+ (* x 2) (* x 2)) x) (* x 3)) x)
(+ (+ (+ (* x 4) x) (* x 3)) x)
(+ (+ (* x 5) (* x 3)) x)
(+ (* x 8) x)
(* x 9)
(* x 9) can be rewritten (+ (* x 8) x) where x * 8 is the same as x << 3, so later an instruction scheduler might select add r0, r0, lsl #3 if add-lsl is faster than mult
Replies: >>105848595
Anonymous
7/9/2025, 5:00:14 PM No.105848595
>>105838443
>>105848484
The only real languages are the languages that make you money. Your toy examples, monads, and Polish notation need not apply
Replies: >>105848608 >>105849371 >>105850151
Anonymous
7/9/2025, 5:01:27 PM No.105848608
>>105848595
I reject your control over people via money.
Replies: >>105848636
Anonymous
7/9/2025, 5:05:23 PM No.105848636
>>105848608
It's not the money that makes it a real language, but the fact you're creating software people find useful enough to pay for. The money is just an analog for not being a waste of space
Replies: >>105848655 >>105850455
Anonymous
7/9/2025, 5:07:44 PM No.105848655
>>105848636
People shove their dicks into vacuums. Who gives a fuck what they want or deserve.
Replies: >>105848824
Anonymous
7/9/2025, 5:14:00 PM No.105848687
I'm not giving you a (you) for that low effort bait
Go back to writing your 20th fizzbuzz your chicken tendies are almost ready
Anonymous
7/9/2025, 5:14:50 PM No.105848693
>slave has an opinion about his value
Whatever, slave.
Anonymous
7/9/2025, 5:22:34 PM No.105848753
Nice come back. Unfortunately one of us takes holidays twice a year to visit exotic countries and the other is stuck in his mom's basement arguing about optimizing 3 mul/add instructions
Anonymous
7/9/2025, 5:25:33 PM No.105848777
>he needs two vacations a year to see people poorer than him to cope with the stress in his miserable life
Ouch, nice self-own.
Anonymous
7/9/2025, 5:32:30 PM No.105848824
>>105848655
People will pay to shove their dicks into vacuums, they will never pay for your slop.
Replies: >>105848857
Anonymous
7/9/2025, 5:36:19 PM No.105848857
>>105848824
Wake up, you're still dreaming.
Anonymous
7/9/2025, 5:46:16 PM No.105848952
>>105842512
I was just hoping a maid was still around. Without the maidposters this thread is a mixture of college students asking introductory programming questions, juvenile trolling and unmedicated schizophrenia.
Replies: >>105849001 >>105849007
Anonymous
7/9/2025, 5:51:26 PM No.105849001
>>105848952
Because trannies avatarfagging contributed a lot?
Replies: >>105849024
Anonymous
7/9/2025, 5:51:55 PM No.105849007
1739435724033305
1739435724033305
md5: 852fa8bed3bf1a1ebfa741bac61e6612🔍
>>105848952
You forgot the autism and, dependent on whom you ask when, psychopathy. Different from schizophrenia.
Anonymous
7/9/2025, 5:53:53 PM No.105849024
>>105849001
Unironically yes, until jannies started banning maidposters on sight.
Replies: >>105849039
Anonymous
7/9/2025, 5:54:49 PM No.105849039
>>105849024
Because I spammed reports for avatarfagging.
Anonymous
7/9/2025, 6:08:31 PM No.105849168
What the fuck is a maid
t. First time visiting this general in 5 years since I got a job
Replies: >>105850714
Anonymous
7/9/2025, 6:30:27 PM No.105849371
1751813015395827
1751813015395827
md5: 4fe46e9927644837014af8b5bf71398f🔍
>>105848595
>Your toy examples, monads, and Polish notation need not apply
You don't need to get caught up in the particular notation, drawing out the ascii trees for better intuition would just make the post too long
Anonymous
7/9/2025, 8:01:56 PM No.105850151
>>105848595
Are you employed?
Replies: >>105850367
Anonymous
7/9/2025, 8:28:20 PM No.105850367
>>105850151
Yeah. Are you not?
Anonymous
7/9/2025, 8:40:01 PM No.105850433
When new thread faggots
Anonymous
7/9/2025, 8:43:32 PM No.105850455
>>105848636
upwards of 99% of all paid software is completely useless slopware designed to turn a profit
almost anything actually worth using is made by people for fun or to solve a problem and maintained by people who volunteer their time or get donations to fix bugs they or other people find
Anonymous
7/9/2025, 8:53:57 PM No.105850528
>>105843185
Testing this further, I've reliably transferred data from cassette tapes at ~4600 bits per second, from crappy tape recorder with really bad flutter.
Replies: >>105850543
Anonymous
7/9/2025, 8:55:29 PM No.105850543
>>105850528
Now use zstd to compress data first.
Anonymous
7/9/2025, 9:11:24 PM No.105850714
Maid covenant
Maid covenant
md5: cab96e55829741daa3730349a6536f71🔍
>>105849168
>What the fuck is a maid
Replies: >>105850811
Anonymous
7/9/2025, 9:26:18 PM No.105850811
>>105850714
This sounds gay as fuck. /dpt/ has fallen. billions must nocode
Anonymous
7/9/2025, 9:30:42 PM No.105850856
4534587345345
4534587345345
md5: 60a9bc20ffeffe3e2fc9a69bd33db4e1🔍
im writing matlab oop code
Anonymous
7/9/2025, 9:31:06 PM No.105850862
New maid: >>105850854