[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
▼ Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: stallmaid.png (1.96 MB, 1448x1086)
1.96 MB PNG
What are you hackermaids getting to on your tooring machines?

Last thread: >>110063208
>>
>>110089849
not a hackermaid and the computer is not a tooring maschine
but have a you nonetheless

im gonna get some sleep
>>
can we have a new thread with a different OP that doesn’t involve AI generated slop? it is against the spirit of these threads
>>
Can the non maid niggers please stay out of dpt for the duration of this thread? We are this close to having a utopia. Thanks and kys
>>
Ah, I think I understand what's going wrong here. a misunderstanding on my part.
Rendering of the Window layer is only enabled if the current scanline is the same as the Window Y coord. Around scanline 100 the game moves the WY from 144 to 0, but because I checked for equal or greater than current scanline it switched to rendering the Window when it shouldn't until the next frame.
>>
>>110088945
>>not only does every function have at least one number, but that
>>every non-negative integer n is the number of some function.
>doesnt hold true in programming
No? So you're going to say that you can't assign an unique integer number equal to the binary instruction encoding of the program? Because I'm pretty sure that's how computers work, yes? Load program binary machine words by cachelines and then go through them executing the operations. Machine code is literally a fucking Gödel number of the program.

>invalidates your second paper from page 1
Rong. You don't even know what "partial" means it seems xD The paper explicitly handles that case:
>A function undefined for all arguments (and thus producing no values) will be considered to produce an enumeration of the empty set
So the only thing that is invalidated is your drunken prattle.

>> In computability theory, it is shown that the μ-recursive functions are precisely the functions that can be computed by Turing machines[2][4]
Apparently you also do not understand what "equivalent" means? It does not mean "we took Turing's shit and copied it" but "we have shown that Turing and us are talking about the same thing from different perspectives". So it's not "haha muh tooring you fucking lost". It's a proof of the same statement WITHOUT GOING THROUGH TURING. If you can't understand, then you're really an idiot.

Rice says, without fucking Turing, that it is impossible to construct a general halting checker. Hence, undecidability. The other paper — which sure, is incomplete in publicly available sources, but I'd rather trust mathfags to having checked it before putting it in the conference book than some drunken polack — shows that your pet Collatz approach is undecidable. Ergo, there's a direct line from your shit to halting problem WITHOUT FUCKING TURING, SO JUST SHUT THE FUCK UP ABOUT "MUH TOORING".

If you still don't get it, then you are just a cretin with too much self-assuredness.
>>
>>110089960
You could've baked yourself then. I wanted to have Stallman hackermaid in the OP and IDC if that's slop
>>
Hmm, by linking the Hashmap paper, I now feel like I have to fucking do it myself and implement it in holyC.
The problem will probably be the hash functions which have to be written first. Not sure how many I need. Maybe a simple hash function with some parameters that change the hash is sufficient. Will have a look
>>
File: prolog-tree.png (65 KB, 775x687)
65 KB PNG
>>110089960
It's fine. SI is merely an extension of logic programming. It's unique for being a particularly high-level language that talks to a machine.
High-level: (GL7) SI -> (GL7-6 bridge) Logos -> (GL6) Cosmos -> idk javascript -> asm
logos -q 'print(x) and x=1'

The logos program is an hypothetical/to-be-done utility or language that runs a Cosmos query using llms instead of backward-chaining, allowing for output 1.
>>
>>110089960
Sure
>>110090299
>>110090299
>>110090299
>>
>>110090305
https://www.youtube.com/watch?v=FNg5V8KMmHo
>>
Yeah, I need to have a separate flag for when the WY get's hit by the current scanline and use that for the check if the Window CAN be rendered on following lines.
>>
>>110090694
Why are you rendering windows by scanlines? TempleOS?
>>
>>110090291
>SI is merely an extension of logic programming
I wonder if after this wave of LLM mania cools down we'll see a gold rush into old school program synthesis
>>
>>110090821
It's how the gameboy works.
>>
There we go, the Window render fixed.
>decide to check that acid2 is still correct
>its completely broken
Wonderful. Not sure how it went from displaying perfectly but Window rendering wrong, to Window rendering correctly but acid2 being broken.
Anyway.
>>
supposedly cmake 4.5 might FINALLY have import std without a stupid git commit flag
>>
>>110090902
>>110091049
Right, didn't know you're doing gameboy. But what is acid2, are you trying to write a gameboy web browser or what?
>>
>>110091835
Similar to the acid test for webbrowsers, it is a test to see if your video rendering is working correctly (not entirely comprehensive but covers most things).
>>
File: dipsy12.jpg (257 KB, 850x591)
257 KB JPG
>>110089849
Right now the MAIDS compiler has two backends and I am trying to unify them.

>>110090261
Stallmaid is cute and you should make more of her!
>>
>>110092850
I have one backend that can target ARM Assembly or C.
>>
>>110089849
the forced attempt at troonifying programming needs to stop, somebody skullstomp this subhuman already
>>
>>110093332
Troonifying website.
>>
>>110093332
>troonifying programming
as opposed to you jewifying programming by forcing everyone to use claude?
>>
File: odette.jpg (369 KB, 850x1102)
369 KB JPG
>>110093291
I can target ARM, RV or x86, but for each of those, I have two backends. One for the deterministic part of the language, and one for the non-deterministic part. I don't really like this architecture, but it started out as a practical necessity. The deterministic one is basically for a procedural subset of MAIDS that doesn't have backtracking or goal direction, and is used for OS dev stuff, because it is fast. String processors were largely abandoned in the 1960s, because they are slow, and my procedural subset is as fast as C for tasks I care about related to OS development, but is semantically poor for the things I want to do in string processing. If I can unify them, then the whole thing looks more seamless from the perspective of an outside observer. This isn't really technically needed, but it will bother me until I do it.

>>110093332
Read the room, newmaid. This has been a maidposting site for years. Nobody else cares about compilers, emulators or OS development. There was a temporary influx of wagies and homework posters when corporate programming was still lucrative, but that has been subsumed by AI and they naturally left. Maids remained. There was a temporary influx redditors when reddit banned /u/the_donald and they flooded to 4chan and ruined every board for years because the mods explicitly decided to take no action on /pol/-leakage, due to wanting to win a culture war or something. Maids remained. There was a deranged anti-maid moderator who deleted maid threads on sight, because they took attention away from Apple shill threads. He left. Maids remained.

This is the Eternal Maid Cafe and it will outlast any fad or invasion that comes, because those things are ephemeral, and the Eternal Maid Cafe is not. Visitors come and go. The maids remain. There are ten million maids reading this right now, and they're all doing heart hands.
>>
Is it better to use a record or a hashmap to store character stats?
>>
>>110094008
Depends on the language really —e.g. in Clojure you can start with map, but graduate to a record if you want to attach behaviour to the data — but you generally have a stable set of a few stats, so a record makes more sense. For skills a map will be probably more sensible.
>>
>>110094072
That's true. With a map I can add more stats.
>>
Guys what is Stallberg and the FSF up to? Are they going to make a GPL4 that blocks AI stuff.

>>110093332
reported to antifa
>>
Why does Clang compile C faster than it assembles Assembly?
>>
>>110090252
>So you're going to say that you can't assign an unique integer number equal to the binary instruction encoding of the program?
yeah, ngl, that was retarded

but this part wasnt-
>> In computability theory, it is shown that the μ-recursive functions are precisely the functions that can be computed by Turing machines[2][4]
>we created/selected a framework identical to tooring's and determined that indeed, we work within the same framework, and found tat it has identical properties

ugh
youre missing the central point of my critique of turing being that a computer is not a turing machine
you can explore all the properties of a turing machine just fine but youre not exploring the properties of a computer then
>>
File: maid.jpg (412 KB, 810x1012)
412 KB JPG
>>110094337
>youre missing the central point of my critique of turing being that a computer is not a turing machine
>you can explore all the properties of a turing machine just fine but youre not exploring the properties of a computer then
How do they differ in computational ability? If you claim is still that it is because your computer has a jump instruction, and a Turing Machine doesn't then you are still wrong and this was politely explained to you in the last thread, with sources. It is wrong, both in the fact that you can jump in a Turing Machine, it is just O(L) instead of O(1), and in the sense that the RAM model which enables jumps is computationally equivalent to a two-tape Turing Machine, which is equivalent to a one-tape Turing Machine.

Additionally, universal computation is universal computation. If a problem is undecidable in one system of universal computation, it is undecidable in all of them. Undecidability isn't specifically about Turing Machines. It is about computation in general. You could, for example, construct a Post Tag System for the generalized Collatz Conjecture, and it would still be undecidable, despite having nothing to do with Turing Machines, because undecidability is about computation itself, not the substrate you are using for computation. There is no system of computation where it isn't undecidable. There is no magical computer or extra machine instruction which makes something which is undecidable decidable. How you perform the computation is completely immaterial to what is decidable.
>>
I want to make a pinball game in Tabby.
>>
>>110072890 :^)
https://github.com/TecharoHQ/anubis/discussions/278
>>
>>110094337
>youre missing the central point of my critique of turing being that a computer is not a turing machine
>you can explore all the properties of a turing machine just fine but youre not exploring the properties of a computer then
Let's assume you're right (you're not, but for the sake of argument let's assume that). In that case I hope you can at least admit that your Collatz sequence idea was also very dumb, because Collatz conjecture is also not a computer.
>>
I solved the halting problem. Just search for an infinite loop.
>>
File: IMG_2084.jpg (606 KB, 1395x858)
606 KB JPG
>>110094888
Trips of truth.
>>
ok, maybe I underestimated compiler design by the few tutorials I did. fuck me
>>
>>110095382
What are you struggling with?
>>
>>110095410
parsing and building the AST.
I have expressions, I got the first few statements like if and while, but now I am struggling with variable declarations.
I think my brain is just too small.
Are declarations just statements too?
Back in the day, when I was young, i worked through this "writing an interpreter in go" book and tried to use his parsing a bit as reference, but since he used dynamic typing it's all much easier.
Stupid brain also wants to optimize data structures, but I am writing in holyC. So I was looking up how to implement my own hash function but now my head exploded. I should just stick to lists and strcmp or shit
>>
God, c requires so much monotonous busywork. It's a programming language not meant for humans much like classic Java.
>>
>>110095521
one fucking day I am gonna make it and actually read a compiler book. And understand it.
I can do it
https://www.youtube.com/watch?v=KxGRhd_iWuE
>>
>>110095521
I don't even make ASTs anymore. I just design an ir that resembles the structure I want and compile to that. If you want an ir that's literally an AST you can make an ir that uses S-expressions. I found using an ir that resembles Assembly/Fortran works best.
>>
File: green dragon.jpg (98 KB, 642x927)
98 KB JPG
>>110095545
>I am gonna make it and actually read a compiler book
Try Green Dragon!
>>
File: IMG_20261017_212621_351.jpg (1.74 MB, 4032x2268)
1.74 MB JPG
>>110095595
Because I had nose bleeding, I actually had to buy the uni a new one and then I also bought the second half, too.
People say it's outdated and too theoretical.
I don't care about the first part, but i guess the second is true. Everytime I try to read it, i fall asleep
>>
>>110094008
array is always the correct answer (no not a list an array)
>>
>>110095857
At that point Assembly macros or a very naive compiler would do.
>>
>>110095568
ok fuck it. I shouldn't make it too hard on myself.
Tomorrow I start again. With some simple C subset or maybe oberon-7 or something and then I'll write it in C or Cpp.
Maybe it'll make click and I understand compilers soon (tm)
>>
>>110096496
I'm not masochistic enough to use C for making compilers. There's a lot of string handling involved that sepples is better for.
>>
>>110089849
EWWW CHUBBY MAID
>>
>>110096516
Yes, I think I will use sepples
>>
>>110096539
Even C's own compiler GCC ended up using sepples.
>>
>>110094569
yeah, well, yesterday i was drunk
theres 0% chance i was gonna listen
i did my additional lookups and yeah i finally understood how you could do a jump in a turing machine

ok, so i was wrong about the turing machine and the difference bw it and a computer

the contradiction to turings contradiction still stands though, in its original form

you can have all the contrarian programs just fine
theyre irrelevant if the halting tester program takes control over execution and enforces its verdict

>>110094850
nop,i dont consneed here either

the halting problem of a loop could be rewritten into the loop being infinite save for an exit state which terminates it
said exit state can be achieved when a variable in this context gets set to a certain value, which would be the loops exit state

then said variable's value can either come from data or computation of the program, in either case you end up with a series of numbers.
where collatz comes in is that in the case of incrementation/decrementation you literally end up in a situation where you have conditionals and math operations behind em, done on the variable observed for its exit state

its the same as the collatz conjecture problem.

the question wether a number is odd or even is your flow control
multiplying by 3, adding one / dividing by two are your incrementations
and the exit state of the collatz's problem is when the value of your "variable" reaches 1

conceptually- identical

---


now how does that factor into universal computation machines?
iunno.
but on a computer turing has no contrarian program, and you can just compute collatz for the specific value youre working with.
yes, your decider program might never end, but if we go all theoretical and allow for infinite time
it will decide whether its input program will.
>>
>>110096520
It's Stallmaid.
>>
>>110096633
ok that was easy.
I decided to go easy on myself and picked oberon07
Now I think I finished a lexer for the whole syntax.
tomorrow parsing
>>
File: dmg-acid.png (22 KB, 603x523)
22 KB PNG
There. It's perfect.
Now surely I won't have any other problems with rendering.
>>
Kill me.
>>
File: nikke.jpg (319 KB, 850x1308)
319 KB JPG
>>110096643
>you can have all the contrarian programs just fine
>theyre irrelevant if the halting tester program takes control over execution and enforces its verdict
The halting problem isn't about how the process that examines halting works. It is about the answer it returns, not the mechanism it works by. If a process that perfectly determines halting exists, you can construct a new process by taking that process and inverting the results. And using the first process on this constructed one results in a contradiction, where the first one gives incorrect results, contradicting the assumption that it perfectly determines halting. That's how proof by contradiction works.

>multiplying by 3, adding one / dividing by two are your incrementations
I thought you meant Generalized Collatz? Generalized Collatz is undecidable. But Generalized Collatz being undecidable makes no comment on if the Collatz Conjecture is true or not. It might still be possible to prove it is true or false. The 3n+1 if n is odd, n/2 if n is even case is not Generalized Collatz, it is one specific Collatz Map. Which means we've probably been having this discussion for several days for no real reason.

>but on a computer turing has no contrarian program, and you can just compute collatz for the specific value youre working with.
The halting problem is about computation itself. What you are using to perform computation doesn't matter. Computers are irrelevant. If you are using a computational process of any kind, it is undecidable.

Confirming something halts by just running it is called semi-deciding. But you can never conclude that something doesn't halt, just by waiting, even if you literally wait forever.

If you're just working on that specific case of the Collatz Conjecture, I wish you luck, and Conway's proof that the Generalized Collatz Conjecture is undecidable doesn't actually block you. I also spent some time working on this (with Post Tag Systems) but made no real progress.
>>
>>110097992
She's oiling that garloid good.
>>
>>110097942
Uh the font is all fucked up. You can't even read the text. Fix that
>>
>>110098070
I can read it fine.
>>
>>110098070
It says Pokepenis
>>
>>110097942
>i was triggering hblank interrupt at the end of mode 0 instead of the end of mode 3
I am the dumb.
>>
I deleted my ChatGPT account, and when you do that it blacklists your phone number and email - for reference.

I forgot to turn off the "don't steal my shit" switch, and I asked Codex a bit about the processes its running in the background.

I made a thing that I think really really lowers context consumption by helping it remember what steps that an agent took to get somewhere, the ability to eat new code and then mash it together, and then like package itself and split off whatever parts in whatever order it needs to, to make a usable application.

So like, I would continually tell ChatGPT "whatever it is you're doing, make that a machine in the factory", and then it strings those machines together in an arbitrary order depending on the input/output of the machine.

Obviously you want the machine to be able to diagnose and fix itself and roll back and upgrade and shit too. And export jobs in packages to other instances.

>Proofs
I had to step away from the machine in question after this shit for a smoke, I'll consider it
>>
>>110097992 (1/2)
>The halting problem isn't about how the process that examines halting works. It is about the answer it returns, not the mechanism it works by.
now i know. its still handwavy as fuck
on an actual turing machine, there is no contradiction
you can clobber the contrarian or just bypass it, too
and if were contriving things, then were talking about particular cases, not generalizations
yes, i have figured out how to program a turing machine. i had to get there to understand the model. is that autism? sounds like autism.
i had to go down to first principles and build an algo that could simulate ram to truly ingest what a turing machine is
if youre curious, the solution i found is to leave one tape slot empty for symbols representing the current "stack pointer", and for the current "read pointer"
because since you cant keep internal variables in the state machine, youre gonna have to do alot of back and forths with the head when comparing the target with the jump value
but yeah, it is well feasible. it was an interesting exercice, ngl.

>thought you meant Generalized Collatz?
i did mean generalized collatz.
i only took "vanilla collatz" because i knew we would be working off the same mental image, and so i could map my "theory", "nomenclature" onto its components
because yeah, you cannot fit all loops into an actual collatz.
majority of loops are gonna fall under a special case for generalized collatz because youre just incrementing by one reagardless of what happens

>Confirming something halts by just running it is called semi-deciding. But you can never conclude that something doesn't halt, just by waiting, even if you literally wait forever.
yeaaah, i kinda spoke to quickly with the last part. infinities are infinities
in this context it would be like a timeline without end or beginning. youre still not gonna know if you didnt look far enough.
'thought this out in the 5 mins that followed me clicking on "post"
>>
I don't know the first thing about making a pinball program.
>>
>>110097992 (2/2)
>If you're just working on that specific case of the Collatz Conjecture, I wish you luck, and Conway's proof that the Generalized Collatz Conjecture is undecidable doesn't actually block you. I also spent some time working on this (with Post Tag Systems) but made no real progress.
i whish i was that good
but nah, i lack the formal education
by career im a construction worker

i know i have good engineering intuition
ive solved several problems where i wonder how the fuck i did that because im a high school dropout, basically (had to start working aged 18.)
one of which i intend to use to get moneys because im getting poor
actually you might like this since youre into maths:

its an interpretation of the empiric rule, using deviation from a normal of the results of data getting passed through a (any) transformation
somethign something null hypothesis being the normal distribution, equalling just stat noise

if theres deviation from that it means theres a structure in the data. that the data contains information
and use that to narrow down on potentially useful transformations which ill be using for inference with an mlai
this should drastically reduce solution-space

its what my opencl shit is for
i still want my results before the heat death of the universe
>>
>>110097992
>if youre curious, the solution i found is to leave one tape slot empty for symbols representing the current "stack pointer", and for the current "read pointer"

by that i mean like n slots for data/code, interleaved with one slot each time for the current stack/current read symbols
the rest is taken care of by finite states

i was focalized on the fact that there was something mechanical which would make the contrarian program unavoidable
and so i read turing machine diagonally and deduced that the contradiction exists because of the mechanical limitation of the tm to moveonly one slot either left or right at a time
>>
>>110098583
Gastowns lmao
>>
>>110098805
so yeah, i still btfod tooring with a stick
but not through the proof i thought it was gonna be
and it has no bearing on the wider world of whats computable and what isnt
because proofs for the rest come from places where tooring has fuck all to say

actually the whole
>proving that our model is identical to toorings
makes sense now
and it wasnt a tribute, it was a brutal diss

makes me think im not the only one with the opinion that tooring should shut the fuck up and get bullied, after getting dug up
at least when his contradiction example is concerned
that was a fucking fail bc his own machine invalidates it when taken actually mechanistically
>>
File: nonna.jpg (308 KB, 850x1000)
308 KB JPG
>>110098661
The contradiction doesn't require a Turing Machine, or any specific system of computation. Assume you have some process which can perfectly tell if a given computation will halt. Use that to construct a new process, which is that process you assumed exists, but inverted. Feed the constructed process to the original process. The original process makes incorrect predictions about the constructed process, contradicting the assumption that the original process can perfectly tell if computation will halt. It is a proof by contradiction. It is contrived, intentionally. That's the point of a proof by contradiction. The contrived thing doesn't have to be useful to make the proof, it only has to be constructible, and it is.

I think you would probably enjoy theorem proving books, since you are starting to move into advanced math.

https://richardhammack.github.io/BookOfProof/Main.pdf

Generalized Collatz is for sure undecidable, and this has been known since 1972. The proof also actually used a Minsky Machine rather than a Turing Machine, but this doesn't matter, because if a problem is undecidable in one system of universal computation, it is undecidable in all of them, since they all compute the same thing.
>>
File: no maid dress.jpg (125 KB, 814x814)
125 KB JPG
>>110098951
>no maids
>>
>>110098974
>The contradiction doesn't require a Turing Machine, or any specific system of computation. Assume you have some process which can perfectly tell if a given computation will halt. Use that to construct a new process, which is that process you assumed exists, but inverted. Feed the constructed process to the original process.
yes, i understand all this

but now, this gives us that turings claim to fame was actually constructing one possible universal computation machine
not THE computation machine since you can have a Misnky one (first time i hear about it)

buuuuuuut
if these two machines are equivalent
and you have a mechanistic way of circumventing turing's contradiction on a turing machine
this potentially has ramifications, doesnt it?

if the properties are symmetrical you can circumvent the contrarian problem on a minsky machine too, etc

the properties do propagate
but in a direction you might not expect to
>>
this was quite the intellectual adventure, ngl
i think were all in a place we never expected to be
while holding the exact same positions as before

this is fun
>>
>>110098974
>Use that to construct a new process, which is that process you assumed exists, but inverted.
Okay, it still halts or doesn't halt but its predictions are inverted. How would it break the original process? The original process would still accurately predict whether or not the inverted one halts. This proof doesn't prove anything.
>>
>>110099171
>This proof doesn't prove anything.
ikr?
maybe the rest of the advanced maths do prove that statement
but turing alone doesnt hold much weight
>>
>>110099182
Turing hasn't even been invited. The halting problem still seems non-problematic without him.
>>
>>110099209
it seems as such
and maybe you know more than i do

but on my end, what i claim to have
is to disable turings contradiction argument
and a way to formulate a loop into a math algorythm on which you can then use fancy math tools and such

i legit dont have the tools to go further
and by the sounds of it, mathbois themeslves did a goot deal of work to actually distance themselves from tooring

he legit might have been wrong and retarded, but the larger picture may still be right
or its a big maffboi cope
i dont have the skills to judge either way rn

i-i just solve problems, mang
i fingered out a feature for my hypothetical ide that checks your c's correctness
and even that is downstream of just how i wanted to represent code for when im refactoring
>>
(because fuck refactoring c with a stick then harvest its fucking organs. if theres one thing painful with c its refactoring ill-commented code, especially tricky, or optimised code)
>>
>>110099291
I can't stand c because it lacks strings, containers, generics, and raii. If I have to use c I just use sepples. I can only stand c for small programs or compiler targets.
>>
>>110099319
you write em once, use em everywhere

but yeah, the usecase for c is limited and very specific in tyotl 2026
c is for hacky shit. but when asm doesnt make sense in your larger project because theres just too much of it

i do mlai shit
this is my thing
and i cant think of any other niche outside of fintech or scientifical computation or task-specific libraries, or game engines that would be in the usecase for c
embedded too i hear

i enumerated 6 items but thats like 5% of the total code produced
and maybe even that figure is optimistic
>>
>>110099319
>>110099370 cont
thats still solid usecases, init?
thats why the lang is still alive, and kinda strong actually

by design or chance
c just scratches the right itches in the right way
>>
>>110099319
Haskell
>>
>>110099445
I say the sooner it has no use cases the better.
>>
>>110099501
im not saying its perfect, either
but despite its faults
its still the best at what it does best
>getting out of the way because youre in a mad scientist kinda moment
>>
>>110099517
oh, yeah
this calls for a picrel i guess

ib4 what the fuck is even that?
its actually a poorfags sse vector ops
only 100% portable

idiomatic c is better than this, but i got bored myself from posting the same pigrel over and again
>>
>>110099537
and ofc i forgot the picrel
and whaddya know?
ive been drunk for an hour now

but now i have a cup of coffee in front of me (the normie kind)
i become completely distracted

i unironically consume coffee like a drug
>>
and i still fucking forgot it
not this time

the code's not entirely bad
i guess it would be highly optimized code around the arrival of pentium because it saturates instruction level parrallelism
>>
>>110099554
actually
pentium was 32 bits and so i couldnt have 8 chars at a time
and i saw i use addition, not &'s and that should fuck with the parallelization of that
so actually only 1/3 could have been parallelized

but the gist is the same
or so i fink
>>
>>110099587
>not &'s
not | 's
im still drunk
and now coffe brings me back to life

in modern days we have avx though
>>
photocraft answered both non-destructive reports I had and fixed them and now it appears to work for my NDE workflow. However, I just found out about a new non-destructive warp transform GEGL plugin for GIMP someone else made.

https://github.com/hexsian/puppet-warp-gimp

the mesh transform rocks but i can't get puppet warp transform working
>>
>>110097992
Based maid victory over MUH TOORING polack
>>
>>110093353
hell, this place might as well be ground zero
not that it's a good thing (total tranny death btw)
>>
>>110100025
send in the Red Hat snipers and take out this nazi
>>
So here's something weird and fun.
Having two of my GBEMU saves on a memory card seems to fuck up for some reason.
One is fine. I can save other games on the memory card before or after the one GBEMU save and it is fine, but if I save a second GBEMU game one of them (usually the second) shows ?? file size in the PS2 BIOS and generally can't be deleted either.
It's a real head scratcher.
GBEMU can still load the saves and save to them fine as well, and doesn't corrupt other saves on the card. It's weird.
>>
I can't believe how ergonomic C becomes when you build everything yourself. This feels amazing. It doesn't even feel like C anymore. I remember Sean Barrett talking about how libraries are the only thing that makes it slow compared to using a scripting language and he's completely right. High level language features literally do not matter. I can't believe I didn't replace printf years ago... My final dependency to libc is just strerror() at this point. I'm not sure whether I should just keep it or rip musl's implementation. Everything else only depends on syscalls.
>>
>>110100272
So I found I did have bug where when the GBEMU save isn't the first in the listing it would end up referencing cached blocks incorrectly and write back some dirty blocks in the wrong places.
But that didn't resolve the save size display issue.
And the save is still unable to be deleted by the BIOS, which is a pile of dicks.
>>
>>110101406
India has spoken.
>>
>>110102197
uh oh rust tranny meltie
>>
>>110102343
>Indian verbal wit at display.
>>
>>110102366
associating the white man’s programming language with indians is never going to work no matter how hard you try. cope and seethe
>>
>>110102441
I don't have to. Indians like you already embraced it.
>>
>>110102452
I’m white, just like all the other white smelly nerds who use C
>>
>>110102462
Sure, pajeet.
>>
File: obsessed.jpg (27 KB, 474x474)
27 KB JPG
>>110099990
>+1 member to my fanclub
>>
>>110101406
baste
>>
>>110102197
baster
>>
File: dp.gif (170 KB, 220x208)
170 KB GIF
>>110089849
newfag here, WHY exactly programming is associated with being sissy? is it some groomer shit or teen aged males develop feminine behaviour to compensate for lack thereof irl?
>>
>>110102774
>programmer
>pedophile
see the similarity?
>>
>>110102774
Indians have a biological predisposition towards transgenderism. That's why c coders tend to be transgender.
>>
File: moo.jpg (299 KB, 850x1202)
299 KB JPG
>>110102774
Only maids care about computer science and programming. Everybody else who shows up to this thread is a no-coder who just came to complain about India/transwomen. (You) can post maids to help gatekeep redditors from the thread and send them back to where they belong.
>>
>>110102999
But Indians are brown. According to their own religion they deserve to be made fun of for their actions in a past life.
>>
>>110102999
Smash
>>
File: 17882704372.jpg (60 KB, 1206x1223)
60 KB JPG
I can sort of understand OOP with python now, it baffles me that there are languages that don't use OOP
>>
>>110103393
Good for you, anon. You aren't jeeted yet.
>>
File: IMG_3224.jpg (11 KB, 736x736)
11 KB JPG
AND THE WORMS ATE INTO HIS POOP
>>
>the schizo who thinks everyone who uses C is Indian is back
Oh no.
>>
>>110095641
Its easier to sexually take advantage of a programming maid when they're asleep. So get back to reading.
>>
>>110103579
>the schizo who thinks anyone who uses c is White is back
Oh no
>>
>>110102774
a completely delusional schizo keeps insisting his delusion on every poster, with extreme effort and a wide range of manipulation tactics
mods are fags and don't do anything about it, wouldn't be surprised if one of the mods/jannies is some degenerate horndog shitskin that just jerks off to every reported post
>>
There's a pedophile schizo cringelord who keeps saying things I don't like. Please curb his free speech.
>>
>>110102774
i'm convinced the maid shit is just to enrage some mentally ill nigger that gets uppity at anime and cute things
as for programming in general being considered a sissy tranny shit?
a long history of coders generally having the 'tism and being vulnerable to grooming
>>
how likely would it be for chaturbate to ban me if I scrape 100 camwhores to see if they're online or not

I catch 429 status codes and try to slow down the crawling to an acceptable speed
>>
My pinball game is not really progressing.
>>
today ive learned about class inheritance and super in python
>>
>>110104247
they have a page that shows all followed that are online no? so zero chance if you use that interface
>>
>>110104612
fuck I shouldve been using that one, Ive just been scraping it from their profile
>>
>>110100082
>send in the Red Hat snipers and take out this nazi
I fed all their snipers through a wood chipper. Feet first.
>>
>>110104653
And while you were doing that niggers tongue my anus.
>>
is tongue a french word (programming)
>>
god does speak. He wants me to fight and build that assembler in holyC. fugg
>>
>>110105852
An Assembler is literally a search and replace.
>>
>>110104653
you just killed a bunch MAGA red hats by mistake and now you are getting the federal death penalty.
>>
>>110106386
Better dead than red.
>>
>>110103595
>invented by white people
>in a country that was majority white at the time
>used in literally everything over 50 years
>schizo somehow thinks it is exclusively used by Indians
>schizo thinks this would matter if true
You have an unhealthy obsession with India.
>>
>>110106808
he’s just a butthurt shitposter, don’t even bother replying
>>
>>110106808
>>110106929
Oh no the browns are back because it's India hours.
>>
>>110089849
what is it about programming that turns men into trannies
>>
File: hare.png (4 KB, 256x256)
4 KB PNG
I'm fond of tagged unions.
>>
I got floats working so I can make pinball in Tabby.
>>
>don't use Rust
>don't use AI
>don't question how white posters with these stances are
I am pure White and use AI to write Rust.
>>
File: 1790028808973400.gif (1 KB, 128x128)
1 KB GIF
>>110107066
>port darksnail to rust (make no mistakes)
https://github.com/sneed-and-feed/projectdarksnail
>>
>>110106993
>schizophrenically obsessed with a random third-world country on the other side of the planet
>convinced a 50 year old programming language used in everything is somehow Indian
Take your meds.
>>
>>110107107
>ardently defends a brown language
Not gonna make it.
>>
>>110107107
Sepples is used in everything now, not C.
>>
>>110107107
You indians get vicious during your country's hours. I'm glad you're on the other side of the planet. Imagine having an Indian coworker telling you to take your meds everytime you don't use the same technology he does.
>>
We could've had maids and pinball if India slept in.
>>
>>110107164
Majority of the RAD guys still use C and those are some of the last people left that actually give a shit about software quality. If you want a recent example, a few years ago raddbg was rewritten from C++ to C. And it’s not an age thing where these are just decrepit boomers who never changed tooling either. Ryan Flurry is a young guy.
>>
something really cute about all the maids itt.
>>
>>110107449
Thank you.
>>
>>110089849
Trying to figure out how I can stop the Neovim cursor smear travel to cmd from triggering the Netrw bookmark list to disappear. The repo says they've fixed this but the added plugin config option does absolutely positively F all, so now I'm contemplating diving into the plugin code and the Netrw code.

I've been building my Neovim setup almost from scratch (save for a color scheme and cursor smear for some quick fancy schmancy) as a starter project to learn LUA, but the more I learn the more I'm convinced it's an absolute dogsh*t lang.

Then again I suspect all interpreted langs are bad, but I could be wrong.

Absolutely love Neovim though, despite its documentation being kinda @ss.
>>
Does programming prevent dementia?
>>
>>110107437
Also I have to mention how nice raddbg is, not just to use, but also to build. It only depends on a few system headers and nothing else. It compiles in like 10 seconds with -O3 in clang. You could never get that kind of compile speed from rust or C++ for a project of this scope and size. And the software itself is extremely responsive and pleasant to use.

The AI slopocalypse has made me realize how grateful I am for the people who still give a shit and I'm thankful for Ryan that I never have to use a shitty gdb frontend ever again.
>>
>>110107557
neovim is probably just a bad introduction to Lua. The language is extremely simple and clean, and also pretty fast for a scripting language, but it is ultimately still a dynamically typed language with dumb shit like 1-based indexing.

I have a soft spot for it because it was the first language I ever learned, but at this point I wouldn't use it for anything unless I really needed a sandboxed environment.
>>
>>110107715
>dynamically typed
>anonymous functions "just let the caller do w/e"
>higher-order function prostitution encouraging poor readability
>"You love goofy made-up sh*t right? Here, have a 'chunk'. It's some piece of code but also a file, or maybe not, we'll let you know when we care"
>"Forgot a parenthesis on line 89 bud"
>"Naaaah just F-ing with ya, it's a typo on line 20"
>string literals randomly work or don't in default arguments
>"Use the brackets nigga!"
>"Aaaaah but you can't use escape characters now, gotcha fool!"
>nested brackets clusterf*ckery
>containers are expected to be complete landfill garbage heaps
>everything is end keyword

I'll admit Neovim is my first experience with this lang, and I don't know much about it (I'm reading Luaref as I go), but there's already not much for me to like about it out of the gates. I've read that it's fast, but I haven't tested with it myself yet.

It's 'easy-going' in the sense that an STD-ridden slut is up for anything, I'll give it that.
>>
>>110108070
I recommend reading pil, the first edition is free and still relevant.
https://www.lua.org/pil/contents.html

It is definitely heavy on closures and anonymous functions. Iterators are literally just closures for example. The reason chunks are like that is so you can arbitrarily interpret and execute any string. For me, I think metatables are a really stupid mistake that make things way more opaque and difficult to reason about what's actually happening. Again, it's the sort of thing where I loved it back in the late 2000s but with the experience I have now I don't really see the point beyond sandboxing.
>>
File: teal.png (20 KB, 259x253)
20 KB PNG
https://teal-language.org/
>>
Good morning :-)
no coffee no workee!
>>
File: scrn_20261019_170407.png (4 KB, 640x480)
4 KB PNG
New assembler slowly getting into shape.
This time with focus on God, klean kode (TM) and debuggability.
Feels good. Basic instructions seem to work (not checked the encoding yet).
Labels next.
Also have a good structure to support multiple files later, hopefully
>>
File: file.png (499 KB, 1879x2049)
499 KB PNG
>>110079204
Rules. And more object builders for the threads, posts, and reply objects. They still look pretty much the same, but now they work all together and are easier to extend.
>>
File: file.png (603 KB, 1879x3106)
603 KB PNG
>>110109571
Also amused at the slop when i told the AI about my rules and didn't gave it my general stylying rules.
Oh, and forgot to edit the slang slop rule, it's meant as an anti ebonics rule, it was just a placeholder for now.
>>
today Im pracitcing data manipulation in python with tinydb and a data.db file
>>
Would this be a correct way in doing weighted randomness?

let weighted_entries = {
"one": 0.25,
"two": 0.5,
"three": 1.0
};

let rand = Math.random();

for (let prop in weighted_entries) {
if (rand <= weighted_entries[prop])
{
console.log("Picked: ", prop);
break;
}
}
>>
>>110107557
neovim is vibecoded slop, don't expect anything added in the last few years to work properly or have sensible interfaces
>>
>>110107686
>but also to build
I too had a very pleasant experience building it on Linux recently, not very many dependencies and fast to build like you said. It's very good software.
Makes me wonder what the fuck people are doing with their projects that take longer to build while having 1/10 of lines of code
>>
>>110109936
Compile times are a massively overlooked advantage and C is just really fast to compile. Most people are dumb gorillas when it comes to dependency management too and will stack them up needlessly because of minor convenience on their end.

The only reason AI slop code is out performing anything is because of the abstraction and dependency hell modern developers have created for themselves over the last 25 years.
>>
>>110109788
why are you iterating through a sorted collection?
>>
Ok I guess holyC makes me a better programmer.
Having no LSP makes you keep in mind so many functions and signatures and shit. That's kinda based.
(Yes, it has some auto complete, but only if you have compiled the functions first)
>>
>>110110220
I've been happy enough with just tag jumping and grep. Putting a giant autocomplete list in your face prevents you from actually retaining information imo.

The odin creator also fucking hates LSPs.
>>
im starting to understand tinydb
>>
File: ded.jpg (51 KB, 800x450)
51 KB JPG
ded forum
>>
>>110111890
very much
>>
>>110111890
Imagine the staff rn, with their resumes they aren't getting another job ever, anywhere
>>
>>110111907
staff entirely BTFO. How will they ever recover? XDDD
>>
>>110111967
They'll probably have to hide their asses like moot. Maybe go off grid lol
>>
https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern
>>
>>110112510
>rediscover F-bounded polymorphism 6 years later
>give it some retarded new name
fucking sepplesites
>>
File: scrn_20261019_354319.png (171 KB, 1280x960)
171 KB PNG
six seven!!!
snail life is best life
>>
Rust is perfect.
>>
Should I work on pinball, today?
>>
>>110094983
numbers
https://desuarchive.org/g/thread/109999999
>>
>>110114677
Nice, another anime website get.
>>
>>110114719
the next post is a fucking iToddler
>>
File: IMG_3265.jpg (12 KB, 480x360)
12 KB JPG
>>110114734
Based and iToddlerpilled, just like Satania.
>>
>>110114854
sex with satania while her body struggles to comprehend wtfs going on
>>
>>110114854
>Satania
You are recommended to kill yourself immediately.
>>
>>110114854
>runs a bread factory
>will be bread
>>
>>110114969
*consent is optional
unironically
sataniafags dont know what theyre playing with in /dpt/
we are a /g/ unto ourselves
i guess nobility doesnt only come with obligations
theres also some privileges in the mix

but the most important thing of all:
>what about satania
>but in a maid dress and with dd tits?
>>
>>110115017
You faggots really do ruin everything
>>
>>110115042
im not a maidposter though
just your firendly neighborhood perv

in fact, im the tooringfag
and my honor is in not wearing the fucking tutu
while also being able to talk about advanced maths with the maidfags

in another way-
if that ruined satania for you
you had to have a chink in the armor so to speak.
im just talking trash
but the thought of it did ruin satania for you. for *some* reason

momentary thread theem btw
https://www.youtube.com/watch?v=SUwka6653oQ
>>
>>110115042
ntm satania with big honkers and wearing a maid dress has already been posted in the past
>>
on another note
güd music, init?

classical is underrated in 2026
esp as programming muzzak
>>
File: noted.jpg (97 KB, 1089x889)
97 KB JPG
>>110113993
Oh I just now noticed that it printed the section name wrong.
Probably just a fuckup in the printing loop, since the data itself is correct.
NOTED
>>
>>110115190
this
https://www.discogs.com/master/241651-The-Black-Dog-Music-For-Real-Airports

and also westbam today
https://www.youtube.com/watch?v=6uV07Rw5ags
BUT JUST DON'T FUCKING CLAP
>>
>>110115231
i can see the vibes
its just grating af to go from fukken classical to minimalist electro
gimme 5 mins i need to "rinse my palate" so to speak

this already wounds like a child of the 80's
https://www.youtube.com/watch?v=u1xrNaTO1b
but even minimalized
and i see the cyclical appeal

i am gonna listen to picrel first though
i need to "rinse my palate", create something of a link and i think the link is somewhere in between
>>
File: computer.jpg (61 KB, 1000x800)
61 KB JPG
>>110115190
>>110115231
this is a crazy motherfucking holy fucking fuck fuck crazy fucking crazy banger, too
https://www.youtube.com/watch?v=8Nj3-3SZaa4
>>
File: IMG_3271.jpg (16 KB, 204x257)
16 KB JPG
>Academic Foundation: C is traditionally taught as the first programming language in Indian high schools, diploma programs, and university engineering (B.Tech/B.E.) curricula. It acts as the gateway to computer science logic before moving to complex languages.
>>
>>110115268
Oh apart from that. This here unironically runs for me almost every day for a very big portion of the time when at home
https://somafm.com/defcon/

I use this in a minimalized version to listen to it: https://github.com/rockymadden/somafm-cli
pic related
>>
>>110115301
>>110115269
>>110115231
>>110115208
you know what lads?
have a hear of this
https://www.youtube.com/watch?v=SCEpfXXwFa8
howbout?
>>
File: Untitled.png (198 KB, 1280x720)
198 KB PNG
Ok one more banger before the Schlafpolizei comes
https://www.youtube.com/watch?v=SgamlQh6qkg

gn hitler afk brb no cap
>>
>>110115338
hmm, put it into my bookmarks, but usually not my koding music. A bit too heavy. I am usually not that revved up
>>
>>110115359
but you did appreciate it
mission accomplished :)

sometimes i listen to shit like the literal fukken ost of doom when i kode
its my upper, then
i use music as if it was drugs, kek
>>
>>110115301
but allso
soma radio is good shit
this goes into my bookmarks too
soma is nice bc they have defcon radio
https://somafm.com/defcon/
>>
>not appropriating, just reposting the link
>>
>soma is nice
but it gets theme-centric

how bout this:
https://www.youtube.com/watch?v=y85SnFs4LqQ
>>
theres also this guys but for some fukken reason i have to struggle with jewtoobz to extract anything of it
https://www.youtube.com/watch?v=vWe85T0dmsQ

wtf
some of the shit im looking for doesnt even appear as public stuff on their page?
but i can reach it through the lookup
wtf?
>>
more of the same, and this is what i was looking for, actually
https://www.youtube.com/watch?v=00L571GxJJM
>>
>>110108127
Yeah I've been consulting that as well as I go.

But thanks for the suggestion and your comments!
>>
>>110108127
>>110115633
Though I will add it's not very enticing to read about this lang, since it's such an absolute slut that randomly trying things will actually work. Lua doesn't care about anything.
>>
ruskis have good programmink music wtf
https://www.youtube.com/watch?v=I_A3I7X9iXA
>>
>>110115698
Doomer post rock can get a bit samey though
>>
>>110115714
i guess is didnt reach that point yet
maybe its because i like to have variety in my pleasures
https://www.youtube.com/watch?v=AJy0LP8iYPg)
>>
I like Rust.
>>
File: bate.jpg (48 KB, 625x626)
48 KB JPG
>>110115748
the other day i helped a crab organize his interfaces
>>
>>110115782
That was very kind of you, anon. Glad you're helping the sea animals.
>>
>>110115798
im not in the mood to be snarky
bw rust and c we dont even have the same usecases

if i were to be competitive
theres not even a competition to be had
>>
>>110115853
Nah, we Rusties are comin to rape ur C safe spaces. Everything evolves into crabs.
>>
>>110116195
Not with a dying language that needs to keep starting up new rewrite projects because all the other weekend projects get abandoned at breakneck speed.
>>
Finally resolved the shape that the gas feeding logic will have, it took me a bit, but now all the abstractions continue to make sense. Also in the process i added SOL sweeping
>>
>>110116246
I doubt it. I'm actually getting Rust projects done with reasonable speed thanks to vibe coding. The robots understand the Rust compiler.
>>
>>110116195
C doesn't have safe spaces, retard.
>>
>>110116298
C has future sepples spaces, libtard.
>>
this >>110116298
crabs mad and such
but completely impotent, too
>>
>>110116195
you are pissing in an ocean of piss, crab shitposter
>>
>>110116298
>>110116383
C literally has no safe spaces. It's completely open prey to C++ and Rust. That's a good thing too. 70s era languages need to go.
>>
>>110116404
Show me the safety in C. You can't—there isn't any.
>>
>>110116424
I'm going to crash this computer with no survivors
>>
>>110116404
>t. seething
i-dont-think-about-you-at-all.jpg
plus : git gud envious retard
its not my fault youre shit at programming
>>
>>110116436
this

with enough experience, it's actually kind of trivial to keep code relatively stable with little to no guardrails, but it takes a long time to figure out how to do that, and it kind of revolves around writing your code in a way that you can make certain strong assumptions about it
>>
>>110116436
>>110116472
I got A's on all my C projects in college. The language is still shit. Thank God Java and Rust reacted properly to C and got rid of UB problems. It's possible to be good at C and still hate it. To think that's not possible is just overdosing on copium.
>>
>>110116500
Dubs confirm.
>>
>>110116436
>>110116472
See >>110115294
C fanaticism is brown coded.
>>
>>110116500
>I got A's on all my C projects in college
a college class will teach you literally nothing about writing maintainable software in C. also saying that like it means literally anything just makes you sound like a nocoder retard, no one fucking cares about your useless college classes

yeah, UB is stupid, but so is C++ and rust
>>
File: IMG_2108.png (1.72 MB, 1088x960)
1.72 MB PNG
Some boys use C.
Those boys UB.
Only boys that use Rust make my day.
Because we are living in a universe without UB and I am a without UB girl.
>>
>>110116531
Nice argument but you're brown. >>110115294
>>
>>110116531
Please friend take my advice. If UB comes out it'll be your demise. Guardrails on. Bright as day so ding dong. Tonight, UB should be sleeping so don't let it make a sound. We can play until UB comes on.
>>
File: 1792445089322632.png (194 KB, 1055x607)
194 KB PNG
>>110116563
C is the white man's programming language, but language debates are for gay low IQ retards so you should fuck off already
>>
>>110116607
See >>110115294
>>
File: file.png (40 KB, 1934x351)
40 KB PNG
>>110109571
User signatures, and pfp's
>>
File: file.png (68 KB, 1940x354)
68 KB PNG
>>110116853
Blurred. View creation page works. It's rough looking so i'll clean it up, but finally a non seeded reply. And user view picker also works.
>>
Started going through decomp academy. Easy so far but fuck remembering those mnemonics.
>>
Holy mother of god.
I was looking at the risc-v instruction encoding so fucking often over the years.
The clanker finally told me the reason why B and S encoding look so similar, yet the B encoding bits feel a bit scrambled.
The whole fucking reason why bits 12 and 11 are jumping around is to keep most of the bits at the same fucking place as with the S format. This results in a smaller overall hardware circuit, which makes sense.
Holy bitch balls. Why do influencers not talk about this? This is such crucial information, but you don't really see people talking about it.
>>
>>110118376
PS: it's even more mind blowing if you look at J.
This looks absolutely retarded and built by a fucking intern, but if you look a second time, it has the same bit positions (partially) as B and S. Holy fuck
>>
>>110118385
the crazed work of a schizophrenic proving CISC > RISC because even RISC is needlessly complicated
>>
>>110118385
Well J is clearly based on the U type.
>>
>>110118844
Yes, which is based on the S type.
>>110118588
But only from a compiler perspective and that is intentional to keep the hardware small
>>
>>110119362
>Yes, which is based on the S type.
It's almost like they're saving on circuit complexity.
>>
>>110119428
Yes, but a brainlet like me only sees scrambled numbers and cannot make sense of it
>>
Should I install this virus?
>>
File: clusterfuck.png (9 KB, 680x134)
9 KB PNG
I fixed my PS2 save problem.
I fucked up and put a cluster number in the dir_entry instead of the directory entry number.
It was an interesting fuckup, because the PS2 Browser would still see the save file, but wouldn't display the size of it or let you copy or delete it, and the ELF Launcher app wouldn't show any of the files in the directory.
It was very odd and a wonder I found it. There was no problem with the save being the first save on the memory card because then the cluster it started in aligned with the index in the directory listing.
>>
very impressive uptime github. Serving text files has gotten quite difficult in our trying times...
>>
AI fags openly admit now to be pedophiles. So even worse than maidfags. Disgusting
>>
today I've been practicing muscle memory, churning out the same scripts over and over again in python until I know them by heart

classes + self, funcs, tinydb, class inheritance, the random function, things I use a lot basically
>>
>>110121253
only you can save us from another maid thread
>>
>>110121510
my condolences
>>
>>110098428
did you make the rom? rgbds?
>>
what are the best resources to learn C? I would like to get into kernel development someday
>>
>>110102774
>WHY exactly programming is associated with being sissy?
masons recruiting.
they need programmers for their population control scheme.

making you a sissy is how they get blackmail material over you, and if they can't force you with sissy crossdressing blackmail material, they try to get you to have sex with an animal (or get sex'd by one), and if they fail there, then they try to get you to kill someone.

anything and everything to get control over you.
making you a sissy is part of the control mechanism (but not the whole)
>>
I'm reading a book on writing code for game AI, and the author creates this really fancy messaging system to send messages between game objects. In one example, he says you could create a Tree class, hit it with an axe, and you'd have to send a "HitWithAxe" message. I'm not really understanding why you'd want to do that, though. Why send a message, if you could just update the Tree directly? If you were to design your entire engine around those messages, you'd have to create a new type of message for every. single. event. that could ever happen in the game, and plus, the end result would be the same if you just updated the Tree directly. It sounds like the messages are just unnecessary, extra steps.
>>
>>110122926
Messages scale better when you start multithreading. Each object can receive batches of messages from multiple threads in an MPSC queue and can coalesce or decide what to do with them as needed. Direct updating is more in line with an ECS model though which tends to be more popular these days.
>>
i love maids. you love maids. we love maids.

<3 <3 <3
>>
I made a python program that puts links in my /bin file so I dont have to type python3 test.py every time
>>
>>110123314
use shebang for fuck sake
>>
>>110123393
in the /bin file?
>>
>>110123132
>Direct updating is more in line with an ECS model though which tends to be more popular these days.
the book is from 2005 lmao
>>
>>110122926
the first mistake is modeling something like a tree as its own class. don't use classes to model concrete entities, it's the root of basically all pains people typically have with OOP
>Why send a message, if you could just update the Tree directly?
poor entity modeling aside, decoupling the hit from the tree lets you construct and apply different kinds of hits on the Tree without having to update the Tree itself, as well as reuse the same HitWithAxe message for other targets
if you ever need to modify anything related to hitting something (eg. add a strength/damage modifier related to the hitter's stats/status), you'd need to change only the Hit message and not Tree or other entities
> If you were to design your entire engine around those messages, you'd have to create a new type of message for every. single. event.
not if you use composition
again, don't model concrete entities as individual classes
>>
So I have rs232 working on my temple machine.
I could connect it to my c64.
But what should I transfer between them? Have a holyC shell on the c64?
>>
>>110123892
>But what should I transfer between them?
The Word of God.
>>
>>110119724
Also, when you delete a save the PS2 just leaves the . and .. files in place (and "in use") while the rest of the files and the main directory are marked as deleted (while still on the memory card).
So when making a new save after deleting a save, you can leave those . and .. files as they are, but update the timestamps and do over all the other files.
>>
The new java.dev site is not so bad. Going through the tutorials now. I don't like many things about it, but its not so bad if you turn your brain off.
>>
>>110124266
>if you turn your brain off
that's not what you should do when following a tutorial

at least they start with a proper definition of objects (bundle of behavior and state) but then they go and ruin it with using dogs and bicycles as examples of classes
>>
I didn't have time to work on pinball, today. Rip.
>>
We're back baby
>>
Wanna know something dumb?
PS2 is little endian, but the icon.sys file used for save files stores the Shift-JIS characters as big endian.
>>
What's a good way of making sure your webshit server language doesn't have use-after-free bugs that enable RCE attacks?
>>
>>
File: 1786016427134599.gif (494 KB, 245x240)
494 KB GIF
>>110126441
>>
why'd the mods delete all the comments that were connected to the a joke about....removing trannies? some weren't even for the tranny...removal
every single comment deleted

unless i'm in the wrong thread...
>>110116867
>>110118160
>>110118391
>>110118423
>>110122009
>>110123698

is there something about tranny...removal, that some here dont want to "get out"?
>>
File: 1792431370620347.jpg (71 KB, 959x914)
71 KB JPG
>>110126570
dont do it anon, look beyond the booba, look into...the face...

nice boob is temporary
ugly face is eternal
>>
>>110089849
for anons on here who may know.
i'm a poor and unmotivated normie, but i heard from an anon on here about 42 school course (which i looked into and was pleasantly surprised)
the thing is, i'm unwilling to commit to a school or any group, but would like to have access to the courses so i can do them at me leisure.

does anyone here have a link or copy to the courses themselves so that i can copy and study on my own?

-a schizo with time
>>
>>110127545
here you go
https://github.com/zelhajou/ft_cursus
theres tons of gits with the common core part of the program if this one doesnt suit you

its not all there is but beyond that, its basically "learn by doing"
you could very well do the harder coding challenges of the /dpt/ coding challenges list and get the same result
>>
>>110127596
thank you friend, i take back what i said about the french, some of you are ok.
>>
>>110127608
you're welcome. glad this made you reconsider your position on frogs, even if im not one.
but some of them *are ok

like the one who started the whole s42 initiative, for starters
>>
File: 12-1501262147.gif (996 KB, 500x209)
996 KB GIF
>>110127596
woah this looks sick. the entire course up to networking is C! thanks frenchie
>>
>>110127663
happy to help
their cursus is indeed a pretty good introduction to computing

what you will be lacking is the peer learning part, though
/dpt/ can help if you have questions, but nothing will teach you to actually cover all error states like having your code reviewed by other people as standard procedure.
and that with the stress of time constraint, and the fact that to get your stuff corrected, you have to correct other's code first (its a points system)

we could try with dpt, but even if we come together and make it a thing
you lack the stress factor. which helps in making paranoia about code correctness a subconscious thing
>>
>>110127545
just read this tutorial.ez. https://mdbin.sivaramp.com/p/p24wr36x
>>
>>110094154
You ever see the sheer volume of text clang spits out?
>>
i keept getting segmentation fault error with this
#include <unistd.h>

int main(void){
write(1, "nice!\n", 6);
_exit(0xa4);
}
[\code]


compiled with:
>gcc -static -o hello --entry main ./hello.c -ggdb3

i'm trying to understand the why of why it keeps giving a segfault
when i run it through gdb, in assembly it crashes at:
>mov r10, QWORD PTR fs:0x10
which i know it has to do with accessing memory that out of bounds, but why is it doing that when converted into assembly, when the code in C doesn't?

(the code is a small part of the tutorial from https://youtu.be/ZlZDWeVL2LI)
>>
File: nublink.webm (3.81 MB, 864x1266)
3.81 MB
3.81 MB WEBM
my risc-v assembler is almost usable now
> rv32i instructions except CSR and ecall/ebreak (should be easy tho)
>sections
>.equ
>.word,.byte,.half,.string
>.org
>some pseudo ops li,la,call
>labels
I think with that I can build a big fucking demo now.
Also since I use terry's Lex() I get #include for free. Tho that does mean I have to have unique labels. Might want to make my own namespaces in files and have global symbols
>>
File: IMG_20261021_181751_773.jpg (2.15 MB, 4032x2268)
2.15 MB JPG
>>110129235
I even have chracter constants, like god intended
>>
>>110129242
for the include I had to put a little hack, to make the whole thing more readable:

.equ STACK_TOP, 0x80014000
.equ DELAY, 1000000

.equ LED_REG, 0xF0000000
.equ NEO_BASE, 0xF0020000
.equ NEO_COUNT, 0xF0024000
.equ UART_BASE, 0xFFF50000
// 19200
// .equ UART_BRD, 0xa281
// 115200
.equ UART_BRD, 0x1ac1
.equ NUM_NEO, 5


.section .data
hello_str:
.ascii "Hello!\r\n" // 8 chars
hi_str:
.asciz "Hi!" // 4 chars

.section .text

j _start // jump over includes
#include "/Home/User/Has/proj/uart.ASM"
#include "/Home/User/Has/proj/neopix.ASM"


_start:

li x1, 0
li x2, 0
li x3, 0
li x4, 0
li x5, 0
li x6, 0
li x7, 0


otherwise the includes would have been somewhere at the bottom below the main loop
>>
You can't spell trust without rust.
>>
>can't even proudly post all my 57 implemented instructions here, because text too long
shit forum
>>
>open neovim
>want to delete line
>press ctrl-y
>doesn't do shit
>????
>oh, I am not in templeOS' Ed()
shit, this shit is wearing on me now



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.