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


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


FUCK maids
FUCK schizos

Share code and have fun instead of pathetic ego stroking

Goat edition
>>
>>106706232
Forgot to put the old, deranged one >>106695186
>>
File: wizard.jpg (2.93 MB, 2448x3264)
2.93 MB
2.93 MB JPG
We conjure the spirits of the computer with our spells...

https://www.youtube.com/watch?v=RhSwBgF-g4I
>>
thoughts on counting letters?
import Data.List (group)

count_letters2 :: String -> [(Char, Int)]
count_letters2 s = go_count $ group s
where go_count :: [String] -> [(Char, Int)]
go_count (x:xs) = (head x, length x):(go_count xs)
go_count [] = []

>>
File: sicm.jpg (15 KB, 262x400)
15 KB
15 KB JPG
>>106706300
the real redpill...
>>
>>106706300
>>106706324
>lisp
intellectual masturbation
bw this and shitflinging i take shitflinging
>>
>>106706392
If you can't appreciate the beauty of lisp then this place is not for you.
>>
>>106706435
you don't have to remind everybody this place is for unemployed autists
>>
File: sussman_shig.jpg (64 KB, 500x375)
64 KB
64 KB JPG
>>106706392
Read SICP or GTFO newfag
>>
I want to port my cryptography library to embedded, but removing all the mallocs would be such a hassle

maid_hash *h = maid_hash_new(maid_sha256);

Causes one struct maid_hash malloc and another sha256 struct malloc

I could instead do it
u8 state[maid_hash_size + maid_sha256_size];
success = maid_hash_init(state, maid_sha256);

But I'm not sure which way would feel the most comfortable

Would be such a big rewrite I also might use that as a crutch to change it's name
>>
>>106706392
no
>>
>>106706447
If you do not like it feel free to leave.
You might feel more comfortable on /twg/ or one of many reddits that focus on professional work. No one there will jump scare you with Lisp.
>>
>Share code
ok. if it helps from my earlier post in the last thread, this is my Rust flake template:
{
description = "x86_64 Rust Example Flake";
inputs.nixpkgs.url = "github:nixos/nixpkgs/master"; # pick whatever branch you want.
outputs = { self, nixpkgs }:
let
system = "x86_64-linux"; # or whatever other triple.
pkgs = nixpkgs.legacyPackages.${system};
# cmake, pkg-config, other build related tools
nativeBuildInputs = with pkgs; [ cmake pkg-config ];
# actual build dependencies, like openssl
buildInputs = with pkgs; [ openssl ];
prog = pkgs.rustPlatform.buildRustPackage {
pname = "muh-app";
version = "0.1.0";
src = ./.;
inherit nativeBuildInputs;
inherit buildInputs;
cargoLock.lockFile = ./Cargo.lock;
};
in
{
packages.${system} = {
default = app;
docker = pkgs.dockerTools.buildLayeredImage {
name = "muh-app-container";
tag = "0.1.0";
# extra OS stuff, like webpki CA Certs...
contents = with pkgs; [ cacert ];
config.Cmd = ["${app}/bin/muh-app"];
};
}
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
cargo
rustc
clippy
rustfmt
rust-analyzer
helix
] ++ nativeBuildInputs ++ buildInputs;
};
};
}
>>
>>106706392
>>106706503
Nobody is forcing you to use anything
Go back to rëddit if you're gonna screech about X vs Y
>>
>>106706503
>I could keep the frame rates up in the high 20s
keked
>>
>>106706516
>>106706519
you can start doing your part instead of whining and explain to me the reasons why you use lisp in the first place
>>
>>106706516
you go back to your reddit safe space where everyone agrees with your opinion
I even found you few:
/r/lisp
/r/common_lisp
/r/learnlisp
>>
>>106706315
in plain Java, it's just
public static Map<Character, Integer> countLetters(String s) {
Map<Character, Integer> result = new TreeMap<>();
for (int i = 0; i < s.length(); i++) {
char c = s.charAt(i);
result.put(c, result.getOrDefault(c, 0) + 1);
}
return result;
}


in Enterprise Java, it's just
public class LetterFrequencyCounter {
private final String input;

public LetterFrequencyCounter(String input) {
this.input = input;
}

public TreeMap<Character, Integer> countLetters() {
TreeMap<Character, Integer> charIndices = buildCharIndexMap();
int[] counts = countCharacterOccurrences(charIndices);
return buildResultMap(charIndices, counts);
}

private TreeMap<Character, Integer> buildCharIndexMap() {
TreeMap<Character, Integer> charIndices = new TreeMap<>();
int counter = 0;
for (int i = 0; i < input.length(); i++) {
char c = input.charAt(i);
if (!charIndices.containsKey(c)) {
charIndices.put(c, counter++);
}
}
return charIndices;
}

private int[] countCharacterOccurrences(TreeMap<Character, Integer> charIndices) {
int[] counts = new int[charIndices.size()];
for (int i = 0; i < input.length(); i++) {
char c = input.charAt(i);
int index = charIndices.get(c);
counts[index]++;
}
return counts;
}

private TreeMap<Character, Integer> buildResultMap(TreeMap<Character, Integer> charIndices, int[] counts) {
TreeMap<Character, Integer> result = new TreeMap<>();
for (Map.Entry<Character, Integer> entry : charIndices.entrySet()) {
result.put(entry.getKey(), counts[entry.getValue()]);
}
return result;
}
}
>>
File: why_dont_we_have_both.png (174 KB, 396x272)
174 KB
174 KB PNG
>>106706503
>i do C.

I love C, Lisp, Python, Go and Rust ._.
>>
>>106706537
i like emac, but i wouldn't claim it's fast
>>
I hate how zoomers talk, they're all spiritually brown
>>
>>106706519
>>106706528
>>106706529
>>106706537
You're ruining yourself more than you're ruining the thread by wasting your brain in schizo wars
Nobody is forcing you to use lisp in the same way you are not forced into knitting
Stop looking for drama to pretend you are doing something productive when the only thing you're doing is ruining your sense of nuance and social abilities
>>
>>106706232
>what are you working on, /g/?
Fixed point math for my emulator

>Share code
That's a lot of code to get a custom fully fledged numeric type in Rust. And it's just the integer side, fixed point number can also act like real number and I need to add functions related to that too.
>>
>>106706544
ok
doesnt change a iota in the fact that i hate lisp
even the origin of its existence is based on retardation:
maffbois made a math model of computing. but its total ass
so instead of refining it, they decided "hey, lets reduce computing to our shitty inferior half assed model"
and since then generation after generation of lispretards try to gaslight everyone that if hardware was made for lisp, then recursive would be faster
>>
>>106706558
These are massive comments anon
Have you thought about making a separated documentation?

What's it emulating by the way?
>>
File: 1584609424914.gif (1.07 MB, 150x200)
1.07 MB
1.07 MB GIF
>>106706503
>high 20s
nigga....
>>
>>106706555
youre completely off
your assumptions are wrong
i post on 4keks
the intent in doing that is to waste time, whatever one would be posting
as much as relaxation is wasting time, but i digress
and yes, i do find shitflinging- relaxing
>>
>>106706538
>
TreeMap

use case?
>>
>>106706597
>Have you thought about making a separated documentation?
nobody is going to look at a different file....
>>
>>106706610
yeah and then such people are judgemental towards you because they cant run type theory on your code which they never actually go through with, on their own code
>>
File: G1RoMoqbQAAmKE0.jpg (185 KB, 1042x1384)
185 KB
185 KB JPG
>>106706618
There's better ways of using your time other than bikeshedding the thread with imaginary wars and enemies, this is no different than what Eli does just with less lore
>>
>>106706643
I mean, you get semi modern type systems just by using Rust alone and get more than "high 20s"
to be fair, I don't know how old that snippet is. high 20s could be pretty good, but in 2025, I doubt most browsers would struggle with 60fps on a shitty 2d or 3d canvas game.
>>
>>106706675
i've never seen a game in my whole life a game that would be released with 20 FPS, even old 3D games would have to hit 30 FPS before they were release ready..... the original Doom ran at 35 FPS.... maybe older stuff would run at lower FPS
>>
>>106706558
Oh, it got cut.
Here is full version.

>>106706597
>These are massive comments anon
I just copied the comments from stdlib and adjusted accordingly. I keep them mostly for examples because in Rust, examples in comments are considered tests and get run during testing/CI.

>Have you thought about making a separated documentation?
No. doc comments are part of rust syntax. Automatic tests are one thing, but documentation for my library is generated from them and they integrate with IDE nicely when doing autocomplete.

>What's it emulating by the way?
Pico-8
>>
>>106706657
said wars and enemies are not imaginary.
some people on this board do hate me with a passion because i fuck up their narrative crafting
its not the main reason i post here, doe. only half the reason
the other half being discussing tech
which i was doing albeit in a harsh tone
>>
>>106706657
Eli posted research and code. In the last /dpt/ he showed off some of his counting research and in the thread before that he posted a python script which calculates all Hebrew strings wirh a given Gematric value. Maidposting was much better than what we had in the last thread.
>>
>>106706730
Nobody knows you enough to truly hate you, they are mostly answering to your bad manners
Acting like a chimp also only makes lurkers take the calmer side opinions
>>
File: Untitled.jpg (1 MB, 1051x10000)
1 MB
1 MB JPG
>>106706715
And here is generated documentation
>>
>>106706750
He's posting irrelevant things with grandiose claims all the time
There's no "counting research", he's only bruteforcing neural networks
Gematria calculators there's many, would be completely fine if it was just for fun but he states like he's saving the world
>>
>>106706675
rust has more merit than lisp
but only slightly, because you can make it go fast

in my mind rust is another failure because its a lang which usecase is to be used in complex systems, to enforce correctness

but who needs correctness to be enforced?
interns. beginners.
but the rust language is extremely complex
and on top of that no thought whatsoever has been given to its ergonomics
which makes it extremely bad for interns/beginners, but also for veterans
you wont see issues with ergonomics at your 3rd or 5th hour of programming in a day
but things start to change when youre at your 10th 12th 14th hour
there you need L E G I B I L I T Y

its a contradiction in itself
with predictable results
the development metrics alone should be an indication theres something seriously wrong in the leadership of that project (rust is 19 years old. thats 1/3 the age of C and 1/2 of C++ for context)
>>
>>106706754
>Acting like a chimp also only makes lurkers take the calmer side opinions
and thats how we went from multiple threads about rust to 0

my goal isnt in convincing other people btw
its to test the limits of my knowledge and expand them
im not gonna lie, the crabs forced me to distill my knowledge about programming
ofentimes by providing the missing elements themselves
>>
>>106706809
>in my mind
Stopped reading right there.
>>
>>106706779
at least productive schizo posting is better than none...
>>
>>106706834
bc youre a retard whod buy the golden bridge if the packaging was enticing enough
>>
>>106706834
same. we need to stop giving these moronic post (You)'s though.
>>
>>106706779
You can argue it is brute forcing, but using Godel Numbers to count to neural networks is at least a novel form of brute forcing which has some nice properties, like the networks being ordered, the first one you find being the smallest possible implementation of the network you were looking for, the search onky visiting each network exactly once, etc.
>>
>>106706821
If you were to claim having such an influence, I would tell you that's how we went from /dpt/ being the only good thread in the board to completely ruined instead

>its to test the limits of my knowledge and expand them
Didn't I tell you were pretending to do something productive?
>>
>>106706675
>high 20s could be pretty good, but in 2025, I doubt most browsers would struggle with 60fps on a shitty 2d or 3d canvas game.
This kek. I made a touhou clone in JS with just basic 2D canvas and it could get 60 fps easily with hundreds or thousands of sprites depending on browser and OS. After rewriting it to webgl2 canvas I could easily push it to tens of thousands.
>>
>>106706856
>Didn't I tell you were pretending to do something productive?
lolle
thats as productive as patrolling the streets in hopes of finding a gold necklace

you pretend youre all about constructivity, but youre shitflinging
only in an extremely effeminate way
>>
>>106706232
SEX
>>
>>106706836
There's people posting projects all the time but nobody comments on them because they are bikeshedding to drama wars

>>106706851
That's stretching really far when his claims are way more grandiose
Would be completely fine if he posted something like "brute forcing neural networks by ordering them" instead of "I DISCOVERED A NEW WAY OF MAKING NEURAL NETWORKS THE MAID MIND CIA IS FURIOUS WITH"
>>
>>106706905
cia being furious with him amounts to him being told to shut the fuck up
and him subsequently posting a thread w/o all the maidshit

he was posting in the other thread
"numberlet" is an insult one doesnt see very often
>>
>>106706905
I'm not a regular poster in this general desu. I only regular post in Advent of Code generals...
but that sucks. I guess the biggest barrier is posting on 4chan is a good way to get canceled by people IRL.
>>
>>106706892
>thats as productive as patrolling the streets in hopes of finding a gold necklace
That's were the "pretending" part comes from

The problem is that your shiftflinging is bringing the quality down, because you are unable to comprehend that your poor manners don't really impede any narratives as you think
You are basically shitting in front of a shop to prevent people from entering

>>106706921
He's genuinely schizophrenic and has some lapses of reality when taking medication, I'm not sure if it's not working now or he stopped taking them

>>106706922
I don't think IRL people care that much, only people that care are the social pretenders like leftists who pretend they are like normies instead of a mirror world version of channers
>>
gtk bindings vs qt bindings for a not very much complicated GUI?
>>
>>106706905
>schizophrenic person says schizophrenic things
That's like caring that Terry yelled about "CIA niggers" and talked about having a "space alien". Focus on the signal, not the noise.
>>
>>106706953
>That's were the "pretending" part comes from
im not pretending anything
you should revise your assumptions. im a free man, im conscious of the mechanisms that make up a psyche and thus are free to modify them as i please. and i did.

>poor manners
>impacting the narrative
youre grasping at straws.
also you just showed to me that manners dont matter, especially with you, lispretards
youre gonna take a formulation of politesse and attempt to respond with an insult

>He's genuinely schizophrenic and has some lapses of reality when taking medication, I'm not sure if it's not working now or he stopped taking them
its not my job to deal with that. i just dumped /dpt/. and ill continue boycotting it bc maidshit is on the same tier as lisp posting for me.
>>
File: '(zun-sneed).jpg (269 KB, 512x496)
269 KB
269 KB JPG
>>106706503
Sneed.
>Dennis Ritchie: I have to admire languages like Lisp
http://www.gotw.ca/publications/c_family_interview.htm
>>
>>106706905
I would definitely love to discuss googology and math but these guys are unhinged and incapable of having proper conversation.

Tangentially related but I would like to make a clicker/incremental game centered around fast growing hierarchy, ordinal arithmetic and large numbers. But the gaps between growth speeds beyond primitively recursive functions(so Ackerman and up) are so wast it's kind of hard to conceptualize or even work with numerically.
One day I hope I will come up with some system that would be both interesting to play around with gameplay wise and be intuitive for a player despite dealing with ridiculously large numbers. I hope I will not have to limit myself to just f_\omega(n), there is so much more interesting stuff to explore.
>>
>>106707029
>gregarity argument
how is that supposed to convince me?
just think about it for a sec-
>that someone else says x, you have to believe in it
thats how the thought leader shit works
thats fucking reddit
>>
>>106707011
Problem is that even if you were to consider Terry's hobby OS a big deal, Eli is not at that level, he has been repeating the same things over and over for years, while the "research" is just some entry-level project

>>106707019
You're not boycotting /dpt/ at all, since you are here trying to convince me you're not rotting your brain with meaningless discussions
You lack even the nuance to notice I'm not a lisp programmer at all, and I'm just annoyed with your behavior
>>
>>106707040
>You're not boycotting /dpt/ at all
i do boycott dpt though.
>b-but youre posting in here
so? i didnt post in dpt since months and i wont in the months to come
i hoped this time we can have a serious discussion, but its the other group of retards who are posting here this time- lispretards
>not a lisp programmer at all
rly? i thought this was yours>>106706544
>>
>>106707039
Keep seething. Even you God Dennis Ritchie admire Lisp, stupid cnigger.
Also, the first fully free (as in freedom) C compiler (GCC) was written by a Lisper (RMS). Sneed.
>>
>>106707061
>strawman. desperate this time
youre dumb. lol
>>106707040
is this the quality of discourse youre talking about?
fucking lmao
>>
>>106706632
natural order of its elements
>>
>>106706966
i would use ImGui, unless you plant to do fancy things later on, or you want the look to be integrated into gtk/qt desktops
>>
File: G1T_21EWYAEhD6M.jpg (263 KB, 1552x1623)
263 KB
263 KB JPG
>>106707030
I love googology, used to watch those videos were they get to the biggest number
Some actually being a meme and using lots of fake numbers, but there's some strange feeling when hearing something like "Cantor's last ordinal"
What about some cookie clicker clone?

>>106707058
Just stop posting if you're unable to have conversations with different people

>>106707070
People who act like you having the opposite opinions are the same for me
>>
>>106707115
>People who act like you having the opposite opinions are the same for me
yeah but you have the exact same attitude

only you make it gay
if youre unable to take the heat, get out of the kitchen
>>
>>106707115
btw, wtfs with the lewd shit?
are you a coomer?
>>
>>106707125
I don't go calling people names or hating on other programming languages out of nowhere

>>106707145
You call a completely dressed woman lewd and accuse me of being a coomer?
You really should get a mirror anon
Only shows more my previous point that you are projecting
Stop using the thread, go to some echo chamber about how the languages you like are good and the rest are bad
>>
>>106706597
My understanding is that those are doc comments and when he builds the docs they get turned into a website.
>>
>>106707145
she's completely covered?
>>
>>106706715
>>106707170
That's cool, I think I have seen something similar with python before but I'm not sure

A part that I hate about external documentation is having to browse two files at the same time, copying stuff back and forth, this gives me some ideas
>>
>>106707169
no but you indulge in strawmen and pretend passive-aggressivity is not aggressivity
thats the same as calling people names.

>You call a completely dressed woman lewd and accuse me of being a coomer?
youre implying foot fetish is not a thing. is that a strawman?
>more assumptions
i hoped you'd understand by now that you suck at fishing. let alone profiling
>>
>>106707189
I feel like now I get why they invented a religion where woman wear burkha, people like anon exists
>>
>>106707189
>>106706902
coomers think differently(TM)
>>
>>106707212
>group cope therapy
lolle
>>
>>106707205
Bold of you to confuse discussing in a non-deranged manner with passive-aggressiveness, I'm being assertive here

>youre implying foot fetish is not a thing
Why are you staring at her feet?
It's on the bottom of the picture and I didn't even notice it before

>is that a strawman?
No?

> hoped you'd understand by now that you suck at fishing. let alone profiling
That's passive aggressiveness, you are implying that I'm baiting, and something else by "profiling"
>>
>Eli leaves
>Augusta becomes Eli
>>
>>106707250
nono
passive aggressiveness
assertiveness doesnt imply insulting your interlocutor
another think youre extremely bad at
because of...
>Why are you staring at her feet?
...retarded assumptions you never verify because that would make your model fall to pieces

now the question is: why is it so dear to you?
is it because youre unable to produce anything else than a reflection of yourself?
>>
>>106707283
If you think that pointing out a behavior I dislike and it's harmful for you is the same as an insult, you are only proving my point you are acting passive-aggressively

>...retarded assumptions you never verify because that would make your model fall to pieces
>now the question is: why is it so dear to you?
is it because youre unable to produce anything else than a reflection of yourself?
I have no clue what are you talking about
>>
>>106706921
What is a "numberlet" and why is it an insult?
>>
>>106707275
I used to be a known avatarfag in the past, around ~2022
I wonder if someone still remembers who
>>
>>106707320
Schizo insult invented by Eli or his followers that means the person doesn't understand his bogus number theories
>>
I was adding animations to my gui library and I'm getting filtered by exiting animations. It's declarative so the user specifies the tree that they want, but then I have to fetch the old nodes and try sticking them back into the tree, even if the new tree could be completely different from the old one. My spaghetti code can't handle this
>>
>>106707312
>I have no clue what are you talking about
i suspected as much

youre making assumptions based on a likely model of my psyche
but you fail miserably to grasp even the beginning of it
probably because like most autists you cannot comprehend the idea that people function in a different way than you

and so you make assumptions, you dont verify. for some reason that would tell me more about yourself.
like the stupid idea that if someone points something out, they must be culprit of it themselves.
maybe. im fishing here, but this is how things look like to me
>>
>>106707115
>I love googology, used to watch those videos were they get to the biggest number
>Some actually being a meme and using lots of fake numbers, but there's some strange feeling when hearing something like "Cantor's last ordinal"
Yeah, these are mostly memes. Numberphile has some ok entry level videos on the topic, but if you want real meat you need to dive into https://googology.fandom.com/wiki/Googology_Wiki or watch one of playlists like https://www.youtube.com/playlist?list=PLUZ0A4xAf7nkaYHtnqVDbHnrXzVAOxYYC. This is a nice read too: https://joshkerr.com/mind-blown-the-fast-growing-hierarchy-for-laymen-aka-enormous-numbers/
I recommend reading about loader.c if you haven't already. Also fuck Rayo's number

>What about some cookie clicker clone?
That won't do. Cookie clicker doesn't break even quadratic growth. Even if you make generators of each level produce generators of the previous one like some other games do, you are still bound below f_\omega(n). In order to break beyond primitively recursive functions more sophisticated system is needed - diagonalization is needed. I was thinking about some graph based systems where you connect machines to each other like it's some factorio, but I am yet to come up with something that is both engaging and robust.
I have to play all the (few) existing googology games and maybe play around with various notation systems for inspiration.
>>
>>106707372
>youre making assumptions based on a likely model of my psyche
>but you fail miserably to grasp even the beginning of it
Don't cut yourself with all this edge

>>106707383
The real math is strange, eventually you end in an inaccessible cardinal, since it's defined by being inaccessible through any means
I think things are the most fun when they are in or below a certain plausible infinity level, like aleph null
Going to read the site you mention
What's loader.c?

>Cookie clicker doesn't break even quadratic growth
You could do it symbolically, aka in code being under 64 bits but the units growing larger and larger, although this would look more like one of the meme ones
I never heard of googology games before
>>
File: chud-shrug.png (23 KB, 964x851)
23 KB
23 KB PNG
>>106707453
>Don't cut yourself with all this edge
fine non-argument
but you drink cum
>>
Why are you guys so gay? 2 fags arguing about who's lower iq and or more schizophrenic. A handful of unemployed tryhards posting 30 line snippets of nothing for projects even their moms wouldn't care about, and 1 or 2 guys that haunt every thread to say nocoder a dozen times. Maybe the retarded maid fag does run a better thread.
>>
>>106707470
Be the change you want to see faggot.
>>
>>106707470
>there's 10 competing standards, we need to make a standard that solves all cases
>now there's 11 competing standards
>>
>>106707480
Just stop being retarded angsty dicks to each other and trying prove you're the best unemployed loser with zero soft-skills. It's a waste of your time and energy. Build each other up instead of being crab bucket homos.
>>
>>106707470
>>106707509
You're doing the same thing, and soon another anon will appear to say the exact same stuff
>>
>>106707509
dont you dare equating us, fgt
im not angsty
>>
>>106707528
Not me though. I'm going to go enjoy the sun today. Why don't you guys just accept that you're all geniuses wasting hours being as stupid as possible trying to make each other feel like shit. Collaborate on something or whatever.

Anyways said my piece.
>>
>>106707552
My actual programming post goes unreplied
>>106706454
Posting calmly and reasonably didn't fix the thread
>>
>>106707552
>Why don't you guys just accept that you're all geniuses wasting hours being as stupid as possible trying to make each other feel like shit. Collaborate on something or whatever.
bc wasting time is the reason i come to post on 4 keks

collaborate? anon, i keep my most precious tricks to myself. bc theyre precious, duh.
>>
>>106707552
>>106707580
cont
i sound like being a total asshole when im an asshole only up to ~80%

believe it or not, but my favorite type of discussion is discussing high level language shit, like ergonomics, or good practices
more practical stuff in c, and theoretical shit abt ai, preferably ai architecture even though i keep many things to myself
it alr happenned to me that i share ideas i had on the shitter only for someone else to make a paper out of it and get a job at faang because of that.
wont be happening again.
>>
File: carbon.png (450 KB, 2560x2992)
450 KB
450 KB PNG
>>106707453
>The real math is strange, eventually you end in an inaccessible cardinal, since it's defined by being inaccessible through any means
Cardinals are not really relevant to this as far as I know. Fast growing hierarchy is using ordinals, not cardinals. And reaching limit ordinals is not an issue, it's essential to how fast growing hierarchy works. Whenever you reach a limit ordinal, you diagonalize. With (extended) Veblen function you can just enumerate these limit ordinals and reach stupidly complex ordinals up to the large veblen ordinal. After that there is ordinal collapsing function which are beyond my understanding.
Mind you, all of this is within the realm of computability. You can't reach uncomputable functions within a game(without some oracle hacks), since your game is running on computer. Numbers like busy beaver, Rayo, Fish 7, etc are uncomputable and beyond the scope. Graham, Tree, hydra, etc are computable and I would like to make them reachable.

>I think things are the most fun when they are in or below a certain plausible infinity level, like aleph null
That's a cardinal too. omega is the counterpart of aleph 0 but they eventually diverge and do not mean the same thing. Read about ordinals and cardinals, it's important. Omega-tier growth is just ackermann-ish, it would be nice to go beyond it. Maybe up to epsilon ordinals.

>What's loader.c?
I think the largest described computable number? It's written as a C program.
https://googology.fandom.com/wiki/Loader%27s_number

>You could do it symbolically
Some notation will be mandatory to describe the large numbers. The problem is that even with some clever recursive notation and inevitable sacrifice of precision, there might be no good way of describing numbers/speeds in gaps between next steps of fast growing hierarchy(in which term's I always think about because it's so handy). Maybe some slower hierarchy would come in handy.
>>
>>106706966
make your own gui toolkit
>>106707344
what kind of animation requires modifying tree during the animation?
it should only do that before or after animation
>>
>>106707659
I know the difference between the two, what I meant was:
https://en.wikipedia.org/wiki/Inaccessible_cardinal
It's a set theory uncountable number, I'm not sure how it compares to other uncomputable numbers however
From what I understand, it's the idea of a number that can't be accessed through any normal means, beyond the set theory

I like the idea of the busy beaver, I think the most fun is in the strange processes than the actual result

>I think the largest described computable number? It's written as a C program.
Seems like it's the biggest number created by a <512 C program, wiki mentions another bigger one created by lambda calculus

> there might be no good way of describing numbers/speeds in gaps between next steps of fast growing hierarchy
I think it depends on how far you wanna go
Some hierarchies start at the infinite of the previous one, so I think the best would be having like a countable but visually large number to do the jump
>>
how would you print to stdout an integer from 0-Infinity?

first idea:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main() {
srand(time(NULL));

while (1) {
int r = rand() % 10;
printf("%d", r);

int more_numbers = rand() & 1;
if (!more_numbers)
break;
}

printf("\n");
};

>>
>>106707879
>I know the difference between the two, what I meant was:
>https://en.wikipedia.org/wiki/Inaccessible_cardinal
I know and I'm telling you it's not related. Fast growing hierarchy takes ordinals and produces function corresponding to them. The internal structure of the ordinal number chosen describes how the function should be composed using recursion and diagonalization. Cardinal numbers which describe the sizes of infinite sets are not really related to this process.

>uncountable number
Every cardinal number except finite integers and aleph-0 are uncountable. That's not a rare property nor does it matter here.

>idea of a number that can't be accessed through any normal means, beyond the set theory
If you were to formulate it properly that would be proof-theoretic ordinal and it's unrelated concept as well. For an ordinal number to be useful in talk about fast growing function, you need to have a way to induce it from scratch rather than define as supremum of some vague set.

>Some hierarchies start at the infinite of the previous one
wtf
>>
>>106708052
i guess this is better to get closer to infinity, otherwise you get small numbers:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

#define PROBABILITY_TO_STOP 0.01
int check_if_stop() {
return ((double)rand() / RAND_MAX) <= PROBABILITY_TO_STOP;
}

int main() {
srand(time(NULL));

while (1) {
int r = rand() % 10;
printf("%d", r);

if (check_if_stop())
break;
}

printf("\n");
};

>>
>>106708104
the only bug is that it can generate leading zeroes, otherwise it's perfect code
>>
>>106708104
??
to print 0-inf you need infinity printouts which is gonna take infinity time
>>
>>106708104
doesen't it generate int max only?
>>
>>106708134
good catch. it does
>>106708104
not only rand generates a 32 bit wide number when double is 64
but also a cast will translate the numbers bw their representations

if you want to generate random ones and zeroes you might wanna use an union
>>
any osdevs here to enlighten this one?
>>
>>106708123
>to print 0-inf you need infinity printouts which is gonna take infinity time
so? the program is correct, as long as it has enough time it can print infinity
>>106708134
no, it can generate any number from 0 to infinity, it's printing digits to stdout it doesn't check int max, the only issue is that rand() is not really random, it's a finite loop of numbers, so at some point it will always either stop printing or get in a loop and print infinite numbers but never stop even at infinity
>>
>>106708177
osdev? that sounds heavy duty
>>
>>106708163
>not only rand generates a 32 bit wide number when double is 64
>but also a cast will translate the numbers bw their representations
the only issue is that the number produced is not really random so it will produce a list of integers that at some point repeats, the size of the number doesn't really matter as long as it can be translated to a random value between 0-1.0, at worst it may mess with the probability and make that instead of 1% it's something else
>>
>>106708183
>so? the program is correct, as long as it has enough time it can print infinity
i was checking if were talking practicals or theoreticals
if we assume infinite runtime, we might just as well assume infinite memory

because doubles/floats, while they allow for infinity, they lose in precision the bigger you go
i think the actual solution would be to have an infinite buffer and just compose numbers one by one, then print them out
>>
>>106708177
About what?
>>
>>106708207
>i think the actual solution would be to have an infinite buffer and just compose numbers one by one, then print them out
this code is already doing this, but the buffer is the stdout directly, it doesn't keep the digits in memory at all
>>
>>106708052
In C# this is just
using System.Numerics;

var rnd = Random.Shared;
// 8191 bits
Span<byte> buf = new byte[1024];
while (true)
{
rnd.NextBytes(buf);
BigInteger bi = new(buf);
Console.WriteLine(bi);
}
>>
>>106708204
>the size of the number doesn't really matter as long as it can be translated to a random value between 0-1.0
nono, it does
even at small scale floats are imprecise
so if you want to recover your number with multiplication, youre gonna miss some of them
>>106708216
its not a matter of printout, properly
its to keep track of the numbers. because precision with floats is, lets say, relative
i dont remember exactly where it is but passed something like a hundred billion you cannot represent individual numbers anymore using floats or doubles
but you could with a buffer
>>
>>106708237
>even at small scale floats are imprecise
>so if you want to recover your number with multiplication, youre gonna miss some of them
the float is only used for deciding if we stop generating numbers or not, it doesn't affect the output otherwise, so the only thing it can affect is the probability to stop
>>
>>106708237
What are you talking about? The output is printed to stdout, it never gets represented as a float, why would any of that matter?
>>
>>106708233
can it generate the number 1 though? it should be any number between 0 and infinity
>>
>>106708245
>>106708252
ah youre printing the int
well, that doesnt make sense either
if you pass an int to your print subroutine, INT_MAX is all it will ever print
you cant even represent infinity with an int
>>
>>106708280
i'm printing one digit each time and then deciding if i stop or keep printing digits, it's the same logic that you mentioned with the buffer, but the buffer is just stdout
>>
>>106708245
>>106708252
the probablity thing doesnt make sense either
>if rand / rand max is <= 0.01, you should stop
???
>>
>>106708292
yeah but then you dont keep track of duplicates, and have no guarantee you printed all of the numbers

with a buffer tho, you can
you just represent the number contained in the buffer by 1, carrying over if a digit goes over 9
you still cant represent infinity with it, or achieve it, but thats the closest thing i think youre gonna get if you wanna print 0-inf

as you mentionned, rand is not actually random
>>
>>106708254
Probably not. The Random class is optimized for good distribution so 1023 consecutive zero bytes followed by 0x01 is unlikely in a few billion years,
If you actually want to see it in your lifetime, then also randomize the buffer size.
>>
>>106708318
>represent
ugh
you just *increment the number in the buffer...
>>
>>106708295
- rand() generates a number between 0 and RAND_MAX
- (double) rand() / RAND_MAX transforms that into a number between 0-1.0
- the probability is 0.01 (or 1%) so if you get a number below that stop, if you get a bigger number, continue

may have gotten some detail wrong, but the general logic seems correct to me
>>
>>106708318
>yeah but then you dont keep track of duplicates, and have no guarantee you printed all of the numbers
the original premise was about a program generating 1 number between 0-Infinity, not all numbers
>>
>>106708329
probability of what?
youre just computing whether your rand is smaller than 1% of RAND_MAX
>>
>>106708338
aaah
>>106708343
also now that part makes sense
if we assume rand is perfectly random then yeah
your code should work as intended
>>
>>106708343
it's just a small probability to decide if you stop or you keep generating digits, could be any probability as long as it's not 100%, but you get more intesting outputs if the probability to stop is low
>>
>>106708367
'makes sense. your code should work
>>
So /dpt/ can't read a 10 line C program?
>>
>>106708402
ill be honest with you
this algo is so alien to me that i immediately got brainfog until i understood the intent behind it
i function kinda like a machine
if it throws an error then the whole process shits itself
also a reason why some of us are anal about formatting and can get into unending discussions about allman vs k&r styles
>>
>>106708402
>>106708423
i think its actually because i was expecting something entirely else
the code became crystal clear the second i heard its about printing one number, not all of them
>>
I need some words / names to use for an object that holds several collections of possible relationships as well as instances of those realized relationship

was thinking "registry", not sure though
>>
>>106708402
it was sort of a meme program in a way, and maybe i didn't explain myself very well, kek
>>
>>106708525
datatable/dataset?
root/branch?
parent/child?
>>
>>106708525
>object that holds relationships
call it relationships
>>
If you think about it, using unsigned for indices makes no fucking sense. there a billion different incorrect (out of bounds) values that can still be represented, congratulations on eliminating approximately half I guess?

Either you go full-send with type ranges and so on and you truly make invalid states unrepresentable or you're just doing stupid busy work with none of the benefit.

The same logic applies to pointers vs references in languages that do not guarantee memory safety.
>>
>>106708530
the "0-inf" confused me
im esl and im baked
>>
>>106708555
>>106708555
you also gain more indexing space, not just security
>>
>>106708566
yeah so glad i can now have 18446744073709551616 Foos instead of 9223372036854775808 Foos. My computer can definitely fit all of those in memory xd.
>>
>>106708566
Also there is no security benefit. All array types should be bounds checked in 2025 anyway (You can make the signed bounds check just as efficient as the unsigned one in two's complement. You don't need to do 2 compares)
>>
>>106708582
i've run out of IDs before on a database, not sure how often it can happen in a program running on memory, but why limit yourself for no reason?
>>
>>106708566
you can have negative indices in c though
you dont use em very often but they sometimes show their head
>>
File: transcription tech.webm (307 KB, 916x806)
307 KB
307 KB WEBM
transcription
>>
>>106708594
Okay but those aren't indices. I can see why you would want some sort of unsigned counter for the extra space. For indices it's literally just extra friction and casts everywhere. It's just one more cognitive overhead to deal with instead of writing useful code.
>>
>>106708603
why would you even start with a signed int with anything that will end up in an index? i don't see the necessity to cast and that's why static typing exist in the first place
>>
>>106708623
(nta)
when you read from a file descriptor.
the return value is either the number of bytes read or -1 in case of error
you use bytes read as index to null terminate when you read unsized strings
>>
>>106708635
good point
>>
>>106708209

I want to implement user processes and I'm not sure how.

The wiki doesn't cover things like switching address spaces on the Getting to Ring 3 page.

I'm thinking of aligning and zero padding isr_common, the context switcher, on 4k bounds and sharing it to everyone, then I'll (hopefully) be able to load the next process' CR3 without a page fault. If this idea sounds like a security nightmare, is because I don't know how to design shit like I can code.
>>
>>106708623
Casts between unsigned and signed happen all the time in code for a variety of reasons.

People are hypnotized by this siren song of hyper-specific types that represent a very small set of values and say that you wouldn't need casts everywhere if you design your program correctly but it never works out. You just end up with casts everywhere as you cast from more restrictive types to more permissive types for computation and back to more restrictive types.

This is one good example. >>106708635.
>>
>>106708052
>how would you print to stdout an integer from 0-Infinity?
you don't. what the fuck?
>>
File: 1715160835130226.png (133 KB, 721x748)
133 KB
133 KB PNG
>>106708052
>how would you print to stdout an integer from 0-Infinity?
First you have to clarify what you mean by integer. What representation are you using? If you're open to any representation, the question becomes what are your exact parameters? If you don't care about precision, and want to be inclusive of infinity you can just use a double.
double get_number();
double round_and_clamp(double x) {
return fmax(0.0, round(x));
}

int main(void) {
double d = round_and_clamp(get_number());
printf("%ld\n", d);
return 0;
}


If you do care about precision, you need to implement or use an arbitrary precision library. I'm not aware of any that have support for unsigned arbitrary precision integers inclusive of infinity, so you'd have to come up with your own representation. If you don't mind losing out on infinity inclusiveness (your example seems to indicate that) you can just use GMP.
mpz_t i = get_number();
gmp_printf("%Zd\n", i);
mpz_clear(i);
>>
>>106708555
>Either you go full-send with type ranges and so on and you truly make invalid states unrepresentable or you're just doing stupid busy work with none of the benefit.
What the fuck is this post? First, it's more about using unsiged + correct integer width (so usize, NOT just uint). Second, doubling the indexable range and preventing negative indexes means you avoid some errors and get larger collections. That's not just "stupid busy work with none of the benefit."
>congratulations on eliminating approximately half I guess?
Thanks.
Third, refinement types are not the be-all and end-all solution.
>significant (non-practical) change to most (shit)languages (usize being just a type change for the index)
>compile time only benefits (easily replaced by analyzers and/or comptime support)
>need to duplicate logic for runtime checks or use a construct that carries the data with proof with correctness
>how does this work for most languages that have mutable state/collections?
So a high cost for little benefit and you still are at risk for `Exception: Prelude.!!` or duplicating refinement logic to return Nothing. You dismiss practical working solutions for impractical core language changes.
>>
File: baphy.jpg (1.86 MB, 1564x2007)
1.86 MB
1.86 MB JPG
>>106706232
>Goat edition
I'm thinking based
>>
>>106708555
or we can make the tradeoff and reap some of the benefits without incurring the consequences of going "full-send" like having an autistically complicated type system
>>
>>106708555
>If you think about it, using unsigned for indices makes no fucking sense
It's actually worse than useless as it sometimes transforms off-by-one mistakes in loop conditions into infinite loops etc.
>>
File: 1736950440005902.jpg (250 KB, 728x719)
250 KB
250 KB JPG
How do you guys feel about abbreviating variable and function names? Rarely do it? Always do it? I'm suddenly on the fence about it
>>
>>106709035
how do u guys feel abt abbrvting var and fun names? rrly do it? awys do it? i'm sdnly on d f-ns abt it
>>
>>106709035
Only if it is intuitive for public APIs e.g. Rng/Xml/Json is fine. Only if doesn't require an extra step for maintainers to stop and decode e.g. i for index is fine.
Just don't end up like QBE
>>
>>106709059
I still remember when everyone typed like that unironically.
Then it stopped. Python got popular around at the same time. Makes you think. Total Cnilecuck death.
>>
File: rust.jpg (146 KB, 770x978)
146 KB
146 KB JPG
>>106708954
>>106708555
This is a very good point. I completely unironically just went ahead and changed my slice class.
Now shrinking my slices below 0 is valid and bug-free for all realistic usecases.
template <typename T>
class slice
{
public:
constexpr
slice(T* const ptr, isize const len) noexcept
: ptr_{ptr}
, len_{len}
{}

template <isize N>
constexpr
slice(T (&array)[N]) noexcept
: slice{array, N}
{}

constexpr
T const*
as_ptr() const noexcept
{
return ptr_;
}

constexpr
T*
as_mut_ptr() noexcept
requires is_mut<T>
{
return ptr_;
}

constexpr
isize
len() const noexcept
{
return len_;
}

constexpr
slice<T>
lshrink(isize const n) const noexcept
{
return slice{ptr_ + n, len_ - n};
}

constexpr
slice<T>
rshrink(isize const n) const noexcept
{
return slice{ptr_, len_ - n};
}

constexpr
slice<T>
lslice(isize const end) const noexcept
{
return this->operator()(0, end);
}

constexpr
slice<T>
rslice(isize const start) const noexcept
{
return this->operator()(len_ - start, len_);
}

constexpr
slice<T>
operator()(isize const start, isize const end) const noexcept
{
return slice{ptr_ + start, static_cast<isize>((ptr_ + end) - (ptr_ + start))};
}

constexpr
T const&
operator[](isize const i) const noexcept
{
return ptr_[i];
}

constexpr
T&
operator[](isize const i) noexcept
requires is_mut<T>
{
return ptr_[i];
}
private:
T* ptr_;
isize len_;
};
>>
This /dpt/ is better than the last one, but not as good as maid /dpt/ was. Where did the maidposters go?
>>
>>106709236
one was on /sci/
>>
>>106709236
Tired of the delusions and saccharine orgy
>>
>>106709271
I prefer delusion to despair and the saccharine, overly polite behavior was a nice break from the typical shitflinging in this thread.
>>
>>106709035
rarely do it unless it's a very local variable then just use x or y. or sometimes for very typical abbreviations like max, min, temp, avg, but otherwise for normal words i wouldn't do abbreviations
>>
>>106709236
fuck off eli
>>
>>106709295
Every thread there's people posting projects and code, but you people want something to bikeshed to
Maids also weren't polite, rather shouty and infantile
>>
>>106709236
visiting >>>/tv/ to talk about the fastman movie
>>
I was gonna post this on the /f/lash board, but there doesn't seem to be a way to make new threads. And besides this is sort of a programming thing too.

There was a cool flashplayer game called antbuster and I decompiled it with jpex flash decompiler and started poking around in it and seeing if I could make little tweaks and such. I've managed to work out a most of the parameters that give stats and properties to different cannons. I'm still trying to to dig deeper, but just for fun I gave the base cannon insane stats and also the projectile/special effects from the lightning cannon and oh my god its getting out of hand. Pic related.
>>
>>106706232
nazi sex
>>
these threads never change besides the OP image lol stop fucking pretending you guys are on some other shit.
>>
my concurrent queue is becoming more complex than i anticipated, but i think it will still be faster than moody concurrentqueue in high-contention workloads
>>
>>106710535
Bounded capacity queue or unbounded?
>>
>>106710662
bounded, moody is admittedly godlike with dynamic sizing, but i could extend the data structure behind the queue if i decide i need it
the main innovation which seems unique AFAIK is reducing producer/consumer sync operations for memory reclamation to O(1) amortized if queue capacity >> N entries
>>
>>106710264
reminds me of an early iphone game where you kill bugs by tapping. i don't remember the name or anything else about it.
>>
>>106709035
as a Java developer, I usually avoid it
full unabbreviated names are actually easier to type because IDEs can do smart auto-complete by substrings from each capital letter, which is less likely to have conflicts and ambiguities than abbreviated names
>>
>>106710775
>bounded, moody is admittedly godlike with dynamic sizing
for a bounded queue you just use a circular buffer; it's very fast (especially for power-of-two sizes) and the only areas you've got to think about contention in are the head and tail indices
circular buffers are damn awesome (with pretty good cache behavior), provided you can compute how much capacity you need ahead of time
>>
File: this is so broken.png (562 KB, 764x641)
562 KB
562 KB PNG
>>106710264
This is so utterly broken its hilarious. You can't even see the ants anymore. I'm getting less than 1 fps. (This is on a an old vostro with an i5 460M CPU, 2 core, 4 thread. Rated clock speed of 2.53 GHz but its maintaining 2.8 on both cores, albeit at about 82C)
>>
Do mutts actually use macs to program? Do they seriously learn python as their first "programming" language in college?
>>
>>106711268
yes americans program on their big macs
>>
>>106711171
yeah it's backed with a circular buffer atm
it can use arbitrary length payloads/batch commits, but for large data probably better to use an actor model that rpmallocs its own memory and serializes ownership using the queue. i think that covers everything i need bretty well without going into dynamic memory for the queue itself.
no consumer head index, no per-consumer polling
some hash-prng stuff for sqrt(N) contention among consumers on things like a first item hint and proactive dispersion before touching an item's atomics for pop()

all fetch-add/sub logic from push to pop
>>
>>106711288
and the next thing im toying with is building in a skip list to the queue's metadata structure
>>
was hoping for some help as a newbie in c, sorry if this is a stupid question. i tried using gdb, but my ability to follow it is limited.

i'm trying to set up a union for two different structs, each of them containing a member of that union. i'm trying to assign a pointer to the member(the union type), but keep getting segfaults.

struct s_leaf {
/* bunch of other variables and data, all work fine */
union u_tree *west;

};
typedef struct s_leaf Leaf;

union u_tree{
Node n;
Leaf l;
};
typedef union u_tree Tree;

Leaf *l = (Leaf *)malloc(sizeof(struct s_leaf));
Leaf *l2 = (Leaf *)malloc(sizeof(struct s_leaf));

l->west = l2;
[segfaults here in gdb]

Am i using the union type wrong? This is just a quick a example with a lot else going on, otherwise i wouldn't be using unions. Sorry if there are any small errors, i typed this up quick.
>>
>>106711553
oh i forgot to mention both mallocs are successful
>>
>>106711553
You're using unions wrong, try this:

struct s_leaf {
union u_tree west; /* value instead of pointer */
};
typedef struct s_leaf Leaf;

union u_tree{
Node *n; /*pointer instead of a value*/
Leaf *l; /*pointer instead of a value*/
};
typedef union u_tree Tree;

Leaf *l = (Leaf *)malloc(sizeof(struct s_leaf));
Leaf *l2 = (Leaf *)malloc(sizeof(struct s_leaf));

l->west.l = l2; /* access member of union */


They are meant to be used like structs, but only one value existing at a time
>>
>>106711553
Remove the `*` before `west` in `union U_tree *west`.

Basically, what is happening here is, you are saying "The Field `west` is a pointer to union u_tree`, making the size of `struct s_leaf` to be `field_sizes + sizeof(uintptr_t)`. But you are treating it as if the size of `s_leaf` is `field_sizes + sizeof(union u_tree)`.

The type of `west` field (which is the correct terminology for members of a data structure, not 'variable') might as well be `void*`. Or `uintptr_t`. It's a pointer type, not a concrete type.
>>
>>106706558
>for my emulator
which console/system?
>>
File: Woah.jpg (48 KB, 527x494)
48 KB
48 KB JPG
>>106707029
>OOP is concurrency
>OOP is a type system
>OOP is functional programming

>Based on that line of thinking, C with Classes also allowed you to define a call() function that was called before entry into a member function and a return() function that was called after exit from a member function. The call()/return() mechanism was meant to allow a programmer to manage resources needed for an individual member function invocation. This allowed me to implement monitors for the first task library. A task's call() grabbed a lock and its matching return() released the lock. The idea came partly from Lisp's :before and :after methods. However, the notion wasn't perfectly general -- for example, you couldn't access arguments for a member function call from call(). Worse, I completely failed to convince people of the usefulness of this notion, so I removed call() and return() when I defined C++.

>OOP is aspect oriented programing
>>
File: Smalltalk.png (3.04 MB, 1026x1384)
3.04 MB
3.04 MB PNG
>>106711731
OOP is love
OOP is life
>>
>>106708052
>int more_numbers = rand() & 1;
int more_numbers = rand() & 0xff;
>>
>>106711606
>>106711631
got it, thanks for the help
>>
>>106711634
pico8
>>
wtf... what do I do now that I can print to VGA. writing a kernel is hard
>>
>>106712072
Write a VT-100 emulator that uses the VGA buffer. Also, here's a collection of 7-8 small guides on writing a kernel, united in one PDF file.

https://github.com/Chubek/chubek/blob/master/os-howto-united.pdf
>>
File: lecture_004.png (1.48 MB, 1024x1024)
1.48 MB
1.48 MB PNG
>>106706232
I'm too tired to program. Work and ... stuff has me burnt out
>>
File: lecture_004_2.png (1.73 MB, 1024x1024)
1.73 MB
1.73 MB PNG
>>106712155
>>
>>106706232
Hey guys, I got some hw from my lecturer and I couldn't figure it out.
I need to make a javascript program to generate a random number from 1 to infinity.
He gave me a hint: Every order of magnitude is 10x as likely as the previous. Don't forget to use BigInt.
Could someone help me out with this?
>>
>>106712297
https://en.m.wikipedia.org/wiki/Linear_congruential_generator

This is the same method used by the jdb2 hash. Congruent number generators allow the 10x factor pretty easily.
>>
>>106711926
>https://en.wikipedia.org/wiki/PICO-8
>a fantasy video game console
Uh. I think I've heard of it but somehow thought it was a real retro console. A lot of console/game/hardware things are named pico.
What specification documents are you using? I can't find something looking like a spec with a description of the instruction set (for a bytecode VM here), how the interrupts, graphics and audio works exactly, the file format of the game files, etc..
>>
>>106712315
>What specification documents are you using?
Wiki: https://pico-8.fandom.com/wiki/Pico-8_Wikia

>I can't find something looking like a spec with a description of the instruction set (for a bytecode VM here), how the interrupts, graphics and audio works exactly, the file format of the game files, etc..
Basically, it runs custom lua dialect extended with semi low level stuff. There is a normal lua heap(2MB) as you would expect from lua runtime, and there is also 64k of addressable memory where the state of the machine resides at fixed locations, including framebuffer, sprites, tile maps, music(tracker), sounds, various other registers and general purpose addressable memory. Outside of that there is a stat() built in function which works kind of like cpuinfo and serial() for controlling gpio, stdio and pcm. There is some official documentation on their website, but wiki has bunch of undocumented features described too. You should be able to find everything there.
>>
>>106712305
Sorry this is pretty above me.. could you help me out some more?
>>
>>106712442
>cpuinfo
I meant CPUID

And the file format is just text file with sections for code and hex encoded sprites, maps, music, etc, formatted in a way that can be edited manually. You can also save games as pngs or export as html or executable binary.
>>
>>106706232
Is it retarded to have paralysis choice over what language to use? I'm more or less a noob compared with many people, and still waste a lot of time deliberating on what to use for a task (i'm autistic enough to care about not having too much unused shit around) Right now, i want to rewrite a couple of ugly shell scripts into something easier to manage. So far, i've procrastinated deliberating three main options:
>Python, it can be an annoying landmine of deprecations but is present on every major OS and has good libraries, some even built-in
>Deno, good balance between mainstream and comfy, a bit barebones by default but the runtime is a lot less herculean to vendor. It became a serious alternative now that it has this available (and basically a JS engine is a must for modern shitware, even yt-dlp needs it nowadays) https://deno.land/x/zx_deno@1.2.2
>Babashka, i use Clojure for personal projects so it feels like a natural fit, can do a lot of things by default; however the ecosystem is super narrow and if i'm grabbing yet another +100mb binary from internet might as well be something with eyeballs on top
>>
>>106712443
Someone? :(
>>
>>106712681
Nobody will do your homework. I gave you the shovel, not digging is up to you.
>>
>>106712710
Faggot you sent me a wikipedia MOBILE link Shut yo nigga ass up kike
>>
>>106706232

\ serves as escape when someone has hit spacebar while at videostream or scandi character
>>
>>106712744
bro this is number theory from freshmen year. just read it. i haven't been in college for 15 years and i still know it.
>>
>>106711631
>>106711606
completely figured it out. realized i was just fucking around in virtual memory and not really doing anything. thank you for your help
>>
>>106710349

do you want tv announcer read it for you
>>
>>106712072

obiviously perfect loop of that car on rotating floor
>>
>>106712442
>>106712479
>Basically, it runs custom lua dialect extended with semi low level stuff
>And the file format is just text file with sections for code and hex encoded sprites, maps, music, etc,
This makes more sense. I went to their website, saw the Lua stuff and wondered where the real stuff was.

That's a dumber honnestly. It's cool from a gamedev's perspective but for the emudev not so much. The CPU is where most of the fun is.
>>
>>106712648
nyaaa~ you’re being such a silly baka about this anon~ you’re sitting there like a tragic shounen MC agonizing over which power to pick when literally no one cares what language your little scripts are in lol

just use python if you want comfy & easy, it’s like the vanilla waifu of scripting – boring but reliable and always there for you. deno is like that cool new seasonal best girl that’s flashy but you’re not sure if she’s gonna survive past episode 12. babashka is niche clojure gf energy, cute if you’re already into her but super high maintenance.

stop min-maxing and pick the one that makes you feel good, anon-chan~ even if it’s “wrong” you’ll still level up your skill tree faster than sitting in paralysis mode~ uwu
>>
Same retarded bait every single thread.
>>
>>106712648
>Is it retarded to have paralysis choice over what [scripting] language to use?
Yes, it's profoundly retarded to think that each scripting language have its own use case.
They can all do basicaiily the same stuff, you should use only one.
>>
>>106712648
>Python, it can be an annoying landmine of deprecations
what?
>>
>>106712648
surely you must have a favorite language where you would reimplement the wheel over and over
>>
File: 1655416943097.jpg (24 KB, 507x461)
24 KB
24 KB JPG
what font you use?
>>
>>106710264
why modern browser stuff can't compete with Flash games? is it just lost technology?
>>
File: start-the-fire.png (47 KB, 500x200)
47 KB
47 KB PNG
>>106712155
>>106712179
do something very easy to start the fire
>>
>>106712297
>Every order of magnitude is 10x as likely as the previous
if i understand correctly, that doesn't seem possible in the real world, you would get to a point where the number has 100% probability to be generated very fast, so you would just stop there and never get near infinity
>>
>>106712648
use a dice to decide
>>
>>106708177

there is possibility of low resource repeat like

mv help help
>>
>>106710264
Man, I haven't thought about /f/ in a long time. I used to frequent it like 10-15 years ago.
I still have a bunch of SWFs saved.

>>106713769
You could do it with JS (+ wasm) into an HTML canvas, but that's not exactly trivial.
Maybe if there was some kind of easy editor that a bunch of edgy 15 year olds could make their animations/games in, but it just didn't exist when it needed to.
>>
My current projects:

> Awk2C (https://github.com/Chubek/Awk2C) [OCaml]

What it says on the tin. But it's not a naive compiler. It does optimizations, and optionally, compiles the ERE into C code. I'm planning to do SSA as well. Basically, all C does is register allocation.

Note: for idiots who think Awk is basically a buffed up version of Sed, no, it's not. It's a universal language (universal is what us smart people call "Turing Complete", don't ever use this word or you'll be put on the shortbus, it's as meaningless of a word as "Transpiler" --- which Awk2C is also NOT).

> MikroNES (https://github.com/Chubek/MikroNES) [C]

An NES emulator. I'm currently doing the 6502 VM, and working on PPU at the same time. I've decided to use SDL3 for graphics and audio..

> Diyrbal (https://github.com/Chubek/Diyrbal) [Undecided]

An interpreted language, I have good plans for it, like Tracing JIT and ISSA VM. Also, Green Threads, Erlang-style. Fed Joe Armstrong's thesis to Opus and got back pseudo-code for it. DId the same with JIT and GC and... Fed Opus papers and books and it gave me pseudocode. In a syntax I've perfected. It looks "Wirthian" but it's not. I call it "Sudolang". They are in the `sudo/` directory.


I wanna also make Squawk, or Awk in Rust. But I kinda don't wanna have 2 fucking Awk-related projects at the same time.
>>
>>106713769
Modern browsers support wasm and webgl, which are much lower level than flash, so they are more powerful. You can even use them to reimplement Flash, in fact, this has already been done and it's called Ruffle. If you click on any old game on newgrounds, that's why you are still able to play them like nothing changed at all.
>>
>>106714187
Well, now that I think about it, the old flash player was a native .so plugin, so I don't know if it's correct to say that wasm and webgl are lower level. Whatever APIs the plugin was using must have been at least as low level, probably lower.
>>
>>106714187
>which are much lower level than flash,
Bold claim.
>You can even use them to reimplement Flash,
The flash platform is no different from the JVM+JCL or dotnet. Nothing prevents you from implementing WASM in ActionScript. With all the memory leaks and exploits for VM escape, it's much much more general purpose than WASM.
>>
>>106706232
>>106706454
>>106706555
I'm trying to learn how to program but you're trying to make me jerk off and I'm getting distracted.
>>
I am trying to build a a raytracer in C. Every "basic" operation on vector (like scaling, cross, projection) creates a new vector from its inputs. Then I create "complex" operations by composing these basic operations. The problem is that all the result of all these intermediate operations stay in the memory (as the vectors are created by malloc). So, I need to manually free them every time I do a complex operation. Is this okay? Or, is there some standard way of doing these which doesn't require freeing all the time? I am new to programming without garbage collection.
>>
>>106714187
>lower level
There's a huge amount of overhead for running Flash games with Ruffle on WASM.

Flash games run on an interpreter (implemented in Rust) that is itself interpreterd (WASM bytecode interpreter).
>>
>>106714367
gooning is natural, programming is not
>>
>>106714396
You ought to manually free most things you allocate, including anything you do repeatedly that has a risk of using more and more space, the only allocations you generally don't care about are those that last until the end of the program (the OS will free all the process memory anyway). It's very similar to file handles, in c++ you manage both with constructors/destructors (basically like if "with" in Java was implicit to declaring variables or temporary expressions).
But with all of this said, why are you using dynamic memory allocation for what are presumably 3d vectors? They should have a fixed size and you should work with them on the stack (though you might need arrays of them on the heap)
>>
>>106714396
>So, I need to manually free them every time I do a complex operation. Is this okay?
No.
>Or, is there some standard way of doing these which doesn't require freeing all the time?
Don't make the function allocate anything. Make the functions take pointers to input and output vector structs.
>>
>>106714396
Have you considered not using malloc for everything?
>>
>>106714396
>>106714429
Also there are alternatives like arenas. An arena lets you free all the allocations used within it at once. Malloc autist complains all the time about this. Most people don't consider it a realistic alternative to most problems though (unless you have a real concrete memory bound on the whole thing).
>>
>>106714434
>taking pointers to 12 byte inputs
ngmi.
>>106714442
>muh arenas
malloc is already implemented as one, midwit
>>
>>106714429
>But with all of this said, why are you using dynamic memory allocation for what are presumably 3d vectors? They should have a fixed size and you should work with them on the stack (though you might need arrays of them on the heap)
The book I am using uses C++ and all the vectors are classes, all the operations are methods that accept vectors as references. So, I have written all the functions to accept pointers to vectors and return pointers to vector.
>>
>>106714451
>>muh arenas
>malloc is already implemented as one, midwit
not it's not, retard
>taking pointers to 12 byte inputs
ngmi.
if the vector is on the heap then either the caller or the function will have to dereference it, so it doesn't matter
if the vector is on the stack and if the function gets inlined and it should, the compiler will be able to remove the dereference and act on local variables directly, therefore on registers depending on register allocation. it doesn't matter
>>
>>106714451
>>taking pointers to 12 byte inputs
>ngmi.
So, how large should a structure be for me to use pointers? Also, a 3d vector of double is 24 bytes on my computer.
>>
>>106714497
std::vector is a dynamically sized resizable array, you don't want to use std::vector for a 3d vector type. Make your own, you can even write custom operators if you want,
>>
>>106714537
NTA but he's thinking floats, also you're probably doing sizeof or seeing the size of just the vector. But the vector<T> has N elements of T, so you won't see the N * sizeof T (or more than N in reality because it allocates more than it needs). A vector of 3 doubles is always going to include the cost of the 3 doubles, it just also has the book keeping for the possibility of it having any other number of doubles and to resize efficiently. (In this specific example it's twice as big because a general pointer on x64 has the same size as a double - a full scalar register)
>>
>>106714396
This is not okay at all, it will make the program a lot slower and a lot harder to write as well. For intermediate operations, vectors should be allocated on the stack, and passed around as value. You should only allocate a few big buffers for data that actually needs to stay there and be accessed by many different functions at different points in time, like the output pixels, all the scene objects, etc.
>>
>>106714564
The C++ niggers who chose that name should never be forgiven
>>
File: avatar.jpg (54 KB, 976x850)
54 KB
54 KB JPG
>>106714497
>I'm using a shitty book that does retarded thing.
What did I tell you about reading books, anon?
Bet it didn't even tell you how floating point type is handled in hardware and why concept of reference or a pointer to a mathematical vector is fucking niggerlicious dunning kruger nonsense.
https://godbolt.org/z/naYc151qd
>>106714526
The vector is in xmm register, fuck off subhuman nocodeshitting tranny. Go get a job at mcdonalds or something, you aren't cut out for this.
>>106714537
>double
also get a job at mcdonalds if float isn't good enough for your toy raytracer 98% of which you are copypasting from one single book that everyone and their mom read at some point in their lives and haven't benefitted in any way


Here, I'll spoonfeed you https://godbolt.org/z/bj4K7vY8W
>>
>>106714599
rude frogposter
>>
>>106714619
dumb nocoder, respect is earned
>>
>>106714647
>nocoder
go back to the vidya dev thread
>>
>>106714396
When you're a beginner it's ok to just ask an AI. Chatgpt is dumb but it knows this basic stuff.
>>
>>106714668
No it isn't, it straight up makes shit up about documentation, limitations, safety, original developer intent and whatever bullshit pollution coming from shit books like "clean code by Mr retard nocoder".
>>106714653
I don't post on /v/
>>
>>106706232
Zani on /g/? Didn't expect that.
>>
>>106714691
then stop saying nocoder you stupid faggot
>>
>>106714588
>For intermediate operations, vectors should be allocated on the stack, and passed around as value.
What about the inputs? If they are allocated in the stack in the caller, should I still pass them as value to the operators or does reference make more sense. Certain operations require maybe 3 or 5 vectors, so I feel like that's a lot of copying.
>>
>>106714698
you can pass a matrix as a reference if you really want to. just dont use std::vector for a statically fixed size vector.
>>
>>106714698
It doesn't matter where they're allocated.
Neither compiler nor your computer cares about meaningless distinction like "stack" and "heap", they're all in exact same memory and there's no performance difference between the two.
>>
>>106714706
>badadvicetechnicalityfag
>>
>>106714716
When you're in a tight loop, the only thing that matters is icache pressure, branch predictor confusion pressure and memory bandwidth, dumb nocoder.
>>
i also get mad at words
>nocoder
don't say coder or coding at all when referring to programming
>>
>>106714720
Of course it's the vidyatard who is too narcissistic to teach beginners
99% of his code won't be tight loops so shut the fuck up
Get a trip so we can filter you, it's a matter of time before you troon out and start using an avatar like maidfag and get banned
>>
>>106714733
100% of code in a raytracer is a tight loop that crunches numbers, fucking kill yourself retarded nigger.
>>
>>106714738
>Code written
>Code ran
The funniest thing about vidyatard devs who call people "nocoders" and "nodevs" is that they NEVER release complete software, they seem to think other people are going to respect them for spending their whole life making one function 10% faster than versions written by people in a week or two
>>
>>106714732
I will say "programmer" when this thread will advance past
>nocoding
(You) are here
>coding
>noscripting
>scriptkitting
>scripting
>noprogramming
I'm fucking tired of "casual" keyboardcucks, lets make it ranked.
>>
>>106714691
You really think an AI response would have been worse than the shitpile of replies he got from this thread?
Even if he was able to magically tell good advice from bad advice as a beginner, what selection of replies would have been more useful than this? https://pastebin.com/raw/wRtB4QEe
>>
Whats the corporate approved way of preparing and planning for a project in programming?
>>
>>106714770
LLM told me all about pass reference and I stopped reading right there and then. Yes, it is worse than him having to wade through shit to find my reply.
>>
Every time I ask a question here about C, a fight breaks out.
>>
>>106714762
That last one doesn't even make sense since nogramming flows better but then I'm not invested in lingo that doesn't fucking belong on /g/
Go back to the vidya dev thread, or better yet go back to rddit if you want personal attention so fucking badly on an anonymous imageboard
>>
>>106714777
Because the only poster who's correct about anything done in C uses C++ and yes, that's me. I can shit on C and I can program in C better than nocodeshitters who defend this shitty language.
>>106714780
I'm not invested in posters who don't belong on /g/ either. Could you give me your full name and your social class on this earth so I can make sure it makes sense for me to follow your orders? Nocoder.
>>
File: chad stallman.png (195 KB, 759x609)
195 KB
195 KB PNG
>>106714732
trvth nvke

https://stallman.org/stallman-computing.html
> I find it bizarre that people now use the term "coding" to mean programming. For decades, we used the word "coding" for the work of low-level staff in a business programming team. The designer would write a detailed flow chart, then the "coders" would write code to implement the flow chart. This is quite different from what we did and do in the hacker community -- with us, one person designs the program and writes its code as a single activity. When I developed GNU programs, that was programming, but it was definitely not coding.
>>
>>106714770
It's literally one narcissist >>106714795
He's fucking obsessed with the small tidbits of knowledge he thinks he has and sees spamming it here as his only chance of getting any sort of respect from his fellow man
>>
>>106714777
C autism is a severe disability
>>
>>106706232
In haskell, if foldr starts from the right/end, then how does it work for infinite lists that have no end? LLMs keep repeating that haskell is lazy, but how does that help when there is no end in sight?
>>
>>106714806
Small tidbits of knowledge that mindbreak nocoders. Especially when I tell them that it is important and saying it's not important does make you a fucking stupid nocoder.
>>
>>106714820
Why are you using 4chan if you hate anonymity so much?
>>
>>106714808
You can save some sanity and prove that you're not autistic by using C++ where instead of choosing between "value" and "pointer" you can just put a reference which means exactly what you think it does and compiler will decide the most optimal thing without you having to alter your syntax and worry about how many levels deep you are in dereference syntax hell.
>>106714830
>Deflecting from the point being made
I accept your concession, have a nice day.
>>
>>106714599
>The vector is in xmm register, fuck off subhuman nocodeshitting tranny.
And? Idiot.
Here I'll spoonfeed you: https://godbolt.org/z/qejs4s17z
>>
>>106714838
I made the point and you agreed, every other fucking thread you throw the same tantrum and make it so fucking obvious it's you posting. This is an anonymous imageboard so fuck off.
>>
>>106714819
for ["a", "b", "c"...] foldr does "b" + "a" then "c" + ("b" + "a") and this works really well with laziness. It doesn't reverse the list, just accumulates from the right/next part instead of left/first part.
foldl would do "a" + "b" then ("a" + "b") + "c" which could lead to stackoverflow because of laziness. a strict/immediate eval would do "a" + "b" then "ab" + "c"
>>
>>106714857
Erm... What the sigma. I see you're trying to gaslight here, so here's some advice for you, stupid beta, try to pick a victim who's beta like you, because I mog you, and reset your mewing streak. You just lost the game too.
>>
>>106714819
because it calls (f x s), where is is the recursive foldr call. f can decide whether or not to evaluate s (the next step in the recursive call). If it doesn't then none of the remaining recursion is evaluated.
(The other way of seeing it is that (foldr f z) replaces every : with an f and every [] with z.)
>>
>>106714796
Most of them are literally coding. They code from the tutorial instructions and then get stuck when there are no more instructions to follow.
>>
>>106714883
e.g. (foldr (&&) True xs) where xs = True : False : xs
= (&&) True (foldr (&&) True (False : xs))
= foldr (&&) True (False : xs)
= (&&) False (foldr (&&) True xs)
https://hackage.haskell.org/package/base-4.21.0.0/docs/Prelude.html#v:-38--38-
>Boolean "and", lazy in the second argument
>True && x = x
>False && _ = False
So the (foldr (&&) True xs) we were discussing before - which if evaluated at this point would mean its infinitely recursive - gets assigned to _ and not evaluated, False is returned directly.
>>
>>106714930
And if they get lucky enough to ever be paid for what they do, there's a very good reason why we call them codemonkeys.
>>
>>106714960
Yep, Python and JS have done insane damage to software by pretending that the coders can program.
Teaching coding only works when you have competent designers and architects like they did in the early days, but any actual programming teaching these days results in screeches of "gatekeeping" because it will filter 95%+ of people (and 99.99% of jeets).
>>
Look at this fucking idiot.

https://www.youtube.com/watch?v=qjKR74Fga1s

A computer does not "count" motherfucker, just as a fucking abacus does not count. What the fuck does this infant mean by "Counting"?

Compsci students must be issued an abacus the moment they enroll, and for the first semester, they should JUST use the abacus.

That's why Animeistan is ahead of the world. They teach their students how to work the Japanese Abacus in fucking middle school.
>>
>>106715041
Look at this redditspaced ragebait ad with a bullshit clickbait thumbnail lmao.
Didn't watch, kill yourself.
>>
File: 1752404998480966.jpg (110 KB, 941x1169)
110 KB
110 KB JPG
>>106715041
Oops, forgot pic
>>
>>106715041
>log (1 decillion) / log 2
>109.6
>>
>>106715058
>log (1 decillion)
>33
Fucking masons
>>
>>106714930
I design my programs, then give the design to an LLM, plus the EBNF grammar for "Sudolang", a pseud-code language. It then gives me the "code" that I need to write. Then I "program" the code.

Programming != Coding

https://mathematics.stanford.edu/events/leslie-lamport-programming-coding

I usually gather data from scientific papers and books. Then I write a Markdown file, explaining how I wish to design to be. I'm currently doing that for my language Diyrbal, NES emulator MikroNES, and Awk compiler, Awk2C.

I feed the books, papers and the Markdown file to an LLM like Opus. Then give it the EBNF specs for Sudolang. Then, I tell it that I want it 'piecemeal'.

I then incrementally have it generate the code in Pseudolang.

Then, I "program" the application.

Lamport is famous for hating code-monkeys. The speech I posted above is full of him snark at "coders". Lamport cannot code, he says it himself. But the entire field of Concurrent and DIstriubted Programming owes itself to Lamport's 1979 paper, which is still valid, even after nearly 50 years has passed.

YOU NEED TO BE PROGRAMMERS, NOT CODERS.

And you don't need to spent millions becoming a programmer. You can code on your phone.
>>
>>106715025
It's really sad to me that the remaining 5% aren't in this thread and I get reddit tier pushback to even trivial stuff like adding 2 vectors correctly without overcomplicating it.
>>
>>106715082
There are some, but most are sick of the coders needing to be spoonfed constantly. They gave up because of all the chains of
>How can I do X?
>>Using Y
>How can I use Y?
>>Read about it here
>How can I ...
But around here it's often just one of the resident schizos determined to shit everything up.

And, of course, since from ~2015 the internet has universally gone to shit because of the paid shills and jeets that are forced everywhere to sow conflict and reduce everything to the lowest common denominator.
>>
>>106715155
Those are just one spammer baiting constantly daily.
You can see him asking random irrelevant shit slightly reworded with a LLM every single thread.
>>
>>106715155
I hate this goddamn "Dev.to" or "Medium" or whatever blogs. They have no substance. Imagine Skeeto's blog being a sweet, savory, umami-riddled dish. Now take that dish, shove it down a monkey's throat, give him Yappikak, and when he throws up, smear the post with excrements of a Jewish usurer, and you get Medium and Dev.to blog posts.

If you really have something to say, don't post on a blogging service that pays you for traffic. Make a Github pages blog. I'm waiting for my language, Diyrbal, to become stable, so I can write my own static blog generator and use it alongside Github Pages.

And, every-goddamn-time I see one of this parasitic blogposts, it's an Indian name behind it.

Their unis suck. Look at my SWE carriculum (I dropped out, but still): pastebin.com/DqxdrbPH

It's mostly theory-based. Teachers had us write code ON PAPER. But in Pajeetistan, they fucking use Turbo C!
>>
>>106715161
But why? Is he being paid to do it?
He (or they) have been at it for God knows how long and the style of answer/bait changes.
It doesn't make sense for one person to dedicate a huge portion of his life to shitting up an anonymous thread while getting shit on for it every day for years.
I can't believe it's trolling. It's a purposefully malicious attempt to push people away from /g/ by destroying one of the few threads that isn't purely consooming.
>>
I also must add:

WHAT THE FUCK IS UP WITH INDIAN "PROFESSORS" WRITING GARBAGE BOOKS??!!

O. G. Kakde comes to mind. He just writes shit book after shit book, and he does not relent. His books are fucking garbage. Yet, he needs to have it on his resume. They just write books as resume-padders.

At least, American writers write to get rich!

https://www.youtube.com/watch?v=nmnQoDjsWDA
>>
>>106715227
No, he just gets attention every single time and enjoys it.
>>
>>106715233
That's only believeable if he did if for a few weeks/months or took breaks in between.
He has been here almost every day for years. People don't wake up and want to dedicate their life to annoying random anons.
>>
>>106712886
>That's a dumber honnestly. It's cool from a gamedev's perspective but for the emudev not so much. The CPU is where most of the fun is.
Well, not for me. I didn't really want to make an emulator or emulation console for real hardware, I don't really find it that interesting on its own. This project was meant to be just a console with Lua running on it so me and some of my friends can make games and have it as a physical console. The project has already been going for a while before I even found out about pico-8, and after some considerations I decided to just use same api/runtime as pico-8. That wasn't that much of a deviation from the original plan and it could be really beneficial because I would be able to leverage existing tooling, documentation and have actual games on it written by other people than us. I can literally use official emulator in automatic tests to check for compatibility. And it's really simple architecture so emulating it isn't that hard to do.
>>
>>106715250
They do. I'm one of them.
Every single day I go on youtube and start spitting vitriol in comment section.
It's calming.
>>
Recommend me a project to do in Java. I don't have a work sample in Java in my portfolio. And the corporate world really depends on Java in my city. That, and Delphi. Fuck Delphi. It's a jeet language, through and through. I want to believe Indians get their jeet-ness from the Dravidian scum, and the pure Indo-European genes transferred to their cesspool of genetics by my ancestors is the only saving grace of India. But when these supposed "Aryans" post 3-4 Delphi jobs on Jobinja.ir every goddamn day (and that's just for my city, mind you, it has a tiny software industry, despite having the same population as fucking L.A.), then how can I answer to The Indo-European Skyfather when I eventually strap a nuke to my chest and blow up every Ashkenazi Jew who lives in Tel al-Abib?

I just hope the IRGC does not write the guidance program for their cruise missiles in Delphi...

I do hate Delphi, but mind you, I fucking love Pascal (Object Pascal and ISO Pascal) and I plan on writing an Object Pascal -> CIL compiler. I call it "P#" ,or "W#" ('W' standing for "Wirthian").
>>
https://medium.com/c-sharp-programming/what-is-the-common-intermediate-language-in-c-78ed72037dd5

Fucking hell man. When you Google 'Common Intermediate Language', instead of the specifications, this goddamn shitty slop shows up.

And it's written by a Turk! Should we rename the "Jeet" moniker to "Mehmet"?
>>
I think namefaggots should be gassed and pedophilia legalized.
>>
File: file.png (138 KB, 716x330)
138 KB
138 KB PNG
>any project advice for java kind sirs
>fuck delphi though that's for dalit scum
>am I right my fellow Aryans
>>
>>106715328
>>106715342

> le chanspeak
> le leejun mindset
> le anonymuse le h4x0r
> le im behind seven boxyys!
> le "Rule #2 of /b/"
> le rage comic
> le advice animal
> le pictures of dirty underwear

Oh man. I just enjoy is to much that there are retards stuck in 2010 still on 4chidori. Those were better times.

However, mr. "Leejun", go outside and touch grass. Of course you're probably Indian, so go outside and touch e-waste from richer nations.
>>
>le namefagged reddditspaced redditor post
who let this animal out of chinese bot engagement farm
>>
>>106715300
Implement JVM in Rust.
>>
>>106715386
Honestly, ever since 4chidori was unbanned in my country, and I came here, I expected a lot more vitriol. This website has tamed in recent years. Probably because /b/ is now transplanted into the Oval Office.

Look my dear /g/entoomen, I hate homosexuals as much as the next guy from Iran does, but would you fucking cease your usage of the term "Faggot"? It's just so blaze and passe. Come up with new terminology ffs.
>>
>>106715400
I hate Rust, but I'm already implementing Awk in it. It's much easier, because I'll just tree-walk.

If you are interested in implementing JVM, read "Advanced Design and Implementation of Virtual Machines" by Xiao Fang Lee. Solid book.
>>
>faggot doesn't get a (You)
>responds to himself
sucking your own dick is endless recursion in a function of faggotry. I hope you will get the mental health help that you desperately need before you either kill yourself or have a muslim push you off a roof.
>>
>>106715422
I've been on 4chan since before your mom was force-fucked in Denny's parking lot after she overdosed on crack, and you were conceived. I do not care the __slightest__ about "le chanetiqquette". I care less about chanediquette than I care about the taboo on masturbating whilst dreaming of your aunt. And I have done that several times.
>>
>tries to do reddit formatting
>>
Next thread
>>106715518
>>106715518
>>106715518
>>
>>106715451
It's not "Reddit formatting" you moron. It's Markdown. John Gruber invented it, but it was based on an older language by Aaron Swarts. If the gook that runs 4chan is not smart enough to realize "BBCodes" are prehistoric and he must add Markdown formatting as markup, then fuck him.

Markdown is intuitive, and you necessarily don't need to render it so people would understand. It's based on Usenet conventions.

But it goes further than Usenet, further than the Aloha Network, further than the printing press, even. And ironically, this is the aspect that most markups, even 4chan's have.

I'm talking about:

> le greentext

Back in the days of old, when monks copied Bible quotes into their codices, they used a left angle bracket, or the "greater than" sign to denote they quote.

Can you fucking believe it.

The purpose of this post is two-fold. Not only I can say a cool fact, but also, I get to anger this troglodyte.
>>
>>106715342
Why are you bringing up 20 year old memes for no reason? Did you reply to me by accident or something? Anyway, Java sucks, you're a retarded namefag and you should stop posting
>>
>>106715080
Coding doesn't exist, stfu.
>>
>>106715417
>If you are interested in implementing JVM, read "Advanced Design and Implementation of Virtual Machines" by Xiao Fang Lee. Solid book.
sweet book indeed
>>
File: file.png (43 KB, 1234x209)
43 KB
43 KB PNG
kind of suspcious for a porn site to be send information about my architecture, precise web browser version and kernel version, right?
>>
>>106715715
its browser fingerprinting theyre iding you
>>
>>106715229
They write books in simple english for jeets to understand. Most jeets cannot read books written by white men. They generally cover a fair bit of philosophical discussion or motivation or something that's not just 100% coursework. Indian professors would take a book written by a white man and then remove all these discussions, keeping only what's relevant to the syllabus.
>>
>>106709035
i wrote a program that generates completely random hex identifiers surrounded in underscores and use those for every single identifier i can
i sometimes put comments near things for some context clues
for smaller blocks of code or algorithms i'll use a sort of shorthand pattern like `qq, qw, qe, qr, wq, ww, we, wr, eq, ...`
>>
>>106716363
that's what I thought
it also contain all the information needed for explointing the browser though
>>
>>106714396
>Every "basic" operation on vector (like scaling, cross, projection) creates a new vector from its inputs
why allocate if you are copying the value each time? am i missing something here?



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