#programming
1 messages · Page 83 of 1
I mean, half of europe was once german or soviet

Europe do be interconnected like that, even in the medieval era
Germany doesnt count
That was like 3 years
Place has spooky police tape too, but i cant read that
Is that a sheep?
I know what ☠️ means tho
Yes
That is a sheep
In the danger zone
And it has black eyes which are extra spooky
Attention! Electricity Cable
Wait so what language was that?
Serbian
ПАЖБА! ЕНЕРГЕТСКИ КАБЛ
is what's written
How do you also know serbian?

I have a huge problem with my miner screeps not finding the resource attached to them
and this is super weird since the official rust starter bot recommends that I store a objectID to things
and I literally do taht
and then the very next tick, THE SCREEP SAYS THAT THE ID IS INVALID
sounds like something isn't sticking around and getting invalidated between ticks
like the id should be valid unless the object has literally disappeared, like screep died so ID is no longer valid or spawn is destroyed so the ID is no longer valid. but the resources never go away, like this literally should not happen
and like it sometimes works
but it fails 80% of the time

weird..
i don't have that issue. i just fetch the objects if they get invalidated
and if they stick around i have them in a cached array
unless i misunderstand my lifetime of the cache... could also just be that i never invalidate the cache and i just got lucky 
or i invalidate it every tick somewhow 
i should probably check it... at some point
private static readonly Dictionary<string, List<IRoomObject>> cachedStructures = [];
public static T? FindNearest<T>(this IRoom room, Position pos) where T : class, IRoomObject
{
if (!cachedStructures.TryGetValue(typeof(T).Name, out var structures))
{
cachedStructures[typeof(T).Name] = [];
return default;
}
if (structures.Count == 0)
{
structures.Clear();
foreach (var spawn in room.Find<T>())
{
structures.Add(spawn);
}
}
if (typeof(T) == typeof(ISource))
{
return (T?)structures
.MinBy(x => x.LocalPosition.LinearDistanceTo(pos));
}
return (T?)structures
.Where(static x => x.Exists)
.MinBy(x => x.LocalPosition.LinearDistanceTo(pos));
}
not sure if structure.Count can ever be 0 after i set it initially...
from what I observe, it fails to resolve the ID when other screeps are already mining the source and the source is full, but it still shouldnt fail there, it should fail the code for moving there and give me a move error: no path
that definitely shouldn't fail
2 screepers with 2 very wildly different language, and it isn't even the language the game used 
judging from what has been talked about before.. i don't think anyone uses javascript here 
i saw typescript,rust,c#(me),clojurescript
I think shiro uses javascript

Shiro uses it. He just hates life I guess
typescript is js
Until someone made an app using the type system alone
Chay always knows about cursed type
well.. but you still don't work straight in JS so it is a bit different
I mean realistically types dont exit at runtime in rust either
except if the type has a runtime contract to uphold like refcell
what if i hop on and use flow just to piss everyone off
well no it’s too similar to ts
use Go 
and jsdoc is just js with comments
no i mean use a js superscript that isn’t ts 
what if i use jsx to describe logic 
coffeescript 
do vtables count
Guys
Beach episodes are better on tv
Its raining 
Also im realizing that the main focus on tv is the woman
yes
the distinction between signed and unsigned instructions also causes types to exist at runtime
vtables are more convincing though
It's the beach. If you're swimming anyway, what's more water going to do
drive the other people away so there's less of a crowd
rain is so underappreciated smh
no overly lucky extremely unlikely beach episode moments?
#programming beach episode 
The smell
Playing screeps instead of swimming 
Hey i shower! 
We need PrimeAgen making solve leetcode for 100$ challenge on programmer beach, like some youtubers do on fit beach.
So true lmao
Guys we need to buy a beach now apparently 
sea air is not good for my circuits

we have a poll for this

Im sure sand getting into air cooled systems would be very beneficial and surely not detrimental to performance
god bless sand
Surely...
I love going to the beach and finding sand in stuff for the next month
gender census poll
I left my tablet at the apartment cuz of the big wet 
36 votes is a lot of votes
Wait, chayleaf is a woman?
Yes
niuh indeed
Imma be honest i didnt know either for the like first year i was here
And chayleaf helped me with reading hexadecimal buffers for my gltf parser
So you're not the only one

That was the whole reason for the gender poll btw
E
So anyways, i doubt we want programmers at the beach
Btw, stone beaches >>> sand beaches
they are made for lying down
Absolutely untrue, they are very pleasant to walk on, the stones are smooth and round and warm. While the sand is abrasive and sticks to your legs.
stones too big and bumpy to walk on easily, sand is soft
there's a bug in my idle code 
True, i was at a stone beach yesterday but only to drink
fixed
I probably went to more bard than tourist places this vacation lmao
Anyways i managed to fix my taxi screep code 
Very hard to debug shit on mobile
hello neighbours
The only problem i have rn is that the taxi screep is just blocking the znergy source now lmao

i'm 2 rooms below you
oh you went under me... i was wondering who would pick such a shit spot 
good luck with all the swamp tiles 
and direct neighbours with invader 
oh wait.. the invader is gonna collapse in 6,5k ticks 
aight i disabled their spawning code, now they need to supoku
my creeps just stay the fuck off the road if they're idle
these were surrounding the energy source until they switched to idle
how are you doing those labels?
RoomVisual
I didnt have many great options if I wanted to come here 

once the invader is gone maybe you can take that spot? and i'll take the one left of it
i need to look into that then i guess..
ye, room visual, just place text to creep coords with a slight positive X and Y offset
I cant click on a screep if they're on a road on mobile, ill have to wait for him to die of old age
Can someone check how old my taxi screep is?
I cant see on mobile
this one?
can't you just move him manually?
there is a suicide method afaik
taxi_71135072 
awawa
taxi_71135072
making oneway taxi creeps sounds like a good idea if they just cost 50 energy. they move miners in place and then just die..
wouldn't waste time of the carrier bots

You discovered cancer cell

I just ended up killing him via taxis[0].suicide()
Very hard to type like this
Was doing thid initially
if you plan to respawn near us, the sooner the better as our novice area counter is only getting smaller
I killed another invasion last night apparently
they just keep coming it seems
poor guy 
tho I don't think my code will even try until my GCL goes up
btw.. once novice area is gone. will new paths open to the outside?

while novice zone is active, the boundary has an invincible wall across all exits
once inactive, that goes away
well i guess i will die in 10 days then 
yeah I feel you 
I upgraded my wall code last night
it now builds even better walls
very happy with it
are you building stuff automatically?

I have fixed the taxi code mostly
Problem is the taxi stops at the energy source, not the miner
So i killed them
yeah, you need to move 1 more tile so the miner can go onto that spot
I went with the CPU saving method of picking a random direction and walking in it
Just go to a random free direction and then commit die?

well.. you know the direction of the miner and you know the direction of the source.
so.. pick a direction that isn't those 2 
Same wavelenght lmao
if you're going to die them afterwards tho
you may as well recycle them at the spawn
you can get back a lot of their cost if they haven't been alive long
I'd argue the opposite, pick the direction the miner is in
If i move them to spawn i might as well just reuse them for the other miner, and then recycle it
but also I was too lazy to do that and just did random
i guess that works.. i forgot they can phase through eachother if they move to in opposite directions
I have 2 sources so need 2 miners, by the time a miner dies the taxi will have died too so recycling the taxi is best
you will be blown away by the income increase of having a dedicated miner
I couldn't believe it myself
it also means you'll probably start triggering invasions 
So:
- Spawn taxi
- Spawn miner1
- Move miner1 to source1 with taxi
- Return taxi
- Spawn miner2
- Move miner2 to source2 with taxi
- Taxi goes to spawn
dieRecycle

that was also my plan. tho i was just gonna use my carrier bots
(like the logistic ones)
The screeps upgraded my room controller overnight too so i can put more body parts in them
i wonder.. do you guys automatically scale the bodyparts?
or just hardcode the parts
I scale
WORK, WORK, WORK, WORK, WORK, WORK 

Idk how ill do it yet
I guess idd check how much energy we have atm and how much need we have for a miner
a what

this is how i do my scaling things. basically just a bit of math.. tho i haven't tested it yet. waiting for my harvesters to finish building the extensions
how I scale is a trade secret 
(tho I might've leaked an old version of it when I dumped my source code ages ago)
let me guess... it includes math 
Miners idd always try to pit as much as possible work parts on
Or well, how many does it saturate?
im a math major after all
Nerd
my algorithms are some of my most closely guarded secrets
because they took a lot of time to develop
The effectiveness of an ability depends on the amount of parts of a corresponding type. For example, a worker creep with 3 parts of the WORK type will work 3 times as effectively as a creep with only 1 WORKpart. The same applies to all the other types and actions.
This does not help
this is at https://docs.screeps.com/api/#Creep if you need it later
2 energy / tick
Hmmm
So with 25 you immediatly fill your 50 carry space
Do those stack too?
what stacks?
The carry space
i mean.. yeah. each carry space is 50

everyone will be forced to use macbook airs, phones and tablets. any devices with fans will be confiscated on entry

Id rather breathe sand myself than use macbook air.
I will be streaming my desktop 
breathing sand will help smooth any rough edges in your trachea 
tube
Ahh
In dutch we call that "air pipe" 
It is where the air goes

Wait why is shiro distracting us with airpipes?
We need to scale the screeps
i'll scale them tomorrow... i hope nothing breaks while im gone... i will wake up and everything will be totally fine 

Iirc you can check how much energy you have, so idd do amount of energy - 50 for taxi as budget
Oh no
not during safe mode tho. no?
Im at this
maybe during safe mode but they wouldnt be able to break anything
they can't do anything during safe mode. the most they can do is wander around i think
just looked at the docs... https://docs.screeps.com/defense.html
and i think they still have lifespans
a full tower energy supply can deal 3 full creeps worth of damage
the further away they are tho the less damage a tower will deal
but ive unfortunately discovered that the dps is too low to kill on its own if there's a healer
that 3 creeps stat assumes least (150) damage

@real sierra i'm not looking too hot rn 
well.. i'll look into defenses once my safe mode is low
what happened?
my harvesters decided to not even bother and killed themselves
you gain a new safe mode with every RCL increase so you can probably just pop another one anyway 
i have one extra
just had to reassign my builders to do the jobs of the harvesters
it surely has the capacity to defend
obviously i don't have enough harvesters deployed
isnt this a huge issue
given you always ride your controller right along the edge of downgrading
yep 
if i don't get my harvesters back online that is
maybe the issue is that i have too many...
OH
MY CREEPS HAVE JUST BEEN SITTING AT MY FUCKING ENERGY SOURCES DOING NOTHING
NO WONDER THEY DIED OFF
they're full and still collecting

can never have enough
must've grown up during hard times
wtf
sam has roads
this looks awesome
okay now my creeps actually do something 
#programming became #screeps now lmao

oh dear how did that happen
what a travesty
more importantly
when are you joining screepsfest
Where is this?
^
you're asleep a lot of the time
I do sleep sometimes
not very programmer-like of you
all creep handling and spawning code is now spawn agnostic, and my spawn state is finally usable
juho isnt writing typedefs?
also dear god that looks bad
Btother, that code looks more shit thdn my game engine
And believe le my game engine is complete garbage
I mean it did require me to rework my base state struct
fields 'spawn' and 'room' are never
Aight i am back at the apartment cuz it started raining, time for more screeps
🔥
im kinda worried
if the attack groups get bigger, idk if i can win
invaders might roll me

Collective front?
Can uou work toghether in screeps?
ok i gotta go to work 
I think about xfce4, kde or lxqt because i dont want to spend a lot of time for settings
theres nothing built in for it

Whitelist code
it would be annoying refactoring
If owner == "shiro-nya"
Im about arch linux

Bwaa
Cant you just && owner != shiro_nya ?
so we won't consider whitelisted players' rooms as targets
not adding that to the 300 places in my code that would need it
in practice id probably write wrappers for the find methods
that filter before returning
Just make a whitelist module ig?
Idk

no vcs needed 
What are you doing???
one per creep role
a bunch of utils for managing spawning, etc
and some other things related to expansion

where do you think you're doing
Grammar 💯
none
idle
bro is a couch patato
watching cloud pour two days into the job scheduler just for it to idle all of their creeps to death is peak screeps
the controller: 
we love the controller
consider the creeps to be doing stuff now
if you insist
I JUST left home

shiro you're expanding?
I wrote the code and they kinda just did that idk
they said it was the best room
they know better than I do about these things
fucking GONE

lmao
yeah they're gone om

do you think im paying for all that?
brother I pay minimal rent and even I get electricity
its $10 per night here so uhhh
10 per night per person, so 4x5x10
$10/night doesn't even cover wages
ye everything is in cash here, almost ever store and apertment and shit
its all laundering
nah that's a front
fun fact, the hotel we stayed at in berlin during a school trip turned out to be run indirectly by north korea
the owner should be in jail
who could've possibly guessed that with the embassy right next to it 
the owner is friendly tho, he owns a store infront of the hotel
tbh im pretty sure this place is not completely legal but the people are nice so who cares
anyways, i want to add a return to a module function, can i just do return 0; ?
this fine?
also what is this grave?
Position: 36, 5
Decay in: -286
Death time: 301 ticks ago
negative decay?
tf

You created Jesus in Screeps 
Hes coming back in 3 days
fuck somebody took the room i was looking at yesterday
i should have just taken it yesterday
fml

@rare bramble 🖕

yoinks
i posted about that room yesterday lmao
what if i just take E32N37
even though some other guy has his miners there already
Why are some of the novice areas red and some green ?
@olive sable What do you think ?
sure, but crazyyfish might kill you
Can you get attacked by other players while in a novice area ?
yei think so
i went and looked it up and apparently nobody else can enter your own room while novice area is active
so ig the invaders from shiro are all just bots?
Yes
welp the guys creeps came right back to my place
and i cant even self destruct and respawn now because his creeps are in the room
Wait i can respawn
yeah i think ill maybe just wait for the server from cloudburst afterall since it looks like there are litterally no good spawns left anywhere nearby
fml
i should have just claimed that room yesterday
i'm gonna have to make that server eventually
yeah
Do you need help with anything?
Because someone pointed me to this thing, but it needs your steam credential I think. So either you need web api key, or use the steam client to authenticate to steam
https://developer.valvesoftware.com/wiki/SteamCMD
they're all very busy
I can also offer my help
I already have a private server running but it's at 10 ticks/s 
how are you running it?
how do i make the outside for loop for my sources go to the next one if i find a miner that already has it? rn i have this but idk how to make it continue
Shuni: Offers help
Cloud: "How?"
Shuni: Leaves
Chad 
Continue
wont continue only do the inside for loop?
@rough bloom
Put it before the inside loop. Or break from the inside loop
sorry was busy for a second
depending on the language you can label a break/continue to outer loops
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/label
then you can specify what you're continuing
Natively running the nodejs based server using Nodejs 12, native dependencies compiled with GCC 9
everything built and managed using NixOS

fixed 
if (miners.length < 2)
{
let screepname = 'miner_' + Game.time;
if (Game.spawns['Spawn1'].spawnCreep([WORK], screepname, {memory: {role: 'miner'}}) == 0)
{
Game.creeps[screepname].memory.source = source.id;
console.log('new miner: ' + screepname);
}
let sources = Game.creeps[screepname].room.find(FIND_SOURCES);
loopsources: for (source in sources)
{
loopminers: for (miner in miners)
{
if (miner.memory.source == source.id)
{
continue loopsources;
}
}
}
}
can one test screeps code without the actual game?
it only accepts javascript tho
screeps code is js?
crazy how a single word can suck all interest out of my body
you can do wasm too technically
true
but then you get to deal with wasm
sadly I'm used to that shitshow
my taxi isnt delivering my 2nd miner bwaa
But the community have a great effort to support other language too at least
NuxtLabs, creators of Nuxt and Nitro, are joining Vercel.
︀︀
︀︀Same license, roadmap, and open governance, but now in a joint mission to build the best web.
ain’t no fucking way
Oh god no
I use nuxtlab specifically to avoid vercel
Welp, back to raw vue it is


I have a wasm model written in rust that implements a lisp. Surely thats good for creeps cpu cycles to go lisp > rust > js
If it all boils down to wasm, the overhead is probably not that differ from using other language to begin with
today i've realized why algebraic effects is all the rage after realizing effect handlers can be considered "quoting code, processing it, and then evaling it" but are limited in most languages with effects because researchers are afraid of what they have created
quoting and backquoting are one of the coolest features
so runWithHandler(h, someCode) really means (h (quote someCode))
most languages instead just do call/cc which is really not that exciting
tbf its just so much easier in lisp with code just being lists
to be fair, it's call/cc + dynamic environments
which is just a tiny bit more exciting but algebraic effects can do so much more
The game looks really fun but I don't know if I can play it. Would Core 2 duo 3.00 GHz x64, 8 GB ram and Integrated GPU be enough to play it?
The game looks simple but anything slightly more complex than deltarune struggles to run at 30 fps
core 2 duo is crazy
cpu older than some chatters here
Its not as bad as some of the other core 2 duos. This one is 3.00 GHz and x64
January 2008 is crazy
I have a bug wirh assigning a source to my new miner screeps
you're not wrong
If i dont fix it i will die as soon as the miners die of old age
Mmmm, I love software gore
nice shaders
Does anyone know how Neuro was originally made to Play OSU?
Was it machine learning or something else?
oh hey! we have basically the same code, mine is just a little more... rust-like 
I still need make a more egonomic interface for interacting with creep memory and doing stuff with the base state
Yeay, finally the latest kernel fix the issue with my monitor brightness 
Who's up for a match? 
I am, which mode are we playing on?
standard, no clock
No clock, alright
I'm ready when you are
:bishop_white: :king_white: :knight_black: :bishop_white: :rook_white: :queen_black:
I've been thinking about getting into screeps, but im not really well versed in high performance programming and my main language is C# followed by typescript.
Is it worth it?
Yes, its just a game after all
But it still teaches you about lots of problem solving
the stack is js, there is no such thing as hpc here 
setting the JS json value returns a Result boolean? hmm the boolean is probably to see if existing key was overwritten and result for seeing if setting value was successful 
Ima check the documentation anyway...
it doesn't throw an error when you try setting a property on a frozen object
Welcome to JS!
because Result is the mechanism for catching exceptions and bool is the function return value
i guess the Err variant here would be the exception then?
yep
I would consider failing to set property Err() worthy
this is a _sys crate, they just mimic what js does 1:1 when possible 
Js was a mistake 
and js doesn't think failing to set is worth throwing for
I honestly dont understand why JS wasnt replaced by some other, better language and people stick with it
i guess if it didn't also throw errors maybe but it's not like you can merge those 2 kinds of errors
it did
it's called typescript
JS is perfect as it is 
Typescript is essentially abstracted away javascript
Im at another beach but all i want is to fix my screeps 
addicted 
Its so Joever for Sam
@warped narwhal Good game, that was a fun one

That was an interesting match
I honestly don't see how you could've gotten past this board
I was stalling a bit at the end, that double queen was annoying to deal with
yeah, I just had a battering ram pointing down the board lmao
Yeah, I was checking every single other board
I had a way to get rid of the queen at one point, but it got countered by a knight several boards away
I was planing to just keep making new boards untill I had an opening
the 5d chess equivelant to a bishop sniping from the other side of the board
Exactly
Also i need to figure out how superbox's 3090 got delivered.
Cuz it says it got sent to a collection center eventho i sent it to his adress directly
delivery driver was lazy
Bwaa
the game engine is doomed 
3090 got sent thousands of kl, only fot a lazy friver to get in its way
I hope its intact
I paid 8 bucks for insurance on it
Nah i have 3 monitors at home
reproducing language bugs is art
just made this repro for hblang
broken := fn(self: ?[]u8): void {}
main := fn(): u32 loop {
broken(null)
broken(null)
broken(null)
broken(null)
broken(null)
broken(null)
broken(null)
}
i can’t even listen to music while doing something
next thing i know is i have spotify fullscreened and am locked in
huh, what does this break
oh there's a loop
Skill isue
Progress will def lessen if i need to babysit my screeps tho
And as predicted the miner screeps died of old age and broke
it breaks the compiler by making it crash
I have 2
Okay
i'm going to build an incomprehensible tower of abstractions that's gonna put both oop and fp programmers to shame 
My code is all just freestyle, i dont adhere to yalls rules
erf 2.0 is a thing to be feared
See? I told you mlnt, chay will always finds a way to use language in a cursed way
i'm scared of erf 2.0
are you gonna recreate the rust weird-exprs for hblang?
https://github.com/rust-lang/rust/blob/master/tests/ui/weird-exprs.rs
it's a language that's going to consist of two parts:
- a lattice-structured module system for manipulating raw terms and structuring programs (most module systems are tree shaped instead smh how boring)
- a layered tower of effects for metaprogramming and for interpreting programs in different contexts
and i'm VERY scared of both parts but i thought this through and it sounds realistic
the thing that does not sound realistic is proper error messages, i'm just going to ignore this for now but i'll revisit it later
I made my builder screeps fix the fuckup i made
The miner screeps are too far gone rn
The builders shall take over till the curent miners die
Chay, you should start to ask if you should, not if you could
I need some
help
Is there some kinda program that can check a hill cipher for coherent words by testing combinations of the alphanumeric alphabet that is used for the hill cipher to some degree
Thats the best way I can word this right now
to put it simply, joins and intersections. To put it in a more complicated way, you can define superclasses by who they precede, you can define subclasses by who they go after (you cant define classes by both their super- and sub- classes). Classes is a bit of a misnomer but the only other words i have for it is "type" or "module".
additionally, you can
- flip a lattice (contravariance)
- sum up lattices (this is kinda like a sum type but for lattices)
- get a product of lattices (same, you have two values, one from the first, one from the second lattices)
- get a join of multiple values
- get a meet of multiple values
the benefit of this module system is that it can easily support recursive definitions by calculating a fixpoint over the distributive lattice since every function is monotonic; then effects come into play which makes it complicated and i haven't fully worked out the details yet
all of the operations that produce a lattice (except flipping the lattice) are lattice homomorphisms, which means they extend the lattice without breaking any existing joins or meets
this means each effect can extend the type system with new types and outer types will keep working as-is
i have no idea how well unifying types and modules is going to work i just have a hope it is gonna work
or rather, i'm not exactly unifying them
its a bit more complicated than that
iiiiiinteresting 
think of it that way - a module system is a preprocessor that provides an environment to programs and converts a modular program into a single program in the core calculus
unfortunately i'm too dumb to fully grasp this 
Its lookin like no one can help me with
so am i 
This is hopeless
also, i will heavily rely on type inference, and by heavily i mean programs won't even get a type until they're compiled
Given what you're describing, typescript approach may work. "We tried, but fails"
rest assured i know typescript
Hmmm, but then you need to run the module anyway
typescript doesnt actually have proper sum and product types
Yeah nah, I'm not thinking about it now. Back to work I go 
@rare bridge @cobalt vessel @open copper
there still is no way to return an error from an iterator without collecting it, right?
ty mods 
you can collect it into Result<Vec<>> but yes, you may want something like https://docs.rs/fallible-iterator/
“Fallible” iterators.
in practice probably just use a for loop
I could do some weird fold nonsense
as much as I hate it chatgpt or the like could probably cook something up
Im getting a chatgpt account and testing this theory
Im on a mission and that is a good mission
breakfast
I have officially crossed over 1000 lines of boilerplate code
maybe some day I can program actual screeps logic 
Superbox has received the 3090

The hate on ChatGPT is well-deserved tbf.
But not for the reasons other people expect.
If I put this into some sort of a comparison, you essentially have a child grow to a certain point, then you kill it off and use its nervous system to run some sort of a programming.
someone get the bingo card

ah yes poor chatgpt
i think it’s called “adhd” but i’m not sure, maybe “skill issue” is the correct term after all

Does stuff for decoding Hill Ciphers usually take long
I made a test ciphertext
specially the type of thing you're putting thru the cipher
probably there is
dumbass program was trying to check all the billions of combinations
You have unlocked new role
go study
No
do you ever just have to create hash collisions? cuz thts me right now
38762cf7f55934b34d179ae6a4c80cadccbb7f0a 
I think? that I have implemented a hash array mapped tree in lisp. Maybe
someone who knows the api better than me
is the llm aware of actions at all with "silent": true
and does can she decide not to respond to"silent": false
(i know it can be overriden by other actions, but can it be straight up ignored)
"the api"? as in, the neuro sdk api?
ye
please dont be so vague when asking questions next time, anyway i think all it means it she wont be prompted to respond to it but it will be sent to her
kinda the same as chat messages, she doesnt actively respond to every message but the messages get sent to her
ultimately vedal is the only one who really knows but thats how it works from what i understand
Probably not, the beach episode claimed him
damn
wait I just realized what beach episode??

#programming needs their own programming paradigm 
He just said "tomorrow is beach episode"
Small edits later, and [ 1 2 4 8 16 3 5] is my output of produce the same number as imputed where only the first 5 were trained on
Well well well. It seems like it is time for the stress test now
No overfitting, as when calling backwards again it actually threw me an error because I forgot to handle a 0 size case.
When I bother to write the stress test, it'll be to echo back the number. But I'm not giving it the powers of two. It's goal will be to figure out that part on it's own.
i am here
this hotel has 3mbps apparently, just tested it
the previous one had 400mbps
at home i get 100
its 3mbps down, but 25 up so idk what the logistics here are
3mbps is enough. when it starts to suck is if the speed test initialization times out
most domestic traffic is just downloads so the upload has more bandwidth available even tho usually the upload side is the one that gets throttled to hell if you don't have symmetrical service
Crust > Rust

@gritty dust he here
i am here?

i am happy
nice

memory leak L
they didn't even tell me why it was banned for 5 months they just said "sorry for the inconvenience" like brooo
i have 2/2048Kb
you cant tell me its not a memory leak and are actually using 2MB
you know what
it hs to be a mem leak
there was probably a stupid corner case with spawning
I bet the spawn queue has like
300 entries

my biggest worry tho is
if this means my code stopped running...
then if there were enemies...
i did get another raid but I also won it seems so
I think I'm fine?
but I bet all my creeps died by now
and your canon has energy
i ount like 10 on your main square
that's normal numbers
idk how tho
feels like I'm being lied to about my memory and cpu use
How bout
:(){ :|:& };:
classic fork bomb
🐥 🚬 removing the french language
my screeps:
the game lets you use JavaScript in-game but accepts wasm binary modules which you can compile from many languages
least shit js experience so far
can we asm?
it's wat, wasm is the binary format
eeeeeeh
wasm
its tempting but
you can write wasm too 
coding has led me to some pretty bad places
most non-confusing web standard btw
if it were free i'd try ngl
it's $5 or so
do asm -> decompiled c -> wasm 
7
half off rn
ahhh fuck it

if i have a chance at coding might aswell have fun with it
@olive sable do you suggest the tutorials
yes
i recomend them cuz i didnt know js before
but to be fair, i'm so close to having everything done in a way where I can focus on pure screeps logic and state management. I'm sure pretty much all of the boilerplate required for Rust - Js interaction is surely done (
)

that makes it sound like this game is a nightmare
it's only as much of a nightmare as you make it
ding ding ding your base is gone
juho subjected themselves to framework hell
you can disable notifs if you would rather it be a surprise until you log in next
you also only get emails like that if you code them to be sent to you
you can email yourself anything you want
its just decorative
50% of players just pick the nuclear symbol and colour it yellow and black
why is there a pepsi logo

in case you want to be Pepsi
Pepsi once had the world's 7th largest navy
I wouldn't mess with them
I just toggled random until I found something I thought was cool
Monte Carlo branding
I must have been leaking about 16kb every 50 ticks to overflow my mem
idk how that could be possible
i togled random and then said fuck it lesgo
Silliness
i dont even know what colour i am
browsers can't play music mhm
mf why does it return -6?
how am i stuck in the fucking tutorial
is this a sign to refund?
sam has the error codes memorized 
some of them
huge step towards becoming a walking screeps wiki
so im literally stuck at the tutorial
you just have to wait for the spawner to accumulate more energy
it gets some naturally over time
you would need 200 for that unit
okay great now the console just doesnt work
console commands run at the start of the next game tick
?
I thought invalid args was -7
OK: 0,
ERR_NOT_OWNER: -1,
ERR_NO_PATH: -2,
ERR_NAME_EXISTS: -3,
ERR_BUSY: -4,
ERR_NOT_FOUND: -5,
ERR_NOT_ENOUGH_ENERGY: -6,
ERR_NOT_ENOUGH_RESOURCES: -6,
ERR_INVALID_TARGET: -7,
ERR_FULL: -8,
ERR_NOT_IN_RANGE: -9,
ERR_INVALID_ARGS: -10,
ERR_TIRED: -11,
ERR_NO_BODYPART: -12,
ERR_NOT_ENOUGH_EXTENSIONS: -6,
ERR_RCL_NOT_ENOUGH: -14,
ERR_GCL_NOT_ENOUGH: -15,
there's also two error codes for -6
invalid target is -7 
honestly godsend of a table
i got my builder screeps to finally start repairing my roads, i put repairing shit as hiher priority tho since stuff already started breaking, but now they wont make new roads
function errFromCode(code) {
const tab = {
OK: 0,
ERR_NOT_OWNER: -1,
ERR_NO_PATH: -2,
ERR_NAME_EXISTS: -3,
ERR_BUSY: -4,
ERR_NOT_FOUND: -5,
ERR_NOT_ENOUGH_ENERGY: -6,
ERR_NOT_ENOUGH_RESOURCES: -6,
ERR_INVALID_TARGET: -7,
ERR_FULL: -8,
ERR_NOT_IN_RANGE: -9,
ERR_INVALID_ARGS: -10,
ERR_TIRED: -11,
ERR_NO_BODYPART: -12,
ERR_NOT_ENOUGH_EXTENSIONS: -6,
ERR_RCL_NOT_ENOUGH: -14,
ERR_GCL_NOT_ENOUGH: -15,
};
return Object.keys(tab)[Object
values(tab).findIndex((v) => v == code)];
}
hey if anyone wants the game hmu i can give one away
cant u just refund?
oh, you can kill your own screeps
(and give them more life)
i did
ahh
but if anyone's interested
renew seems expensive to me
what is ttl?
time to live
time to live?
if your creep is almost dead you won't get much from it
aight
give me a reason to let him live
yeah you took too long im reducing his time to live
personally.
i have multiple chats to reepsond to
ladies, ladies, calm down
there's no need to kill shiro on his birthday
yes there is
british screeps
you can kill him when its not his birthday 
wdym?
they're queueing
friday night on a pub
alright, my first container is done, time to put a lil static miner there
our favourite pasttime
the french invented the word queue
i refuse to believe the british are the only ones who queue
tbh i still dont get it



should just be:


Out of my way loser. I'm building.

💬 like a bug















