//g/
File: c_floor.png (1.7 MB)
1.7 MB
What are you working on, /g/?

Previous: >>108971267
Showing all 177 replies.
>>
No one tell him
>>
File: 1757281952272415.png (369.3 KB)
369.3 KB
the more I learn about programming the more retarded I feel, it's literally the tip of the iceberg and brainless as fuck to be able to make applications using existing languages. all of the actual geniuses that know how to code are working on frameworks, libraries, and compilers to optimize our dogshit code and actually make them work behind the scenes.
>>
>>108993855
All of the actual geniuses that know how to design processors are working on branch prediction, pipelines, and cache to optimize our dogshit compilers and actually make them work behind the scenes.
>>
>>108993855
Well as the Japanese say, if you don't feel competent in your work, you're doing it right.
>>
>>108993930
The japanese also say if you're the one sleeping with your wife you're doing it wrong
>>
>>108993855
The more you learn, the more you realize how much you still don't know. I'm learning OpenMP right now, and I swear I keep running into the same basic issues over and over again.
>>
>>108993885
The real geniuses are way below all that, down at the transistor level, tweaking layout, sizing, and electrical characteristics just to compensate for our shitty digital designs and actually make them work behind the scenes.
>>
>>108993942
No the Japanese say if your wife is only sleeping with you, she is either lying or very ugly.
>>
>>108993813
Then why are you here?
>>
>>108994133
don't tell me what to do you tranny.
>>
File: poop.png (232.9 KB)
232.9 KB
>>108993948
i just finished the chapter on semiconductor devices in my microelectronics book
now i'm ready for the digital circuit design part
understanding MOSFETs is prerequisite for PMOS/NMOS/CMOS circuits. i have a VLSI book on CMOS that i'm about to rip into
understanding BJTs is prerequisite for understanding TTL beyond a superficial level, which i'm excited about too

>>108993885
and to complement this, i broke my FPGA dev board out again and am working through defining a soft core processor with peripherals that i will target with a C program, cross compile, and then download into the FPGA along with the gate configuration

the whole point is to realize a tile-based graphics digital logic design i put together as a digital circuit, first in FPGA form and then perhaps using TTL. the design is somewhere in power between the NES and SNES, closer to the latter. i've been working on this the last few months, the last thing i put together being a browser-based emulator to verify and evaluate the digital logic.

it's been a fun project. haven't posted anything on it in a couple months because i've been spinning up the next steps.
>>
>>108993855
Nah they don't. Once you realize just how much poorly abstracted userspace garbage there is you realize that they are all fucking autists who objectively deserve to be turned into food.
>>
File: IMG_8558.jpg (315.6 KB)
315.6 KB
>>108993813
>>
>>108994322
is it an ebook? if so where did you get it? anna's archive and libgen suck nowadays and I need to download a lot of textbooks
>>
File: poop.jpg (31.3 KB)
31.3 KB
>>108994864
mostly hardcover texts:
Microelectronic Circuit Design, by Richard Jaeger (found at used bookstore)
Principles of VLSI CMOS Design - A Systems Perspective, by Neil Weste and Kamran Eshaghian (stolen from last workplace)
Embedded SoPC Design with Nios II Processor and VHDL Example, by Pong Chu (bought from amazon)

the FPGA book is out of date, but I'm using is as a guide to figuring out the more recent Quartus tooling and work flow in conjuction with Altera's online documentation
i'm supplementing Jaeger with The Art of Electronics of which anyone can find a pdf online, but it's scared of offloading math onto its reader, which i don't like
>>
>>108995082
thank you anon
>>
File: 1766826801082327.png (16.5 KB)
16.5 KB
>4 state dp
>>
File: 1771041515148027.png (256.5 KB)
256.5 KB
I solved https://leetcode.com/problems/total-waviness-of-numbers-in-range-ii/ but I had to have claude walk me through all of it because I couldn't understand any of the blogposts online

digit DP is exactly what you expect, it's like backtracking in that it builds an "array" of the current digit prefix in memory and then based on the conditions applies the computed result to all subsequent numbers you can generate with that prefix.

so
[1,2,3,4] -> [1,2,3,4,1], [1,2,3,4,2], [1,2,3,4,3] ... etc

//if state is true at prefix [1,2,3,4], then it's true at every following number built off the prefix
let (nextState, numsMadeFromPrefix) = dp(idx + 1)
totalState += nextState + (isStateValidAtPrefix * numsMadeFromPrefix)
totalCount += numsMadeFromPrefix


maybe I should've gone into healthcare instead of computer science
>>
>>108995874
You will never have to use algorithms like this in your entire career. Stop doing it.
>>
>>108993808
Learning C for system dev still worth it as a NEET in 2026?
>>
File: 1772858434135144.png (671.7 KB)
671.7 KB
>>108995877
we should all aspire for greatness, for greatness's sake.
>>
>>108995899
jeetcode is not greatness
>>
>>108995896
Yes. Fundamentals always matter
>>
File: 1767086269395134.png (100.5 KB)
100.5 KB
>>108993808
those who know:
>>
>>108995877
>solved 99% of my DSA questions into my projects by #include <sys/queue.h>
>>
>>108995917
Well, should I learn Rust when I grasped most syscalls and most of the low level concepts? Why is C only ”fundamentals” for you? A bit vague imo
>>
>>108996035
stay away from Rust
>>
>>108996035
>most of the low level concepts
List them.
>>
>>108996035
Use Rust and obey all the compiler warnings.
>>
>>108996046
Sure, at the top of my head:

Caching (optimization, aligning addresses to word size)
Bit twiddling hacks, (packing when necessary)
Trampolining code
Callbacks
Low overhead vs high overhead thinking (invoke syscall directly)
>>
>>108996091
>no SIMD
>no ABI limitations
>no implementation limitations inherited from interface limitations
>no allocation grouping
>>
File: 1753309857337640.png (140.6 KB)
140.6 KB
https://leetcode.com/problems/create-binary-tree-from-descriptions/
>>
>>108993808
Did Rustle end up going blind?
>>
>>108996101
Most of that is handled by the compiler or not used directly in code. Only thing I missed on was SIMD which is fairs (as a concept).

>ABI limitations
Be specific here. You read the manuals for that, eg System V or Windows ABI.
>no allocation grouping
>no implementation limitations inherited from interface limitations
Already inferred that via mentioning invoking syscall instead of c lib wrappers.
>But you didn’t mention a memory pool or arena!
Well, allocation is smart on linux/unix, and brk or sbrk already implements an arena. You can always implement ur own in Windows via relevant win/ntapi.
>>
>>108996158
>Most of that is handled by the compiler
Wrong, and you'd know that if you had ever actually looked at compiler output.
>>
>>108994311
Generally the people who go to places themselves are usually the trans one.
>>
>>108996161
You don’t know what a syscall is, and that’s fine coming from a webjeet.
>>
>autist projecting his retardation onto others
It's REALLY like they cannot help themselves, they HAVE to clock themselves, it's like one of those unwritten rules they desperately cling at.
>>
>retarded brainlet thinks the compiler wont optimize away his low iq code
>B-but i’m smarter than the compiler
>>
>projecting autist believes reddiots
>>
>brainlet jeet believes reimplementing what the compiler would optimize his code to, is actually him optimizing it.
>has never heard of godbolt
>>
>Smooth McGroove shits beats out of his mouth in an act of self-sacrifice to enhance gaming music.
>>
>still believes what some reddiot told him once
>>
>his understanding of optimization
>I can allocate on the stack instead of on the heap, wow!
>>
>projecting autist makes up strawmen
>>
>projecting autist, projecting
>>
>projecting autist projecting his projecting autism onto others
>>
>lots of ad hominem fallacies in the """smart""" board
>>
>projecting nocoder incel has never opened a code editor and only browses 4chan
>>
>autists are """smart"""
OK, that one made me laugh.
>>
File: 1780803733011631.png (169.4 KB)
169.4 KB
Factorio schizo is having another meltdown.

Anyway my next project when I finish stringy is going to be unreal.
>>
>STILL partial register write without XOR or MOVZX
ngmi, but then again so do most autists
>>
File: 1780803992173339.png (59.7 KB)
59.7 KB
>>108996701
>>
>wake up
>want to hustle real hard
>The autists are fighting again about who is the worst autist
fucking autism
>>
>>108996716
>write only to lower 8 bytes
>read only from lower 8 bytes

What the problem is?
>>
>>108996728
Haven't I already told you? Or do you need me to explain how RATs work?
>>
>>108996728
Your code doesn't use the maximum amount of cycles. How do you want your users spend more time on the platform if it just works, is fast and they get their shit down asap? use more instructions
>>
>is fast
See, this manipulation stuff is why normal people consider autists psychopaths.
>>
File: rcKbt9my_WI-HD.jpg (65.3 KB)
65.3 KB
>>108996745
https://www.youtube.com/watch?v=rcKbt9my_WI
>>
>>108996768
>famawii
I prefer Dawkness
https://www.youtube.com/watch?v=PVYP4Ygqnyk
>>
>>108996768
Sorry, don't care enough to enable Javascript for Jewtube.
>>
File: e0CvSsmLW-E-SD.jpg (26.2 KB)
26.2 KB
>>108996776
Are you paying attention?
>>
>>108996807
>"They say most of your brain shuts down in cryosleep, all but the autistic side..."
>>
File: 1780805696538486.png (87.2 KB)
87.2 KB
So what's the point of the sub 32 bit registers?
>>
>>108996849
Zero bit.
https://lock.cmpxchg8b.com/zenbleed.html
>>
File: 1759639230722114.png (80.2 KB)
80.2 KB
update
(I changed the styling of the progress view and added a shadow)
app store soon
>>
uh
>>
>>108997165
clearly the market is ripe for yet another water tracking app
>>
>>108997165
Make a gay one called "Gay Juice" and charge a dollar for it and laugh at people secretly who by it while it creatively insults them with "Turn that straight water gay, Queen!" or some shit like that.
>>
>>108997188
The market for normies larping as ADHDs is great!
>>
>>108997188
Well all the others would be jeet shit riddled with ads so I support anon on his question.
>>
>>108997312
I have ADHD and I don't even track my water so I don't understand what this has to do with a water app.
>>
>>108997329
>he doesn't know
>>108953728
>>
File: 1780812245740137.png (15.8 KB)
15.8 KB
This will be the extent of my macroing.
Surely this won't byte me in the arse.
>>
>doesn't prefix the syscall numbers with SYSNO_
ngmi
>>
>>108997341
I mean... Let me put it this way, if you are the type of person who downloads a whole app just to track water instead of a fitness app or a calorie tracker instead, there is something actually wrong with you. So it makes sense that they would have ADHD or autism, did you know that autism is actually way more likely to be comorbid than depression, so most likely if you have autism you also have adhd and if you have adhd you also most likely have autism. On top of depression and either the inability to read, focus, or dyscalcula.
>I have dyscalcula and its actually painful, I got dressed down in front of everyone at work because I kept on putting March as May and May as March on my spreadsheet.
>>
>>108997366
Well, I have ADHD, and I didn't read your post to the end. Also no childhood mutism, so that's that.
>>
>>108997375
What is childhood mutism?
>>
>>108997375
>He continues to use my original diss of him 4 threads ago
That's how I know that comment stung
rent
free
>>
File: just_use_the_llm.png (56.0 KB)
56.0 KB
>>108997379
Mate.

Just use the LLM.
>>
>>108997389
>has nothing to do with what we were talking about
You were less boring when you were sperging about factorio and C++ or w/e.
>>
File: 1701769604053107.gif (1005.1 KB)
1005.1 KB
>>108997383
... wha?
>>
>has nothing to do with what we were talking about
Oh jesus. But then again autists ARE considered retarded, so ...
>>
Oh, also it's "schizoing" out.
Believe it or not, but I have many other interests I just don't talk about because this is /g/.
>>
File: 1780813525629210.png (12.2 KB)
12.2 KB
>>108997351
Alternating to ensure I trip over this at least once.
>>
>not FILENO_STDIN
Alright
>>
>>108997435
in sys/syscalls.h they're defined as sys_
in stdio.h it's _FILENO.

I'm not going against the industry standard. in fact I am changing sysno to sys.
>>
>adherence to nonsensical rules
... do I have to say it?
>>
>>108997341
Brother, you don't need a working INTERNAL CLOCK to realize that you are thirsty. What the fuck.
Yes, sometimes I feel like a girl with ADHD and I use no app, but still drink 2-4l water each day
>>
>>108997490
Oh you don't SAY.
>>108953871

>context window of less than three posts
>>
>>108997389
uh, i never heard about that.
I told so many therapists, that when I was a kid people would always say "oh anon is talking so much again" and then SUDDENLY I became the kid that never talks.
Maybe that is some shit that explains this.
I can talk comfortably when I have a goal or like a human, but usually I dont talk
>>
File: mpv-shot0001.jpg (104.7 KB)
104.7 KB
>>108958400
Only saw you (You) now. Here's the video:
https://litter.catbox.moe/v8ft6vrpqv70e6ho.mkv
> 2017-04-30T00_01_00+00_00 - TempleOS - Hardest Question in Programming (tBQ69ZnuMbc).mkv

https://i.4cdn.org/wsg/1780815259619326.webm" target="_blank">https://i.4cdn.org/wsg/1780815259619326.webm
>>
>>108997536
>that unkempt hair
>>
>>108997545
you went to the wrong forum >>>/reddit/
>>
>>108997552
Yeah, I know Autismville doesn't like me.
>>
File: 1701721203351888.png (2.5 KB)
2.5 KB
this thread fucking sucks
>>
File: 1780817054472218.png (131.1 KB)
131.1 KB
I got AI to have a look at this.
It said I need to use 64 bit registers for pointers because if my system is using more than 4gb at the time the upper bytes of the memory address will get truncated.

Using the 8 bit register is fine for reads, in fact ideal.

It thinks that me letting sarcasm: fall through is bad, I disagree.

I am using rax for read because I am adding it to a 64 bit register.

It tried to say my jle jump was wrong, I disagree.
>>
File: 1780817321407657.png (48.4 KB)
48.4 KB
>>108997685
The fall through.
>>
>>108997683
Should I build a real OS with all the ecalls and crap or should I just build a global symbol table for important functions?
The latter would make it much faster
>>
>>108997685
I don't think it's correct about the jle, because while it's true it might process a 0 or newline what if a read chunk ends half way through a line?
There is no guarantee the last byte in the buffer wont need to be processed.
>>
anon, I have become disillusioned. for over 25 years now I was in love with programming, even had a career in it, made good money. the advent of AI tools however broke me. the past days I have been playing with a local LLM and gave it tasks I was too lazy to work on for personal projects. I produce a prompt in the morning and leave my computer to do other chores around the house, do my physical exercises, plan the day, care for the kids. I check back every now and then to see how far the AI got or if it got stuck somewhere. with the right setup I have made myself obsolete. or rather, I have turned myself into a supervisor that only exists to check the changes for correctness. so I guess it helps understanding what the machine produced and I'm nowhere near a "vibe-code" level of code output. but it still feels weird. I can't imagine myself in a job in this field anymore.
>>
File: 1780818702619816.png (16.6 KB)
16.6 KB
>>108997767
No one is forcing you to use the AI. All it does is copy and paste from the internet, it has no ability to reason or understanding of logic.
>>
>>108997803
maybe you misunderstood. I know that no one is forcing me to use AI, however this entire field as a profession is moving ahead with AI in it's toolbox, whether I want it or not. and corpos will cut you off if your performance is much worse than someone who uses AI. that's just the logical step for a profit oriented enterprise. I guess it just reminded me of a few years ago when JS frameworks were barely a thing and "handmade" websites were still something you could be proud of. this quickly turned into a question of "who cares if it was made by hand or compiled through a framework" and they were right, no one cares as long as the website does what it's supposed to do. same will be true for AI. nobody will care if your code was written by hand or by a machine. maybe I'm just melancholic, I don't know. ignore my rambling.
>>
File: 1681093678283027.png (747.0 KB)
747.0 KB
>>108997683
As well it should
>>
>>108997815
AI can only write what already exists.
The entire industry is going to be a vibe coded hell hole and planes will be fulling out of the sky.
They will be begging you to come back at 10x the salary.
>>
>>108997685
>mov rax, SYS_READ
>implying you'd ever have more than 4 billion syscalls
Yeah, alright, I didn't make it past line three, this is fucking retarded.
>>
>>108997843
I'm adding rax to rdi on line 35 though?
I literally explained this.
>I am using rax for read because I am adding it to a 64 bit register.
>>
>>108997835
I mean the recent price hike for tokens already showed me that a lot of people got oneshotted because their AI assistance ran out of fuel only two days into the month. maybe you're right, time will tell. but so far it just feels like a genuine killjoy to be in this field.
>>
>>108997858
Errr, irrelevant? The syscall is gonna clobber RAX before that.

... I'm talking about line 24 in your screenshot, yeah?
>>
File: 1780819916384249.png (52.1 KB)
52.1 KB
>>108997864
What do I do here then?
rdi is a 64bit memory address.
>>
File: win32u_dll.png (31.0 KB)
31.0 KB
>>108997899
... how much more obvious do I have to make that I'm specifically talking about line 24? I don't care about your
>add rdi,rax.
, that's taken care of by your syscall. I talk about before that - like, do you REALLY expect to ever go into the 4 billion range? Like, not even win32u.dll manages to get to 10K, and they're trying really fucking hard.
>>
File: 1780820776458976.png (131.4 KB)
131.4 KB
>>108997937
Are you fucking retarded?
>>
>>108997972
Are you?
>>
File: pepe-rocking.jpg (63.1 KB)
63.1 KB
Ok, I am sorry to disappoint you guys, but the AI fuzz every motherfucking day is killing me. I can't stand this anymore.
I'll try to not use the internet anymore for a few weeks, hopefully months. Will try to reduce it to the bare minimum as in information fetching.
Ok thank you for reading my blog post. Wish me luck!! Do not forget to share like and subscribe
>>
>tism
>>
>>108998238
That's the thing though the hype is artificial af. AI is literally just copy and paste with a little RNG razzel dazzel.

If you take away the RNG it becomes entirely deterministic.
>>
File: razzle.png (40.1 KB)
40.1 KB
>>108998251
>razzel dazzel
Now THAT'S a term I haven't heard in a looong time.
>>
File: 1770158246918912.png (801.5 KB)
801.5 KB
>>108995931
>those who know:
>>
>Haskell is a high level langua-
https://github.com/sdiehl/tinyjit/blob/master/README.md
>>
>>108998566
High level languages were a mistake.
>>
>>108998824
muh monads
>>
>>108998827
monads aren't gonads
>>
>>108999428
who remembers joinads
>>
>he fell for the assembly meme
Feels good to be a two digits IQ high level dev, free from the burden of knowledge.
I'm gonna do things on the heap, then copy that to the stack, and back to somewhere else on the heap without even knowing I did all that and I WILL be happy.
>>
>vibecode general nothing but good vibes and funny jokes
>programming general is full of depression and doomers lamenting about the life they once had

oof, the gatekeepers of coding are finally getting their just desserts
>>
>>109000034
>>programming general is full of depression and doomers lamenting about the life they once had
You literally just made that up
>>
>>109000034
I asked a couple programming questions in here and no one answered it, I went to the vibe coding general and they all spat on me because I didn't want to ask an AI, so I just sit here and shitpost because when I actually try to get help I get ignored.
>>
>>109000546
such as
>>
>>109000552
>Has anyone used Pybridge for Javascript
>What are some good resources for Python to relearn some stuff
>Why can't bash handle my Javascript script
>Can you help me improve this bash code
>>
>>109000564
No
Relearn what
Bash has nothing to do with javascript
What bash code? And probably not
>>
>>109000575
>Bash has nothing to do with javascript
Bash can actually start node.js environments the problem is, I don't understand how to get bash to then hand the script to node.js, it can boot the env then just sits there.
>>
>>109000583
>I don't understand how to get bash to then hand the script to node.js, it can boot the env then just sits there.
wait you mean you asked that question here nobody answered then you asked in the ai thread and nobody answered and then you just gave up and you still dont know the answer
>>
>>109000583
Have you thought about asking /wdg/? We don't use node.js here
>>
>>109000621
I asked the question here an no one answered me.
I asked in the AI thread and they told me to pay 20 bucks for claude and I didn't want to do that so I went and asked gemini on the google search bar and it told me like 3 different solutions and none of them worked so I reset it and asked again and it gave me 3 separate solutions that also didn't work.
I went and started to do my own research then life got in the way and I started to do a lot of overtime at work and now here I am. First 2 day weekend I had in a month and I spent all yesterday basically cleaning my place, doing laundry, you know, chores you need to do to be able to function at work and after work.
>>
>>109000638
I'm not web developing though, I'm just trying to call a javascript library with a recursive user input loop and apparently I'm too retarded to get it to work.
>>
>>109000652
https://nodejs.org/learn/command-line/run-nodejs-scripts-from-the-command-line
?
>>
>ask a dev for a feature
>he mocks you
>fork and ai implements it in an hour
Thanks AI
>>
Anyone know why when I'm programming I keep tapping my foot, grabbing my shoulder, grabbing the back of my neck, turning from side to side on my chair. Is this normal? What's the solution to fixing this? No matter how often I program or how long I program in a day it never goes away.
>>
>>109001061
Do you program in Haskell?
>>
Got another part of my wordcount script done. Just need to polish it off. I might even add some tests :3 It was actually only a few lines of code, less than I thought.
>>
>>108999949
Yeah, we all know you're an autist who prioritizes his own intellectual curiosity.
And then they wonder why normies want all autists dead.

>>109001061
ADHD?
>>
>>109001537
>And then they wonder why normies want all autists dead.
I know your shitposting but the way things are going your more likely to be the weird one in the next 5 to 10 years.
>>
>>109001915
No, people actually like me.
>>
>>109001122
print(len(s.split(' ')))
>>
>Ad hominems and whiny bitching everywhere.
Wonderful people, just shut up. Seriously shut it.
>>
File: 1754308051812574.png (125.6 KB)
125.6 KB
I know Python and Java deeply from work and school
I can bullshit my way through JavaScript/TypeScript especially with AI

Should I focus on Go?
Built a Go microservice for work, hasn't been hooked up to prod or anything. Kinda cargo culting it rn, since at my previous jobs I saw multiple teams converting legacy Java to Go
>>
>>109002057
>having to go through the strings thrice
Come on now.

>>109002076
>autist having problems with relatively normal human interactions
Come on now.
>>
>>109002180
Whining and bitching is only normal for women. And I'm not autistic.
>>
>>109002180
>thrice
You are stupid and weird.
>>
>>109002009
Won't matter if you aren't neurodivergent.
>>
File: 1780867468536537.png (65.3 KB)
65.3 KB
>>109002057
Nice, only 1 million CPU instructions per word. Very efficient.
>>
>>109002080
>Should I focus on Go?
If you need it. If not, you can delay and instead focus on learning an application area.
>>
>>109002255
>>109002284
>autism

>>109002378
Nah, ADHD can be treated without a bullet to the head. And even if not, ADHDs actually draw people towards them.
>>
File: candy_crush.png (70.9 KB)
70.9 KB
>>108996103
that one was pretty easy. you can just loop through it all updating a hashmap. I thought finding the root node would have some cool trick, but it was literally just a set. did you try the candy crush one? I liked that one, but one I got tripped up and did a flood fill remove, but its actually just a vertical / horizontal remove. I wonder if that's how candy crush actually works. I guess you'd get longer combos that way.
>>
File: tenor-2147721760.gif (2.9 MB)
2.9 MB
>>109002522
oh ya actually candy crush looks like its DEFINITELY a flood fill. damn it leet code!
>>
>>109002426
How do I draw you away from me, you projecting autistic cretin?
>>
>>109003023
You can't. I enjoy making autists uncomfortable. Part of that whole ADHD thing.
>>
>>109003033
Go rot in hell, autist.
>>
{
Display *dpy = XOpenDisplay(NULL);
if (!dpy)
return 1;
Window root = DefaultRootWindow(dpy);

for (;;sleep(1)){
char status[400];
status[0] = '\0';

char module_output[100];
char formatted_block[150];

size_t num_blocks = sizeof(blocks) / sizeof(blocks[0]);

for (size_t i = 0; i < num_blocks; i++) {

blocks[i].func(module_output);

snprintf(formatted_block, sizeof(formatted_block), blocks[i].format,
module_output);

strcat(status, formatted_block);
}

XStoreName(dpy, root, status);
XFlush(dpy);

}

XCloseDisplay(dpy);
return 0;
}

this is a simple bar for my dwm setup with couple of modules

does refreshing this thing every second hurts the cpu/ram whatever? in htop it uses less than 1% of cpu and pretty much 0 ram, but it seems kinda retarded to do this every second (some of the modules require this)
should I take a different approach?
>>
>>109003046
And if not? Am I gonna make you uncomfortable?

Because if so: good.
>>
>>109003050
... why do you open and close a handle to the X server every single time? Do you expect the thing to crash?
>>
>>109003086
??? its outside the loop
>>
>>109003123
We're not talking about the loop, we're talking about your 1/s execution.
>>
>>109003132
yeah, i mean it runs once when the program starts as far as i know
>>
>>109003142
Hold on, you asked
>does refreshing this thing every second hurts the cpu/ram whatever?
Opening and closing the connection is relatively expensive (requires opening and closing a UNIX socket and going a handshake), doing a display update is *relatively* cheap. If it just runs once - yeah, whatever.
>>
File: 1775223511153978.png (89.7 KB)
89.7 KB
changelog:
>rewrote the view with all the entries from a list to manually defined row structs (scrolls smoother, less bullshit from apple)
>added a shadow to the tableview
>working on push notifications (the app WILL remind you to drink water every 3 hours)
>let the user set their daily goal manually in the settings
>>
>>109003473
Why is your goal 250ml lower?
>>
>>109003473
But does it randomly start ranting about neurodivergence and insult you?
>>
>randomly
Autism.
>>
>>109003981
Probably one of the more creative and funny ways to get people to drink water is to have an unhinged LLM start blowing up your phone demanding you drink water.
>>
I'd like to capture the value of __COUNTER__ in a macro by expanding it but I'm not super great at c preprocessor hacks

anyone know what I'm doing wrong here? maybe you just can't use __COUNTER__ this way
#include <stdio.h>

#define expand__(A) A
#define expand(A) expand__(A)
#define FOO expand(__COUNTER__)

int main() {
printf("%d\n", FOO);
printf("%d\n", FOO);
printf("%d\n", FOO);
return (0);
}


output is
0
1
2


and I would really like it to be
0
0
0
>>
File: dunkru.gif (21.6 KB)
21.6 KB
>>108994359
>>
>>109004801
I feel like the chart is wrong because even people who are life long experts don't act as confidently as random retards on the internet
>>
>>109004806
Nigger, I've REed this shit myself.
>>
anybody else having trouble accessing github?
>>
File: 1780900120532507.png (12.7 KB)
12.7 KB
>>109004910
bwhahahahaha holy fucking slop.
>>
>>108993808
Rust

Reply to Thread #108993808


Supported: JPG, PNG, GIF, WebP, WebM, MP4, MP3 (max 4MB)