#programming
1 messages · Page 72 of 1
Mfker auto mod
the sorted elements are streamed rather than all produced
but if im just looking for the minimum element in a list which satisfies some condition why cant i get the sorted elements as they are produced
lazy like an iterator
though actually
...in my use case i wonder if its better to filter first and then sort
at that point just use a min heap
when the array comes from a builtin thats not an option
cant fix screeps
cant even fix myself
damn
shr you dont need fixing 
have you tried selection sort before writing it off
catastrophic failure 
smh
always remember that if you could catch segfaults in C, you could have an O(log n) strlen implementation that only failed 1 in 256 times
you can catch segfaults
Even lazier sort is possible
- The list is sorted
- Oh its not? Well its sorted the way it should be sorted, even if it doesn't align with what you want
do you know how long the kernel takes to handle segfault 
Now that you mention filtering before sorting, isn't it possible to do both at once?
do you know how long my string is
like some kind of.... filter_sort 
dunno, havent segfaulted yet
its a genius algorithm but ive never implemented it
segmentation sort 
you try accessing the string at indices of increasing powers of two until you segfault, then you know you're past the end of the string
I mean when doing sorting we need to get every element anyways, so when we found element to be discarded we just discard it
then you do a binary search between that index and the one you tried before it
segfault = past string end
no segfault = in string
zero = string end
strlen
Same energy as sleep sort
hear me out, i have this revolutionary idea
Sleep for as long as the element magnitude
what if
what about if the memory past the string has write permissions
No
we store the length alongside the buffer
C's fault
O(1) strlen 
stamp it "won't fix" and move on
we could call it a slice 
how did you get the length in the first place to store it

when strings are built its very hard to not know their length
either at compile time or at runtime
Deliberate amnesia
ig at compile time you can store a length with every string literal
i think we should write a cuda kernel to sort the array on the gpu
the only times you dont know are when recieving external cstrings
mfw "Compilation failed: string length exceeds MAX_INT"
this exists
bitonic sort or something
it does (i've written way too many of those)
Something something parallel reduction
this is actually a good thing 
strlen would not work on this to begin with
Oh wait, thats min-max
meanwhile in javascript
i mean it works
i believe this is how most modern languages handle it. i.e. some long time ago now, hblang gained slices, and we replaced string literals from pointers to null terminated strings to slices
honestly kinda based
^u8 -> []u8
On JS engine? No
v8 does weird things, wouldn't suprise me if the address changes
do i hear garbage collector
This
The power of JIT baby
if js has garbage collection then why isnt it collecting js itself
checkmate frontend devs
mfw *const [X:0]u8 
frontend devs: "we need to keep ram usage low for the end user!"
backend devs: malloc(2^30) 
one day glibc is going to sneak a "no virtual mem" flag into the mmap call and bring down a million servers
because TS written in TS was too painful
200k loc typescript.js 
building turret in my screep room to keep them safe
adhd screeps
well its kinda my fault
for RCL 2 i told them 10k hp is fine for walls and ramparts
at RCL 3, that goes up to 100k
gonna take them ages to upgrade these all tho
profiling time 
See, this is called full time job
Silly Shiro, all you have to do is just write every single possible case and how to handle it. Like this
miners 
something in that code is going really slow
which doesnt really surprise me because it's the first code i wrote
They mine bitcoin
but it might also be the cache warming up 
lets play find the slow
const stats = require('stats');
const util = require('util');
const creeputil = require('util.creeps');
module.exports = {
run: function(creep) {
if (!creep.memory.state) {
creep.memory.state = 'mining';
}
if (creep.memory.state == 'mining') {
if (!creep.memory.mySource) {
let sources = util.assignedRoom(creep).find(FIND_SOURCES_ACTIVE);
if (sources.length > 0) {
creep.memory.mySource = sources[util.getRandomInt(sources.length)].id;
}
}
const source = Game.getObjectById(creep.memory.mySource);
let status = creep.harvest(source);
if (status == ERR_NOT_IN_RANGE) {
status = creep.moveTo(source);
if (status == ERR_NO_PATH) {
delete creep.memory.mySource;
return true; // idle
}
} else if (status == OK) {
stats.addedResource(RESOURCE_ENERGY, creep.getActiveBodyparts(WORK) * 2);
if (creep.store.getFreeCapacity(RESOURCE_ENERGY) == 0) {
creep.memory.state = 'depositing';
}
}
} else if (creep.memory.state == 'depositing') {
let structures = creeputil.getDepositables(util.assignedRoom(creep));
if (structures.length > 0) {
let status = creep.transfer(structures[0], RESOURCE_ENERGY);
if (status == ERR_NOT_IN_RANGE) {
status = creep.moveTo(structures[0]);
}
} else {
return true; // idle
}
if (creep.store.getUsedCapacity(RESOURCE_ENERGY) == 0) {
creep.memory.state = 'mining';
}
}
}
};
== 
I suggest rather than randomly assigning them you use the Memory to track which has been assigned

So you could do increment rather than random
sources can have more than one miner assigned
it depends how many empty tiles happen to be around the source
Ah ok
I'm too used to using CSPRNG from windows.crypto 
ive broken up the profiling by game tick
since there's only one extremely slow unit per tick, i think it might be a cache warmup
which means this is probably the issue:
getDepositables: cache.wrap(function(room) {
const prio = {};
prio[STRUCTURE_STORAGE] = 4;
prio[STRUCTURE_CONTAINER] = 3;
prio[STRUCTURE_EXTENSION] = 1;
prio[STRUCTURE_SPAWN] = 0;
prio[STRUCTURE_TOWER] = 2;
return room.find(FIND_STRUCTURES, {
filter: function(s) {
return s.store && s.store.getFreeCapacity(RESOURCE_ENERGY) > 0;
}
}).sort((a, b) => (prio[a.structureType] - prio[b.structureType]));
}),
any ideas on speeding that up
or
If that structure doesn't change, pre warmup the cache
does that make sense to do
idk what the difference would be
id still be calculating it, no?
I already said the assumption. If that resulting computation doesn't change, pre warmup will help alleviate the sporadic spike if that function is truly the bottleneck
didnt fix
So it was not the culprit, probably
thats not good 
idk what the issue is then
cant find a good reason that the miners would be slower
confused
Is the move to function perform pathfinding?
depends
screeps will cache a previously-found path
for a few ticks
but otherwise yes
every creep is performing pathfinding tho so
I'm looking at it from mobile so I may have missed something lol
i dont think you did
im equally lost as to how this is the most expensive role
sometimes i see a single miner using over 2 CPU
how
im glad i profiled lmfao
What happen if more creeps are assigned than available free slot to gather the resources?
you're right
Because from random chance, it may be possible that it happen
if going to crash
looks inside
The halting problem
no path mesh or anything of the sort that i can tell
they use A* with jump point search
I mean, if they are competing for a path then it needs to be recomputed no?
Looks like it is a dynamic graph 
i think im underusing this function https://docs.screeps.com/api/#Room.getEventLog
im tracking a number of these stats on my own
but if they're already being tracked here
i should probably be accessing that instead
but thats me getting sidetracked, pathfinding issue first

1 CPU worth of not doing shit
WHAT DA HELL
HOW
you know...
i could probably

Pathfinding fail to find path so idle it is
so
Bloom filter 
the current way im laying out my stuff is
im just building every utility structure in a big circle around the spawn
i could probably
precompute paths from outlying important points (room controller, energy sources)
to within the vicinity of this central circle
and then when a creep is visiting an external structure, they follow the precomputed path
and when visiting an internal structure, they follow the relevant path back to it if not already in the interior, and then pathfind from there to their desired structure
I shall be known as
And yeah, your solution should work. Isn't that basically just creating a virtual road? So they don't have to find the way on their own
🎂🇸 🇭 🇮 🇷 🇴
That's html table right?

no im removing this, this is dumb
but i might do something like this in a less hacky fashion for email notifs if i ever set them up
i went around limiting the max cpu use to ~1.0, and the max rooms checked to 1, on almost all the moveTo calls
the resultant speedup has been incredible
my baseline has dropped about 50%
ok
how do i make a good attacking AI
i think a scout unit would be smart to invent
because you can only see rooms with an owned creep/structure in
i could just walk a creep to a room i wanna take and then cache everything about it
Yep, this is da wae
Well, claim the room
That's the function of the scout
the scout sees them
but how do i enumerate that strength
all the enemy creeps and stuctures are an abstract notion of strength
Hmmm, by path finding and unit type
i need it boiled down to a number
How hard it is for the path finder to find the path
But then it would be expensive af
theres a good chance there is no path
That too
ramparts are only traversible by the owner's creeps
and i more mean combat strength
than the strength of static fortifications
You could also count the number of structures in cluster
The higher the number and the more spread out they are, the stronger it is
ehhh
bring 2x the attack force of the estimated defense force in an area 
roads would inflate strength
Add weight to the structure type
you have all of these creeps with these body types? i brought all of that times two
honestly a valid option
i could actually do that
this is what they did with sieges

it's genuinely a strategy
this is genuinely an option
ur not wrong
probably too expensive tho
the fortifications do really matter too
creeps in a rampart can attack but any incoming damage is taken by the rampart
more units attacking = better value usually (unless they're grouped up and get blasted)
add ramparts and such to the "enemy forces" value and only attack if you predict that your attack value is higher
i think the strength metric i would use for a creep is
dps * health
what are the units on that
rampart adds to health
square HP per second
the reason for that is
the time a creep lives while under attack is proportional to its health
so multiplying that by dps will be proportional to its total lifetime damage output
yeah makes sense
so dps * health for every creep, then sum
Can screep attack more than one screep?
Okay, that seems a good metric then
actually, yes for ranged attacks
i also dont know how to integrate healing into this model

seems like a good start tho
honestly i'd say get the combat method down (positioning, when to heal, when to retreat, etc) and then adjust the "how much more forces than them do we need" ratio until it works well or until you work out a better solution
just get the combat method down! ez!
know yourself and know the enemy and you shall not fear the results of a hundred battles
Do you know in advance how many of each unit type?
Like how many are capable of ranged attack for example
in this case, why judge the enemy's strength before you know your own strength?
scouting is probably a good start though
if i get the scout in, i can check all of it
i can use scout.room.find(FIND_HOSTILE_CREEPS) to get a list of enemy units
"localized strength" will probably be what you compare to find when and where to attack though
and then enemyUnit.getActiveBodyparts(ATTACK) for example
the localized strength in question

real world tactics might require too much independent thought
unless youstudy like russian strategy which tends to be more centralised
but russia
please keep in mind that my "real world military tactics" need to be written in javascript and run in at most 20ms
i mean more the current defense in the area + the logistics and time it takes for reinforcements to arrive when i'm talking about localized strength
yeah stick to sc2 tactics then
ok lets get the scale straight
a creep attack part increases the creep's dps by 30HP/t melee
creeps can have max 50 parts, but some need to be movement for it to move, and some are ideally tough for hp
so lets say your maximum melee dps is, with a really good creep, something like 600HP/t
the maximum hp of a wall is
300,000,000
oh
No breaching parts designed to take down walls?
if you get your level high enough, there do exist nukes
you might be able to dismantle walls?
so a proper defense will bog you down for a long time
ok so
if you use dismantle instead of attack
(which requires WORK parts instead of ATTACK parts so you would need a specialized unit for this)
you can get 50HP/t instead of 30HP/t per part
yes
localized defense in that case then would be a question of how many units the enemy can dedicate to you
yeah but you can have multiple work though right
currently the screeps world runs at about 1 tick per 3 seconds
so with 600HP/t against a 300,000,000HP wall
it would take you
I'm thinking you would design 6ish classes of units
Frontline high HP low damage
Midline mid HP mid damage
Backline low hp high ranged damage
then specialty units like breachers, artillery flankers
just over 17 days to get through
ranged is tricky to use right i think
it's only 3 squares max range
reminds me of civ 5 but a bit longer

and then surround them with heavies
is there any method of doing AOE damage?
roman shield wall
yes
all ranged attackers can do AOE damage
walls are solid, but there are special walls called ramparts that screeps can sit in
i see
they can attack from ramparts, but incoming attacks to creeps in a rampart are absorbed by the rampart
so ramparts are to be avoided if possible
very bad
indeed
you could still lock it down on the other side
would require you to dedicate forces to it though
honestly kinda sounds like the solution is ranged unit spam with some primarily bulky melee units placed in key locations to take the brunt of the enemy attacks (preferably with a way for them to retreat for healing, and for a replacement unit to take their place)
in reality i dont know what people actually increase wall health to
300M is the absolute max
but it would cost an incredible amount of energy to upgrade even a single wall to that
nevertheless, some of the walls left over when i spawned in my room have 85M health
so its evidently not impossible
i'd guess that 300k is something you might come across, that 600 HP/s melee screep would "only" take 500 seconds to bash it down
oh
what kind of dps can ranged get to
as with most things, it depends
in single-target mode, 10HP/tick per ranged part
in AOE mode, it's range dependent
ouch that's pretty low
10HP at 1 tile range, 4HP at 2 tile range, 1HP at 3 tile range
but this is applied to every hostile creep/structure in that range
taxicab distance?
yes
that's horrid lmao
there is a nuance to consider
this is the action priority hierarchy
Is the aoe also dot?
if you take two actions in the same line, only the one furthest right is executed
but if so, i think this chart indicates you can do ranged attacks and melee attacks in the same tick?
oh i see
real rpg dev hours in here
How? Wouldn't it still only execute 1 command?
It do be like that
How fast are games thugh
those three lines in that image are the only dependency lines
you can execute one action from each of them, per tick
so melee+ranged on the same units, with the ratio varying depending on role
a zerg rush of breachers seems reasonable
Oh its separated
Its too bright out here
you can also move once per tick, with no dependencies on that afaik
move and attack is nice
wait
heal can target self?
and be used in the same turn as rangedAttack or rangedMassAttack?
theres also another nuance to combat (of course)
as you take damage, you will lose functionality of parts
you can define the order of this at unit creation time
the reverse, actually
how health works is that you get 100 maxhp per part
but
well there's no but to that
the reason tough parts exist is that they only cost 10 energy
ah i see
for comparison, the next cheapest part would be a move or carry part at 50 energy
so if you just wanna add health without bankrupting yourself
and dont need the extra functionality
you go tough
honestly not seeing much use for ranged unless the enemy is unreachable by melee then
But they are unreachable by melee if they place their unit behind wall
If the enemy AI is good that is
in that case you try to break the wall
the enemy can fire over the wall too
Then you are bombarded by enemy ranged
nah, the best they can do to a unit on the other side of the wall is like 7 Hp/s if they all have 1 ranged part
I think its better to dismantle wall but the unit that dismantle it is being constantly healed?
How much is the HP restored by heal?
meanwhile you can put 1 dismantle and 2 ranged (could put 3 ranged but leave a gap to retreat the melee/dismantle unit out for healing) on the other side to do 58 hp/s to the wall
assuming 1 part of each type on each screep
Or 50/s but for a longer duration
healers can probably just outheal the 7 dps actually
How much HP is restored and the cooldown?
i assume it's 1 heal per turn
This is starting to become another spreadsheet simulator lol
heal is 12HP/tick within 1 tile range, or 4HP/tick within 3 tiles range, per HEAL part
Alright so you can make a tank to dismantle those wall
Straight up specialized detachment force
the scariest source of damage is definitely towers
zerg rush zerg rush
towers can hit anywhere on the map
at range > 20 tiles, it hits for 150HP/tick
at range < 5 tiles, it hits for 600HP/tick
costs 10 energy per shot
what are your issues with it?
Just not used to the UI. I can manage, just a bit tedious
That sounds like a fun startergy
I know photogimp exists
That's OP wtf
it's the energy cost that's supposed to bottleneck it
You'll probably need an amzing economy though
Oh
but with enough stored, it's pretty evil
there are limits on tower count
with max room control level, you can have 6 towers
the only image editor i am truly comfortable with is paint.NET
20 years of comfort
tfw pdn is over 20 years old
only image editor i feel confident using is pixlr
and tfw ive been using it the whole time
i use gimp for editing and krita for drawing
if you ever have spare resource, you could try standardizing room layout, making it so the rooms you control are as homogeneous as possible and their layout can be represented using just an index into your standard layouts database
changing every single room's layout sounds expensive but its trading in-game resources for future cpu resources which is a fair deal
backreading 
this would be pretty tricky given rooms have randomized impassable terrain
theres something like swamps and mountains?
yes and yes
New pathfinding algorithm Oxyd Last week we mentioned the change to make biters not collide with each other,
but that wasn’t the only biter-related update we released this past
week. Somewhat coincidentally, this week’s updates have included something I’d
been working on for a few weeks before – an upgrade to the enemy pathfinding
s...
as much as i love the idea of writing my own pathfinding algorithm
i doubt i could improve on the built-in implementation
hey chayleaf, what do you think of a lazy merge sort
shiro do you actually need all depositables
or do you only need one
??? for loop
the key is to stop once you found the highest prio one
unless its rare to have the highest prio in a room
in which case it wouldnt optimize much
its very rare
you can try storing bitmasks per room to indicate which object types each room contains
painful
but if you dont store the entire count its expensive to update
and if you do its expensive to store
sounds like many more problems to fix something that i calculate once and cache for the rest of the tick anyway
maybe not worth it
different sorting algos wont help you much here i think
but you may still be able to optimize it by using in-place updates
in js, functions on arrays like .filter create a new array, which is fair but a tiny bit expensive
yeah anyway i dont think theres much you can do
(besides storing something in memory to optimize it of course)

my 10000 .maps for my webdev adventures:
i mean
you can at least do a little bit of fixing there
a.map((x) => g(f(x))) instead of a.map(f).map(g)
ayway
im not looking for performance atm
im looking for functionality
only using about 20-25% of my CPU budget
i forgot you can set publicly-visible signs on rooms you own

threw some code together quick for a guard
since my builders arent gonna make my turret until after the walls are maxed
at least this way, we can produce a fighter in case of emergencies
unsure if it'll be effective tho
it's fine nobody will attack anyway 
you should visit them more often then
the wall on the left has 8,520,000 HP
the wall on the right has 1 HP

safe™
they haven't built a single road
and their storages are full of energy that isnt being reinvested into the economy
you should liberate their creeps from this horrible mismanagement
tempting
wtf
this person knows what they're doing
starter my ass
they have a crazy layout for their spawner extensions too
very interesting
...
wait thats genius
i see
they put a container right beside the source
and have a creep with no storage capacity stand on the container and mine
upon mining, since they have no storage, the resource is dropped
..into the container
thats kinda bs tbh
i once made an afk ammo farm in factorio by making logistic bots take all your ammo when you spawn while you slowly sit on a transport belt that moves you to a worm that will kill you
thats undocumented behaviour

Glitches 
Hmm. I should probably code Skynet.
that might be the first time someone has ever said that
Also happy bday!

shiro getting the nesus experience
also I was kinda hoping for the twins to be the first but uh no one's going to stop you so
Well, they kind of are, but in a weird way.
Like, not an intentional way it almost feels like?
Like they were two happy little accidents.
yeah, fair
To be fair there are two reasons for me doing it. First would be that I need to test out my hypothesis.
Second would be to prove that life doesn't need to exist in a strictly chemical system.
not to be a party pooper but
sentience is a super meaningless notion
there's no agreed-upon definition for sentience, and in practice people tend to change what it means to suit their needs
so i can't ascribe much value to someone saying an AI is "sentient" or not
Well, that's what I'm trying to see here.
The reason that is true, and I am not disputing that it is, is because we simply don't have a sample size big enough to confidently say we know what it means to be sentient.
Or, well
We think we don't.
how does it have anything to do with sample size? Sentience is a philosophical construct, you can't diagnose it
im skeptical of whether or not having more data points that you can't classify will help define it
Yet it is also the very concept that justifies human "superiority" over other animals
which, yet again, is purely philosophical and has no scientific basis
All of science is based on philosophy. What you'd call sciences was once taken as a sub-cathegory of philosophy aswell.
i think humans are incredibly good at problem solving and pattern recognition, and these happen to be incredibly powerful talents to have as species on this planet
this guy can now feel the presence
Good point. But jackdaws are able to solve problems and recognize patterns just as well, if not better, than us.
Best you got is me
See, in my opinion, it's not as simple as "is and isn't".
Did you save the bingo tho?
possibly true enough, but they lack the physique to manipulate many objects and apply those talents
That is true.
Neuro when Neurobot-1000 has finished 
I admit I haven't been up to date with bingo
Or maybe they just don't see the need.
We have a thread btw
https://discord.com/channels/574720535888396288/1337733692709146674
Same
Hence why we need Sam
this is a bit of a tangent, my original intended point was just that sentience has no real meaning
it's just air
Well, again, my point is that it doesn't have a meaning because we don't understand it.
Time to boot up the laptop and look through logs
What forms it? How does it come to be? What does this word even represent?
So you don't exist then.
What I've come to know is that sentience is the ability to recognize oneself in the context of their surroundings and the ability to observe both their surroundings as well as their inner "life" of sorts.
And make decisions based on that.
Intelligent is not sentience
Nor does sapience meant sentient
true to an extend, but there is a difference between empirically proven data that supports clear hypotheses and logical thoughts that follow your subjective perspective.
For example I can clearly define gravity, mathematically describe it and test whether it exists.
Sentience already has problems with the first step.
If you manage to create a clear definition that can be applied universally then you might be onto something, but I highly doubt that will ever happen.
#bingo
Well, I use philosophy more as a tool to form hypothesies.
@opaque wharf uhhh, apparently I didn't add that slot
again: a valid approach, but until you have a testable hypothesis it stays at that speculative level
I'll tick off the 3rd B column right now if you want
I already have one, and creating sentient, or well, protosentient AI is a good way to test the hypothesis.
(think I need a lot of help on that new project :P)
Mmmm, kwispy discord compression

I don't think I finished it enough to the point I'm happy tio release it on the VSC marketplace quite yet
but soon™
Goodmorning guys
Morning
So this is how I learned I forgot to add a "AI sentience debate" tile to this bingo
Also you can cross out 2nd collumn 3rd row since I'm pretty sure nobody had the idea that skynet could be made before
how do you not use dark mode? 
this stresses my eyes out just glancing over it

how could you
My field of study is literally based around it :c
Rude
it's a wip
I'm making light mode first because uhhh it is easier in this caase
:c
grant is right
This is the second bingo, the first one had it as a tile
good
that's great, you're wrong though
I feel left out otherwise
aw man
Time to throw out the study papers and begin again.
i'm a Biologist 
i work as a researcher and multiple coworkers work on this exact field
All life has to be strictly on a chemical basis yadda yadda innit

Not the first bio I've seen in this chat surprisingly
come up with observable testable metrics or it's nonsense
we comp scientists and mathematicians love biologists because we both grow various molds in dishes
heyyy, fellow biologist 
This made me laugh because it's unironically teue
Trie
True
Fuck
my moulds are cooler than your moulds
@tight sparrow i have a question
sure
How the fuck do potatoes work
my molds are all natural
But there is a point tho. We all here are mostly engineers so we speak in empirical and something tangible
Philosophy is not our field
im going to need more context
most of us don't think that (although technically everything is chemistry)
it is just that we value the scientific approach
So mixing it is not the best thing to do
sentience isn't a philosophical question
something tangible
category theory:
Like I left this one raw potato on the sun once the little shit started literally crawling all over my room looking for dirt
oh this is phototaxis
Mr./ms. Biologist, why do humans have tha yhing where suddendly it feels like you're having a heart attack and fucking dying, and then suddendly you're fine again?
You mean the fucker doesn't need dirt??????
Fuck you mathematician. Solve your aleph problem first 
I'm poisoning you secretly
Fuck
🧠 : oops did i do that 
would you guys rather the version attached to this message, or the version I sent before?
plants are able to search out light
What was that again? Continuum hypothesis?
the exact mechanisms are a little bit complicated
oh yeah they do that
its the same way veins form over muscle
Wild man
but it's to do with changing growth rates in relation to light levels leading to them growing in the direction of increasing light gradients
screw the continuum hypothesis
cells grow in response to food, food allows cells to grow in its direction
Why cant you just put food in your wounds then?
it doesnt need dirt
Do potatoes just not need dirt and water-
the world is its dirt
Bro
Wanna see my wounds?
it will eat you
I just sled on the roads
you are its dirt
Leave it somewhere
hang on let me uhh
It's gonna reproduce anywqy
you know how you can have a pc put together and running without a case
Not rea
mhm they never die
it's similar
well they can but its nearly impossib;e
What if I smash it with a hammer
far more effort than any thing is willing to put in
a skin and a squishy bit can reproduce
skinning a potato makes it mortal
Huh
So hold on
The plant, the roots, and the round thingy?
Potatoes are:
- Immortal
- Omnipresent (it can just grow somewhere it wants to be)
- Omniscient
Potatoes are god.
I see nothing wrong with this statment
Checks out
the shutes, the skin, the nodules, and the flesh
Anyways back to real talk what's your definition of life?

shutes allow it to spread
Sam 

lemme go to the start rq
do you like RTS games 
Hi Shiro~
Was planning on playing with Sam once he got back
Biologists, why is skin so bad at growing back?
I lurk here often
I'm not a biologist but trust me it isn't.
I know
My skin is already growing back
Sam my screepies are doing so good
it always does, no matter what
(they are almost completely stagnant due to lack of energy sources)
it is very good actually
^
But what about scars snd shit?
my healing is pretty good actually
Like, if you ever saw the programming for how it actually functions it would blow your mind to pieces.
i got yellow blood and platelets so im goated
thats not skin
Then wtf is it?
i mean i scraped my entire kneecap off and it still grew back
scar tissue is just a filler material to my understanding
Like, how does anything come up with such ingenious calculations and chemical reactions.
you just gotta eat a shitton of meat and drink a bunch of sugar and water
its pretty shit
it lacks most of the specialized functions of what it replaces
Mate
its vibe coding
and you can get scars internally too, not just on skin
Mate
scar tissue can be semi specialized but it will never replace what was lost
Come up with a better skin reparation formula.
Oh, I can rest easy then since my kneecap is currently opened
no cap
So i have like 20 scars on my arm cuz i dont eat enough?
Thats pretty shit innit
I genuenly do not know how to answer that.
Are you alright?
if
{skin seal: broken}
then:
fix {skin seal}
Im just a dumbasd
Oh good.
lizards and stuff just grow new limbs don't they
I get it
why can't we do that
i mean i have yellow blood soooo
We too lorg
idk man

Lack of red cells?
Why cant i be an axolotl?
we can but we need the existing genetic code
ruptured liver?
You were born too wrong to be an axolotl.
the code to rebuild the body is stored in that part, very bad design
You don't have any of their genes apart from like a few.
axolotls can only be killed with one solid strike down the spine
ok gn programming
Actually let me search up the similarity of out genetics to theirs

no i just bleed yellow if i bleed too heavy and it works as replacement skin
Nini shiro and enjoy your bday eepies
gn
i mean prolly it turns orange after a while
Afaik every cell has the genetic code for every body part, its jut deactivated?
Why dont we just activate it?
Bro
cause it takes a lot of energy and is pretty inneficient

It's being researched, but it is not that easy
But, it fits.
its better to just heal the wound instantly than risk a full rebuild with infection
Short answer: we too lorg
We also share all the genes necessary for their regeneration, we would just have to figure out how to activate them (safely)
oh wait uh we actually can
Yeah
stem cell transplant
Idk that's not my field
if you get one of those on the wound site it can slightly rebuild the tissue
however using too many can lead to cancer and a wound is a very bad place to get a cancer
Stem cells are just you but a zip file version 
Stem cells are not a magical fix-all solution by themselves. A stem cell needs complex signals in place to know how to differentiate correctly
also we have no fibroblasts to spare
Appearently that's somehow true
And cancer is like the annoying zip bomb file.
Or malware.
Idk
Ok what in the fuck is fibroplast?
Yadda yadda chemistry or something.
The thing that grows instead of skin
an organelle
Glue basically
anything that duplicates and has an energy cost to live
Oh nvm
Right but is that really all there is to it?
Like is that really as deep as we can go with this?
apparently a fibroblast contains positional info for a thing to regen
i got 4 hrs of sleep man
I got 3 you have no excuses.
Oh, not in the sofa now huh 
Fuck you
English grammer sucks
The best definitions are simple and concise.
It's always easy to go more complex, but is it useful?
@opaque wharf anyways the definition I fw is the one that goes a little bit like this:
Life is a system that aims to continually shift itself further from reaching equilibrium.
In dutch, saying you slept in the sofa is perfectly good grammer
That
Sorry my 3 hours of sleep is starting to take a toll
Not in czech tho
hmm
black hole
I dont care about czech
white hole
Reaches equilibrium.
Chad
Well, how so then.
Life is like that thing where it just happens and nobody asked for it but its just there so whadyagonnadoboutit?
It doesn't generate anything the gravity just exists there due to spacetime being bent by how fat it os.
Everything with a mass generates its own gravity
Imma move to desktop just so I could shitpost with higher wpm
but in this case it forms enough gravity to fuel itself
can you float food to your mouth?
Due to being in an argument with someone about this, I must say I'm not cute! 
Yes? You can't?
Besides a singular black hole isn't a system
fucking fatass

but it contains itself by its rules
You know saying that has the opposite effect right?
he used the tsundere emote man hell do you think he wants
What do you mean by "aims to"?
Now hear me out y'all
You possess every psychological trait of being fucking adorable including the little hmph pout. The fact this isn't the first time this has been mentioned to you means there is something to it as per the law of probability saying that a coincidence happening at least thrice is not a coincidence, this means I am not the only person to regard you as such. Therefore, you're a cutie patootie.
i think puts effort in
Ladies, ladies, calm down
Well, no one thing is infinite.
like water aims to go to the lowest point

As a wise person once said, if you wanted to use a tools from another discipline to your discipline, you should understand both of the discipline first
So you will know the limit when the tools break down
is this that edating ive been hearing about?
I'm not derailing this via my existence any more than it already is
CS borrows genetic algorithm from Biology
No
biology is very efficient
And to do so, you need to know how it really works to use said tools
I don't like this phrasing, sounds too much like it is a choice
Hi Shiro~ 
precomputed, am I doing screeps wrong
I suddenly feel like my entire approach is just incorrect
i know but otherwise nothing "does"
Information theory also borrows entropy from physics
it just is
despite how well it's working
Go eeeeeeeeep sillyyyyyyyyyyyyy
Go have what I cannot
Wdym?
Point is, if you wanna debate something about CS philosophical question, you should make sure you understand both discipline
Well, to be fair, it's not just two disciplines.
It is a good idea to understand what is and isn't a debate as well
Argue 
You can cross into argument very fast if your not careful
i personally think this is more in line with logic systems but fair enough
Lemme just take a quick screenshot
All disciplines interact with each other and stem from each other in different ways, therefore to say you need to understand two means you need to understand all.
Not really
Throw that one in quotes lol
Name a discipline.
Iggly you will never live this down
Math
Linguistics.


You are now appraised by an expert as "cutie patootie"
I love how I'm immediately regarded as an expert.
I think things are just working too well and I'm getting worried
hell u mean iggly poor mattie
I wonder 
reverse gamblers fallacy?
I wouldn't say I am, even though I studied for my entire life to be able to say this.
Nonsense. Math doesn't need linguistic. To communicate math you do need language since its how we humans evolved to transfer idea
I'm still limited by the unpaid 20 CPU processing cap
with cpu unlock items or the subscription, that can go up to 300
No but linguistics directly stem from math
and yet I'm nowhere close to even using my full 20 CPU limit
They borrow the rules of logic.
my baseline usage is around 2 CPU
Just increase the budget on the server we're gonna host
But you don't need to understand math to understand linguistic now do you?
what are u doing?
oh this is all about a game called screeps
Exactly, hence why if you're discussing linguistics you have to understand math.
if that wasn't explained
IF you are going to use a tools from math and then use said tools in linguistic, you DO need to understand both
I don't think language major study math as their minor
They should
i havent studied enough js to learn
im a python man
People of the jury, i would like to raise that most of yall do not know hydrodynamics, yet you still drink water?
My girlfriend is currently studying linguistics with specialisation to asian studies. Math helped her understand the languages so insanely much.
i actually photosynthesize
impossible, a discord user with a gf
it taste good
Another win for the lesbians.
Im beginning to notice a pattern in #programming
I'll let you know I'm also trans
I do not know magnetohydrodynamics, yet I still drink molten iron
yeah i was gonna ask but then i remembered you exist
I dont care. A woman is a woman.
Half the woman in #programming might even be trans
No what I mean
Oh nevermind.
:P
Also incredibly based take.






