#programming

1 messages · Page 75 of 1

stark needle
#

so i did a silly thing

#

here's a version with me actually singing this

#

why am i doing this

opaque wharf
#

Why do we program at all...

#

Reject modernity, return to stone age

rigid snow
#

real voice reveal nowaying

opaque wharf
#

Out of curiosity, what do you guys imagine my voice is like?

rigid snow
#

i don't imagine voices evilShrug

opaque wharf
#

The whole can you rotate an apple on your mind again neurOMEGALUL

rigid snow
#

no i CAN i'm just saying i don't automatically assign voices to text

opaque wharf
#

Oh I see

stark needle
rigid snow
#

you're using a voice changer to sound like yourself there

#

also why are you whispering? i'm not about to give you a vocal coaching session but you have to sing louder

opaque wharf
#

So the voice cloner thingy makes your (shad) voice deeper

rigid snow
olive sable
rigid snow
stark needle
#

and i'm not a professional vocals mixer

rigid snow
#

you can lower the gain on any mic

olive sable
rigid snow
real sierra
stark needle
sage crag
#

shr

olive sable
real sierra
#

on my way home so I can check on my screeps

opaque wharf
real sierra
broken mirage
#

Hello

real sierra
real sierra
#

welcome to the server!

olive sable
real sierra
opaque wharf
#

Ahh

stark needle
stark needle
stark needle
#

Rachie

opaque wharf
#

I don't even know her lol. Imma check it out first

olive sable
#

No

rigid snow
olive sable
#

Wait lemme google

real sierra
#

how did you guys get here from a presumably programming topic

opaque wharf
opaque wharf
olive sable
opaque wharf
rigid snow
stark needle
olive sable
sage crag
#

bwaa wasp in room

opaque wharf
sage crag
#

bwaa

opaque wharf
tender river
rigid snow
#

wasps are cool

tender river
#

in such cases i normally just leave the room and never come back neurOMEGALUL

rigid snow
#

do you rent another place immediately

sage crag
#

im waiting passively for mr wasp to leave

tender river
#

i stay in another room and hope for the wasp to leave

rigid snow
real sierra
opaque wharf
real sierra
#

wasps act like tough shit until they discover 1000V tennis racket

sage crag
stark needle
olive sable
#

Now that you're here shiro

rigid snow
olive sable
#

How does the screeps pathfinding work? You said it's expensive

real sierra
#

@rare bridge PauseSama

opaque wharf
real sierra
rigid snow
sage crag
#

no

olive sable
real sierra
#

if you look at PathFinder.search in the docs you can see which parameters are customizable

rigid snow
#

damn sam's theory confirmed prop engines don't exist neuroSad2

sage crag
#

awb

tender river
#

abw

sage crag
#

buzzy thing please leave

#

i will eat you

real sierra
#

I would not suggest eating it

tender river
#

why

opaque wharf
rigid snow
#

fry it first

real sierra
#

then the wasp can never leave

opaque wharf
#

Free range protein

real sierra
#

it will be part of you forwver

opaque wharf
sage crag
#

im more scared of it than it is of me

#

what's the saying, eat your fears?

rigid snow
sage crag
real sierra
#

electric swatter is the way

opaque wharf
sage crag
#

where did it go

opaque wharf
sage crag
#

it was hiding

olive sable
sage crag
#

i need it to leave first

opaque wharf
#

Your static voice is attracting them

sage crag
#

bwa

olive sable
olive sable
#

Konii the wasp wisperer

sage crag
#

will it leave if i douse it in perfume

olive sable
rigid snow
opaque wharf
rare bridge
#

looking at stuff quickly

sage crag
real sierra
#

PauseSama cloud

tender river
#

it will leave if you spray it with fire

rare bridge
#

i found the source code for screeps

#

and also server implementations

sage crag
#

i lost it again

olive sable
real sierra
opaque wharf
olive sable
#

Neurocord screeps server neuroHypers

rare bridge
#

i'll have to try and make it a pterodactyl egg

olive sable
#

A WHAT?

rigid snow
#

nuh uh sam

opaque wharf
real sierra
#

🦕

rare bridge
amber fractal
olive sable
real sierra
#

surely you just download the executable and add it to the rc file

sage crag
#

i have sealed it behind the blinds

warped narwhal
#

After looking at all the options for making a web application I have came to the very logical conclusion that I must invent my own better JS framework which does exactly what I need it to do glueless

opaque wharf
#

I have heard shadow and cloud voice. I imagine Sam's voice are around the same

olive sable
rare bridge
real sierra
#

yet another victim of "I don't like round wheels I should invent my own better wheel"

rigid snow
#

that'd be offtopic to this channel nERMd

amber fractal
olive sable
#

Ahhh

real sierra
#

accurate

opaque wharf
rare bramble
real sierra
#

training data you say

sage crag
olive sable
#

Why is it always your birthday tho?
Is this like a doofenshmirtz situation where none of your parents showed up for your birth?

real sierra
#

time to send a ton of messages mixing the most common English words with random base64 data

#

train this Tomfoolery

sage crag
olive sable
#

Nuh-uh

amber fractal
opaque wharf
sage crag
#

that is why we have laws

olive sable
opaque wharf
#

What is laws but the tyranny of the masses NeuroClueless

sage crag
tender river
#

i will break the law of distributivity, the law means nothing to me

sage crag
sage crag
tender river
#

i'm working on it

amber fractal
rare bridge
#

when getting screeps what exactly am i even buying CerberOMEGALUL

rigid snow
sage crag
amber fractal
rare bridge
#

damn

rare bridge
#

i mean

#

i already do that

opaque wharf
real sierra
#

^

tender river
#

konii i'm sorry i don't know what the operation chayleaf does

sage crag
real sierra
#

I personally find screeps worth the miniscule price

inner pike
#

i should maybe get screeps

rare bridge
#

Okay empying my back account

opaque wharf
sage crag
amber fractal
tender river
#

screeps company go pay shiro neuroMad

opaque wharf
broken mirage
sage crag
tender river
#

we are not

amber fractal
#

yet

inner pike
#

Screeps world, right ?

broken mirage
#

So I don't think they'll understand C even if it's a prompt

olive sable
opaque wharf
olive sable
#

🔥

opaque wharf
real sierra
olive sable
#

I'm excited to play when I'm home

#

Kinda sad I'll miss the server opening

inner pike
#

bought it

real sierra
#

W

rigid snow
rare bridge
#

LULE bro thinks i'll have it done today

inner pike
#

so wait do you have your own server or are you playing on the main server shiro ?

#

i am confused

real sierra
#

I'm on the main server

#

waiting for cloud to make a private one

inner pike
#

Ah

amber fractal
#

Yippie!

rare bridge
#

i'mma join the main server and find you TPU_Grab_Right

olive sable
olive sable
rare bridge
#

damn server done already

real sierra
real sierra
#

ok gimme the connection details

inner pike
#

lmaooooo

real sierra
#

I'm home in 10

inner pike
#

days ? years ? minutes ? Seconds ?

real sierra
#

apples

olive sable
#

I'm not home bwaadow

inner pike
#

Ah gotcha

inner pike
olive sable
#

Wait I have my laptop with me

amber fractal
#

I'm not going to be hone

real sierra
#

bro forgot he has a laptop

olive sable
#

Gimme time to install

opaque wharf
real sierra
#

"install" it's a Browser wrapper

opaque wharf
olive sable
amber fractal
inner pike
#

okay so how do we even join the server

amber fractal
#

Wait for cloud to finish port forwarding probs

olive sable
#

I hope it isn't ping dependant lmao

opaque wharf
#

All the code runs on the server

#

Basically jank cloudflare worker

amber fractal
#

It plays itself automatically so double not a problem

opaque wharf
#

Or amazon lambda or whatever they call it

nocturne olive
#

Whar's the silliness here?

rough bloom
olive sable
#

Bro that's faster than my home network lmao

amber fractal
opaque wharf
nocturne olive
olive sable
#

How does one join a private server?

inner pike
#

sam

#

look at the message i replied to

olive sable
#

Yes

#

Ah

nocturne olive
#

From what I heard about the game it's cool
But is it expensive? Because I'm broke after that 3090

olive sable
#

ap123456

rough bloom
#

hunter2

nocturne olive
#

Well, I have nothing

opaque wharf
#

Shiro

real sierra
#

hi

opaque wharf
#

You know what to do hehe

real sierra
#

?

inner pike
#

I will surround shiro with bots that only say "HBD"

opaque wharf
#

Superbox wanted to play screeps hehe

olive sable
# olive sable ap123456

I was trying to log into the wifi with my tablets keyboard cuz i put my tablet on the laptop neurOMEGALUL

inner pike
#

OH

#

i was so confused what that message was about

#

LOL

amber fractal
real sierra
#

they should try the free demo you can play on the website

olive sable
amber fractal
#

I'll be downloading tonight

inner pike
#

"War Thunder" my Condolences

opaque wharf
#

War Thunder catdespair

amber fractal
#

something something national holiday abour british

olive sable
inner pike
#

Brawlhalla holy shit

#

i havent heard of the game in years

olive sable
#

The belgian holiday is on the 21st, and my birthday on the 22nd neuroHypers

nocturne olive
#

I guess continue your silliness
I'll think about things in a couple months when I'm not broke

rigid snow
olive sable
#

Thank

#

I put it on private iirc

inner pike
#

Why do you not have download speed displayed in mb/s ?

rigid snow
olive sable
#

Cuz why not?

inner pike
#

You can make it display as mb/s instead

#

steam settings

nocturne olive
inner pike
#

download

#

and then uncheck "Display download rates in bits per second"

rigid snow
#

it's as megabit per second, they're asking why you haven't set it to megabytes per second

olive sable
inner pike
opaque wharf
#

Also kilo vs kibi

olive sable
#

I dont care about MB, i just do /8

rigid snow
#

idk i understand bps better too when referring to speed

real sierra
#

huhExplode all of my units died

inner pike
olive sable
#

So ig we're waiting on cloudburst rn?

inner pike
#

Yes

#

i think

inner pike
real sierra
#

CatDespair oh

opaque wharf
real sierra
#

i broke the spawning code

#

with a bad assumption

opaque wharf
#

Cloud still needs to run the server without steam

olive sable
#

Im down to play like an hour or 2, but i need to checkout from the hotel in 11 hours

inner pike
#

lets just ask if its gonna be done today or not

opaque wharf
#

Unless cloud make the pterodactyl egg with steam inside catdespair

inner pike
#

@rare bridge Do you think you will be able to get the server done today or tomorrow ?

tender geode
# real sierra W

Have
A
Pretty...
Pretty Good...
You know what?
Blast it,
I can't think of anything.
ROFL
Though I remain ever-thinking
Happy to be of service
Duck-sama wishes you
A very nice day
You
Should believe it
Hell, through thick and thin,
I Shall
Remain
Optimistic

olive sable
#

We have a ROFL user neuroNOWAYING

#

Rawr xd

real sierra
#

insanely high effort

#

(still not my birthday though)

tender geode
#

I figured a high-quality birthday shitpost would go over a bit better.

broken mirage
olive sable
#

Is shiro?

#

I know vanor streams

real sierra
inner pike
#

shiro used to stream

olive sable
broken mirage
#

Yeah I noticed

broken mirage
olive sable
broken mirage
#

Had created Live2D model and Vroid, still deciding which one to use

inner pike
#

idk when the last time he streamed was

real sierra
#

people talking about me like im not right here neurOMEGALUL

opaque wharf
real sierra
#

i did it by accident

broken mirage
inner pike
broken mirage
inner pike
real sierra
#

i still dont have an answer

#

and i also feel awkward discussing it in another streamer's server

broken mirage
#

Do you have awnser

real sierra
#

feels rude to me

inner pike
#

fair enough

#

thats understandable

olive sable
real sierra
#

gl with that

#

you cant even order screeps around, nevermind a channel

inner pike
real sierra
olive sable
amber fractal
#

We are not so hyperfocused on screeps we can summon manpower

broken mirage
olive sable
#

Screeps is not my game lmao

#

But i have made games

rare bridge
broken mirage
#

Unity/other engine?

olive sable
#

We all need to be friends with cloudburst on steam?

opaque wharf
olive sable
broken mirage
real sierra
#

my brain is hurting

inner pike
#

Huh, i never added cloudburst as a friend on steam

rigid snow
olive sable
#

The only actually released games run in python. The cpp one is new

broken mirage
rare bridge
#

shiro dm me your steam friend code rn RAGEY

amber fractal
#

Note to self, dm cloud steam friend code leter

inner pike
#

Cloudburst do we need to be friends with you to join the server or no ?

opaque wharf
olive sable
#

So its only for shiro ig

rare bridge
#

you just need to know my p address

opaque wharf
real sierra
#

p(hysical) address

inner pike
rare bridge
real sierra
#

which adapter do i connect to

olive sable
real sierra
#

eth0?

broken mirage
rare bridge
#

wg0 but you can't talk to anyone while playing

broken mirage
#

There's a lot of VTubers in programming

olive sable
real sierra
olive sable
#

Like i need your code anyways

real sierra
#

ok my head hurts

#

so

#

i figure out the max spawning budget

olive sable
#

You will seath the power of my raw unfiltered autism

real sierra
#

based on if i have logistics creeps able to refill the spawner

#

but

broken mirage
real sierra
#

i determine if i have those creeps based on if any are in the queue and are affordable

#

but to be affordable they have to cost less than the max spawning budget

olive sable
#

First need to figure out the game tho

broken mirage
#

First time seeing someone made a game from C++

#

The raw lang I did is Java

olive sable
#

Is it? Its quite common no?

#

I feel like python webgl is way more controversial and interesting

rare bridge
#

@real sierra accept it

opaque wharf
amber fractal
#

I know it is mostly JVM/C# or Crab

broken mirage
olive sable
broken mirage
rare bridge
#

y'all use game engines?

#

nahh boring

real sierra
olive sable
#

Nope

rare bridge
#

program everything yourself

olive sable
#

I did

real sierra
broken mirage
inner pike
broken mirage
#

Just need a little bit of UI support

rare bridge
amber fractal
broken mirage
#

And libraries

real sierra
amber fractal
#

I also only code from ground up, including game jam

opaque wharf
real sierra
#

but yeah i tried creating an html form in my console once

#

it worked

#

clicked the submit button

#

game had a stroke

opaque wharf
#

As in, the console can't accept input from any other source

rare bridge
#

omw to surround shiro's area with <script>const fs = require("fs"); fs.writeFileSync("~/Desktop", "happy birthday");</script>

#

your desktop becomes happy birthday

rare bridge
#

because i forgot to put an actual file name there

olive sable
amber fractal
real sierra
#

i tried making a multiplayer game without an engine once

real sierra
#

...in java

broken mirage
real sierra
#

i actually had this genius sync object generic class that would wrap a normal object and its methods using reflection and auto-replicate changes to all clients

inner pike
#

my condolences

rare bridge
#

shiro obviously perished that day

inner pike
#

yeah

olive sable
rare bridge
#

which is why their birthday is every day

inner pike
#

but then got reborn due to it being his birthday

broken mirage
olive sable
#

but slow

#

and actually bad

broken mirage
#

That's why I'm relying on engined

rigid snow
amber fractal
broken mirage
#

Engines

olive sable
#

i wish python with types existed.
oh wait, C++

real sierra
#

"hmm today i think i'll try to write my python in some kind of efficient fast way"
the GIL:

opaque wharf
real sierra
broken mirage
real sierra
#

multiprocess or suffer

#

eat the pipe pickle overhead

amber fractal
olive sable
real sierra
olive sable
#

there is

#

you need to disable gil on install tho

real sierra
broken mirage
olive sable
#

1080p rendering

rigid snow
#

4k fps tui neuroNOWAYING

broken mirage
rare bridge
#

alright, now the most important question for screeps

#

can i run doom.

opaque wharf
olive sable
#

4000fp sis unnaceptable, so i switched to C++ still with opengl.
there i got limited to 6K fps cuz opengl was using 70% of cpu on swappig buffers.
6000fps is also unplayable so im now going to vulkan

amber fractal
#

6900 fps when PauseSama

rare bridge
#

6000fps is literally unplayable

#

write your own rendering engine

olive sable
#

when vulkan is done we're probably going to 5 digits immediatly, so no 6900fps unless i throtle performance

rigid snow
rare bramble
#

oh, when I try and open screeps world it does nothing, though a microsoft edge sessions starts in the background?

broken mirage
#

These bros are scary

#

My PC can't even handle 4000FPS

opaque wharf
rare bramble
olive sable
#

this is all in 3090 + 5950x terms tho, the 6000fps engine could probably do 6900fps on a faster single core score cpu

olive sable
stray dragon
#

the monitor can't

#

the computer can

olive sable
#

if you dont swap buffers you cant see shit, but you also save 70% cpu usage

rigid snow
olive sable
#

fake mews

rigid snow
#

mews

amber fractal
rigid snow
olive sable
#

that want a typo, i just like saying fake mews

rigid snow
#

i don't care if it is, mews neuroNyan

olive sable
#

origin of fake mews

rigid snow
#

ifunny watermark

olive sable
#

ye...

amber fractal
#

death to the meme

opaque wharf
olive sable
inner pike
#

Aslong as you are on vacation your mc server works perfectly fine

inner pike
stray dragon
#

i've changed literally nothing

#

sometimes it just decides it hates me

inner pike
#

your mere presence made the server destroy itself

stray dragon
#

and crashes 3 times in a day

#

haunted pc

inner pike
#

your server killed itself because of you

#

How does it feel to be responsible for the death of a poor innocent server

stray dragon
#

i only had to do a bit of surgery on it that one time

#

it's fiiiiine

olive sable
#

so we aren't allowed to post or screeps code?

stray dragon
#

what

inner pike
#

we are all planning on playing Screeps

#

Cloudburst is working on a server

olive sable
#

we love sreeps

amber fractal
#

Cloud is making private server and enforcing rules

inner pike
#

Screeps: World is an open source MMO RTS sandbox game. With all the attributes of a full-fledged strategy game, you control your colony by writing script that operates 24/7 in the single persistent open world filled by other players on par with you.

Your colony can harvest resources, build units, conquer territory, trade with other colonies.…

Price

$7.49

Recommendations

1836

▶ Play video
olive sable
#

i wish cloud was faster bwaa

amber fractal
#

bwaa

stray dragon
#

oh i didn't see that "or" was a typo of "our"

olive sable
#

im not used to typing on qwertzuiop

#

but my latop is

#

cuy it was 200 cheaper

rare bramble
#

yeah, screeps world just launches bunch of nwjs tasks in the background but doesnt show up... :/
time to debug

rigid snow
amber fractal
#

It'd work fine with other games as you just need to log in every once in awhile and see your script fail (Case and point Shiro~)

inner pike
real sierra
#

im lucky i logged in to fix this bug SAVED

olive sable
real sierra
#

some of my structures are degrading to nothing

amber fractal
#

Can't you go into windows layout settings?

real sierra
#

because all my builders died

rigid snow
#

the one with the short left shift key

olive sable
broken mirage
real sierra
#

yeah

#

dumb mistake on my part

olive sable
#

my pc keyboard is US qwerty

amber fractal
broken mirage
real sierra
#

i was comparing the total amount of each role in the spawn queue against the limit, instead of the affordable amount in the queue

olive sable
#

if cloudburst doesnt get the server up in an hour imma need to go to bed bwaadow

rare bramble
#

huh? if I launch the exe, it opens up fine

rare bridge
#

it'll be tomorrow

olive sable
#

fuck

broken mirage
#

Go to bed

real sierra
broken mirage
#

Night night

rare bramble
#

but opening it in steam is broken?

rare bridge
#

i wanna learn the game first if that's Okay

real sierra
#

do you know how rare it is for people to actually PLAY this game

amber fractal
#

Can't let Shiro~ overrun the server smh

olive sable
#

i was plannig on jumping in blind but sure i can do a training arc

real sierra
#

about 6 people in here have discussed modifying the game files or creating some kind of build tool

rigid snow
# olive sable

the only difference between ansi and iso is that the backslash is moved from above the enter key to the right of the left shift...

#

it's still the same keyboard

rare bridge
#

Okay i think i understand the game

olive sable
#

that was a short training arc lmao

rare bridge
#

time to make code that automates everything all at once

real sierra
#

i think the game is very clever with the rts apsects it chose to implement

#

they make for very granular but progressive problems

rare bridge
#

including invading other people's plots 4Evil

amber fractal
#

I've been wanting to play a game with a decent automation system after finishing Antimatter Dimensions.

broken mirage
#

Quite easy

real sierra
#

BASED hoi4

broken mirage
#

Yes

rare bridge
real sierra
olive sable
#

my plan is to spend a lot of time microoptemizing making me fall behind in the tech tree and die

rough bloom
olive sable
#

disocrd and screeps dont want to share screenspace on mz laptop bwaa

amber fractal
#

Still my #1 reason to using tilling window managers, just keybind to switch it all

olive sable
#

zoomed out, everythin is so small now

#

trainig arc will be on official server then i gues?

rare bridge
#

YouActualDumbPieceOfShitFuckYou i softlocked my game

olive sable
#

great

real sierra
olive sable
#

wait the game has a buil tin tutorial

rough bloom
olive sable
#

lemme play that

warped narwhal
#

Also, since when were async traits allowed in rust? I thought the whole point of crates like "async-trait" were because they weren't?

amber fractal
#

I'm pretty sure it is called wait until upstream does it

real sierra
#

despair it's crumbling...

rough bloom
real sierra
#

my ramparts are withering away due to lack of maintenance...

rare bridge
#

shiro it's so over

real sierra
rare bridge
#

anyway when i start the neurocord server i'll start developing the swarm Okay

inner pike
real sierra
inner pike
#

god i remember the song so well

gritty dust
olive sable
#

wait im gonna need to learn whatver language this is, and the game#s api

#

fucccccccckkk

rigid snow
#

sam, js is kinda like python but c

rough bloom
amber fractal
#

The "never can fail" lanuage

gritty dust
real sierra
#

its like if you wrote python with java syntax

rare bridge
#

it's basically

#

python

#

but some fucker decided to call it javascript

#

despite it having nothing to do with java

olive sable
#

the plceolder code has wrong brackets bwaaaa

rigid snow
rough bloom
#

mhm Python except slightly different syntax and much less convenient

inner pike
rare bridge
#

they're like cars and coal

rigid snow
#

car and carriage

inner pike
#

Carriage is just a older car

rigid snow
#

right

#

but no

#

eh

olive sable
rigid snow
gritty dust
#

dont view memory I guess lol

olive sable
#

the 2 human actions

inner pike
olive sable
#

fair automod

#

lmao

#

i blame shiro tho

real sierra
rigid snow
olive sable
#

the pipeline

#

creep: has just been born
game: It is time to put the creep to work!

inner pike
#

the children yearn for the mines sam

broken mirage
rigid snow
broken mirage
#

Whew

#

What an irony

cerulean dirge
#

FOCUS this is a clever meme

olive sable
#

it will look like the first one from one perspective

#

just not ours

#

good to know screeps can cut corners

real sierra
#

two creeps can also pass each other if they try to move to each other's tiles simultaneously

olive sable
#

i keep calling them screeps eventhoug theyre creeps

inner pike
#

did cloudburst say anything about when the server will be up ?

olive sable
#

tomorow apparently

real sierra
olive sable
#

im still on vacation tho bwaadow

inner pike
#

im gonna be going in completely blind

real sierra
#

this is only my second real attempt at this game

#

and its going well enough

inner pike
#

wait are you already playing on cloudburst server shiro ?

amber fractal
#

I love being blind so I'll be going in blind after the tutorial

rough bloom
real sierra
#

monkaW there's plastic falling off the bottom of my chair

#

i wasnt worried about it until now

real sierra
#

but i just had a mental image of a gas cylinder incident

olive sable
#

@rare bridge if you want to extend the training arc to friday next week i wont mind NeuroClueless

real sierra
#

and now im super worried

broken mirage
#

Don't be

real sierra
#

im on official server

inner pike
#

ah okay

#

you are basically starting over since you fucked up your code, right ?

#

ping me once the server is up i guess

amber fractal
rigid snow
amber fractal
rough bloom
# real sierra and now im super worried

yeah, gas cylinders are scary monakS
though I don't think those could be caused by damage to plastic on the chair, and happen more because of damage to the cylinder itself

real sierra
#

im still so proud of my wall algorithm in this game

#

(it barely works)

#

but i think the general idea is genius

olive sable
#

all this code is bad bwaadow

#

not a single newline bracket in sight

#

damn you tutorial

rough bloom
#

surely it's just the tutorial glueless

cerulean dirge
#

cirSlain what's so good about newline brackets

real sierra
#

it is

#

the actual game doesnt give you any starter code

rough bloom
#

true, probably won't see much more code like that in the game itself

olive sable
real sierra
#

wait

#

do you mean

#
function w()
{
  // code here
}
#

like that

olive sable
#

yes

real sierra
#

unfriending

cerulean dirge
olive sable
#

i wont stand for this slander

real sierra
olive sable
#

allman is my homie

real sierra
#

your bracketing style is passable

#

but im kernighan

#

all the way

ruby timber
inner pike
#

that looks so weird though

cerulean dirge
real sierra
amber fractal
rough bloom
# real sierra all the way

same, K&R is the way to go
it's the standard for, like, every language with brackets other than C and C++ anyway
(and for C(++) it's only a choice because the ecosystem is too fragmented to decide on anything)

real sierra
#

i dont like how allman detatches the control statement from its associated code

#

it lowers readability

cerulean dirge
#

true

real sierra
#

and inflates line count

olive sable
real sierra
#

mlnt Tomfoolery

olive sable
#

mlnt can go fuck off

real sierra
inner pike
#

wait i dont remember actually how i code

real sierra
#

i like the thought of programming having random beef between bracketing formats

inner pike
#

lemme check

olive sable
real sierra
#

where once in a while someone randomly posts a meme shitting on the format they dont use

cerulean dirge
#

do you guys var x = 1 or var x=1

real sierra
#

first

#

always

rough bloom
cerulean dirge
#

good

amber fractal
# real sierra

I'm on Kernighan, Hamburger, and Horstmann depending on what it is

inner pike
cerulean dirge
#

my parallel programming professor does the latter

olive sable
real sierra
#

wtf is hamburger

cerulean dirge
#

based on the name

real sierra
inner pike
#

Haskell is a warcrime

cerulean dirge
#

i would think something like if (true) { single_line_of_code(); }

amber fractal
#

if (1!=1) {func1(); func2();} is how I do it

#

warcrime

real sierra
#

why the braces...

inner pike
#

okay im allman

real sierra
#

oh

#

in your case you nee-

real sierra
olive sable
rough bloom
#

they should make all compilers automatically format the input files, no configuration options
clearly anything else is irresponsible

amber fractal
inner pike
real sierra
#

oh dear god

#

what happened to the image

cerulean dirge
#

what other case is there

real sierra
#

my meme perish

olive sable
#

i had to read an entire twitlonger for th pr, and another one for the reponse

rare bramble
rigid snow
amber fractal
real sierra
cerulean dirge
rough bloom
amber fractal
rare bramble
olive sable
#

i will die on the hill of using allman.
i wish collapsing the function would hide the brackets tho

real sierra
rigid snow
#

whyyyy?\

cerulean dirge
#

is it weird to use braces for if statements with only one line of code inside neuroErm

olive sable
#

no?

rigid snow
#

yes

amber fractal
#

I wish I could avoid it tbh

olive sable
#

well fuck yo

cerulean dirge
#

i like to do it because it makes it easier to change them from single-line to multi-line if needed

amber fractal
olive sable
#

i dont give a damn about mlnt's opinion anymore since the pr

rigid snow
amber fractal
#

single or double quotea by default in langs that support interchangable

rough bloom
olive sable
real sierra
opaque sigil
#

This is how we ended up with c++ lambdas neuro7

real sierra
#

i usually end up using " for some reason, despite the fact that ' needs fewer key presses

olive sable
#

i like "

real sierra
#

but like

opaque sigil
#

I default to " to be able to use ' inside without any escaping

real sierra
#

braces on a single line doesnt have any semantic or functional purpose if it contains a single statement

amber fractal
#

I like " as well, but will do ' just to be chaotic.

real sierra
#

and expanding that to the full 2 (or 3) extra lines seems wasteful

rigid snow
#
`hell yeah`
real sierra
#

so i never include the {} in those situations

cerulean dirge
rough bloom
rigid snow
#

fast quotes neuroWicked

olive sable
#

do all the screeps use the same script file?

real sierra
olive sable
#

i expected to hve a diffrent script in the screeps than the room fr some reason

real sierra
#

idk what you mean by screeps "using" a script file

#

your code executes globally

rigid snow
amber fractal
real sierra
#

if you want work to be done on a per-room or per-creep basis, you gotta write that functionality

amber fractal
#

I love using python os.fork() logic for screeps

real sierra
#

but yeah i mean

#

your main module is loaded and executed once a tick

#

thats all the game does for you

#

any other functionality you do yourself

opaque sigil
olive sable
#

Now let's improve our code by taking the workers' behavior out into a separate module. oooo ok

amber fractal
real sierra
#

screeps devs seeing me welcome my newest creep, ; DROP TABLE Users; --, to the world Stronge

amber fractal
#

Jokes aside, it'll be interesting to see how it plays out

real sierra
#

you do get multiple modules

#

to organize your code

#

but they're basically #includes from C

opaque sigil
#

oh god i can already see the inheritance tree

amber fractal
real sierra
#

well actually i guess its more like an exec(module);

olive sable
#

screep devs seeing me spawn in "shitminer4" 🥹

rigid snow
amber fractal
#

Python inheritance method, run the module

real sierra
#

but i think modules that you require() in are cached

rough bloom
#

they're like Python imports mhm

real sierra
#

wtf is my colony doing

#

everyone died again

#

why

olive sable
#

again

real sierra
#

why is the spawn queue empty

olive sable
#

reocurring patern lmao

real sierra
#

there are no units HELLO

#

SPAWN SOMETHING?

#

BRO

#

...oh

#

that'd do it

opaque sigil
real sierra
#

SAVED fixed

#

i should've noticed that way sooner

#

back to being broke despairge

real sierra
#

this is the first time ive really been able to spawn units of higher cost en masse

#

so it's exposing some weaknesses in my assumptions

#

this person next to me neurOMEGALUL

amber fractal
real sierra
#

that's in-room position

#

my username is plastered on my room anyway its not like im hiding

#

nope i broke the spawning system in the opposite way now

olive sable
real sierra
#

ok im just gonna have to trust my screeps are fine now

#

ill let them simmer for a few hrs

uneven pulsar
rigid snow
#

smh not foo bar baz qux

cerulean dirge
#
    indent()
    {
i;
love;
programming;
    {
fast pagoda
#

never used durable objects on cloudflare before and it turns out if u load something into memory and then keep a session connected via websocket 24/7 you will burn usage sooo fast LULE

uneven pulsar
fast pagoda
#

storing one(1) 2-4 mb file KEK

rare bridge
#

ok back to screeps what did i miss

rare bramble
#

neuroHypers got Rust working in Screeps world!

olive sable
#

im doing he tutorial, and shiro did a couple more mass murders on his colony

rare bridge
#

Okay guess we're all switching to rust

amber fractal
#

bwaa, have to learn rust properly

real sierra
#

spawner was like

#

Tomfoolery what if i spawned nothing?

olive sable
#

sure...

real sierra
#

and then i cleared the spawn queue and told it to try again

#

and it was like

#

Tomfoolery oops

amber fractal
#

I don't want to be in a party right now, I want to get ahead on screeps before the server opens

rare bridge
#

YouActualDumbPieceOfShitFuckYou discord why do i have the overlay

rigid snow
amber fractal
rigid snow
rare bridge
real sierra
#

cloudburst watch out

#

for some reason, all screeps invaders are busted

#

as in

#

really strong

warped narwhal
#

https has now been implemented hyperyay

rare bridge
#

http in screep HUH

#

gonna do that

rigid snow
#

implementing https yourself is... interesting

#

an interesting move, i mean

rare bramble
#

tldr on how to use rust in Screeps world: (at least it worked for me)

  • go to https://github.com/rustyscreeps/screeps-starter-rust
  • clone the repo into a folder
  • read and follow readme until you have made the .screeps.yaml file
  • go to https://screeps.com/a/#!/account/auth-tokens and generate a full access auth token
    (I tried one with websockets only but that didnt work, at least full access works)
  • put the auth token in the .screeps.yaml. token: (place auth token here)
  • go to screeps website and create a base in a tile of your choosing
  • run the npm run deploy -- --server mmo and it should automatically upload it to the correct place and auto deploy to the server
GitHub

Starter Rust AI for Screeps, the JavaScript-based MMO game - rustyscreeps/screeps-starter-rust

warped narwhal
rigid snow
#

nobody does that in prod even, everyone uses a reverse proxy anyways.....

olive sable
#

i did the first one

#

im gonna go sleep now

real sierra
#

gn sammmm

olive sable
#

or after im done with a convo elsewhere at least

amber fractal
rare bridge
#

no i don't wanna deal with rust today

olive sable
#

We should get vanor to play

#

It would be funny to get the whole mod team on

amber fractal
#

All programming mods neuroHypers

rough bloom
rare bridge
#

Okay vedal join pls

olive sable
#

@safe path you in?

real sierra
#

ChattingFaster i must make full use of my head start as it is my only advantage over my peers

rare bramble
#

@Tutel come to play screeps with us

safe path
#

what

#

oh

#

i will consider

real sierra
#

it would be fun vanor

olive sable
real sierra
#

im having so much fun with screeps

#

i would love to play with friends

#

like you!

#

it very low commitment because its asynchronous gameplay

#

fun coding game with deep mechanics

#

you would be good at it

olive sable
olive sable
rare bridge
#

LULE you think he has time to play games these days?

olive sable
#

He was offline for 6 months

#

Idk what he was doing all day

#

You would know a lot better than me

real sierra
rare bridge
#

cooking if the BOOM had anything to say about it

olive sable
#

Where is the @ mr tutel man emote when you need it?

rare bridge
#

gonna write a massive program that handles everything xdx

rare bramble
#

one reason I really want to use rust over typescript is that I'm planning on making basically everything a state machine, the whole base will be a state machine of state machines

#

also rust ❤️

rare bridge
#

i'mma go overkill and write wrappers for the entire api CerberOMEGALUL

#

@real sierra for no reason in particular can you leak your code MinaInnocent