#programming
1 messages Β· Page 98 of 1
there is a fuzzer 

In programming and software development, fuzzing or fuzz testing is an automated software testing technique that involves providing invalid, unexpected, or random data as inputs to a computer program. The program is then monitored for exceptions such as crashes, failing built-in code assertions, or potential memory leaks. Typically, fuzzers are ...
spatial geometry in json parser
fuzzing anything im doing sounds scary to me
linear optimization in json parser
My goal would be to find a method where I can shift around as needed between 3d, 2d, and lots of density options. But geez is that'll be a pain to logic out.
you can always split the drawcalls
seperate drawcalls are worse in theory, but if it saves more time than it destoys its beneficial
I'd almost implement 3d as conjoined but stationary billboards for free culling, just switching which ones are rendered depending on direction.
But yeah that's extra work for not much benifit
we can just make a billboard rotate towards the camera, its not that expensive
Yep
I wanted to try to avoid rotating so that further out I could do like 32x32 mesh of grass without killing fps or looking weird. That was my initial idea for 3d.
Say, maybe that can work. Just a not as precise billboard that doesn't rotate so it can be very large.
I guess my idea exists after yours become too dense to handle
Just another method for less compute
samm Im finally adding to my github, me so happyy
it works
i now parse it as u32 and then reencode back to u8
a bit wasteful but whatever
i have a fast path just for deserializing structs
that only supports ascii
now that i wrote it i can look at serde code for comparison
and
what psycho wrote this
why is it not 0x10_000 
can anyone help me with this? if i try dashing on floor it gets override by the walking animation , but whenever im on air it does play the animation
and how can i sent messages without putting the actual file in lule
Tf is those
Oh, the usual
Oh the Mr beast scam images
i think i'll have to asyncify this 
not now but later
hopefully i'll be able to avoid that
funny thing im working on rn about tracking satellite orbits (not done yet) what we think so far lol
Goodnight, I'm going to bed
wahoo

Did you both have another day without sleep (again)?
i slept for quite a while actually
o slep
from 2am to 5am
thought i slept longer
3hr sleep really kicks away the sleepiness

hour before midnight thoughts, #gen has a monarchy, #NN has a presidency. What do we have here? I guess the question is who'd out of the candidates would actually want it?
We have screeps overlord, Shiro
True, but Shiro seems to have entered the nothingness
I like to think the title bounces to whoever starts a new trend here
At the moment it may be screeps, but who knows what the next one will be
Mhmm, let's just wait and see
uhhh
idk
(also yes I cant sleep so im still awake)

ooo I guess this is kinda programming, im going to do a death stranding cosplay next year so im designing in CAD the odradek from death stranding atm
The amount of joint and assembly.... My laptop is screaming at the though of modeling it lmao. I need to get a desktop soon
And that is arguably a simple design
yeahhh
Also, it seems like it is achievable with just off-the-shelf high torque servo. Well, good luck making it
yeah but I want smooth motion so Im thinking of a small gearing of a bldc or sm
If you have the money, then robotis is the only option I think
yeee I am okay going broke doing this lol
Their dynamixel series has a small and FOC driven BLDC with gearing included
i see I see
I need about 1-1.5nm of torque, not a ton but doable I think with parts I currently have
if I make a small custom gearbox with my cnc mill
Oh, if you are comfortable making gearbox then yeah
I think I have discussed about dual stage cycloid before on https://discord.com/channels/574720535888396288/1337733692709146674 if you're interested
yeahh I've made a few of those in cad I 3d printed, which I hope translates to metal well haha
It does translates quite well to metal. There's also this cycloid that I am talking about
https://www.youtube.com/watch?v=cvuBCdxfGDg
Sponsored Content:
Happy FlexiSpot Black Friday Sale now, Up to 65% OFF! You also have the chance to win free orders during this period. Use my code ''YTE7P50'' to get an EXTRA $50 off on the E7pro, E7plus, or E7L standing desk. Buy more save more, and the price now is the lowest price of the year, don't miss out on this chance!
FlexiSpot E7L st...
yeahhh I saw this guy (this one in the video was 3d printed tho lol)
ebay shorts 
I know it tranaslates to metal well its just I more mean my designs if they translate well to metal haha, shouldve worded it better
Mhmm, but in the original paper it is made using metal
I also wrote a simple solver to find the gearing ratio here #1337733692709146674 message
It will generate the parametric equation needed to make the cycloid
Ahh I see
yeee I made one of these before for class a few months ago, very useful bc without it you cry basically haha
Yeah, my solver basically just brute force the possible ratio for double stage reduction lmao. Then from the # of nodes it will construct the equation for both disc since they are 2 different disc
chat
should the ai bubble eventually pop, and funding for big smart models with their live internet search and all dry up
based on your experience, will there be an affordable current-ish level chatgpt/gemini replacement that all the young people who became dependent on llms will have at hand
Nothing that is both smart and fast enough imo. Affordable replacement is a very high bar at the speed AI assistants are expected to be.
cause like, on the one hand people train and use small ones locally, but you probably can't even run inference with something gpt 4 sized there
on the other hand, i doubt some $10 subscription a month could pay for it either, even with queues and limits involved
and i'm just wondering how hard the average "homework by chatgpt" student in junior high now will crash in second year uni or so if there's no magic chat field to ask things from
In general: speed, smartness, and cheapness are in a triangle. Can't have all three
I think the necessary hardware will slowly but surely become more affordable, especially if there's more hardware tailored to LLM inference like some TPUs are
LLM inference is mostly constrained by the amount of memory and the memory bandwidth, so LLM inference for current models will just become cheaper and cheaper over time
if it will become cheap enough before the bubble pops is another question 
hopefully it will pop sooner than later
there's also how existing infrastructure will beg to be used at lower prices
after a pop
let me yoink that h100 plzandthankyou
50 bucks please
true, there's a whole lot of hardware already around right now that might have a lot less demand
I'm willing to see LLMs and image generators burn. I'll give computing and genuine attempts at personification a pass.
LLMs can stay, they have genuine usefulness for a lot of people
image generators can burn 
-# Ignoring the fact I do want to tackle an image generator eventually, just with a small dataset which I have the sole rights to the training data.
honestly i love llms for search
you can use language to express the query rather than just throw in words you expect to be in the result
nothing else did that
it's an even bigger woah than reverse image search was when it became a thing
tineye and such
that's what it is, anyway
search that asks you questions back
I rather click through 10 pages of search results than disect an LLMs response on whether its trying to gaslight me and make shit up or not
using a LLM to search is like using google with extra steps.. because you can't trust the result and have to check anyway. the only llm i use is my autocomplete for vscode, and that runs local 
Also google specifically developed to become really good at providing search results to natural language qestions
before going aall in on ai anyway
semi autonomous commune
And how will the AI-dependent people learn to set up their own AI without an AI telling them?
i didn't expect them to, i was just thinking "oh yeah they'll be having a jolly bad time"
A llm just needs to cost <12$/hr to be profitable
Meaning ~4 h200
In terms of replacing a person at minimum wage
assuming no R&D overhead too
I mean google did use bert etc which is basically ai
That's for the llm creators to figure out
Most people dont pretrain their ai
imo LLMs are great for discovering things, like what tools / libraries are there for doing X
also use it for recommendations on specific products, like what is the best value X to get
recommending products, I also went through tons of other review channels and usually it's pretty spot on with recommending stuff that review channels also recommend
Other kinds of searches that LLMs excel at are the ones where you don't know the actual term for something. It took me like 2 years after learning what ternary statements do to learn what they are called. A quick "Hey what do you call [...]?" would have been great.
now that i think of it i guess i can understand using 4-digit groups for hex numbers since 4 digits is 2 bytes
guys, stupid question ik, but can you capture network requests and export to HAR in a Node.js environment?
might be able to just use Chrome DevTools with Node.js for this
the network part of this seems like a fairly new feature though 
sure please wait 70 years
i will deliver it to you then

someone gift me 10 million united states doller
no way
mods

shiro's
@cobalt vessel birthday this user
hapy birday sam
So I just discovered that Mistrals tokenizer is roughly twice as efficient as OpenAIs 
What the fuck are they doing over there
mito does bdays 
SamVanMaele.cpp
Happy birthday
thanks!
Oh happy birthday Shiro 
how is calling wasm through a worker so it doesn't block not a solved problem... i mean it kinda is but why does nothing generate glue code for that, i don't want to do that myself and deal with bundling hell
but seems like i have to
happy birthday sam
Happy birthday shiro!
are you stainless steel
inox was actually a very good source of income for belgium during the industrial revolution
inox = stainless steel
its easier to say inox, hence why we made a cool word for it
all of this is in a separate package, so i need to make sure the worker script import gets resolved by the consuming bundler*, and then the wasm import from there gets resolved too, alongside making sure that it all transpiles fine
fuck the js ecosystem
* the consuming bundler may be anything, i currently have 3 projects using metro (react native), webpack and esbuild that are all going to need to consume this package..
I do not 
I used Web Workers exactly once and that time I just wrote the glue code
surely there's a solution somewhere in the JS ecosystem 
π happy birthday SamVanMaele! (and Shiro π )
I've done that yesterday with rust and wasm. Its not that cumbersome
awa
no there isn't... i thoroughly enjoy how wasm-pack works but wasm code started being too heavy and slow and blocking the server thread significantly. the magic sauce for this problem is new URL('./path-to-thing-to-bundle', import.meta.url) btw i just want to avoid writing the glue code myself while stepping precisely between the mines
it really is that cumbersome, i've had issues with bundling the wasm file even in packages from npm
Ma boi is having a birthday
Wish you well and keep your cursed cpp lol
iono what to tell you. I did it and the glue code is like 10 lines of javascript 
add a worker script in between and it all falls apart
how would it be 10 lines if the wasm library has a ton of stuff
for the worker itself
what i'm complaining about in the first place is that there isn't codegen for this. i have to pass messages around instead of just calling the rust functions asynchronously
or write my own abstraction
thats just wasm being wasm. Web worker is a javascript api and you have to go through it 
no you don't understand. what i will end up doing is similar to electron/tauri ipc
when right now it's just calling the damn function
calling a damn function and having a function run in the background in a web worker are very different things. Sure you can do the first no problem
i just want it wrapped in a promise... 
ok, then declare it as async and be done with it
bwa you could probably generate the code with proc macros
uhh surely that wouldn't do shit about blocking the thread
and you can't spawn threads from wasm
or you could maybe do some js trickery to wrap everything with promises
you need worker for threads
i know what to do to make it work
i know
i'm just complaining there isn't a solution like a flag to wasm-pack or something
Does JavaScript have pointers (or something to the same effect)?
i'm in denial about me inevitably writing a lot of glue code
there really should just be a "run this function asynchronously in a web worker" primitive
how hard could it be 
not sure what level you're thinking. technically everything is a pointer in js but it's abstracted away and you can't work with them as pointers
YES
what are we talking about now
node.js, I think?
From rust or from JS?
because it would make no sense. Web workers are suppose to be longer lived and be driven with message passing. If you abstract that all away you just throw away performance for nothing
they can still be longer lived, just keep them around somehow and pass functions as messages
thats like spinning up a new thread for every function you want to run. thats insane
then you end up with the same interface again
Somewhere a while ago, I think I saw something about node.js, at least.
r
import { initWorker } from "wasm-lib"
const wk = initWorker();
await wk.heavyFunction();
wk.stop();
no, the point would be to abstract the explicit sending and receiving of messages away from the user and just have everything be normal function calls
AFAIK that is the glue code required to use web workers right now
Never mind, it was the JS ecosystem, not node.js specifically.
At that point just use some RPC framework
doesn't really matter I think, web workers are a JS API, so you always have to go through JS regardless
that is so overkill
i was actually thinking of throwing trpc in there but that is so incredibly stupid
is that a thing for web workers? especially packaged in a way that doesn't require writing more code than just accepting that you have to write the message passing glue code yourself?
all you have to do is to make a tokio runtime for web worker 
that has to exist now that you say it
oRPC does not rely on some specific transport I think
So you only need to write a plugin to receive the message from the main thread, and oRPC will take care of the rest
i should just make the rust code a microservice at this point. fuck this shit
something went very wrong when microservices seems like a solution
complexity 100x-ing when i just don't want to block the thread
but what are you trying to do that would require such an unfathomable amount of glue to explode in complexity lik that
looks like a decent approach, but yeah, very much unnecessarily complex
a simple RPC-like approach except that it takes advantage of the structured cloning workers have instead of being built for HTTP first would be nicer
Yep, the whole thing is cursed from the start
now that i think about it you might have wanted to hear this: there are typed arrays, Uint8Array in particular, you can kinda work with them as you would with memory
but that's fake pointers
what i meant initially by that everything is a pointer: everything usually is a reference, not a copy, you can swap them around
they're just stored as pointers internally so yeah

const data = {}
function acceptData(x) {
x["hello"] = "world"
}
acceptData(data)
ok i bit the bullet i'm trying to switch to zen from arc because they updated chromium and broke ubo, i'm gonna miss tab sync though
i am officially using a firefox based browser, gg
Tab sync between device?
yeah it's real-time in arc
they use firebase under the hood 
it hasn't been half an hour and i'm already running into weird firefox shit
Oh as in, you open in one browser and other opens as well,
yep
cause you can use Firefox Sync (selfhost)
but that is manual
You can browse the other browser for open pages though
Beware that firefox does not support some web api that may be supported in chromium
It should be the obscure ones no?
Like WebUSB
also I think the Threadworker refresh thing
typed my username in, pressed tab, started typing my password out and it switched back to the previous field, here's a recreation
oh i'm well aware
guys
Is this a public page?
I mixed up the cables for my pc's psu and my monitor
reddit login
they share the same outlet but have different fuse capabilities

Strange, for me it does not happen
how do I distinguish them
it happened only once i can't repro either
what, aren1t they the usual outlet plug to the three pin house connector?
(not the outlet)
These aren't supposed to be different
Very strange
The fuse may be different
These have fuses?!
one is 5A/250V~, one is 10V/250V~
I have 0 cable that is fused
WHY WOULDN'T THEY?
all fuse is in the device
it's 3 pin
maybe I'm too EU pilled, but NONE of these cables are fused
Adding more safety never hurt in this case. But yeah, it can be a bit excessive
I always read the fuse lol
though even then 5a @ 240V is less than my PSU can do so π€·
Oh defo. I just find it very strange that in the fuse is in the cable and not the device
Easy way is to tape different colored electrical tape or use those paper/masking tape and write a label
The device also have fuse
or well the plastic in front of the fuse
Oh yeah, stupid. idk why I wrote that
so it's the 10A 250V one 
13A HOLY
mine's 650w iirc
idk just give the bigger one to your PSU unless you have some massive 4k ultra wide oled HDR monitor
10/A just feels kinda excessive for a 650W psu 

to avoid exactly the situation you're in rn
oh now I understand why
why 
it's probably better this way tbf
cause law
oh i thought you meant why the law
yea even our household sockets have fuses
we just use circuit breakers
HK
one of the colonies
(please don't hurt me)
I know that UK is even more wacky with their wiring and ring circuit
should've guessed china smh, the population has a larger chance to hit
But but, bayes...
Well, MCB (miniature circuit breaker) is used for whole room / house protection. Fuses are used for per device/outlet. Even on US and Canada the GFCI breaker doesn't have to be installed for the whole house
Ok I have a really dumb question but I donβt know where else to ask. Is there a way to turn off the brightness locking at 20% on iOS. Iβm not talking about auto-adjustment, I mean I have it set to max brightness and canβt see shit because it locks itself down at 20 for battery preservation despite saying otherwise. Itβs kindof unusable like this and I canβt find a setting for it.
Thermal throttling. I need to disable that
iOS? It's Apple, what did you expect?
Disabling that is a bad idea on any device
Thermal throttling exists for the safety of the device
Thatβs what it thinks it doing Iβm pretty sure. Thatβs why even going into accessibility and turning off all the brightness auto-adjustments I can find still leaves this issue
I had a feeling, but Iβve havenβt been able to open my blinds if I want to.. do anything because otherwise I can barely see the screen.
I doubt it's thermal throttling the brightness, Apple is just doing some dumb battery saving stuff
If you get an Apple device, you should expect Apple stupidity on it
Suggestion: don't get Apple devices
Apple is a scam that locks you into their exosystem and then charges stupid prices for anything actually usable
might be in battery settings, or if you have battery saving / low power mode on, in there
I canβt even find a battery health setting on here, when I tried to go android it ran my primary game.. blurry?? I felt like I needed glasses
Probably you got a phone with a bad or low res screen
I could try it again but I only got this tablet recently. I also need something with exchangeable storage and options have been getting extremely limited there
Also why play games on mobile when you could play it on an Android emulator?
I mean even 1080p screens are pretty high res for phone screen sizes
Mobile is what I know lol. I hate being stuck in a chair and find physical keyboards really uncomfortable, though Iβve been meaning to do something about that. My options are iPad kid or really eccentric gamer setup
iPads are kinda dumb, overpriced thingies
Unless you really need something from the Apple ecosystem that has no alternative on Android platforms, you should just stick to the cheaper Android devices
Maybe that person just thought you were asking what
Iβll definitely keep this in mind, but my concern is storage. Do you have any recommendations for android devices with high screen resolution and exchangeable storage? Iβm on a 6TB iCloud plan though I think Iβve gotten better since starting that plan
i doubt it, "wa" is more like slang for when you dont understand what has been said
Cloud storage is not worth it, you'll pay more for it in a few months than you would for the same capacity on local storage
And also I don't know recommendations for your storage situation, I'm a budget phone user myself as I do everything on PC
Thatβs fair, ty for your time 
xAI are jow hiring people with waifu engineering
Man my CE diploma is a fucking joke
theres no way thats real
It is real
It's not even a joke
xAI legit tweeted about it
it definitely is
has been a thing for ages
drops brightness when device too hot
or caps i guess is the more accurate verb here
and no you canβt disable it
and then people will claim it's a real language
it is
the official word is "wat" but for sms'ing we shorten things to like how we pronounce them
doesnt english do the same thing for shortening things in sms?
every written language likely has texting abbreviations
i think every language does but english in particular went hard on acronyms
Even sign language

What I mean is that sign language is not universal
is any sign language written

i don't think you can sign with emojis
why would you write sign language though?

like bruh, people who cant speak / hear can still read
instead of "wanneer" we type "wnr"
"ik weet niet" -> "kwn"
its a very efficient system
Well, as I said, sign language is not universal. So you can just design a new language using emoji
Full stack waifu man my 4 years in cython debug and CE degree getting decimated by a fucking weeb
Qlso happy birthday sam
isnt there an international sign language or am I trippin
"wya? k omw ily"
what?
There is. But then it's the same situation as esperanto
"where you at? ok, on my way, i love you"
There salary is 200kπ
yes but typically people will learn either asl or bsl
for the waifu full stack thing??
It's a real thing and yes 200k
ahhh
ye i dont parse english sms, i never learned it
but you text in english seemingly often
how is itβ what do they do Iβm actually confused
And can go too 400k
if discord counts sure
I don't think discord is a good insight into his communication habit
xAi tweeted there are hiring people with waifu enegrning degree
I am not even joking bro
in disocrd people dont use abreviations like that
I'll start using it just to annoy Sam
look i don't text in english outside of discord at all and i live in a country that does NOT speak english
is that like an online made up degree bc I refuse to believe any respectable university has that
It's real
Bro i am not joking
its legit real
what do they even do?
What I meant is that Sam may be texting more often using his native tongue using other medium than texting in english on just discord
experience in anime waifu and taste and simping and creating waifu content
I swear yo god xAi tweeted it real
So the frequency of his written native language used dwarf that of english
what i mean that i'm the exact same and i definitely do so more often but i know those things
Professional simping
HELP
MISPELLED
Ye, and Sam may not do it more often because I just explain in my other message
id say i type more english then dutch cuz i dont message that many irl people, but the english used on discord is always pretty spelled out, not abreviated
π«± π«³
You can technically do some sign language
and it's by xAI it's not even a joke anymore
dude i'm telling you good luck even meeting a person that speaks english on a somewhat ok level here nevermind as their native tongue, i imagine chances are probably higher in belgium
Just not the ones with movement
They even have a whole ass survey about what waifu you favor
Thatβs crazy
Imagine being a 10 year cython developer only too see some random guy getting payed 200k$ for being a nami simp
We live in a society
what are yall even on about
Then again artists get commissioned to draw cursed things
200k is not that out of the ordinary
If sanji was a real guy he would be a billionaire
Crazy you say that
It can go too 500k
wild misinput
Yeah, I've tried sending that one here before in code tick
Apparently no syntax highlight
emoji syntax highlight?? 
How is that not out of the ordinary??
how would that work???? huh?????

in SF it is not
SF?
I don't know, which is why I tried it 
eng roles in nyc/sf/insert any other insanely expensive place
san francisco, where all the tech companies like to do their things
Chad lmao
oh yeah may I ask, how did you guys start coding? Like what software did u use and such
I grabbed IntelliJ IDEA community edition and the Kotlin programming language on JDK 21
That's what I started with
notepad++ and ftp

Yeah lol even somewhere else in the US where I am making that kinda money from programming is unthinkable, San Francisco is just built different
Visual Studio
meh my answer is the most interesting
I started on https://scratch.mit.edu/
technically I started doing "programming" in Minecraft Bedrock Edition, for playing command blocks, if you count that as programming then it's my earliest experience
HELL YEAH
I played a bit with that too but it got too complicated for me hahah
by "playing command blocks" I meant doing actual complicated shits within the early limits btw
I donβt actually know much abt programming I just like hearing abt what more experienced ppl have to say
Man this isn't a joke
using tons of armor stands, tags and scoreboard ids to do rng and detection for item etc
what did kinda stuff did u pull off
We live in a society
so just "fullstack rust engineer" got it
I wanna know how so (cause Iβm very clueless)
I want to get a retirement
Yeah I feel that
fishman make him graduate
Yeah for waifu building
because notepad++ and ftp duh?? ||php on servers||
enhanced dragon fight, more intelligent mobs, blood moon, enhanced fishing, enhanced ore generation, pvp with abilities and so on
not all by me ofc, I was just a contributer to a server
thatβs awesome
Like vanilla modding
it was crazy, I forgot all the strategies and "hacks" around the limit tho
who cares, xai wanted to make hype and a le epic reddit moment and put waifu in the job listing
you're talking about it which means they succeeded
Reminds me of how grok is an anime girl now
batch scripting in notepad on Windows 8.1 
Iβm taking notes π
"Notice me, senpai!" π
Bat scripting
π¦
I ain't joking
this is where my first frontend/backend experiences are from

I was coding on my phone
Also vbscript
were u guys self-taught?
yeah that's similar to what i started with, hence the notepad++/ftp env
yea very much
does it work well or did u have issues with how it ran
I do have formal ed for coding, but my degree does not focus on sw eng
I found a technique to hide the watermarks

Wait, you're on Phase Connect discord too?
it does work well, yea
pretty cool thing to begin with
surely it;s just html injected into the page? also how would that work with content-type that isn't html
I just remove the </html> tag
let renderers do the job
and it did well
how does that hide the watermark
maybe it seeks for that tag and append with a div with watermark
it only adds it at the bottom
The joys of web where technically non compliance will still work
but it technically is compliant
Oh, is it?
How long have you been coding for?
mind that was like 10-15 years ago

I mean they won't add watermarks if your website didn't reach a certain amount of data usage
and @opal geode
which is like 1gb per month
Yeah, that's what I meant by technically non conforming to standard lol
10-15 years somewhere in that range, but i never touched anything but php until like 2016
oohhh
I think you're on the same age bracket as me
its fine
i can promise you i'm not
i was a child
i am 21 years old
Iβm older than you????
my god. kids these days and their tech
Not that older
Anyways what were the first projects you did when you started programming
i don't fucking remember 
we're the same age???????????
oh wait i remember maybe
what age did u start coding
idk 2012 probably, so 8?
ye you're the guy that tried to rizz me up
ye my memory hasnt been the same since i turned 18
im getting old
Lmao, what do you think my age is?
youtube tutorials, unregistered hypercam 2 & 009 sound system dreamscape style
i thought you'd be older with those Z80 programming skills lmao mb
Classic unregistered hypercam
This is giving me dejavu from the server next door
I am the guy who was messing around with you together

It's fine tho
what about the others
if youβve done some
Huh
This you?
i don't miss it so no
happy birthday
thank you for censoring the red default discord avatar
Thank you
Script kiddies to open and close cd/dvd reader when a flash drive is inserted
Fun times
Thatβs cool
Twitch chatbot in Java
sucked ass of course but was fun to make, very easy to cram random features into
idk but at least half a decade higher 
just random bullshit, out of those i remember fondly - an ecommerce front for a friend who was dropshipping shirts with his designs back when dropshipping wasn't a word yet
Loremaster icon based
his mom used to do that i think and had contacts in china, he jumped on the opportunity, that was like 2015-16 i think
Nah, I just learned a lot of stuff a bit early
what sparked ur interest in it
I think I was playing my first computer game even before kindergarten
Are you 2000s?
Ohh, yeah I remember it is before kindergarten
i think i told this here before, i was very legally aquiring cartoons and burning them to dvds when i was 3
at least my mom says so

Yk what that makes sense actually I was gonna ask if computer games even existed back then, then realized 2000 is not that old lmaoo
That's indeed pretty whack lmao
Oh, games existed even in the dos days
Yeah I just remembered the atari console
No it had the oldest games
videogames were a thing before pcs were a thing really
Like ping pong and Pac-Man etc
ataris are game consoles no?
Yeah. I was thinking more on the line of first game on a general purpose computer
Yes, which is why I ask to clarify if my memory is wrong somehow
oh i see the (edited) now
Honestly crazy how fast tech developed in less than a hundred yrs
Not even 50 I think
1843 was when the first computer program was made by Charles Babbage
https://www.youtube.com/watch?v=D0iQpnQITTY relevant short
This is bringing me back to my elementary computer studies days
the temptation to write something that has metrics just so I can see big number go up is hitting again
Yeah, if we're talking tech in general this century is on a whole other level
last thrill was my code very much not breaking when I accidentally threw 600 req/s at it
Screeps is calling
Thatβs literally awesome ngl
Do ittt
Give in to the calling
Is that a nix thing? Prepending not to something?
i don't actually know, i just saw chay name some of her projects like that
i don't think that's a nix thing
like the blursed notlua
haven't had the time to play
bro what the hell is notlua 
https://github.com/chayleaf/notlua it's lua but nix 
what would notscreeps even look like
what if we make a galadiabots-like graphical editor for screeps
(anything but playing screeps)
screeps but not ig 
wasm only
js transpiler in nix i guess
She says but has it on her library
The only interactive piece of functionality here is the comment system, which is done by abusing nginx logs.
Chay...

time to check on my screeps
ngl idk what my screeps are doing cuz theyt still havent repaired the wall in a week time
i keep placing a new one to build and when im back the next day there is no construction site nor a wall
Is Python 2 accepted to be talked in here?
Whatβs the most recent version of python
Okay, I was kidding on that... I use Python 3
3.14?
But coding is more of a "it's a hobby" thing.

Pi is 3.14159
no, pi is irrational, python is only slightly irrational
Yooo, I just now saw that too
You have unlocked new role
And I, like a good engineer I am, round it to 3 
Wait, Who did? 
So youused RoundDown ?
and I some times think: Why do I know Pi to 3.14159?
This is such a good quote
No, just round. If pi is somehow 3.5 I'd round it to 4
Btw, What would you define as "Spaghetti code"?
The safety factor will be huge tho
you proabbly, you have embed now
you did 
Any code older than 5 minutes that is not written by me 
Still oh no
ngl, my code is still not great...

HOW MUCH??????
100K/s 
The output I get with me interpreting that code in my head:
Ma
Ma
Mia let me GO !
I treated every py print("Hello, world!")
as if it makes a newline
Well, I'm gone for a bit, making dinner
yea it's actually insane
youd get
2x Ma Ma Mia
1x Ma Ma Mia let me GO
afaik
with newlines ofcourse
yep can confirm it do that 
This is how instant noodle is usually served here Sam
To be fair, it is not that spicy

i have a high tolerance for spicy but idk if ill compare
We snack on chili with fried food here lmao

This is what we call "gorengan" (lit: fried)
That chili is eaten as is along with the snack
Woah that looks good
This looks amazing
damn that looks gud as fuck
Where from?
How come I never see programmers having a mental breakdown? They always seem so positive despite the years of trauma of learning
It is, yeah
Indonesia
Alcohol
the mental breakdowns happen on the daily so it doesnt build up to a big mental breakdown. we just get small ones
Ever seen a commit message?
alcohol helps too yes
Happy birthday Sam
classic comic
Now I'm curious about some of the commit messages here in #programming 
No, but I feel like that happens on a monthly basis, if not, shorter
gimem a sec
Hmm, best practice is to commit often. The pull request is usually after a lot of cleanup
Wait we are talking about the same thing right?
HAHAHAHAHHAA
the breakdown happens in silence while spending days debugging some weird issue that happened because someone forgot to wrap something in brackets


You should post these everytime
And when it's time to make a PR you squash it all down to just "add feature C"
normally i dont push broken builds but local version did work and my github pages demo version was broken
you know, sometimes its ok to squish and force push
Yeah, that can happen because the build environment and dev env is different. Which is why docker was first created IIRC
too much effort
So dev, build, and runtime all SHOULD BE THE SAME, MY GOD WHY IS IT NOT THE CASE
sam nix arc when 
gh pages thingy expects me to build on github for some reason. its jsut wasm tho so idk why it can't use the wasm file from my pc
what is a nix?
actually no, nix doesn't fix that 
Package manager
that never stopped a nix user from proposing it
i have "vcpkg" installed tho
stilld ont know how to use it but i installed sdl with it
Hbd
true, there's probably some cursed way someone made it work
good thing we live in the age of the interwebs with lots of information 
Chay not lua 
that would require effort tho
Lua mentioned?
There is this thing called --help flag usually
I heard that someone in the filian discord was working on a lua interpreter in typescript, and they implemented js like bindings and c like bindings into the lua interpreter
You wanna see it? Here, courtesy of toast
https://github.com/chayleaf/notlua
Seemed pretty interesting actually
wdym courtesy of me, chay made this 
git merge --squish
I never knew of Chay github existence
This seems like something on the opposite side of the lua spectrum than what I just talked about, also seems interesting though
counterpoint https://github.com/TypeScriptToLua/TypeScriptToLua
Yeah, I was typing that as you're sending your other message
This seems similar to https://github.com/roblox-ts/roblox-ts
Though less domain specific
yeah nothing uses luau
which is why they're separate projects i imagine
also while we're on the topic of cursed lua bullshit https://github.com/Roblox/react-lua

happy bday sam 
Infinite!?
React itself sucks.. and then those fricks decided it would be a good idea to port it to luau
Silly roblox ppl
*extremely loud incorrect buzzer*
What?
Lua?
what
you're confusing react with everything usually surrounding react. react is a great library actually
why do you think dioxus exists
Yeah, I'm having issue with JSX not react lol
you can't do react without jsx tbh
you can't stop me 
createElement calls don't count
that's stupid
react requires you to desribe ui as an expression
which is why i said you can't really use it without jsx
The only place where i can tollerate react is in mobile development
For web dev and electron stuff i rather use vue or svelte
Ehhh i can't argue with that
Brings out the age old question, when should we treat data as data and not as a program
=== Additional Information ===
- 0:56 Virtual Memory
While it is not possible to fit all of that data into physical RAM, the operating system could theoretically use virtual memory to share the load with secondary memory (HDD, SDD). This would still not be practical since the usual swapping space is much smaller than 100GB and requesting memory...
But even then... i just use a minimal library that just abstracts ```js
document.querySelector('.container#main').innerHTML = 'value'
to ```js
html('.container#main').set('value')
It also abstacts handling attributes a bit
And .addEventListener is .on
missing the entire point of why react exists... don't need it? good, don't use it
jQuery
almost
Ehh it is kinda similar.. but even jQuery is huge compared to this
Wait imma get the code rq
export function html(query: string)
{
const elem = document.querySelector(query);
const returns: IReturns = { set, on, get, add, attr, env };
function set(code: string) {
return {
el:(elem.innerHTML = code),
_: returns
};
}
function add(code: string) {
return {
el:(elem.innerHTML += code),
_: returns
};
}
function attr(key: string)
{
function get()
{
return elem.getAttribute(key);
}
function set(value: string)
{
return elem.setAttribute(key, value);
}
function has()
{
return elem.hasAttribute(key);
}
function remove()
{
return elem.removeAttribute(key);
}
return {get,set,has,remove}
}
function get() {
return elem;
}
function on<K extends keyof HTMLElementEventMap>(
event: K,
cb: Function
): any {
return elem?.addEventListener(event, (...ev:any[]) => cb({ ...returns},...ev));
}
function env(cb: Function): any {
return cb(returns);
}
return returns;
}
That's it
The types can be done better
But it works
Also i didn't include the interfaces
The missing part:
type Function = (...returns: any[]) => any
export interface IReturns {
set: (code: string) => {
el: string,
_: IReturns
};
add: (code: string) => {
el: string,
_: IReturns
};
on: <K extends keyof HTMLElementEventMap>(event: K, cb: (returns:IReturns)=>any) => any;
get: () => Element | HTMLElement | null;
attr: (name: string) => {
get: () => string;
set: (value: string) => void;
has: () => boolean;
remove: () => void;
};
env: (cb: (returns:IReturns)=>any) => any;
}
Also maybe i should make the set function in attr be able to to take undefined as its parameter
Damn
Damn
just made the full switch to linux
i frickin hate windows
i fully snapped yesterday cause my wifi drivers just stopped working while i was downloading something really important
and i just immediately got my thumbstick with popos on it and just instantly switched
i cant take it bro 
congrats nex
do they have popOS 24.04 yet, last time i checked it wasn't a thing
im not sure, i tried out mint 22 xia, but wifi just didnt work on that
for some reason my wifi only works on certain distros
oh yeah
it actually looks nice
im not sure if im on it
i just had a random distro on my ventoy thumbstick
mind you, it's in alpha
relatable ventoy moment
30gb stick with win10, win11, mint, fedora and popos on it
i wouldve done fedora
but i just cba π
dnf pisses me off
I've been running Linux for like a couple months now
i tried switching to linux back in january using nobara but it didnt go so well
i think this install i have now is going way better than before
steam fully works, im trying out steamvr soon
I switched because my Windows literally died
windows is slowly dying for everyone in my opinion
i had this one month phase where my pc just wouldnt boot
not a problem with my pc itself
just windows
it kept going to bsod on startup
Mine got an update that made it so unstable I couldn't even open the start menu
or after 5 mins of use
how do y'all always brick your windows 
i heard nixos is nice
its not even my fault broooo
do NOT use nixos as your first distro
yeah it probably is pretty good if one enjoys reading docs
mind you the bug checks were near completely random
they were never the same
yes true
at least development will be easier
cause i actually know linux api
windows is convoluted
yeah, like how linux syscalls in assembly is used in tutorials
but windows is like
y'know
yeah
DLLs
Stopping what?
dont even get me started on the ntoskrnl.exe export and import structure 
especially the libs they import
What wifi card you have? Cuz some distros need you to download drivers for it if it isn't intel or amd or asus
If you know the distro you want, you can just download the package for the packagemanager of said distro as like an rpm or deb or tarball and you can then boot into that distro install the package and reboot, and then it should support it
If you have some experience and like reading docs, I'd honestly recommend arch
I haven't seen that model before... let me checm
endeavourOS my beloved
Yeah, fancy arch installer. Which is a good thing btw. Arch can stay as it is and others can make their installer of it
Honestly.. this depends on the user you are recommending it to... i talked to afunyun.. and he just wants something that works, but on the otherhand, if the user is actually interested in tinkering and learning how a system actually works.. then yes, arch based or vanilla arch, (especially vanilla arch) is a great recommendation
Endeavour does have its own repos and theming though
I only mildly broke my windows because I had faulty ram lol
Well, I only hope that more people are willing to spend some time reading and trying out linux. At least just for one day
https://www.google.com/search?q=intel+corporation+dual+band+wireless+ac+3168ngw+driver+linux
You seem to not be the only one with the issue
thats so weird
ahhh
i wish i knew about this
i literally checked everywhere too
i guess my searches were too vague or something
hey nex, how your lang doing
what are you doing 
1.7 MILLION
You still need to search deep eben with what i provided to find a download, as the intel website doesn't provide it anymore.... that's how ancient of a driver you need
brother
What the
LLM
working on my llm continuously pretrained on pop culture/anime/vtubers/etc
ah mb
i have a dataset ~15x larger than last time

Shad be out here making the waifu grok wished to be
the base llm achieves 38.6% on my benchmark, while my finetuned one so far achieves 44.5%
my plan is to somehow get to 50-60%, then i'm happy
Then the universe decided you'll only get 49.9999999999999%
nooooo
% of what 
hard vtuber knowledge benchmark
very difficult factual questions
every percent is 143 additionally correctly guessed questions
14.3K survey 
yeah thats horrible 
i also have other private benchmarks on videogame/anime/vrchat/etc...
Hello everyone,
Im very new to the world of programming IT stuff, im looking to create a bot for my own Discord server, mainly to log who come and goes.
Is there resource somewhere that could help me get on the right track ?
As far as i could find though, you need this:
wget https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-3168-ucode-22.361476.0.tgz
tar xvf iwlwifi-3168-ucode-22.361476.0.tgz
cd iwlwifi-3168-ucode-22.361476.0
sudo cp iwlwifi* /lib/firmware
sudo modprobe -v iwlwifi
do you have any preference when it comes to programming languages? there's a few good choices when it comes to discord bot libraries
Though if ethernet isn't an option, you would need to do the wget and then copy the file you get to a usb, and then copy it to your linux install and then execute the rest of the commands over there
I've dabbled In AI three times.
The first was designed to slowly get better at beating one opponent at rock paper scissors and probably doesn't count as an AI because it used statistical analysis to make decisions and ran in Microsoft Excel.
The second was an attempt to make a similar program that actually used a neural network (got about half done before I stopped for some reason)
The third was an attempt to make a game where you build a dungeon and AI adventurers that slowly get better try to build it. I actually had a working prototype but had a random crash and when I found the source I realized that to fix it I'd have to restructure around a third of the code. I gave up there.
(This post ended up being longer than I expected)
For something simple like that... just use python... it's really easy to learn and understand
For my actual job i program machine using SCL language, it look very similar to C or Python, so either is good for me π
in which case I'd probably suggest discord.py, which does delve into some async weirdness but other than that its perfectly fine
Even still.. discord.py is really easy to understand especially for simple things
The things im the most clueless about is libraries, how to make the bot run the code etc etc
Programming in itself should not be too much of an issue
Alright ill take a look tyvm π
There are great resources and documentation out there
you'd be suprised how much people delve in too deep
if you have an understanding of programming then discord.py is very nice to use
I have seen a lot of people who do not know how to program and do not want to learn
(I blame covid and the 77k messages I have in that server
)
where is shir
idk

Haha tyvm, no im someone that like to learn, heck why i want to do the bot myself and not use one of the 100 out there already
my approach to learning is doing something way above my abilities and giving up somewhere third-half way through. i come out knowing more each time
For installing python:
https://realpython.com/installing-python/
For library/package management:
https://packaging.python.org/en/latest/tutorials/installing-packages/
And the discord.py docs have already been provided by bred
my approach to learning is thinking about doing an ambitious project and then giving up before starting 
I think the key difference here is that you have the intention to learn
shiro hasnt been in #programming since the 14th. he's alive tho apparently in gn yesterday
a lot of people used to go into help channels and basically just say "I want xyz, please send me the code"
also this is my approach to learning ML and it has not worked 
well not really ambitious ig, it would be in my ability am just lazy
$ git init
Initialized empty Git repository
"fuck it i'm done"
damn you get that far
a true screeps "player" in the making











no


