#programming
1 messages · Page 69 of 1
Well, that's the equator for you
That’s fair 
But the humidity 
idk i’ve been many times to hot places near sea, it’s fiiine
I prefer the cold tbh
I should add that at night the lowest the temp goes is 26C (so around 75F?). And humidity is always above 75%
Neuro stream is always 1 day off for me. And in 1 in the morning
same
this is really funny to me for some reason
I bet AI generated the first message
why was programming talking about nature
Also, dear windows insider. Bruh, they don't address you as a user
They greet the OS
does disc scrub metadata from photos by itself?
EXIF? Yeah
But not all
But for data such as location and such is removed
Color range and other useful things to know, no
Oh nice! Sort of expected
privacy is like. a bit tenant for disc(?)
that's the wrong word
Yeah, should be a standard procedure for a site that is not meant to host data
tenet**
it's not, these are rasterized diagonals
so it's just a discrete sequence of tiles, each offset by one step along either axis
you can cross two of these without any tiles being shared
i have the p106-100 (gpu) and patched driver from 1060 6gb... All work is good... but i have locked fps to 40 and idk why

Help me someone
please
idk, i tried 2 versions of driver
what's your monitor refresh rate
what's your monitor refresh rate
Yes
75
that's what it's actually set to in display settings right? not just the specs for the monitor
Did it matter for furmark tho?
yes
Didn't they report the full capabilities of the hardware regardless of display setting? It is a benchmarking program after all
I have the same fps at 900p and 4k resolution in the FurMark (40fps)
yeah it would be odd for a benchmarking software to be vsynced
Now that is truly something else. I'm not familiar with the gpu model so I can't help
Its the latest version of benchmark and i disabled vsyns
yay shiro day
how much dedicated memory do you have on your gpu
what do you even do to celebrate this holiday
ironically it happens to be Canada Day here so people are actually launching fireworks and stuff 
well surely a different thing each one
o canada
I think 6gb because its the mining version of 1060 6Gb
I guess maple syrup popsicles today, seems appropriate
I tested this gpu in the Minecraft
I have stable 40 fps with shaders
And without too
yea...
do you have another program that's enforcing vsync or something
like a setting in Nvidia control panel
that would be my next place to look
it's weird that it's very stable at 40fps
Cpt Rankz 
40 fps only with gpu
cmp 40hx without video outputs
With igpu i have the usual 75 max
do you use dartraiden's patcher for drivers?
yea
I tried 576.80 and 576.66
And i tried to play the Peak and Minecraft (and FurMark), everywhere 40 fps
what about gpu utilization/tdp values?
Where can i see it?
you can test it in furmark
or open any game and open performance tab in task manager
Another interesting thing
If I set the resolution lower the fps increases

That's normal and what is supposed to happen
But if I increase it, it gets stuck at 40
Oh wait, you mean the windows resolution?
i want to say 40
Any resolution, in game or in furmark
all I can think rn is a tdp lock by drivers or bios
to limit fans speed or smth
if gpu never hits 100% load it might be the answer
I think the situation is another
It gets 100% at ~60w
hmm cpu bottleneck then?
max tdp for 100-106 is 120w
although that would be strange to experience cpu bottleneck system wide...
idk
I can get more than 40 fps with resolution like 800x600
oh...
Just with lower resolution
Oh you're enjoying the vacation
I can try CS2 rn
I had ~40-60 fps at lowest settings with igpu
are you sure this is a cap? it never goes even for a 41 fps with 100-106?
Sometimes it reaches
Yo guys i get scammed or nah , because i cant check right now in samsung magican dont have other parts on hands
Im aware about ,, Made in Vietnam "
just a performance issue then, it's normal for 100-106 to reach only 40 - 45 fps in furmark
I am
But i have the same fps with fhd and 4k, then should i get more fps with fhd?
fair enough
consider opening issue on dartraiden's github if you won't figure this out by the end of the day
And also i dont should have 40 fps in the Minecraft without shaders because i have 160+ with igpu
the Screeps server requires Nodejs v12, GCC 9 and Python 2 
time to go import Nixpkgs 22.05 I guess
alpine 
doesn't seem very profitable but I'm sure the view would be awesome
idk building a rollercoaster seems expensive, especially on top of a mountain
you'd have to sell a lot of 5€ coke for that
anyway, good job random rich person/company, mountain rollercoaster looks cool
There are enough tourists here
Just use arch bro 
more like just use Debian, they love ancient packages
but I don't want to
time to see how my screeps are doing 
What can i do to fix it
You have successfully pull Shuni
We came with a car, but most just came via cable car
shr what is a screep

scripted creep 
screeps is RTS MMO
where every player writes an AI that controls their faction
and they run 24/7
as I said if you're sure that you should get more fps with your rig, then open issue on github because this might be a driver issue
I looked at it when I was a dumb child (17)
I kinda want to look at screeps again now

ive been trying to talk people here into playing it
i think theres enough of us interested that we could spin up a private screeps server for neurocord members
Also i have another question about it
I'm stealing the Evil's Holy Army idea

I dont have 6pin and use 2 molex to 6pin cable
i probably need to make my code more efficient somehow
its using 3-4 cpu/tick as a base load
just dont make it sub only i beg

i wouldnt 
i also wouldnt host it prob
i dont have a server pc
the Screeps server requires Nodejs v12, GCC 9 and Python 2
time to go import Nixpkgs 22.05 I guess
dependency nightmare
I have PS with 4 molex at 2 cables
I have spare pc with a 5700g, 64gb ram and a 3060ti
they're not the same if you're asking about that, they might cap your tdp
Should i use 2 molex to 6pin at one cable or on 2 cables
holy
polyglot codebase
Should be fine right?
tucking this one in the brainfolds for later
I doubt it uses more than 8 cores?? Hopefully
more than enough 
i can run a local server just on my normal pc
CPU is in units of milliseconds of compute time i believe
so here, i mean my code is running in 3-4ms per game tick
mostly because they depend on V8 for running the server-side JS for the screeps
and they just... never updated that dependency
Overclock the server 
Nope. Just for build stuff (node-gyp)
I wonder if I could port the server
to modern Nodejs you mean?
In theory, if you localhost, you could increase the compute budget???
Idk
I dont do that
I mean screeps
AFAIK if you run a private server then you can do whatever you want with the compute budget, yeah
i think so 
I have 2 these cables from PS
theres still a max but its far higher than the official server
its like 100CPU instead of 20
any molex won't provide enough power supply, they're just not the same as dedicated 6 pin
Yeah, but their pathfinding repo is nowhere to be found
Make it run on gpu 
But is it better to use my 2 molex for one such part, or one molex for each such part?
I do wonder, if the screeps are designed to use limited resources, they could be small enough to run on gpu???
Especialy with a lot of screeps using the same script
can't really say anything about that idk
oh yeah, it vanished
looks like you might have to get it from npm (or find a fork, I guess)
they link this repo from npm but I'm not sure if it's accurate, they might just have made changes without updating the metadata
https://github.com/qiao/PathFinding.js
i forgot how complicated this is
HHhH

that doesn't even have JS code though
their version on npm seems very different

Yeah, I was wondering the same. I think they are trying to rewrite it
Because pathfinding in JS is... suboptimal to say the least
Mods feel free to ignore the fact im dealing 3090's over the border
Also, you may want to look at this one Shiro
https://github.com/bencbartlett/Overmind
i dont want to look at someone else's ai and copy it
writing your AI is literally the entire gameplay

same, finished scripts obviously exist but I don't want to taint my experience with the game
-# at least not yet
i mean its doubtful i would understand or agree with half the paradigms anyway
its probably turbo optimized and leaning on tons of community libraries for common functions
but i wanna invent this stuff myself 
i love solving all the problems
like the fact that my wall algorithm put the walls around this tiny patch of land instead of all my structures
I feel like that's the whole appeal too
Lile just reinvent the wheel to end up with an organized system sounds cool to me
I'm considering using Clojure for it, apparently it has a transpiler targeting JS
partially because of masochism, but also because I don't want to write JS
You could always clown on someone else's code tho. And it's fun
scala.js 
Case in point
https://github.com/samvanmaele/game-engine-cpp/pull/2
oh right, that does compile to JS too
not a chance i can clown on someone else's screeps code
i dont even have to see it to know mine is worse

We need notjs
I have decided that the journey of porting the screeps server codebase is cursed to hell and back
Ill just try to make it work and never touch it again
yeah, messing with the V8 sandbox does not seem like good idea 
most you could do is try to update isolated-vm, that's been the largest pain point I've seen so far
Man, if only the V8 isolate standard exists back then, the server wouldn't be this cursed at least
looked at screeps and played through the tutorial, it's pretty cool though I dont like js
I have found the default CPU limit, it can be patched 
https://github.com/screeps/backend-local/blob/master/lib/game/api/auth.js#L47
i dont think having a CPU limit is a bad thing
and 100 CPU is already an incredibly high limit
especially with the bucket feature
Isolating JS code is easier since browser has to do that
Imagine trying to isolate python for example
yeah, it should be fine
I just wanted to confirm that it is adjustable
huh? yeahe ofc
I love neovim
I can't use an IDE like a normal person
I hate IDEs with a passion
I want to move to neovim soo bad but I cannot start the config process
did you start from 0, or did you use a jumpstart?
huh? I'm not weak
- I hate using premade configs
they contain things I don't want
and its more of a pain to go through it removing what I don't want
vs what I do want
because its made in a certain way where things will just straight up break if you remove something that something else was dependent on
I see
if you really wanna start
I'd recommend first configuring the basic vim defaullts
Few products rival Vim's flexibility, since it currently supports over 380 configuration options, not including the hundreds of possible key bindings.
@dry charm
here
this is how you start
The problem is I'm on nix so I'm using a completly different approach
well it doesn't really matter because you still have to call the same options regardless
I've heard good things about nvf though
I'm on Artix with S6
if(a)
{
b();
}

but yeah, you really should just
start using it
and thinking about what you'd like to have
or what you're missing
start with some basic options
like these
the longer Ive been using vim the shorter my config got
you can use nix to manage the plugins
or you could do the way everyone else does it by using plug or lazy
tho Ive been playing around with Helix recently
I don't like lazy.nvim because I find it to be an utter hostile pain in the ass
and the gui is ass a pain to navigate and deal with and dealing with issue that arise in it is also a pain, its meant to be user friendly, but it feels like its user unfriendly to me
so I just use plug
I've heard of my friend using helix
no idea whether its good
but all I hear is them complaining about it
and yes I made the theme myself
error[E0425]: cannot find value a in this scope
--> src\main.rs:2:9
|
2 | if (a) {
| ^ not found in this scope
warning: unnecessary parentheses around if condition
--> src\main.rs:2:8
|
2 | if (a) {
| ^ ^
|
= note: #[warn(unused_parens)] on by default
help: remove these parentheses
|
2 - if (a) {
2 + if a {
|
error[E0425]: cannot find function b in this scope
--> src\main.rs:3:9
|
3 | b();
| ^ not found in this scope
For more information about this error, try rustc --explain E0425.
why are you making the compiler cry
what did it ever do to you
I have no problem with helix but I also have only changed 3 whole settings
@trim tangle I experimented and I have 2 news: I was able to install Nvidia App, and this strange fps limit depends on the resolution (very strange)
she is someone who does extreme power user things inside of it
gm!
had to make an unexpected change to my screeps ai
a problem i had kinda worried about but just hoped wouldnt be a problem
too many of my units crowding in important areas while idle
ive resolved this for now by detecting idle units and having them get off the roads if nothing else
as long as all my buildings are connected by roads, that should ensure at least one access point to every vital structure
I have no integrated GPU but I must see...
I love doing cursed shit
Also ignore Deme
tiny graphics card
GT730, bought specifically for this purpose
oh, it's "only" from 2014, so it can even do DirectX 12
seems like no Vulkan though
is there a reason you wouldnt just get a CPU with the most basic integrate graphics?
I already had the CPU.
ye, then it makes more sense
PCIe risers are always so janky
OCuLink is nice if you don't need the full x16 bandwidth and the cable is much, much nicer to work with
I am just using it cause the GPU is full size and I don't care. It's actually for a later built where I have a 16x PCI to M.2 card in my NAS for NVME raid
Also proxmox takes ages to boot, wtf
It's stuck 
Welp
nomodeset. Apparently the GPU is too old? 
Works now
i was thinking about this silly problem i have
where i want to create a creep from a set of ideal proportions and a budget
but after more consideration im pretty sure this becomes a linear programming problem 
approximate solution it is 
hmmmm
adaLN is making me uncomfortable
see this part is easy to implement but
this part is going to mess up the design if not done correctly
wait am i tweaking or
every single implementation ignores alpha
All my homies hate alpha
🐺 alpha

why isnt my code working
javascript experts
getScaledBody: function(proportions, budget) {
const unitCost = Object.keys(constants.PART_COSTS).map((partType) => constants.PART_COSTS[partType] * proportions[partType]).reduce((sum, cost) => sum + cost, 0);
const multiplier = budget / unitCost;
return Object.keys(proportions).map((pType) => Array(Math.floor(proportions[pType] * multiplier)).fill(pType)).flat();
},
intended to be used something like getScaledBody({work: 0.33, carry: 0.33, move: 0.33}, 200);
but it's failing with RangeError: Invalid array length
oh wait i see
its undefined length sometimes
nvm 
actually that didnt fix it
nvm
all our homies hate js
Proxmox setup 
i see what you guys were saying about screeps' ancient node version
neither flatMap or flat are in this version of js it seems
need my own implementation 
:D works
.
my world just changed forever
i just learned the screeps console accepts html markdown
wait
this is kinda crazy
you can just add any html element into the console
i could even put some buttons down there if i wanted
DIY UI
no shot
it actually animates too
debugging about to go crazy
gonna add a meme with every error
catch syntax errors and send this gif instead
you know what
if i have some spare cpu left
maybe i can have my creeps generate shitposts
use the spare cpu for hosting a metaverse nft crypto casino
i second this suggestion
genius
wheres the usual programming crew
are they all EU
yes
maybe
am busy figuring out proxmox :P
feeling lonely?
am not eu xd
i have questions that need answers 
don't we all
the answer is horse girls
I have obtained (a broken version of) the Screeps server 
now it just has to actually launch
it tries to copy files on init, but Nix makes them read-only and the package Screeps uses for the copy is stupid so it fails
Whar is thar?
Screeps: World is an open source MMO RTS sandbox game for programming enthusiasts, wherein the core mechanic is programming your units AI. You control your colony by writing JavaScript which operates 24/7 in the single persistent open world filled by other players on par with you.
that
filled by other players on par with you
Interesting silliness
NIUH coin hosted on Screeps Blockchain?!?!?!?!
ok i need your wisdom
im trying to figure out how to budget units
i know how much energy i currently have
and can estimate how much i expect to get over a period of time
how do i calculate a budget off of this
like, how much energy should i spend on units
math graduate asks discord users for math advice😭😭😭🙏
idk any other constraints you have (like what else would need the energy) but I guess you could spend a fixed percentage of the incoming energy on units?
if you have a rate of incoming energy then you should be able to get how often to spawn a unit from that
my concern here is that sometimes the net energy rate is negative if we're spending too much lately
but counterintuitively, the fix to that is to spend more on miners, not less
actually no
i think you're right
im being silly
i need to look at the gross energy gain
not net energy gain
because the net gain already factors in unit expenses from the previous cycle
which arent present in this one
yeah, if your net energy gain is negative then just stop spending energy 
counterintuitively, the fix to that is to spend more on miners, not less
if this does end up being true somehow then I think I'd just hardcode it, seems like an edge case
deciding what to do with energy is not really a concern yet if you don't have any
we can have energy stored and still be losing energy over time
spending sooner rather than later to improve the incoming energy rate is the best way to rectify that
yeah, I worded it badly but that's what I mean
a net loss of energy is always bad, if there is no surplus of energy then you don't get a choice
hopefully this new unit budgeting system works 
in theory it will auto-scale the unit size according to available resources
just predict your future energy consumption and production based off of previous experiences
How does one perform such function as updating sudo?
The default Sudo configuration is vulnerable
Exploitation has been verified on: Ubuntu 24.04.1
just keep your system up to date and you're good, you don't need to take care of sudo specifically
(assuming you're using a major distro with reasonably fast patches)
yeah, Mint should be fine
Well, seems to already be offering an update
yeah, that's the patch
Fast patch rollouts
My company has a kind of cursed setup for virtual machines but I got our appliance working on my proxmox :D got permission from the CEO and team lead and everything. Dogfooding and all that

Yo devs I made the site better https://neurosama.place we fixed the grid, added admin controls and optimised
Now it’s also 247

Pixel canvas? You got a proper template renderer on that?
Yeah it barely lags now
I have know idea what I just read
No ig
This is pxls.space numbers style
Guys, the new hotel sucks 
That's crazy
No
It would be cool if you made it work better than pxls, it's known to be very badly implemented on pxls
did afunyun do the frontend
a couple of concerns:
- flashbang!!! dark theme modcheck
- where is the grid? there probably should be a grid beyond a certain zoom level
- there should be a way to see coords @ current position; pxls shows the currently hovered over coords, and i think i remember r/place having the selected pixel always be in the center so it changes when you pan around
- when you hover over an entry log the background changes to white which makes the green text awful contrast
I just woke up and I will choose violence
also the browser provided color picker is a no-no
Why?
because how it'll look and feel depends on the platform and can break ux in ways you can't even think of
Shiro is still playing I see
You friended him?
Isn't that the whole point of using native UI? So people feel at home?
I got it a bit easy because it is a new window
color 
I should too if im gonna host tbh
No, I just backread quite far lol
My condolences on your new hotel lol
What too many bayesian does to a mfker
Then complain. I know I would especially if its summer lol
im fixing so many bugs so quickly
part of me is happy because i almost never fix this many bugs per second
part of me is wondering how these bugs have been in the code this long without causing larger problems
We measure efficiency in terms of bugs per second now
they're not even small bugs
they're like
dividing by an array instead of its length
how did that not cause some kind of crippling error
javascript 
Luckily it is a game lol
Hemlo guys!


- the vendor input type color as i mentioned
- why tf do panels jump on hover
- the place pixel button is not in a sane place
- why do log entries transition their border radius on hover??
Happy birthday!

Again, happy birthday
i can probably go on forever but one more important one: why does the header have a max-width when the content does not
the code that moves idle creeps off the road might have been the most influential change to this AI since its inception
lifesaver
I will voice my concerns to the montenegrian chick that does not speak english, dutch or french 
Aight imma go to bed now
Gn
no screeps? 
Gestures like a madman 
"conditioner problem, conditioner problem!"
Still on vacation
https://www.oligo.security/blog/critical-rce-vulnerability-in-anthropic-mcp-inspector-cve-2025-49596
lmao
Gets you a new bottle of hair conditioner 
chrome, mobile safari (ios webkit), firefox windows
Why in my site is a random button being pressed when I click the space key on my phone
Yeah we might make a custom colour swatch
feeling very at home rn
Working on other things tho
For the cords, there is on pc
Didn’t have enough room to fit it on mobile
placeholder avatar absolutely should not be a png that's a sin
The background pixel changes was afunyun
It was a jpg before
With the rising popularity of POP MART's Labubu, we've seen a surge in newly registered domains (NRDs), many malicious. These domains impersonate POP MART or host #gambling and crypto #scams. Stay vigilant and always verify URLs before engaging! Details at bit.ly/3ZZ3BTR
why did you make it a png
it's 90kb ffs
Yeah, but the point is them feeling like their own OS right?
Good think I stick to moving anime pngs with voice 
not really, the point is to provide a way to input color into an <input type="color">
it's just up for interpretation what the ui should be, it's not in the spec
hence the breaking ux argument
i don't understand why they suddenly exploded just now, weren't they a thing for like forever now
like it's so abrupt, a month ago literally nobody knew what a labubu is
ok maybe a bit more than a month but the point still stands
Fair point. Depending on the target I guess. I prefer to make a design that doesn't stray too far from the os guidelines whenever possible
ok but consider this is the windows color picker
at least chromium tries, native color pickers usually suck ass
very british
😭
still can't get over this
postcode file
"postcode file" but "add to favorites" somehow
oh microsoft
to add to the first point please could this respect my system theme colour choice
like its nice that you have a dark mode toggle but I don't want to hunt it

i wanna speed up my code but im worried everything im thinking of is a microoptimization
e.g. caching changes to memory and then committing them in a single write operation at the end of the game tick
micro-optimisations are fun 
the golden phrase is "profile first, optimize second"
firefox keeps inventing new colours that don't make sense
but screeps doesnt really give you much for profiling 💔
that's usually the default nowadays, if you follow examples/tutorials that is
when you add theming through whatever
like I'm pretty damn sure that isn't the right colour
and that's not even the same colour as on my screen 😭
youre doing it wrong
rewrite 20 times first, then optimise, then profile

screeps?
so
energy storages are owned
and energy extensions are owned
but energy containers are neutral structures?
completely arbitrarily?
this was silently breaking everything
its so confusing because im the one who built it but i dont own it
unlike with almost every other structure
no clear reason for it to be this way
The dev: "let's do a little trolling"
this isnt even documented anywhere either
rewrite screeps in hblang
you just have to spot that the structure doesnt have an owner property
hblang js runtime
hblang to JS transpiler
still better than ts
I couldnt get more than 40 fps at 1440x900... 
not a high bar tbf
Time to wage war 
before war i need to figure out myo wn economy
i think i kinda crippled myself off the start because the energy sources in my room are only accessible by a single tile each
so i can barely extract any 
As real economic situations have shown us, war will make the economy 

Does anyone have tips for creating custom ai architectures? I'm doing this currently so I'm curious for any inputs or things I can improve on or things I should do. Any advice helps : )
(ik its simple but id say its a start)
all the more reason to go to war

I like this guys energy
const util = require("util");
module.exports = {
wrap: function(f) {
const fid = util.nextid();
return function(...args) {
const cached = Memory.cache[fid];
if (cached !== undefined) return cached;
const newCached = f(args);
Memory.cache[fid] = newCached;
return newCached;
};
},
clear: function(f) {
Memory.cache = {};
},
};
does this seem reasonable for a caching module?
i would have elected to use the function itself as the key if javascript did something reasonable like use the function's address but uhhhhhhhhhhhhhh
Why would you use function as a key 
its a cache wrapper thats supposed to wrap a function
given the only arg is the function i didnt have much else to use for a key 
but yeah im just using a unique int instead
Wouldn't you want to include the args for the function in the key
...

oh sht
Exactly 
const util = require("util");
module.exports = {
wrap: function(f) {
const fid = util.nextid();
Memory.cache[fid] = {};
return function(...args) {
const argsKey = JSON.stringify(args);
const cached = Memory.cache[fid][argsKey];
if (cached !== undefined) return cached;
const newCached = f(args);
Memory.cache[fid][argsKey] = newCached;
return newCached;
};
},
clear: function(f) {
Memory.cache = {};
},
};
fixed 

Be careful about function with non-primitive data type in their argument
how come?
[object Object]
oh sht
Yeah, check it first if that join do what you think it do
just json.stringify the whole thing
true
This
Also you probably want to use an actual map

Is it available tho is the question
Check if you have new Map()
I guess depends on how ancient of a version you have
do you even need to
just the args might be sufficient
It is tho?
With Map it should be sufficient I think
Just slap the args and some identifier together and use that as the key
They'll just hash it internally iirc
DOCKER_BUILDKIT=1 docker build . --target vllm-openai --tag vllm-current --file docker/Dockerfile --build-arg torch_cuda_arch_list=""
pain peko
look at weakmap 
Can you push to arguments
weakmap kinda annoying because it lacks a clear method
wasn't weakmap for garbage collecting the values
Yeah, but how will it be stored in Memory?
id have to make a new one each time
np
If its going to be stringified, will the reviver able to construct the original object
yes

thats why i didnt use one at first
should i not use a map then 
you sounded so confident i was gonna go for it
I didn't know they did that 
now to see if the cache is actually faster or if the access overhead slows my code down 
this is why you have an inbuilt profiler to check the cost of functions 
"inbuilt profiler"
do you want to see my "IDE"
(a timer)
orm
heres my "profiler"
this is my one issue I see with screeps
you should Order a subscription here ->

i cant use my cache wraper in my util module
because i imported the guid function from it in the cache module
code duplication time 
Can you pull outside code?
can you include native node modules 
i have potentially good news for both of you

include the c runtime
Screeps has a handy embedded code editor for writing game scripts. However, in some cases (for example, you want to use a language other than JavaScript or integrate with your IDE) you will have to co

Its rust time
hblang in screeps real and not rigged
Or maybe hblang with how small the limit is
only if you want to be limited to x86_64-linux and hbvm-ableos 
I doubt the server is running anything other than linux
also the uh, os support is a bit patchy
do you want to replace gnu yes on your machine with a program written in hblang
its free
a new problem
4
6
2
complain to council about problem
1187548551144820857
neuroBritish
Hey, it only need to do computation. How hard can it be 
so just to double check so you only get 20ms to compute everything each tick?
the bucket feature is crucial at scale

The fact they pulled in emscripten for a single function hurts my soul, llvm is right there 
i am nvidia driver
I hate you
ok rereading that makes a lot more sense now
oh

still kinda a pain but very cool too
not that much of a pain
i currently have 10 units running around the map doing all sorts of things
only using about 3 CPU a tick*
about every 50 ticks or so i do a bunch of high compute operations
like calculating derived statistics, checking the integrity of walls in a room, queueing the creation of new units as needed
tbh that sounds like one of my very cursed ideas might actually be possible then
i have a vague idea that someone told me but its like 32 degrees so im kinda rotating
looks like discord has custom themes as part of nitro now huh
well besides the predefined ones
southerner spotted
But I do wonder, how would gamification of certain IRL things work out
neat
Like, can we gamify maintenance system?
gamify taxes
Wasn't that already done? And people love how easy it is too lol
At least we can finally blame it on RNG
No effect, my back is in pain by existing 
i curse you with slightly crunchy wrists
They already crunch majorly
this is getting out of hand, i curse you with inability to curse people
i curse you with oh

why did you do this 
let people enjoy their lives smh
i bless you with a new 1600 degree heater

Doing the Neuro manuever
(doubles as new cpu)
that's a very steep angle that heater is at
its actually conveniently 160 degree angle
because of this, if any of my cache-wrapped functions receive a game object as a key, they might fail 
or maybe it'll be fine as long as they're json stringified uniquely?
Imagine if one could overclock a CPU that can exist at that temp, Sure it'd be unstable far before it ever gets to max heat but it'd be interesting to see the clocks.
This
wait no wouldn't it be obtuse
1600 mod 360 is 160
is it bigger than 90 
-200 degree is less than 90 yes
so is 1600 mhm
well, you cant consider 1600
for an example, 361 degrees is bigger than 90 degrees
what if the heater is on a spring 
but 361 degrees is equivalent to 1 degree
you only care about the remainder of division by 360
why are you explaining that 
i have prepared this handy doodad to demonstrate that 1600 degrees and 160 degrees are equivalent
Dividing by 10 always works 
i thought you meant temperature for a sec
excuse to use desmos
honestly im not sure any more
im typing but i dont know what to type about so im ambiently continuing to type until something appears in my mind
meow
Whar may the silliness occurring here be?
-# konii got her curse privileges revoked
Whar
high concentration of silly particles in the atmosphere
the thing has been said 
silly
she can still bless us with very powerful heaters though so i’d be careful

a freezer is also a heater
and by the transitive property this means that ice cubes are also heaters
thus we can infer that water must be a heater, and therefore all things that contain water are heaters
hence in this essay i will demonstrate why i should be allowed to bless people with mosquito swarm
this statement is factually correct, they do dissipate heat into their surroundings
enough talking, i bless you with plague of egypt
everything else idk
The charm works. Konii blessing is redirected to Shiro screeps
why are we not spawning more 

definitely blessing
all good things
ice cubes are cold and they accumulate heat rather than dissipating it if the surroundings are hotter than the ice cubes, which they are most of the time
they accumulate environmental heat but they also radiate it back out
But consider, Ice cubes in 0K environment
0k environment 
or more simply, ice cube in environment below zero celcius
ice cube acts as a heater while ice cube is above the ambient temperature
that appears to be what i said
that should be 0.33 not 0.34
where is sleep
your workers need to unionise

i found that bug a bit too late
all of my screep died

we should get the discord development team hooked on this game
they could learn a thing or two about performant javascript
what if discord worker productivity decreases by 0% due to them playing screeps in 100% of office hours
escape the matrix, leave your job, sleep however much you soooo desire 
tell them to get out of bed
too much youtube shorts
the walls need to get jobs
hm yes i come from the ios twitch app

its apparently very important to my stay on twitch since it's still here
IOS USER
a miner spawned
life finds a way
they had a theory about this in the 18th century called spontaneous generation
good to see it's revival in 2025 in the scholarly halls of #programming
i feel very smart just by being in this channel
all of your collective brain essence really gives it intelligence vibes
even if 90% of the projects will never be seen or used by any but their developer

imagine thing and forget in a day mhm
screeps is a project
i want to lodge another formal javascript complaint
there is no builtin for getting a random integer
please lodge as many formal (or informal) javascript complaints (really, anything) as you like (as many possible)

i tried printing an html form to the console and it actually rendered
i clicked submit and my game had a seizure
evil witchmagick
is a project something like this then?

we're talking about projects
and never finishing them
I'm this one
And this is me
I get it to MVP and call it a day
if anyone asks questions I say I'm actively developing
How do you transition from state A to B in this diagram?
If they ask how I'm actively developing 50 projects I say I'm goated like that
Can you make the jump from within any node in the sub-FSM?
your hard drive dies and you have to rewrite the project
have i made a shiro day comment today
im limited edition
you have now
yay!
close!
yes. more.
do you french
shiro you have a country named after you?
oh deja vu
if needed 
no, probably for the best
Fr*nch
product releases in canada require all english text to also be shown in french

i know this because i lied about french fluency during interviews
oui
probably shouldnt lie about that given its very easy to check
oui.
mods rule 10 is being broken mods mods
interviewer: [speaks french]
interviewee: uhh, perdon
easy
me fr
no they found it funny and all went well

get a fake hearing aid for anti-polyglot tactics
Wasn't officially on my resume, they just asked and I said "depends on how badly I want this role" and they were like "so...?" and I said "fluent"

can’t background check that either 

transparency is important etc etc, I was just being silly because I thought it would land well and it did
job gambling
it's an internship, I wasn't pressed

wow
lets try again
arg
jpeg.jpe
i tried
it's okay
thank you
you're very welcome
you too

my screeps console doesnt print stuff very often to keep the ai performant
screeps llm
but when its empty, it feels like its not doing anything
valid option if you can make it run fast enough
wasm llm library must exist by now
Buffer the logging. Then log all at once
you will never guess how many stars
screep is what i'm naming my next hamster
Just do a fetch call to a self hosted llama instance 
i think it buffers on its own
found another issue with the cache code
module.exports = {
wrap: function(f) {
const fid = this.nextid();
Memory.cache[fid] = {};
return function(...args) {
const argsKey = JSON.stringify(args);
const cached = Memory.cache[fid][argsKey];
if (cached !== undefined) return cached;
const newCached = f(args);
Memory.cache[fid][argsKey] = newCached;
return newCached;
};
},
clear: function(f) {
Memory.cache = {};
Memory.cachegid = 0;
},
// copy of util.nextid to avoid circular reference and rapid incrementing
nextid: function() {
Memory.cachegid += 1;
return Memory.cachegid;
},
};
the wrapper packs the parameters into args
but then passes args to the wrapped function as an array
need to unpack
Yeah, do the ...args again










the walls are rotting
