#programming
1 messages · Page 71 of 1
it's 39c here 
is it not a crosswalk or are you just too scared to walk it?
cancellation support 🥺 👉 👈
progress support 🥺 👉 👈
I don't think the cars would stop for me
:mhm:
hm ok now I need to decide if I actually want the thing I'm gonna work on to be based on screeps in any way shape or form
or if I actually want to simplify it further
is everyone suddenly getting into screeps?
this time im working on writers before i start doing fmt or logging
I am simply doing anything except for buying and playing screeps
it has just given me motivation to think about ideas I don't know how to start
yes, Shiro has been advertising hard
no more buffers 
now that i think about it i should probably do .writer: T; rather than .writer: Writer(T);
when does someone make their own version of screeps just for this channel
hbscreeps coming in 2037
but it uses lisp
Screeps can already use lisp through ClojureScript 
nah
silly konii
They better be
According to this piece of paper ill be home next friday
woo tabs
hard tabs should be abolished
banned
hottest #programming take
Dont get me started on the brackets if you want hot takes
i thought i'll just get the essentials like initialization done first 
good luck
time for actually controversial opinions: react is the greatest thing to happen to ui and should be ported to everything (react native) and emulated by everything (dioxus)
C# vs Java the battle would be legendary
Nah java sucks
game engine needs a ui system? put react in there
Kotlin better
Idk what react is but sure
sad but not wrong
anything good is either literally React or very React inspired

it uses one space in here day ruined
(before semanticTokens?)
there's third-party Kotlin support for Screeps btw 
Whuh
Im pretty sure im just forced to use whatever sdl offers
of course do that if the scope is big enough and the effort of doing that is a drop in the bucket
i’m thinking very large and capable engines

not a good thing if the engine is 20k loc and the ui system is 10k of them
gm!

Back to learning more Sailpoint stuffs
gah I need to do more hands on projects, tutorial hell sucks

So far, instead of having 30 if statements each frame, i make a diffrent function per possible option.
But thzt option is also getting a bit annoying
ok
convinced I just actually want to implement alpha-beta pruning instead of playing screeps
though even that doesn't seem to be able to escape the issue of looking far into the future
But screeps...
I think I need to come up with some way to break it up into more high level tasks
oh my god the lsp spec is relying on automatic semicolon insertion in js

ok now i have to deal with this
honestly? not my problem
it is the future me's problem!
and um i'm slightly worried about having to specify field name arrays for each struct in a file with 600 lines of code of just struct definitions but i'm sure it will be fine 

aaaaa once again I am having to go back into the land of reading papers until I have an concrete enough idea of what to do
so real
because now I don't know if I want to do alpha beta or MCTS
do both 
or something else entirely

I have no idea how that would even work
tbh I guess they both rely on being able to quickly generate and simulate what happens in a give game state
the two types of theses
- "here i did this cool project take a look, here's a general overview"
- 300 pages of incomprehensible maths sprinkled with a couple jokes and life stories
Does vulkan in web support tessellation?
Same thing
...right
the answer is apparently no

wgpu does support it behind a flag but webgpu doesnt
so if you use wgpu you can use it for native builds
also the C api probably wont have it either way
wait nvm they dont have it in wgpu
misread it

have this very useful page https://eliemichel.github.io/LearnWebGPU/advanced-techniques/tesselation.html
Bwaa bwaa bwaaaaaaa
oh that's neat
semicolon?
semicolon
Im so gud, they call me mr. Gud
I always love it when papers talk about the hardware being used and its some ancient pentium with 1GB of ram


hm I feel like online MCTS should be possible
because you should still be able to reuse your past branch explorations (assuming you explored them)
so if you're exploring the right stuff then
it should be relatively inexpensive to go to the next step
The problem comes when you dont explore correctly
Tbh i have no clue how to make shit predictable for your cpu
yeah, I still don't have a good idea of if there's an easy way to make it reusable
like say I want to figure out what to do about this blue "attacker" coming towards me. both branches are completely valid but also imo the computation for what happens should be very similar
and I can't think of any easy way to do that
tbh I'm just drawing parallels to the way I think irl and kinda wondering if there's a way to include that in this
afaik this could be an issue with mcts because they're completely different branches but both be equally likely to happen so I assume it'd explore each oppertunity equally. that makes sense, but also kinda "wastes" half the computation because it would be better if its able to focus on one and apply what it "learn" to the other option
but that feels like way too abstract of a task
though I guess there is the mildly cursed long-term approach of training some kind of rnn based off of what happens & what you observe when traversing the tree, and using that
I doubt you could do that in real time, but I guess its sort of similar to how a person would do it anyways: try your best the first time but take it slow, then incrementally you become more able to take "shortcuts" because you know what's likely to happen

if this works in any way I feel like this would be a prime candidate for cooking both my cpu and gpu
eitherway screeps is probably too complex of a place to start this on, I should probably come up with something simpler
asteroids time maybe 
this language is pretty good https://cuelang.org/
Configure Unify Execute Validate, define, and use dynamic and text‑based data
Learn more Get started with CUE CUE makes it easy to validate data, write schemas, and ensure configurations align with policies.
Get started learning about CUE with these links .. Let's begin Introduction Take a tour Language Tour Download and install Install GitHub...
though the pitch is pretty depressing
wooow i love schema definition and configuration this is exactly what i need
all operations are commutative, associative and idempotent, a very good set of properties to have in a configuration language
Oooff, nevermind this. I learned about how to make the eggs but I need to register my domain to setup the screeps server and check if it all works 
gah
idk how it uses the Steam API but it also seems to work locally without a domain 
probably for signing in for something
Probably to check client that connects to it
I guess you'd want to specify a domain that you own at least
This. And also maybe some server discovery stuff
I do not currently own a spare domain and I'm not gonna shill out some $$$ just to experiment with it 
time to dig through the Screeps source code again to see wtf it does and if the domain is at all relevant (because I think it's not)
The domain is not, the steam web api key does
yeah, of course
To get the api key you need a domain. Even if the domain is not used anywhere in the code. But I don't know if you could use the steam launcher server one
Because maybe the steam launcher one doesn't need steam web api key because its somehow use steam account feature similar to the api key
For authenticating to steam
In probability theory and machine learning, the multi-armed bandit problem (sometimes called the K- or N-armed bandit problem) is a problem in which a decision maker iteratively selects one of multiple fixed choices (i.e., arms or actions) when the properties of each choice are only partially known at the time of allocation, and may become bette...

I love finding new topics that relate to my ramblings
okay yeah, the domain seems to be literally just a name for the API key
the API call used by Screeps is AuthenticateUserTicket, there isn't a callback or anything
maybe there's some other endpoint that does use the domain, idk I'm not going to check the whole Steam API for it
you could also probably misuse a ddns subdomain if you really need something
I still ain't gonna use my employer domain 
just type in localhost then
great quote
surely this is possible
I hate how when i connect to wifi i immediatly get 70 apps and 250 services sending data saturating the entire connection

Next step from use linux is use graphene os 
I know
I'm mildly tempted by graphene sometimes
but also I like it when my stuff just works without constant headaches
Im thinking about using graphene actually
(not saying whatever samsung has is better, just much more standard)
One UI 6 or something?
Lemme check
Ye
I used to like samsung and be neutral to apple
Now i dislike samsung and hate apple
Isn't there open gapps too?
??? how is graphene not "just works"
i mean maybe im biased as a mobile linux user but like
idk I've never used it but it isn't standard so I fear I'm going to have things break everwhere
its literally just stock android with minor sandboxing
Banking apps may use some shenanigans that prevent them from working outside of some bs
yeah I like my bank apps working
i dont like bank apps working
But then again, you won't know until you tried
The main thing i want is the custom wifi acces stuff.
I dont need block blast to use my wifi to load ads
many many years ago, when i still used android (realistically like 8 years ago), a bank employee tried to make me install their app but it didnt work because of root lol
You should be fine then
anyway i just use the bank website and have 0 issues
Yeah, I used to have a rooted phone too and its a PITA for some banking apps which we use here daily
one of my banks is mobile only :3
(I don't use it for lots though, its more of a "I will do dumb shit with this and if it dies it dies")
My bank does either
What's that?
Escooters and taxis
Ahh
When ordering a taxi to get that 3090 for superbox they took the money but nobody was willing to drive me there
Cuz it was on the edge of the city
Interestingly enough, same service here people would be glad to take you outside of town because the traffic is more bearable and the profit margin is quite high
wait just one minute
does this mean it is in fact perfectly acceptable to connect to the websocket of a running game

pretty sure that you can fully automate everything the game client does
the API is only somewhat stable but I have a feeling it's not changing anytime soon 
so what you're saying is that I wouldn't need to bully my screeps into telling me what's going on
but I could instead just connect to the websocket and act like a player looking around

this will certainly not have any effect on my devious thoughts for the future in regards to misusing screeps

I may be sleeping under a towel in the sofa, but the hotel has a swimming pool 
schrödingers sofa

What if
this was actually a hidden cry for help by sam
What if the fact he stated he'd go swimming means he's fighting for his sanity in the life where he's otherwise drowning from stress
And the fact he's sleeping in and on the sofa is a metaphorical profound message trying to portray how people always try to rest but never can't fully do it because their life lacks foundational stability
shadow take your meds
are you trying to trigger school ptsd
i think you are seeing something
bye
What if the fact you are challenging me is a form of modern expressionist art to comment on the broader social dynamics where even truth will be challenged
Can't
Sam is having metaphorical swim as Shad puts it
The drowning from stress was true like a year or 3 ago. Now im chilling
Nah this is actually a sofa
You lost me
Not trying to ended up at wikifeet huh
On the left you can see the towel i had to sleep under
mrrp mrp
From the last time I post about esoteric language AWA5.0, maybe both of you could make CAT5.0
And he buy it then used it immediately
11 EUR tho 
pop bubble
tv
rrrrrrrrrrrrrrrrrrrrrrrrrrrrr
lore accurate konii
thats the sound of my cathode ray tube

im a chayleaf
LEDs on CRT 
discord really do be making anything an avatar decoration
I like this picture, idk why just looks cool
Sam, with 50 EUR you could live for a month
https://www.youtube.com/watch?v=WMZG6mWEcQg
🔥 More Boris cooking: https://www.youtube.com/watch?v=UKfmRhfuI8g&list=PLbS0HkS8Xsorrdr3pPk4lP80tUAzfyxP1
Budget cooking: https://www.youtube.com/watch?v=UKfmRhfuI8g&list=PLbS0HkS8Xsoq1j4kiZFLP9w1e3pQADR3g
❤️ Send me a dollar on Patreon: https://patreon.com/lifeofboris
📖 Buy my Cookbook: https://www.amazon.com/dp/B0DDHRC5Y4
👕 Tru...
rent 
Cap, i could do it with 10
yes
I JUST WANT THE KERNEL TO DO THINGS
Just be homeless
why do i need a bajillion magic numbers from various random header files
this is a headache

i already have all the syscalls
i got them from a header file
yes
whenever i implement one of them i have to scour my drive for the relevant permission flags
all of this could have been solved if C had enums
if only 

surely they werent introduced in c89 
i will never use the new C standards
they deprecated auto
how could they
making the language unusable smh
im just gonna ignore the magic numbers and if someone needs a new flag they can submit a PR
great idea
what did the old auto even do again
right
i was considering skipping some fields in the lsp schema lol
i'm still sad defer didn't make it into c23
c27 surely
it works at least
i use this minimal api
File := struct {
.fd: i32
read := fn(self: ^@CurrentScope(), buf: []u8): Result(uint, i32) {
res := sys.read(self.fd, buf.ptr, buf.len)
if res < 0 return .err(@int_cast(-res))
return .ok(@int_cast(res))
}
write := fn(self: ^@CurrentScope(), buf: []u8): Result(uint, i32) {
res := sys.write(self.fd, buf.ptr, buf.len)
if res < 0 return .err(@int_cast(-res))
return .ok(@int_cast(res))
}
close := fn(self: ^@CurrentScope()): void {
sys.close(self.fd)
}
}
i will be writing something with more indirection than this
because it needs to be system api agnostic
then i also have two static vars
stdin: File = .(sys.stdin)
stdout: File = .(sys.stdout)
and until lily 0.2.0 has print i use this
print := fn(x: []u8): void {
while x.len > 0 x = x[stdout.write(x).unwrap()..]
}
println := fn(x: []u8): void {
while x.len > 0 x = x[stdout.write(x).unwrap()..]
while stdout.write("\n").unwrap() == 0 {
}
}
woe
12h left on the poll 
looks like i've got work to do
I know some of those terms
Oh they have a compiler, I can just use glsl
Thanks funny internet man
If they don't, it would be akin to writing x86 without C compiler
finally got the proprietary OT security software of my company running, attached my network traffic via port mirror, and holy fuck it was definitely not made to handle IT traffic 
what game is this 
tf2
for Vulkan yes
for WebGPU they have WGSL, still pretty much the same thing, just different syntax
I probably have closer to 2k hours ngl
...what?
basically, the company I work for makes security solutions that monitor networks. After a ton of back and forth I finally got our CEO and team lead to agree to me installing our software as a VM in my private home network, so we're dogfooding more. And the software isn't made for IT networks with millions of connections happening. OT networks usually don't have internet access. Think energy, water and production companies with internal networks for all sorts of stuff. And we monitor that. But it's insanely overloaded in my IT network :D
The next 2 chapters are just explaining glsl, I can skip 20 pages 
Thank god for that, I thought you just installed it without company permission 
- software reports TCP checksum errors
- downloads pcap
- looks inside
- no TCP checksum errors
probably some checksum offloading happening
I suggest you still read it anyway. There may be fun bits and pieces you don't know about
anyway time for a shower and food :D hope you guys are having a wonderful evening 
Imagine implementing the power of OOP classes, with the restraints of FP
I am skimming through it
They changed the ranges
-1 Y is now the top
And there is no -1 depth anyomore
well good thing you dont have to imagine https://unsworks.unsw.edu.au/server/api/core/bitstreams/6e76fa41-c2df-4ab1-bc48-3d7002878c7f/content
They use coordinates that shoyld make square, yet, it rectangle
I actually have a proof of concept (ironically) made in ts
Ye, it's still the same computer screen, we're just mapping it differently now
(but also fp isnt necessarily about static typing, theres a lot of untyped fp languages)
Yeah, but i made something that should work with just plain C
No funneh go shenanigans
which is about as far from FP as you can get, arguably
Depends on your definition of FP
no
Yes
"Are we talking about functional or purely functional"
That is what i meant
you are confusing it with procedural programming
functional but not purely functional languages are lisp and ML, not C
I mean.. i haven't tested it with haskell, but what i have works within the restraints of lambda calculus, if you make some small adjustments
conditional programming 
I wasn't calling C anything tho
Just saying it is almost 1:1 as what you would do in C and it follows the general constraints of what most languages that call themselves functional provide
So sorry for the misunderstanding
mhm not oop = fp
mhm fp = restrictions
chill we’re joking around
Everything has some form of restrictions
yeah yeah omnis determinatio est negatio and all that
Oop restrictions is that it just sucks ass :KEKW:
I still don't get what's so bad about it but sure
Ever had to touch java?
you will not survive #programming
This has to be one of the longest functions I've seen so far. VkPipelineVertexInputStateCreateInfo
SpringBoot class names
org.springframework.aop.framework.AbstractSingletonProxyFactoryBean
The dots don't count
average vulkan callback

I feel so justified in never wanting to learn Java
The thing is, it all makes sense to me
Vulkan is not that bad
it's just verbose
not home yet
or maybe explicit is a better word
need to buy new bus pass
shiro did you see, you screep schizoing from me got worse 
good meowght
probably read like 300-400 pages today i deserve a medal
gn chay
it seems like you're techically allowed to connected to the same websockets the client does
But C++ is not just locked to OOP tho
Its the same shit I was doing in opengl, but I gotta actually tell the API which warcrimes I'm commiting
I know
which greatly simplifies potential shenanegans
A cool sword person?
screeps players will do anything but play the game 🥀
💔
you would sooner write an AI to write your AI for you
only if it doesn't gaslight me
Also i don't really get why people say C++ is so difficult... as long as i can rely on other build tools than CMake, i can pretty much do anything i want
I hate c++
I just use a makefile lmao
Valid
when I'm in a shitty syntax contest and my opponent is c++: 
Objectively incorrect opinion detected; t'is shrimply a krill issue
Same, and if i really need some dependency management i use meson
Objective and opinion usually don't work together
public void func(int a, int b) = 0;
only a lunatic would defend this syntax
The deeper I go into learning c++, the more disabled it feels.
At least vulkan has a good reason to do the things it does. Vulkan uses types with a fixed size
you forgot virtual or override, also public doesn't go infront of functions
what would you do
I would ask you how things are progressing
You know what I mean
😭 noooooooooooooooooo
???
still unforgivable
it's a bunch of bullshit stapled onto what was a well-designed and planned language
CHAT IGNORE I DOXED MY IP ADDRESS TO BRED IT HAD AN IMPORTANT REASON
Also, did you get to know what happened to the package?
You seem to be doing a lot of doxing yourself, I have your address and bred has your ip
How about a
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
I like Java, it has the right ideas
if it had operator overrides it would get full marks
I hate java
Superbox has my bank number and my address and probably more, but he also owes me 80 bucks so 
"my steak is too juicy and flavourful"
What?! That is a sentence that can't exist
that's exactly how I feel
I don't hate java because of it syntax btw
the ip doesnt matter cause
it's just to the closest dns proxy
I hate it cuz i am incapable of learning it
True
what
i dont live anywhere near where my ip says i live
it's not so hard
people learn it as their first language
just C with less memory shenanigans
To me it really isn't
my ip address basically covers all of zurich lmao
And i work with C on a daily basis....
well to each their own, ultimately the best language is (usually) the one you're most familiar with
no it’s fucking not
sorry shadow you live in a lake
it’s js for me
Python 
so true
😭
doxxed some poor fish's ip address
he’s filthy rich and lives on a boat and you’re laughing
How bout
%include "x86inc.asm"
SECTION .text
;static void add_values(uint8_t *src, const uint8_t *src2)
INIT_XMM sse2
cglobal add_values, 2, 2, 2, src, src2
movu m0, [srcq]
movu m1, [src2q]
paddb m0, m1
movu [srcq], m0
RET
I wish
If shadow didn't make 8 bucks an hour he'd be able to sponsor me
anyone wanna visit me my coordinates are 47, 8 rounded
dude
i make under minimum wage
Sure 😁💯😊

I have finished cooking
I did actually cross one of those lines in Lisbon before.
Just had a random number on the wall at the beach "48" or something
Was cool
you obviously live off of your $749 million savings account and work for fun
omg
what have you cooked
H is alive nowaying
🇭
put your helicopter in first gear when climbing steep slopes
This is everything I have ever wanted, and it beautiful 🥹 🥹 🥹 🥹
holy gpu pilled

Chiken
Sam when he has to process something on a measly 16 cores 
mmmm chiken
My current PC has 32 threads 
i have +10k in savings but i cant spend em on shit cause
i will need to survive
during all my school
i feel that
I store up lots of savings over summer because I don't have an income for the rest of the year
if I run out of money it's gg
I have savings to buy a house
I have like 10k saved from birthdays and money from relatives. But I'll be making most of my bank from scamming the government
shiro
i have to survive +7 years potentially without any income
cause of studies
if you've had 25 birthdays so far then you've somehow been earning $400 per birthday since you were born
I'm 17 lmao
what the fuck
50$ from 8 relative seems reasonable
bro has rich ass parents
I'm also in college right now
My parents aren't that rich. My dad goes on vacation all the time and my mom spends it all on real estate. Grandparents is where the real money is at
I take classes over fall and winter and earn money at internship over summer
dude my dad
lives from the wife

hes the gold digger basically😭
Bruh
my dad used all my college savings to pay bills during covid
The way you phrase it sounds like she isn't your mom
my mom asked me for a loan recently and I had to turn her down
i dont consider her my mum
Sam just got slapped by #programming again
Just not in the context of #programming lol
Wdym?
my stepmum is the type of person that somehow has to pay +70k bucks in taxes at the end of the year
...wtf?
For not being poor?
Like I'm sorry
???
Thats really rich
nothing wrong with having money
laugh at this user for having money
gonna be helpful later
Everything I own is 2ndhand so we aren't thaaat rich
laugh at this user for not being in crippling debt
I'll be making most of my money from the government the moment I turn 18
same i will live off scholarships and shit
I'll be getting 13k/yr, with the condition that I'm not allowed to work
thats a based condition

So in my 3yr course that's an easy 40k
13k/yr would cover basic rent and food here and that's about it
oooh I see
I'm just (ab)using the system
it's definitely possible to live off 13k/year
holy gaming the system
does beg the question tho, how are you gonna afford the house
I'll be living in my mom's house and bagging that money
13k EUR, or even 1k EUR / month is considered rich here
That's upper management level salary
I will get a job, and then the disability money dissapears
Or well, no new money
icic
You live in Indonesia??? Tho
Indeed
Life is more expensive here
Specialist doctor is around that wage too IIRC
Leaving Indonesia must be difficult then
a single private room in a unit shared with 3 others is at least $750/mo. here
If not for work, I wouldn't even want to buy the plane ticket lol
I'm not even considering leaving this house honestly
Honestly same, or I will at least try to get a good job first
Gamedev is in decline so I'm a bit worried
If I reach 100k I might take out a loan and buy a house tho
just study what you enjoy
game dev is not an industry you want to choose
But the degree is more flexible
dont do it for the money, nobody has a damn clue what the market will look like in 5 years
I like gamedev tho, cs is boring
you'll be happier with and more successful at something you like

ai will take our jobs, ai will take our jobs, ai will take our jobs 
I'm just sitting here, pulling my hair doing hardware design. If AI could help me design a PCB that is not ass, then I'll gladly take the opportunity
here it's like 1.2-1.4k usd converted

automod locked in
even I'm impressed by our blocked terms list sometimes
we've truly seen it all
Even in other language?
my figure was CAD

yes
oh shiro that reminded me one of the blocked terms here is still an emote on the jp channel
For y'all wondering. Its just an insult to my people
(but don't test it)
I'm so bad 
twitch rules and discord rules differ

in cad here it'd be like 1.8k cad
I don't touch twitch emotes
fair enough
on that sus shared flat site where people post the "looking for females only 18-25 to live with me" type shit 😭
pretend to be one ez
I've seen those here too

i'm an anime girl online on vrchat does that count
that’s the opening message
i could voice a genshin character but probably not fool someone over the phone
paimon voice at the phone
Paimons va got replaced anyways
Here its usually college/uni people that share flat
A house rent is like, 1.3K EUR/year
Divide that by 4 people, around 300 EUR
1.30K
I wish
that's not your city is it
it’s not a secret is it
you really need to start considering the reality of combined information
What you gonna do? Visit him? IN THIS ECONOMY?
individually these data points might be fine but
I already have his full adress
I got this, we are not achieving rent in this eco

But what? FINISH YER SENTENCE
it's funny how
perhaps it's just a me thing but I would not hand out my address to the 100,000 people in this server, even piecemeal

you can achieve rent if you get hired as a rust blockchain prompt ml engineer at thestartup
renting a whole flat with like 2 room costs the same as renting 1 room in a shared flat
At that point just do the smart thing and stay with your parents
Superbox and I have already fully doxxed each other to one another to send that 3090 to finland
This is cheapest, average is +400 for studio
you could've used a PO box at least
man i literally cant stand them

Nah
So Sam could visit Superbox now and shank him
how can you all be the most rational calculating people on the server and underestimate the risk so substantially
doesn’t matter if your salary is $943k as a senior blockchain rust ai engineer
I ain't going to finland any time soon lmao
crying baby on the bus
Bro, if you want my country citizen identification card details + number (which contains a lot of PII since the phone number is also tied to several government identifier here), you can buy it online for around 400$ I think?
bad things would never happen to me, I'm simply built different
Ive known superbox for a while its fine. And if it isn't the police will receive his full legal name and address, his license plate, and the Google street view of his house 
why do you have his license plate 
mutually assured identity destruction
Car was outside ig
In the streetview
shouldn’t that be blurred
Google! Your supposed to blur that!

Google does that automatically, sometimes they miss some
doesn't get fixed unless reported
which sam didn't do 
But ye anyways, 🤣
Oh the abreviation
when confused “i’m in”

I saw maid cafe ok
The only correct gambit
Have you ever been to one?
mutually assured identity destruction cafe
I wonder if they have maid programmer
im noting a substantive lack of programming in #programming 
I just wanna ask about programmer maid at maid cafe
The vulkan pipeline change you
konii is a tv 
throw RottenTomato();
@stark needle ur fault
I'm sure some of the local woman and woman adjacent people here won't mind
@scarlet arch
We need maids
You in?
ok maybe i will come back in 2 hours 

“woman adjacent people” what 
Most on topic programming convo
Byter is a very cute man
i am not adjacent to a woman i’m a programmer
If you buy the dress I'll wear it
Nowaying
To what event exactly? I didn't scroll up
Maid cafe
Specifically programmer maid cafe
sowwy for the random present
Does that mean I program there and drink coffee, or do I have to serve programmers
Cause fuck the later
Some sort of silliness going on?
Client-server architecture IRL
Yep
Shit, I haven't thought this far
please switch to serverless architecture
Fuck it, we need bots to serve people
Why not serve a programmer by solving his programming problem?
I'll reset the fucking connection if you bother me
Any mechatronics people?
aws lambda cafe
Why do you need me...?
Maid bots stat!!!
serverless architecture duh
its not serverless its just lots of distributed servers 
you cant split a person into many low powered compute clusters its not ethical
I'm going to make the bot terminator style
Well, what may the silliness be?
So that is where all of the weapons are hidden

oh really, i thought magic and santa’s reindeer powered my lambdas, day is ruined thx
It's powered by fargate
Well, whatever you're sillying, I have no clue what it is
You can come back lmao
Programming time baby
uhhhhhhhhhhhhh
Reading the vulkan docs time baby 🐥
screeps 

unicode getting out of hand with this one
gigantic cloud making angry sounds
This tablet has emote combine stuff built into the keyboard
I think I'll make it home right before doomsday
the blinkenlights on my weather app indicate that it's about to be very unpleasant outdoors
Quick GIMP
hey at least it’s not genmoji
It's not genmoji yet
Didn't they want to add that to gboard
I love how iggly always autocorrects to jiggly 
Classic
I swear to god using GIMP is a torment of its own
"how do i make my program as user unfriendly as possible"
wait do they cut out the background with a separate model, why is there a white outline
go back in time and only use punchcards as input
Goodnight guys 
Goodnight sam 
also holy fuck it looks awful
why he only got two leg
Its hideous
I'm glad it is under a spoiler tag so I don't have to look at it
yw
Honestly the mods should justdelete those
I never wanne see vedal rtx or whatever it was again
K. Bye. Dont let tye screeps byte.
Ill play next week friday when im home
screeps 
so
the good news is
they arent dead
the neutral news is
we've managed to upgrade the room controller
this has the advantage of unlocking new stuctures
#programming now is Shiro screeps arc that replace the old Sam cursed C++. I'm all in on this one
Yeah I'm willing to support this one
curly brace positioning
{```
same vibe
I do not like this.
no code in your code
He got code in my windings.
it pisses me off that the statements inside of the blocks aren't centered
true
should've done i <= 99 to add the requisite spacing
wait no because you lose a digit

this is beautiful but trying to work on this would be so awful
i+=1 instead of i++
every time you changed something youd have to redo all of the spacers 😭
definitely needs some code auto formatting
hit enter and it makes your new box
Ahh true
This whole conversation is cursed.
my screeps code is so cursed
as a cpu-saving measure, a whole bunch of my operations are just random
because a lot of the time its cheaper to be quick even if it means doing something twice, than it is to be correct the first time
optimized code always turns out really weird
i dont do a lot of it because i just do small hobby projects so whenever i see someone eloses really big, heavily optimized project im like
😨
What on earth!
this kind of weird stuff is really cool to me tho
i know what you mean
often its trickery that only made sense in the moment
i feel like 90% of optimizations are just
Yeah!!
caching and lazy computation
No...
both fall in the vein of "dont compute something if you dont need to"
which seems very obvious now that i think about it
a while ago i was working on a game idea and it involved a click and drag mechanic and it was So unbelieveably buggy and i had to do so much weird stuff to get it to be decent and also run at an okay framerate
now when i look at it im like Wtf
It still doesnt really work right but its okay

this is how i feel about half my screeps
a lot of times the issue (for me) is like its the same computattion but i need to convert the value and very Inconveintly i cant convert between the data types that i need
my logistics unit often just
stands there
doing nothing
not idle tho
it insists that it's busy doing... something
REAL
You know what fuck you. The moment im home im commiting several c++ warcriles out of spite
define every letter as another letter and code in a ceasar cipher
🤑
better yet: replace all the symbols too
no more = only ★
its like an aesthetically pleasing profile but its code ❤️
Tucked in :3
i think i fixed the logistics bug
i didnt upper bound the withdrawl amount by its own capacity so it was triggering the "i cant withdraw that much" error without withdrawing anything
Congrats, you just give your screeps ADHD
idea to scrape together a few more cpu
add an idle timeout
so that when a creep goes idle, it isn't reevaluated for like 5 game ticks
since usually if they're idle, it's for a period of time
We're starting to get into the territory of future prediction/planning.forecast algorithm
Branch predictor in JS 
JIT in JS 

just lowered my average CPU use by like
at least 25%
i need to be careful tho, at this point i think npc invaders should be coming soon
so i gotta start thinking about defense more
Then sleep on the floor

my neighbour for some reason honks every time they pull into their driveway
like bro... your family will know you're there when you open the door, chill
i on the other hand, am not interested in having my ears blown out once a day
Do a little trolling. Install air horn and make it trigger only when he is honking
When being asked, just say it is anti intrusion alarm
i have one of those too 

mrrp meow
ive just discovered ive been indexing into this array with two objects
and then subtracting whatever the hell that produces
and this has never once caused an error
Undefined - undefined
just improper behaviour
NaN
so you're telling me
its funny when you ask people what this value is
the sort function is like
"how do i order these two values"
and my function is answering
"NaN"
and sort is just
okay with this?
Yes
yes because comparisons with NaN always return false
It is considered equal
A == NaN is false
A > NaN is false
A < NaN is false
Zero or NaN

undefined behaviour that produces no warnings or errors
This is different
and this is true for A is NaN too
there's no undefined behaviour here, it's very well defined in fact 
i only spotted it because i saw some idiot creep dump its collected energy in the wrong containers
It is defined wdym
blame JS not having proper dynamic arrays
im staring at this right nwo
See? Defined and very logical 
there is no defined behaviour for a comparator that returns NaN
so its undefined behaviour
well, it is relevant
consider sorting:
is A > B? no? so dont swap
hence the sorting is idempotent
is how i would look at it
i'm pretty sure it's in the spec
time to do some digging
did you read what i said or what you sent
...oh wait
i didnt read what you sent

nice, js is garbage 
Now, anyone else would like to complain about undefined behaviour? 
actually this isn't even a js definition, this is just NaN
oh nice they do mention it
for sort purposes it is in fact a js thing, it appears
everything in this array is equal, please sort it thx
i meant comparisons with NaN
mhm, those arent JS fault
IEEE :ReallyGunPull:
this is my least favourite kind of bug to fix tho
the kind that is necessary but sacrifices speed

sth sth typescript would've caught this 
this is true
why is there no such thing as lazy sort
it's called insertion sort
i think its the one you'd want for this
but selection sort is slow
so i can see people not using it
but i think merge sort could be made lazy too
so long as you always process the smaller segment of the split first
you should discover the elements in order
so why cant i get them lazily

yeah there is:
- check if array is sorted
- wait random amount of time
- goto 1
i don't think i follow









