#programming
1 messages Ā· Page 73 of 1

She used to study nuclear physics but it didn't quite satisfy her so she's now doing linguistics.
all
I'm married to my screeps colony
Based
women physically cant understand a computer
in exchange they can teleport objects into and out of your perception
false hydra type shit
I wouldnt immediatly say all without evidence. But i also dont want to ask for evidence

bunch of silly little parts doing silly little things not that hard to grasp
do not ask for evidence ur gonna get flashbanged
Thats my problem 
my esc key doesn't work 
O7
Just mash it until it does
Works every time 100% of the time
need to stop thinking about screeps
Or buy new keyboard.
it's registering but it's not being processed I think
@grok is this real
huh
actually I'll just try thinking more about screeps and then pass out when I forget to be awake
gn
oh wait
gn
Let me guess
immq sleep
did discord do a common L and remove the esc key binding for removing a reply from the message you're about to send?
Some mess stuck under the key.
Honestly from what ive seen before, this might not be too far off from the thruth 
Yeah I think so

Real
my efficiency has gone down by 20%

Like computer as in how to operate it or computer as in the physics behind it?
surely this will restore it 
I'm not quick to assume, need to know more people
Do not
Touch that
Button
It is evil from the worst pits of hell
I have seen what they do at my moms work, it changed me 
Also, my moms collection of old laptops is not good
True that, discord can't update
Not only discord but lately microsoft aswell
Any windows update they just pack it with more fucking bloatware and call it a day.
waiting for when I am allowed to install linux onto my machine
Last one broke my fucking graphics card I had to disable automatic updates for windows and since then I'm just not updating it.
I have had the urge to do that for a while
I dont have much problems with windows. Its those green fuckers that break my drivers 
Unfortunately my father would disown me and sign off all heritage to my sister.
Only use of AI video I'll accept

Lmao
I have another one but it is so cursed that I won't send it here.
Actually lemme find the good one.
The normal one.
Not even vedal RTX?
No
Sam is getting a trauma flashback
I keep getting the same visual studio update via windows update every single day and it's kind of starting to get annoying
ppl who ignore windows updates and then are suprised when shit breaks months later 
Windows updates are so ASS tho
I ignore arch update and it never break 
Stupid
Look, I like Windows for the user-friendliness of it. But as a dev it feels like not enough is doable there, plus with their whole "alias" thing in powershell that fucks up stuff every time I copy paste commands
i'm trying to prevent a deadlock in a pure computation that's non-terminating in the first place how did i end up here
Hey, its an SBC to muck around. I don't even connect it to the internet
Ye, i just need to get around to finding a decent distro that isnt too bare-bones for what i need to do
Found it
Yeay, Chay finally going to solve the halting problem! 
the problem with me not being able to switch is that it would require me to explain every single minute detail of my screen to teachers at school only for them to be like "yeah no you're hacking"
at least they leave me alone afterwards but it's annoying as fuck
Garuda
Or CachyOS
i am not. i simply want a = a + 1 to work
why not a += 1?
this should be a perfectly sound fixpoint as its a monotonic function
"should", yeah, famous last words
^
this is not a statement its a recursive expression
a = a + 1 is basicly infinity if you do it wrong 
thats why i said its nonterminating
Non terminating sam
the problem is, in haskell's lvars framework, this will instead deadlock
Do you expect me to know what that means?
No 
wait what languages or what tech we talking again i got confused.
not tech, just maths
Oh
This is the basis of programming
Oh no I'm just having a brain meltdown as I fail to understand how is a = a + 1 and a += 1 any different
Because my god whose bright idea is it to combine instruction and data
sorry without lambda calculus background i cant easily explain it to you
That's fair
It should be the same, but it isnt quite the same
think of something simpler instead: b = a + 1; a = 5;
this is terminating, b is 6 and a is 5
there can be something like b = max(b, 5);, if we use a semilattice for max we can start from bottom (like 0) and b will end up at the value 5
I understand mhm (I don't understand anything)
Purely math based, a = a + 1 is just a fucked statement.
I dont agree with it
thats why lambda calculus is not a sound system of logic
and this is why in proof checkers, termination is mandatory
There can never be one 
At this point I have to ask, what the hell is math about?
about solving problems
@blazing hound I forgot to say, very cute pfp
Thaaaaanks 
Very cute personality
in my case, i'm studying fixpoints and monotonicity as part of my wider research into composable systems
I can assure you it is not normal, I've been going on for over half an hour
that friend is presistant
Mm?
this has applications anywhere you have A and B and want to combine them in some way:
- module systems (for programs or configurations)
- distributed programming
idk thats it but this is already incredibly wide applicability
Math is about having fun for me personally
Out of curiosity, was this what won the book vote?
nope this is just what i'm interested in
I see
as i always liked highly composable systems
Well, you are cute. You denying it only fuels the fire as the fact that you don't realize that you're cute, or you're too flustered about it to admit it, making you even more cutie patootie.
Like knowing that some infinity is bigger than other, yet we still don't know what comes after said bigger infinity
Docker Compose 
You've been observed and deemed adorable.

That you
This is too much for my systematologist brain.
here's a relatively simple introduction into the topics https://www.youtube.com/watch?v=R2Aa4PivG0g
I love query languages for many reasons, but mostly because of their semantics. Wait, come back! In contrast to most systems programming languages (whose semantics can be quite esoteric), the semantics of a query (given some inputs) are precisely its outcome -- rows in tables. Hence when we write a query, we directly engage with its semantics: w...
yoink
Added to watch later

and here's where the research has been applied:
https://github.com/iu-parfunc/lvars (haskell)
https://hydro.run/ (rust)
and there is still so much more to do in this "field"
Field brings me back when I have to implement RFC 
If I ever get enough time to focus on learning, Type theory is pretty high on the list of things I'd want to learn.
sadly theres not much in the way of formal verification of lattices or monotonicity currently
so when using lvars or hydro/dfir you just have to say "trust me my lattices are correct"
its more of a way of framing your problems than a tool for verifying your solutions at the moment
which is still very cool
I don't really understand it as of now so I can't discuss it personally but it sounds really cool from your description.
How does CPU instruction prediction even work?
Black magic mhm
They don't work
Just look at all the CVE we have now
But, if you're curious, modern CPU has another CPU basically
That little CPU is helping the big CPU to do stuff
it is very cool but the problem is that because the concept of a partial orders/monotonicity is so general i find a hard time thinking up an ergonomic language for working with them
for example, you can order integers by their order (1<=1, 1<=2, 2<=3, 3<=4, etc), or you can order them by divisibility (a<=b if b%a == 0), and when a function is monotonic its monotonic with regards to some particular partial order 
Thats very interestingm thanks
See Intel Management Engine
speculative execution just predicts what data it will read from RAM and runs the code anyway, and later if the data is wrong it rolls back the state and runs the code again
"rolling back" is tricky which is why there have been some exploits
This is completely out of my league so I can't help you with that unfortunately...
Oh wait IME doesn't do the spec ex stuff
it doesnt
Bwa bwaa bwaaa

How does my phone go from 50% to 80% in 20min, but 80% to 100% takes 35min?
This is a scam
Batter percentage is not linear
Because the usage is 50W for example, but charging is 15W
It's like shoving more stuff in a cabinet when you know you shouldn't
damn i didn't know they had speculative decoding but for cpu instructions
But how xome the first 10% last as long as the last 40%

Maybe the charge controller is shit
It very likely is
Should've used coloumb counting rather than voltage mapping
But voltage mapping is easier
But maybe they don't use the correct curve to report it and assume linearity
Im not sure how battery charging works, but i havent charged my phone more than 80% a single time in the last 4 years
So it might be cuz of that?
This is an example graph of battery voltage to charge capacity left
As you can see the graph is not linear
Man fuck electricity.
When measuring voltage (the easy way), you can use that curve to accurately map voltage and capacity to some extent
Back to steam we go.
But the capacity WILL degrade over time due to... reasons (chemistry mostly)
Hence the voltage will drift over time from the curve
Its cuz of the lithium ions getting stuck in the semipermiable membrane or some shot iirc
The best way to accurately measure battery capacity is therefore to "count" the in and out
How many goes in the battery and how many goes out
The remaining is then the current charge level
I'm gonna give you headpats
Okay 
WE HAVE THE OG CANVAS BACK https://neurosama.place
very very very very important question what book should i read next
7
15
5
5th option (this may have consequences (you have been w
1136489026577252382
neuroNuke

What if I post HTML in here?
It gets rendered as an iframe (real)
of course it's suddenly upset about the json format if anyone else is getting rekt by that
i have literally no idea why though
I have acquired
This overly expensive toothbrush
It was on sale for 110 so i said fuck it
The store seller tried to aggressively upsell me a bunch of shit
A whole mobile plan for 39/month
Asking me like
Twitch https://twitch.tv/ThePrimeagen
Discord https://discord.gg/ThePrimeagen
Become Backend Dev: https://boot.dev/prime
(plus i make courses for them)
This is also the best way to support me is to support yourself becoming a better backend engineer.
Great News? Want me to research and create video????: https://www.reddit.com/r/ThePrimeage...
real
Dude this is obviously the better plan u must buy it now
And i was like
No???
and mf was like
"explain why not"
And i said the dumbest shit
i said i had a sentimental connection to my current mobile provider cause it was the last thing my dad paid for me before he died
šš
GCS permissions
are boutta make me lose it
I just wanna make a service acc to upload files
thats not a bad excuse tbh
people can be emotionally attached to different things especially after the passing of a loved one
also, sorry for your loss 
same energy as the āour grandma used to read us windows activation keys to sleepā thing
truly what i was looking for
dude i made it up
My dad's still alive and well
lol
I MADE IT WORKKK
i think
after doing some tomfoolery
with an offline refresh token
the backend should remain authenticated for file uploads
gonna shut my dev server down
and test if it can still auth tomorrow
I have a sonicare as well, it is a good toothbrush
but it is expensive for no reason yeah
1 hour later
copy and pasted a webhook with one(1) extra char
in the prod webhook secret
guess ill uh
validate the webhook before just yolo sending it

I'm currently doing the upgrade a data cluster without getting a panic attack challenge
impossible
It contain a lot of prod data and is ya stuff secured somewhere in case of issues?
redudancy is part of the cluster itself
Ah, is there redundancy for the redundancy or if this cluster fails then data poof?
@wraith raft #merch message
Genuine question, what use does that many monitors serve?
This is a storage cluster and not a database. It stretches over multiple locations that all would have to spontaneously explode at once and then backups for select data also have to explode
Even if you could backup it all again I dont have an extra 3 Petabyte lying around
Oh nice redundancy, I just like being informed on redundancy practises since I do freelance my biggest fear is data loss
redudancy != backup is a rule of thumb but doesnt apply to certain scales were you have to select what you can or even should send where
Currently all my systems just have hourly db backups to GDrive
Compressed heavily for that storage saving
sure, but thats person usage. Business cases are vastly different
Yeah I getcha, I did work corporate for just over a year but I was shoeboxed into backend development so I couldnāt really branch out to work in diff sectors
Doing freelance work really opened up my scope and let me work with a decent amount of scopes
Cause I just kinda have to deliver based on client requests to the best of my ability

3 pb sheesh
good morning all
good morning
Morning!
nah, my sleep is perfect
time to check on my screepies
all alive and well 
ew
this is code from the scsreeps engine
let invaderGoal = Math.floor(C.INVADERS_ENERGY_GOAL * (Math.random()*0.6 + 0.7));
if(Math.random() < 0.1) {
invaderGoal *= Math.floor( Math.random() > 0.5 ? 2 : 0.5 );
}
yeah wait

i think i need to improve the code for my miners
they waste way too much time
probably need to cache the mineable tiles per room
and then actually assign a creep or two to each
looks like my walls are up to about 55k HP
at this rate they should have my walls up to the desired 100k by the end of the day
make sure to leave one wall with 100hp as a surprise gift for the attacker
some players are truly locked in and its kinda scary
once the novice zone protections are gone im gonna get rolled
like im not defending against this 

This is why I'll be doing a lot of preparation on my private server first 
Deployment on the official server can happen later and I don't wanna get rolled
Also I'm debuffed by writing the script in Gleam
i mean i dont mind getting rolled 
the novice areas last for like
a month
so its not like you're rushed
oh, that's way longer than I expected
gleam 
good.
mostly because of linked lists and lack of introspection for the JS objects
for a language that says it compiles to js that suprises me but I guess it makes sense
I predict much pain and runtime overhead
actually now that I think about it I could have a fully generic Dynamic-like type for JS objects, that might be nice
if a language has good js ffi its probably too js-like for my liking 
wasm moment
I'm sure it would be fine, yeah
People have made good typescript integration too
But it would be boring, and this is an opportunity to do something stupid
you're still the only person so far whose idea involves actually playing the game
so you get points for that
ok idea
instead of this silly sudden jump in wall strength requirements
why dont i interpolate it from the last one based on the controller upgrade progress
the CALM principle (consistency as logical monotonicity, i.e. that all distributed programs that give consistent output without coordination (coordination is something like blockchain) are monotonic) is so obvious when you consider that distributed computing is just N mutually recursive functions computing a fixpoint
bwa
ok
my screeps are in a good spot
added a feature to my room controller upgraders, they'll now sign the controller if it isnt signed by me
now my controllers say miku miku oo ee oo

seka
added interpolation of rampart and wall hp goals for smoother scaling of builder workloads, that way they can do building projects in between
this was a pretty needed edit
ive been silently dreading the first npc invasion, which cant be that too far out
because i have no active defenses 
i have code to spawn a guard if there's attackers and i have no towers, but whether or not id be able to afford the guard is another question
so
i really need them to get this tower built
they haven't been doing it because they've been upgrading walls 24/7
but now they can focus on the tower

tell your screeps no food or sleep until they build the tower
i need to do the math on creep mining techniques too
i saw other people have creeps with no carry parts mine, and then occasionally haulers would just come grab the dropped energy
but the dropped energy decays by one each tick so
i need to see if thats worth it compared to having the miner leave to bring the energy back
very wasteful
p

yeah I think the next thing on the list for me is to write some code for scouting rooms
set of candidate rooms will be taken from the set of rooms adjacent my own
then we'll verify we have strategic information about those rooms that is valid to within the last 500 ticks or so
if not, we send any existing scout units to rooms that aren't fresh enough
if we have no existing scout units, we make some
once we have all this info, we should be able to do some kind of heuristics
e.g. a defensive score
something like DPS * HP for every active defender
and then ensure we have 1.5 times this heuristic for our attackers
another heuristic needed to decide the best value target
trial-and-error needed there
Heuristics?

I think another smart metric for evaluating defenses is the minimum HP between myself and the room controller
that is, if I pathfind to the room controller with all tiles being free except walls and ramparts whose cost scales with their HP (perhaps with a rampart multiplier since they can contain units), and then sum the health of all walls and ramparts encountered, what is this health
that should give me a decent metric for the strength of the static defenses present unless the player does something clever like leave an opening on purpose
if I combine all that info, I should be able to derive some kind of cost benefit for each potential target
and use it to inform invasion plans
Whenever I'd tell people I was learning APL, I'd often get told that I should learn a "more readable" programming language
So I am.
idk what to do for low level battle tactics tho
not sure what the meta is for attacker body or positioning
or what to attack first
too readable go back
go forth
The wildest part to me is that APL and COBOL actually seem to share at least one element in common:
They both seem to have numbers and characters as the two primary datatypesāwith no regard for floats or ints or any need to explicitly convert between the various sub-types of numeric variable
Well, the languages have two elements in common, if you count the whole "couple hundred built-in operations for you to memorize and barely any reliance on external libraries" thing
...Three if you count the grammar-like syntax of each line
Point being, the two languages are WAY more similar than I would've expected going in
Sorry, best I can do is either
IDENTIFICATION DIVISION.
PROGRAM-ID. ASSIGNMENT.
DATA DIVISION.
WORKING-STORAGE SECTION.
77 NUM1 PIC 99.
PROCEDURE DIVISION.
MOVE 36 TO NUM1.
STOP RUN.```
or
```apl
num1ā36```
I don't understand anything in between
mrrp
i was blind
too java brained to see the potential
to see the vision
but i have finally realized
erf must become a dependently typed language
also
mrp meow
This seems so odd to me, Why would Math.Pow produce inaccurate result? (this is c#)
Expected: 4321550163432819409
But was: 4321550163432819200```
```csharp
public static long FindNextSquare(long num)
{
long l = 0;
long r = num;
while (l <= r)
{
long mid = (l + r) / 2;
if (mid < num / mid) l = mid + 1;
else r = mid - 1;
}
return l * l == num ? (long)Math.Pow(l + 1, 2) : -1;
}```
Isn't love basically a brain's positive stimulation, based on it's own self-created signals about the external interactions of a hypothetical person you can't prove exists, especially since your reality is a construct of your brain and that person is only acting in a specific way rather than showing how they truly feel
Doing simple multiplication ended up fixing the inaccuracy
return l * l == num ? (l + 1) * (l + 1) : -1;
4321550163432819200 isn't even a perfect square
Math.Pow returns a floating point number
floating point maths is not precise, its encoded as a mantissa + an exponent, the mantissa is not big enough to encode a large number like that
Interesting, thats good to know
If you want full integer precision, BigInteger will do it without converting to float
Im back to civilization 
Ive been reading more of the vulkan docs
I took some screenshots, gimmeva min
Grammar police ššššØšØšØššš

It's is, double is
Illegal
This feature is pretty based tho, I approve.
Depth bias slope factor with the built in dot product the rasterizer does anyways is so based
Silliness?
Mayhaps
Lemme check where the 3090 is
It departed
So im guessing on a plane somewhere
My guess is a cargo ship
Possebly ye
A plane would probably already have arrived in Finland, since based on that timeline it's been departed for soon to be 2 days
Wow
That's slow
Oh, that's snails pace
How do you even report that?
Still wrong on the website then
I guess they only push major changes there or something
Today is very tiring
Mildly hot take, vulkan is just opengl with extra steps
yeah, that's the point
the extra steps are the important bit 
Nullptr?
Ye
I read the fully out in my mind when reading the docs
Every single chapter its like, good job you did it
Opengl is like going to the GPU, placing you order, and you're good
Vulkan you have to build the road, build the digital side of the GPU, build the menu, build your order, get your order, package your order, and deliver it yourself.
Silly
bought my little brother minecraft java and showed him computercraft. have i made a mistake
It is, acceptable
show him OpenComputers next 
opencomputers 2 
tbf itās overwhelming even for me
what do you mean riscv emulators running linux
looks cool but I've never tried it, I've only ever messed with the Lua-based ones, and I haven't done that much with them
i thought the networking thing has insane potential but how it actually works is pretty jank
mod is dead, a fork is alive but development is slow
the RISC-V emulator part makes sense at least, using a standard architecture like that grants a lot of freedom and realism
the Lua stuff is noticeably sandboxed
Not void ptr?
fn_computed_beforehand
I was cached by shiro
Evidence #programming message
Live copper from the wall
Surely is an ethernet cable and not high voltage current 
To be fair, those cables look too thin to be high voltage
looks like data, yeah
the wires look too thin to carry a lot of current at least
then again, exposed copper like that isn't exactly best practice, so they might be abused for carrying power 
I mean.. Power Over Ethernet is a thing so... 
I wasn't planning on touching it anyway
PoE is usually higher than average DC that you encounter. Still safe tho as its an active standard. Passive PoE is usually limited to less than 64V
yeah, pretty sure that even passive PoE is safe to touch
there just isn't that much power 
Indeed. But knowing me, copper is copper 
Surely this is the last function 
I'm impressed that you managed to actually separate everything in their own functions. But the list must grow.
Can one logical device span multiple physical device?
This is not my code lol, its the docs
But i am planning on doing this too
Opposite
A physical device can have multible logical devices
Idk about the other way
Yeah, this is normal that's why I'm asking the opposite lol
yes
Oh, wow. So distributed load across GPU is possible in Vulkan alone huh
hi


What? Does coq compile to Ocaml?
If you are working with NVIDIA's GPU clusters then yes. That is the entire point of NVlink.
Also probably SLI way back when, but no idea if the two linked GPUs were exposed as one single device.
Well, I know about the use of NVLink, but I didn't know Vulkan supported it. So does that mean to have the logical device span across multiple phy, nvlink is required?
I thought there was a mobo way to do ot too
No idea. There might be other technologies to do the same. AMD might have something similar, maybe using Infiniband?
But sounfs zbout right
Oh right, NVIDIA is releasing that custom motherboard that can house 8 RTX Pro cards. I don't think that's NVLink.
Is that a thing in Vulkan too?
AFAIK what NVLink enables is fast P2P transfers, which for compute workloads are usually handled by nccl
but they aren't really a single device, it's just that communication is handled for you
Well, I just thought that distributed computing stuff is abstracted away by the API even with limited bandwidth
at least for CUDA it is
Yeah, but I was talking Vulkan since I saw the API that Sam sent before
-# or at least for PyTorch, idk which abstraction layer it's actually handled at
I'm like 99% sure that you can't just treat multiple physical devices as one with Vulkan because they simply do not share memory unless you explicitly make that happen somehow
You have to put a copy of all the files in each vram ye
So the abstraction happens at the CUDA-level, not the driver level?
Yeah, then Vulkan wouldn't know about it
for CUDA yes, definitely not at the driver level
Which is why I was asking. Does the make logicalDevice API can span across multiple physicalDevice
Which is cool if it does
A single logical device can be created from multiple physical devices, if those physical devices belong to the same device group. A device group is a set of physical devices that support accessing each otherās memory and recording a single command buffer that can be executed on all the physical devices.
that
Im mostly wondering about using multiple logical devices
I dont see the immediate usecase
since you can't usually create a single logical device for multiple physical devices you need to create a logical device for each one
but yeah, for a game it doesn't matter
Ye im talking about using a single gpu
then a single logical device is fine AFAIK
They do make it very clear you can have multiple logical devices per physical device, so im wondering what the intended usecase is.
Multiple viewports for VR? No cuz you can just have a framebuffer queue with double images
See? That's why I asked because Sam is reading the docs 
But thank you for clarifying it
sth sth partitioning resources
maybe you want to have a part dedicated to compute shaders and the rest for rendering
that's what nccl is for yea
Bandwidth will be ass tho if you didn't have NVLink or similar. But I don't know how ass it is
nvlink is irrelevant here, you still are on a single physical gpu
Oh, that's something new to me. Imma have to read up on that one
Oh, you're talking multiple logical on single phy
Mhm
I thought 2 logical on 2 phy
you can already do that with a single logical device, you still get access to individual queues
then idk
yeah idk either
only difference I see right now is that you could enable different extensions for each device
but I guess it's one of those things that the API doesn't disallow just because it can 
Of course nccl stands for nvidia. Why didn't I see that one coming
looks like one use case would be plugins
so each plugin gets its own logical device to work with
I guess if you're using plugins that render to vulkan and you dont want them to interfere with eachother?
But that's what good low level api should do
I think the only reason idd use it is to run an llm on the gpu next to the rendering pipeline?
You can seperate compute shaders and ui and stuff, but you really only need to change out the pipeline if i understand the docs correctly
Hey why yall despairing me? I need that enemy ai to run locally
you technically can run it inside the shader now 
Ok, I redacted my previous statement about good low level API design 
But vulkan should be faster than pytorch???
That shit sounds cursed af
not so sure
cause torch do have optimized backend
Pytorch is just an abstraction. It could use Vulkan or not IIRC
Damn
this except only the right part
hope this helps 
then use CUDA 
I fucking hope so
neural rendering is pretty cool though
N
but Vulkan implementations of LLMs and other ML models do exist
Cuda is cpp, right
Is that performed in compute shaders?
A superset of it
The plan isnt to make the ai render shit, tho that could be possible i guess

sth sth just throw tensorrt at it
So for vedal drunk driving simulator i will need a database of british slurs and some driving data

You can try to look for a racing sim game dataset
Then just use Torch directly in C++, since it has native C++ bindings (it's always internally C++)
Go home Gemma, you're drunk
Asco's Body Scan 

Can i select how much of the device i use in torch too?
you can limit the amount of memory it's allowed to use iirc
I think it would be good te reserve the cude cores per app
yeah nah
So of my 10k on the 3090 like 6k render and 4k NN
that's not happening
It's not like ML is compute limited on inference time, it's actually bandwidth linited
itd be better to let cuda optimize it
since render and tensor does not use the same stuff
yeah let the driver do its job
there's technically nvidia's multi instance gpu thing but i don't think that's available for consumer gpus
ah nvm it's hopper and blackwell only anyway
if you really want to partition SMs i think the only option you have is writing PTX, cuda doesn't expose this to my knowledge
I just dont want cuda to hog recources
NVLink? 3090 and 3090 Ti have it
They sure do
different thing
Yours has it, and mine does too
Whar thing?
i'm talking about splitting a physical gpu into multiple logical gpus
Oh, well that's just silly
It can be useful for some thing, i just dont know what
Mainly structuring ig
Vulkan does hzve some nifty features, you can rasterize only the polygon edges if you want
Wireframe mode?
Ye kinda
Im not sure how exactly it works, but it should basicly bf wireframe mode ye
Guys, vulkan is OOP???
is that an actual question? 

Or well. Its not inherently OOP but it kinda mostly is
in what way would vulkan be oop what
sir it's a C API
You use functions, but you treat the things as objects
yeah, but the functions operate on the resources, they aren't part of the resources themselves
The buffers and stuff arent actual objects, but you use them as such no?
also there's no inheritance and stuff
passing 15 parameters around isn't particularly fun 
no not really
there are resources, but you don't call functions through those resources
they're completely separate
You still need to handle lifetimes and such
You just do it as a function instead
I agree that its not the same, but it feels like OOP sometimes
i'm afraid it's terminal 
It doesnt help that the docs put everything in a vulkan class
Im going insane probably
doesnt help that python uses classes for something as simple as aggregating values
Its fine
you are going insane yes
Im too python pilled


whose gonna stop you tho
Just wait until you get to DX12, where everything is an object, but also not an object, but also at the same time it is actually an interface, but you must use a second object to access it, and everything is created by using this second object (which accesses the first object) and pass it a struct that has 30 options which nest other structs just so you can configure your screen to turn a different shade of red.
The barman
I just wont go to dx12
Ill keep using vulkan thanks
I'll be honest, I actually prefer the d3d12 api over vulkan, it's just easier to work with IMO
Ive never even seen the d3d12 api so very possible
the sectet pipeline
Task/mesh pipeline should replace tesselation pretty well
It's also Windows exclusive so it's limisted in where it can be used
they said they might get into it
The server bout to be me, 2 mods, and a mod's coworker
The power dynamic bouita be wild
rip sam's pc, lost but not forgotten


On-screen keyboard
konii why your profile pic is extra big?
That's just the tv decoration
i forgot avatar decorations existed 
The trick looks good tho, good job
@stark needle 
Recently I discovered an interesting difference between the Windows command prompt and Linux terminal, can anyone guess what it is?
linux terminal emulates a tty, windows console is standalone?
Not a good coder, but believe me I was surprised when some PowerShell commands were the same as Linux terminal
š automod
partially convergent evolution, partially intentional copying
commands like tree existed on computers way before linux and windows
On Linux terminal, reading stdin is blocking, but on Windows a thread can both read stdin and do other processing
i turned konii into a <insert series from which her profile border thing is> character
someone at microsoft thankfully realised that using the command prompt is a miserable experience 
I swear I've done async terminal reading before
reading stdin can be nonblocking, its just a flag you can set with fnctl
indeed
stdin is opened automatically but the open syscall accepts O_NONBLOCK
Well, not something I figured out
I just put it on a coroutine running on a different dispatcher
Anyways, speaking about linux, my android device doesn't have native support for kvm (which is needed for virtualization) so the android native terminal (debian) should not work by default, I made my own replica in a terminal emulator (it even has xfce desktop š)
if you use fnctl on fd 0 (stdin) you can update the flags with O_NONBLOCK
aren't commands like "ls" in PowerShell basically just aliases for cmdlets
not basically, they are
And how would one do that on Kotlin?
i slammed it twice and it worked
looks like you have to do it the way you did
java.nio.channels i guess
or a coroutine
Well, putting on a coroutine on the IO dispatcher is good enough
actually this will still make stdin blocking, it just wont block program execution
technically you could use jna with libc to call fnctl
not really worth it in a real program
less portable, and likely to break
i'm more concerned about kotlin presumably not making it blocking on windows
choose one 
it does seem like awful misparity
i just invented that word, no one can have it
Well, either way, I fixed it and that's what matters

also you cant necessarily set it to nonblocking if its piped from some other source
(not all fds can be marked as nonblocking but idk the specifics)
so using blocking reads is the more predictable approach
I cannot even begin to explain the sheer amount of pain it was to get this to show up 
is IPv6 hard 
Thankfully not, but dealing with Hyper's types in rust is
"I heard you like traits, so I added traits in your traits in your traits"
this is why you usually don't use hyper directly
rust 

I prefer to learn from the lowest level and work my way up. I already have an axum binary that can serve an https project, but I would like to know how the underlying stuff works so it is easier to work with the higher level stuff
fair
Wait. "S::Error" <- you can do that?
if S is a trait that has type Error then yes
I probably don't have a use case right now, but that's neat
Oh wait, it's jsut associated types
Sadge
learn from the lowest level hm? write a binary executable by hand right now
You have unlocked new role

Would like some function with your traits?
Yes please 
could use more traits 
I can't do binary, but I can do asm:
section .rodata
hello: db "Hello, World!", 0x0A,
.end: db 0x00
section .text
global _start
_start:
mov rax, 0x01
mov rdi, 0x01
mov rsi, hello
mov rdx, hello.end - hello
syscall
mov rax, 0x3c
xor rdi, rdi
syscall
Could use more sugar
Tasty
mhm is that nasm syntax
using llms for zip decompression 
yes, cause intel syntax > at&t syntax
so real and true
intel syntax ftw (totally not biased because of ida)
progress has been made 
Sentient AI yadda yadda yadda.
Mmm yes html css js site. All is right as it should be.
This is facts
the question now is, is A = 0, I = 0 or both
ok now do the same syscall for windows 
instantly 10k lines long
wdym syscall, don't you mean Win32 API 
it's more like a dozen or two if you're writing for specific Windows version
anything can call syscall if it wanted to
it'd be a little bit more reliable through ntdll/other existing Microsoft bins that call syscall on the system but there's nothing stopping you from calling syscall yourself
ik but it's funny how nobody wants to
linux syscalls are so simple
windows is so needlessly complicated smh
my head
a chrome wrapper for your gpt wrapper for your cli wrapper for your syscall wrapper
isn't life beautiful
I wonder if cloudburst got to reading those docs
ive finally gotten to the actual rendering
After 123 pages
Are you actually reading the docs top to bottom?
Yes
Holy 
Not really "docs" but this thing from the vulkan website
That is more reasonable.
I wonder how big the actual docs are without all the VUID tables that just fill 4 pages for a single function from time to time
is it 
A vulnerability in Cisco Unified Communications Manager (Unified CM) and Cisco Unified Communications Manager Session Management Edition (Unified CM SME) could allow an unauthenticated, remote attacker to log in to an affected device using the root account, which has default, static credentials that cannot be changed or deleted.
This vulnerabili...
day 0 since the last cvss 10.0 from cisco

c++ obviously executes each line >100x faster
rust executes each line >300x faster
c >500x faster
real
is it worth learning c
yes
why is it always cisco 
it's always Cisco or PaloAlto or Ivanti
i like to imagine someone once googled "fastest programming language", got assembly, learned it and were confused why their C implementation runs faster
average saas startup website design in 2024
I don't understand those words
good
if you explain those magical words I'll give you a cookie
Hehā¦I only know how to code on SCRATCH!!! AHAHAHAHAHAHAHAHAHA
You are more advanced than Mr vedal
large attack surface mixed with poor programming I assume
Hehehe
š«”
i must go to slumber now as well
oh no you dont
Why do people sleep?
Bro is gone all day, and suddendly appears when im going to bed 

I hadn't sleeped in like 27 hours (rough guess)
screep time
ik
Bye
French traitor
Okay, bye 
š„
Who said im french?
I know its almost 1am in France and you said 1am
Plus you smell French (that's not an insult (mods plz no ban))
Oui Oui
Huh

And im belgian
what is it with all of you and doxxing yourselves
Im on vacation, i dont live here
doesnt matter if you dont live there
you're there right now
never share your current location on social media
Yes I'm going to walk to Montenegro (very cool looking place I've never heard of) and rob a random person from discord
If they're able to even figure out what city im in, they wont find the hotel
Im fine
(Me is joking since you should never share location)
given the tenth of a million people in this server
im willing to bet at least one of them is insane enough to go visit you or track you down
gambling that they're not going to see this isnt worth imo

Podgorica
nah, that would mean they went outside
If someone is doing that, i just want to let them know they have no life
nobody does that here
you jest but im dead serious
wrong buzzer
Its fair advice, but im only here for 2 days and then going to the next place
I do agree that its good advise in general
All the pictures ive sent i only sent after i left the place
Golubovci
Crap
Shiro, I was having a great idea to tell you before I went to sleep. But now that I've woken up I forgot what it is
saas is software-as-a-service i guess, and i'm referring to this phenomenon. have i earned a cookie yet
o7
No because you made my website feel inadequate (I spent 19 hours learning CSS and js to just write the 1 page I showed)
what is screeps
now i can defend against invaders easier
ive been hearing this for two days and im clueless
Happy midnight
Screeps: World is an open source MMO RTS sandbox game. With all the attributes of a full-fledged strategy game, you control your colony by writing script that operates 24/7 in the single persistent open world filled by other players on par with you.
Your colony can harvest resources, build units, conquer territory, trade with other colonies. As you conquer more territory, your influence in the game world grows, as well as your abilities to expand your footprint. But beware, multiple players aiming for the same territory may lead to conflict!
Screeps is developed for people with programming skills. Unlike some other RTS games, your units in Screeps can react to events without your participation ā provided that you have programmed them properly. And, unlike other MMO, you do not have to play Screeps constantly to play well. It is quite enough just to check once in a while to see if everything goes well.
and these people spent hundreds of thousands of dollars of VC money on designers for these to follow a trend and look like futuristic slop
sounds kinda cool
it has dedicated vm for sandboxxing JS safely
(or wasm, if you hate js and would rather transpile from your lang of choice)
I don't have that much but I can't have my GUI not look futuristic
HAPPY BIRTHDAY SHIRO 
cap
Wasm big good
If it runs in vs code then it will probably run once compiled

If it doesn't then you gotta pull out the incense and get praying to the Omnissiah
don't you know? vscode the famous wasm runtime
Not what I meant
If the code runs in vs code then it should probably work once compiled to wasm
I REMEMBER NOW. Make a repo of your screeps script so we all can clown on it together like Sam game engine repo 

ok
prepare for my hottest take
VCS are annoying and rarely help me with coding
you really are a moderator of the vedal987 channel
You need git gud
git gud is a terminal-styled puzzle game that teaches you Git the fun wayāthrough 100 levels of increasingly complex word problems that challenge your version control skills. Each level drops you into a realistic scenario: from staging your first commit and branching out new features, to resolving merge conflicts, rolling back mistakes, and maā¦
$2.99
now THAT is a game that would feel like work
Git is for nerds
3 dollars to go through version control hell
no thanks

code review has 27 unresolved comments
act of war
also this is a publicly discoverable server which means anyone can view without joining, and 5 llm providers are scraping this very message as we speak
That's why I speak gibberish
Iwqjqjnerjfififi is my home town
any llm that uses data from this server may as well set itself on fire 
Joe is the most popular breed of domesticated flying cat monkey
i think my point is clear
That sounds insulting

oh lawdddd
shr biggest spammer

How else should an LLM learn hblang if not scraping this channel 
llm should roll over and explode before learning hblang

it is the only builtin
Hmmm this doesn't look to follow rule 5
I should unnecessarily ping vedal (that's probably not agents the rules)
yeah no do wasm atp
oh and the old js version too i forgor
Oh god he did the crime
i forgive shr
i do too

tbh
God I forgot how awful it is when using require
i thought discord would leave them as files
not expand them like that

condolences
good feature
True, so we don't have to download said warcrime to our PC
at least it doesnt on mobile
Congrats. Your eyes are saved
nuro integration for screeps
my code isnt that bad 
Yeah, just old JS style
mom i'm on tv
javascript 
I do not. Also it's 01:23
oop

sory
You're good haha

byter





Now here's more stuff




a mimir
my tower is done on screeps




