Conversation
Notices
-
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Thursday, 22-May-2025 18:51:09 JST Phantasm
@tinfoil-hat
microsoft-tech-support-forums.jpg
microsoft-tech-support-forums1.png
microsoft-tech-support-forums2.png
microsoft-tech-support-forums31.png
microsoft-tech-support-forums32.png-
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Thursday, 22-May-2025 23:42:21 JST Eric Zhang 2: Episode 1
@phnt @tinfoil-hat remember: a string is just an array of characters so you can always just use a for loop instead Phantasm likes this. -
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Thursday, 22-May-2025 23:47:21 JST Phantasm
@kirby @eric @tinfoil-hat Then catch that exception and decrement the counter by one :meowDerpy: -
Embed this notice
KIRBY!! :pleromatan: (kirby@fsebugoutzone.org)'s status on Thursday, 22-May-2025 23:47:24 JST KIRBY!! :pleromatan:
@eric @phnt @tinfoil-hat this isn't c, there is no null terminator after the string in c# so you'd just have an exception thrown when you try accessing out of bounds index on it -
Embed this notice
KIRBY!! :pleromatan: (kirby@fsebugoutzone.org)'s status on Thursday, 22-May-2025 23:55:38 JST KIRBY!! :pleromatan:
@phnt @eric @tinfoil-hat hackiest shit ever though, not to mention my purposeful omission of the inconvenience of having to write a loop every time you want to get the length of a string in the most inefficient way possible when there's a cached number in memory already Phantasm likes this. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:06:50 JST Eric Zhang 2: Episode 1
@kirby @phnt @tinfoil-hat why is .net so big -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:06:50 JST Eric Zhang 2: Episode 1
@kirby @phnt @tinfoil-hat i won Phantasm likes this. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:06:53 JST Eric Zhang 2: Episode 1
@kirby @phnt @tinfoil-hat actually no, i am gonna write a for loop implementation in java, give me a sec i am showering rn -
Embed this notice
KIRBY!! :pleromatan: (kirby@fsebugoutzone.org)'s status on Friday, 23-May-2025 00:06:53 JST KIRBY!! :pleromatan:
@eric @phnt @tinfoil-hat nevermind you're just acting like a retard and pretending it's funny -
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Friday, 23-May-2025 00:07:16 JST Phantasm
@eric @kirby @tinfoil-hat I wonder if the compiler actually optimizes that out and replaces it with a built-in :D -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:08:03 JST Eric Zhang 2: Episode 1
@phnt @kirby @tinfoil-hat very likely Phantasm likes this. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:16:07 JST Eric Zhang 2: Episode 1
@phnt @kirby @tinfoil-hat just for the sake of it i did my daily public static void main string args (🗣️🗣️🗣️) and rewrote it in java Phantasm likes this. -
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Friday, 23-May-2025 00:17:23 JST Phantasm
@dsm @kirby @eric @tinfoil-hat Since it's a static string that is never changed, I wouldn't be surprised if the compiler embedded some info about that string into the binary which the runtime can then use. -
Embed this notice
di0nysius the patomskyite (dsm@fsebugoutzone.org)'s status on Friday, 23-May-2025 00:17:26 JST di0nysius the patomskyite
@kirby @eric @phnt @tinfoil-hat
"I don't know" does not make it a free action. -
Embed this notice
KIRBY!! :pleromatan: (kirby@fsebugoutzone.org)'s status on Friday, 23-May-2025 00:17:28 JST KIRBY!! :pleromatan:
@dsm @eric @phnt @tinfoil-hat like I dunno, if you were to write a generic array type for a language it might look something like this:
struct {
void *data;
size_t data_len;
};
not thinking cpu cache I'm just saying theres probably a value in memory which has the length of the object already. -
Embed this notice
di0nysius the patomskyite (dsm@fsebugoutzone.org)'s status on Friday, 23-May-2025 00:17:29 JST di0nysius the patomskyite
@kirby @eric @phnt @tinfoil-hat
What wrote that to the cache, and how was it derived originally? -
Embed this notice
KIRBY!! :pleromatan: (kirby@fsebugoutzone.org)'s status on Friday, 23-May-2025 00:17:30 JST KIRBY!! :pleromatan:
@eric @phnt @tinfoil-hat That's the for in loop, stops automatically when it reaches the end of an array. Still probably references a cached value to know when it reaches the end. I was thinking of the traditional 3 column for loop though. -
Embed this notice
Kirino Kousaka (kirino@shitpost.cloud)'s status on Friday, 23-May-2025 00:20:06 JST Kirino Kousaka
I agree with Kirby because he has an anime pfp and seems chiller.
I have no other reason to believe this.Phantasm likes this. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:20:31 JST Eric Zhang 2: Episode 1
@kirby @phnt @tinfoil-hat surprisingly i don't think the java compiler optimized this one Phantasm likes this. -
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Friday, 23-May-2025 00:23:28 JST Phantasm
@kirby @dsm @kirby @eric @Kirino @tinfoil-hat I think you are treating a shitpost thread too seriously. And dsm is just doing dsm things. -
Embed this notice
kirby (kirby@freerobuxextremist.com)'s status on Friday, 23-May-2025 00:23:29 JST kirby
@Kirino @phnt @dsm @kirby @eric @tinfoil-hat Did something just completely go over my head, or why's everyone treating me like a god damn cripple here? -
Embed this notice
kirby (kirby@freerobuxextremist.com)'s status on Friday, 23-May-2025 00:24:49 JST kirby
@Kirino @dsm @eric @kirby @phnt @tinfoil-hat s/or// -
Embed this notice
kirby (kirby@freerobuxextremist.com)'s status on Friday, 23-May-2025 00:33:42 JST kirby
@eric @phnt @dsm @kirby @Kirino @tinfoil-hat And then you suggested using a for loop instead of an abstraction already provided as builtin and that caused me to cummie in my panties. Phantasm likes this. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:33:43 JST Eric Zhang 2: Episode 1
@phnt @kirby @dsm @kirby @Kirino @tinfoil-hat i literally just said a string is just an array of characters and it's an objective fact btw :facebook_frog: -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:33:50 JST Eric Zhang 2: Episode 1
@kirby @phnt @dsm @kirby @Kirino @tinfoil-hat no grooming pls keep this thread family friendly pg clean Phantasm likes this. -
Embed this notice
Kirino Kousaka (kirino@shitpost.cloud)'s status on Friday, 23-May-2025 00:35:14 JST Kirino Kousaka
Fair enough.
I really need to pick C# back up actually, I know it's shat on a lot but actually SUPER enjoyed all the features it had. (Felt super easy to jump from PHP / Kotlin / Java background)
It's main two fucking issues are the documentation is ASS and it did that thing where EVERYTHING became an Object no matter what is in the standard library.
I once wanted to add a user-agent to one of the most common Web Client Library's request header (bypass anti-spam shtuff) and not only could I find no documentation on the process (the documentation I found was for a much older version) but when I decided "Fuck it, I'll just read the source and see where I can update / inject my own header..."
THE CLIENT HAD A PAYLOAD OBJECT
THE PAYLOAD OBJECT HAD A HEADER OBJECT
THE HEADER OBJECT HAD A PROPERTY OBJECT
THE PROPERTY OJBECT-
And it just kept fucking going and it's like, motherfucker why don't you just use a map and serialize the fucking thing?! Anyway rant over.
TL;DR Fuck C#, I love that language.Phantasm likes this. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:35:15 JST Eric Zhang 2: Episode 1
@Kirino @phnt @kirby @dsm @kirby @tinfoil-hat it is, i just wanted to prove my point -
Embed this notice
Kirino Kousaka (kirino@shitpost.cloud)'s status on Friday, 23-May-2025 00:35:16 JST Kirino Kousaka
I think iterating over a string to get it's length is kinda retarded. Kirby has a point that any decent language probably caches and updates a "length" property of the string and will have MUCH faster access time. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:37:19 JST Eric Zhang 2: Episode 1
@kirby @phnt @dsm @kirby @Kirino @tinfoil-hat what are you writing? c89? literally stop putting int i; on a new line pls
-
Embed this notice
kirby (kirby@freerobuxextremist.com)'s status on Friday, 23-May-2025 00:37:20 JST kirby
@eric @phnt @dsm @kirby @Kirino @tinfoil-hat this:
int i;
for (i = 0; penis[i] != 0; i++);
wouldn't work in c# unless you catch the out of bounds exception that will inevitably be thrown, and is totally unnecessary anyways when there's a fucking abstraction in c# you can use instead. -
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Friday, 23-May-2025 00:37:58 JST Phantasm
@eric @kirby @dsm @kirby @Kirino @tinfoil-hat This whole thread can be labeled as weaponized autism. Just like the "worst way to copy directory structures without using cp -r" one. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:37:59 JST Eric Zhang 2: Episode 1
@kirby @phnt @dsm @kirby @Kirino @tinfoil-hat the for loop you mentioned will work in c# -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:38:00 JST Eric Zhang 2: Episode 1
@kirby @Kirino @dsm @kirby @phnt @tinfoil-hat btw -
Embed this notice
kirby (kirby@freerobuxextremist.com)'s status on Friday, 23-May-2025 00:38:00 JST kirby
@eric @phnt @dsm @kirby @Kirino @tinfoil-hat what are you trying to prove here -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:40:48 JST Eric Zhang 2: Episode 1
@kirby @Kirino @dsm @kirby @phnt @tinfoil-hat well you got me actually -
Embed this notice
Kirino Kousaka (kirino@shitpost.cloud)'s status on Friday, 23-May-2025 00:41:11 JST Kirino Kousaka
I like how at no point you two have disagreed on pretty much anything apart from the smallest semantic and yet it's blown up into this lmao Phantasm likes this. -
Embed this notice
kirby (kirby@freerobuxextremist.com)'s status on Friday, 23-May-2025 00:41:12 JST kirby
@eric @phnt @dsm @kirby @Kirino @tinfoil-hat No null terminator or whatever so that obviously wouldn't have worked. That was my frame of mind the entire time with the 3 column loop. -
Embed this notice
tsoifan1997 (sysrq@lab.nyanide.com)'s status on Friday, 23-May-2025 00:56:37 JST tsoifan1997
@kirby @phnt @dsm @kirby @eric @Kirino @tinfoil-hat I'd do it in a few assembler lines but I can't be fucked. pwm likes this. -
Embed this notice
kirby (kirby@freerobuxextremist.com)'s status on Friday, 23-May-2025 00:56:38 JST kirby
@sysrq @phnt @dsm @kirby @eric @Kirino @tinfoil-hat best possible implementation. can we get any better than this -
Embed this notice
tsoifan1997 (sysrq@lab.nyanide.com)'s status on Friday, 23-May-2025 00:56:39 JST tsoifan1997
@kirby @phnt @dsm @kirby @eric @Kirino @tinfoil-hat :crackpipe: int i=0; while(*(str+i)) i++; -
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Friday, 23-May-2025 00:57:37 JST Phantasm
@eric @kirby @dsm @kirby @Kirino @tinfoil-hat Wanted to troll the thread with a C++ range-based for loop implementation, but turns out that my C++ toolchain is somehow broken and won't link :DD -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 00:57:38 JST Eric Zhang 2: Episode 1
@Kirino @phnt @kirby @dsm @kirby @tinfoil-hat worst thread ever actually -
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Friday, 23-May-2025 01:16:18 JST Phantasm
@eric @kirby @dsm @kirby @Kirino @tinfoil-hat Actually Linux moment. Can't even compile hello world. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 01:16:18 JST Eric Zhang 2: Episode 1
@phnt @kirby @dsm @kirby @Kirino @tinfoil-hat fuck a tour of c++ actually (also haven't used vim directly in a long time) Phantasm likes this. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 01:16:19 JST Eric Zhang 2: Episode 1
@phnt @kirby @dsm @kirby @Kirino @tinfoil-hat windows moment -
Embed this notice
Kirino Kousaka (kirino@shitpost.cloud)'s status on Friday, 23-May-2025 01:22:28 JST Kirino Kousaka
What if I told you I'm using Rider on Linux to write my C#.
Now you're scared. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 01:22:28 JST Eric Zhang 2: Episode 1
@Kirino @phnt @kirby @dsm @kirby @tinfoil-hat never forget Phantasm likes this. -
Embed this notice
di0nysius the patomskyite (dsm@fsebugoutzone.org)'s status on Friday, 23-May-2025 01:22:30 JST di0nysius the patomskyite
@eric @phnt @Kirino @kirby @kirby @tinfoil-hat
It's a C# thread. You're all filthy winfags. -
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Friday, 23-May-2025 01:33:10 JST Phantasm
@eric @kirby @dsm @kirby @Kirino @tinfoil-hat
image.png -
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Friday, 23-May-2025 01:55:46 JST Phantasm
@eric @kirby @dsm @kirby @Kirino @tinfoil-hat
>returning to the gate for a mechanical issue
What kind of error message is that :D -
Embed this notice
di0nysius the patomskyite (dsm@fsebugoutzone.org)'s status on Friday, 23-May-2025 03:17:56 JST di0nysius the patomskyite
@eric @Kirino @kirby @kirby @phnt @tinfoil-hat
WSL doesn't make it *nix, Mono is still Windoze shite.pwm likes this. -
Embed this notice
Eric Zhang 2: Episode 1 (eric@pl.starnix.network)'s status on Friday, 23-May-2025 03:17:57 JST Eric Zhang 2: Episode 1
@dsm @phnt @kirby @kirby @Kirino @tinfoil-hat i wrote c# on linux
-
Embed this notice