Chat:World/2021-10-26

From CG community
Revision as of 05:29, 27 October 2021 by Chat Log (talk | contribs) (Created page with "File:Default_avatar.png htmlhigh5: How many people does it take for there to be more than just a "wood" league in a bot programming game? <img src=/a/63052365393434> jace...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Default avatar.png htmlhigh5: How many people does it take for there to be more than just a "wood" league in a bot programming game?

jacek: on community games, forever :(

Coddertech: https://escape.codingame.com/events/t4z-VTs-KDG-mhg/registration?join=TC8-VlD-3P0-B9U

Coddertech: join and Win

Coddertech: :thumbsup:

Coddertech: https://www.codingame.com/clashofcode/clash/2034253ffba7b32becdaa7de6bbe65b546f9781

Coddertech: 1v1 join fast

Coddertech: clash of code

Coddertech: :runner:

aangairbender: Coddertech there is separate channel for clash invites

Coddertech: where

Uljahn: #clash

derjack: #trash

Coddertech: https://escape.codingame.com/game-session/i1W-Mxr-g2F-bSB

Coddertech: #escape

aangairbender: is it true? (A & B) >> C == (A >> C) & (B >> C)

aangairbender: there was B instead of smile

aangairbender: B with closing brace

Thorcode: ?

Thorcode: yep that true

Default avatar.png Sebastogne: xx

Mortis_666: .

Thorcode: how can I replace every same character in CG?

TheBlueBias: There's no identical character in CG

Thorcode: I saw a guy do that

TheBlueBias: 'C' and 'G' are different characters...

Uljahn: you mean he used magic or some undocumented features?

Thorcode: yep

Thorcode: like I have c in everyline of my code then he can change every c to b

Thorcode: and CG is codingame

TheBlueBias: There's no identical chars in codingame either...

Thorcode: like I have two line of "c" and I want to change it to b

Thorcode: to two line of b

TheBlueBias: ctrl+f

Uljahn: crtl+h

Thorcode: thanks alot

Thorcode: I was trying to shorten my code in codegolf

Default avatar.png 21stCenturyPeon: Is "c" a variable name? Because F2 works for refactoring for me

ESMAKING: Hello my dream is to be best coder in world and be hired at google and then everyone will finaly like me

Default avatar.png mrmnrd: Not the best path to be liked by evryone

ESMAKING: yes @mrmnrd because no one likes me now but if i get hired at google everyone likes me cus google awesome

Default avatar.png mrmnrd: just be nice with people, i belive they'll like you. Google is awesome, but not so nice anymore

Default avatar.png mrmnrd: but anyway, i wish you get a great coder

Default avatar.png mrmnrd: (become)

Default avatar.png Overbed: where to learn python 3 free?

Default avatar.png CrazyCoder12: Sololearn

ChutOuLeTcheTche: ESMAKING how ald are you my fryend?

Wontonimo: [SYSTEM MESSAGE] post all numbers in binary

Default avatar.png nyloc: Is it possible to show me all my completed puzzelös somehow?

Wontonimo: go to the puzzle section then scroll to the bottom https://www.codingame.com/training

Wontonimo: you have to enter each difficulty, like easy / medium / etc https://www.codingame.com/training/easy

Default avatar.png nyloc: Ah, thanks found it

Wontonimo: nyloc has unlocked the achievement [ASK QUESTION]

Wontonimo: nyloc has unlocked the achievement [NAVIGATE SITE]

Wontonimo: hey, you may also be interested in the multi bot battles https://www.codingame.com/multiplayer/bot-programming

Wontonimo: personally i had a lot of fun with Tron (which has been renamed to Line Racing) https://www.codingame.com/multiplayer/bot-programming/tron-battle

Default avatar.png nyloc: Thanks, I will have a look, sound interesting.

Wontonimo: let me know if you'd like some help getting started

TimothyAlexisVass: a = [1,2,3,4,3,4,3,4] a.index(3) = 2 Is it possible to get index of the last occurence instead?

whatevericando4you: a.index[3] would be 4

CHRONORMU: hello world

ChutOuLeTcheTche: g

ChutOuLeTcheTche: g

ChutOuLeTcheTche: g

Wontonimo: if you want the last item TimothyAlexisVass you can use

Wontonimo: a[-1]

Wontonimo: if you want to know the number of elements

Wontonimo: len(a)

Wontonimo: the last element is therefore

Wontonimo: len(a) -1

Wontonimo: if you want to iterate over all a and also want an index you can do

Wontonimo: for index,value in enumerate(a):

Default avatar.png pihack: @Exyos33

Default avatar.png pihack: Exyos33

ChutOuLeTcheTche: actually, Timothy, if you want to take the substract of the blyat, you have to multiply the variable by the power of blyat, then divide the shit.

ChutOuLeTcheTche: like this:

ChutOuLeTcheTche: (var a :let B => () b.l.y.a.t

Wontonimo: i think it is safe to say we all just lost a little respect for you ChutOuLeTcheTche :P

jzen: TimothyAlexisVass you could do this it like this: len(a) - a[::-1].index(3) - 1

jzen: s/this it/it

Wontonimo: +1 jzen

Uljahn: using web search and two brain cells: https://stackoverflow.com/questions/522372/finding-first-and-last-index-of-some-value-in-a-list-in-python

Marchete: incredible what a human NN can do with just two neurons...

Uljahn: when trained over 40 years :smiley:

jacek: can it do xor?

struct: thats a myth

eve_va_hooves_the_king_of_losers: whats happeing?

TheBlueBias: Oh. The come back.

eve_va_hooves_the_king_of_losers: "IT" as i was called

eve_va_hooves_the_king_of_losers: im gonna try to code again and i have i have been blocked in another coding site

TheBlueBias: What a surprise... :smirk:

eve_va_hooves_the_king_of_losers: i forgot who you were, have i bothered you before?

TheBlueBias: Not especially me.

Queuebee: Wontonimo do you know whether using A* for Line Racing should be able to solve within 100ms?

darkhorse64: You do not need A*, floodfill is enough. Even with Python, you can perform 1 in less than 1 ms

eve_va_hooves_the_king_of_losers: i only remember "HE"

Queuebee: alright

Queuebee: Fun

struct: Queuebee yeah floodfill should be fast enough

Queuebee: I never c o n s c i o u s l y used _floodfill_

Queuebee: idk how to do it

Astrobytes: Oh. You again.

eve_va_hooves_the_king_of_losers: yup,

TheBlueBias: HIM !scream:

eve_va_hooves_the_king_of_losers: its been like 4 weeks, right?

Astrobytes: should I just ban you now or will you get out of chat and shut up?

darkhorse64: visit www.redblobgames.com for pathfinding algorithms then do some exercises here

eve_va_hooves_the_king_of_losers: fine, i'll go for now

struct: https://www.codingame.com/playgrounds/243/

Astrobytes: Appreciated.

struct: maybe this one can help

Queuebee: oooo

darkhorse64: There's a playground from m smits on high performance BFS

Queuebee: those are great thanks

darkhorse64: redblobgames is better for noobs

Queuebee: that would be me

Astrobytes: Yeah, you get more of the "whys" and not just the "hows"

darkhorse64: It was me two years before

TheBlueBias: Banana Feta Sausages

darkhorse64: I have other acronyms in mind but they are NSFW

jacek: oO

TheBlueBias: Nachos Salad Falafel Wasabi?

Scarfield: ohoi

TheBlueBias: Scarohoi o/

Astrobytes: Hoifield

Scarfield: TheBlueBois (sounds like a boyband) Astroibytes

Scarfield: better than oi eh

USSR_Chicken: *codes in despacito*

Astrobytes: heh heh

Astrobytes: codes in what?

jacek: havent you heard about the bird?

jacek: thats the bird is a word?

Scarfield: oh no

Astrobytes: everybody's heard about the bird

eulerscheZahl: even I know that song. thanks Family guy :rolling_eyes:

jacek: :scream:

TheBlueBias: https://www.youtube.com/watch?v=9Gc4QTqslN4

Foxwizard5556: weirdo's

Astrobytes: excuse me?

Foxwizard5556: how often are you on here

Default avatar.png waterboy: who knows what is wrong : if(nextCheckpointDist >= 100 && i = 0){

llorente: can some here me

struct: its always false

Astrobytes: you're assigning 0 to i

DomiKo: i = 0?

Default avatar.png waterboy: ok

jacek: yay c++ :unamused:

TheBlueBias: Oh. The 3 years old child is back.

Sarstan: I'm doing Line Racing in C# and I can't seem to use the integers of the starting and current locations outside of the for statement.

Sarstan: It says "the name 'Y0' does not exist.

darkhorse64: declare Y0 outside of the loop ?

Sarstan: Seems odd to have to mess with the starting code. Trying that doesn't seem to resolve it though.

Sarstan: Use of unassigned local values if I define them in main.

Foxwizard5556: what is happening

struct: starting code works fine for me

Sarstan: Weird. Just to get started I put in some if/else statements (if (Y0 <10 && Y1 <19) {moveDir = "DOWN";] as one example where moveDir is what I put in the writeline).

struct: are you reading all the inputs before outputing?

Astrobytes: just paste your code here Sarstan

Foxwizard5556: there are a lot of newbies

Sarstan: Reading the inputs? You can't use the variables directly?

struct: you declare the vars then read the input and store them in the variables

Astrobytes: Sarstan: Please paste your full code here. It will be easier to diagnose your issue.

Sarstan: http://chat.codingame.com/pastebin/d67a8359-a12c-48f8-b99d-a6e42286e0cc

Astrobytes: (it will auto-pastebin)

Sarstan: I didn't realize it would do that. Thanks!

struct: the Y0 is outside the loop so its out of scope

struct: {int y}; you can access y anymore here

struct: cant*

Astrobytes: *declared inside the for loop

Astrobytes: should be declared in the while loop prior the for loop

Astrobytes: Then assigned in the for loop

Sarstan: So put something like int Y0; in the while loop?

Astrobytes: Wait. Actually each iteration you are reading a players position

Astrobytes: So you can leave them in there. But create some player structure/class to hold the xy coords for N players

Sarstan: I'll need to create new variables to pull those out of the for loop?

Astrobytes: Yes.

Sarstan: Haha, I just realized I read the variables wrong anyway. I thought it was showing start (X0 and Y0) and current (Y0 and Y1) when those are a different player's start.

Astrobytes: Yeah, if you only care about yours, make some variables outside and only assign when i == P

Astrobytes: It will be helpful to read them all though.


Sarstan: I was aiming to start by having it take the longest direction up or down, then turn the longest direction left or right.

Astrobytes: Yeah that's cool. Some kind of structure will help you though Like:

Astrobytes: http://chat.codingame.com/pastebin/a40d18b6-b10b-49f7-8495-c147cc05e275

Astrobytes: (not actual code, just to give you an idea)

jacek: who needs struct when you have classes

Astrobytes: back in your box jacek

Sarstan: That for loop is just messing with me on how to grab those values.

jacek: dont mess with for loops while coding them

Vintarel: what is the memory limit for a game (C4 for instance) ? Im messing with an array of only 200.000 Nodes :/

Astrobytes: Sarstan: http://chat.codingame.com/pastebin/1d9d1fe7-0e97-4ff6-b7dc-1dd2de6a3240

Astrobytes: Vintarel: 768mb

Vintarel: OK thanks

jacek: 200'000 isnt big

Astrobytes: Nodes might be

Vintarel: not at all, but it crashes when i set it to 210.000

jacek: what does node contain

Wontonimo: hey Sarstan, are you working on Tron?

Vintarel: usual stuff... Some Node* and 2 ints and some bool... When i measure with sizeof(), it says a Node does 40 bits and the array does 8 Mb

Sarstan: Yeah, it's Tron.

Wontonimo: if you have an array of Nodes, no need to have a Node*, instead you could have an int index

Vintarel: it might be a bug elsewhere

struct: hmm with 40 bytes you can store a lot more

jacek: did you try to allocate exactly 262144 nodes

Astrobytes: 40 bytes or 40 bits?

darkhorse64: Vintarel: I guess you are statically allocating, try new

Sarstan: I need to brush up on arrays. Honestly pretty lost on how to use them properly.

struct: he probably is storing it in the stack

struct: since it breaks at 8MB

Astrobytes: yeah that would figure

Wontonimo: i don't see you in the leaderboard Sarstan. Have you submitted anything?

Vintarel: I am doing a NodePool for MCTS indeed xD i invoke it doing Node NodePool[200000]

Astrobytes: Wontonimo: scroll up

Astrobytes: Sarstan: did the code I posted make sense?

Sarstan: Yeah, I'm fumbling around with it now.

Astrobytes: Cool beans.

Wontonimo: i'll dm you

Sarstan: No submission yet. I just started on it.

Sarstan: I know there's minimax and all, but I wanted to get a framework to play with.

Astrobytes: Wontonimo: thanks dude :+1:

Astrobytes: Have a :taco:

Wontonimo: thanks man

Sarstan: Thanks a lot Astro! That works great.

Astrobytes: :tada:

jacek: helpful mod oO

Astrobytes: No problem Sarstan, Wontonimo will help you out further if you need anything else :)

Vintarel: Thanks darkhorse64, i was actually creating the array inside of a class !

Vintarel: Works now as a global variable

jacek: :scream:

Micheeey: Has anyone made a codingame bot? :p

jacek: 200000 moves per turn. ultimate go?

Vintarel: No, C4.

jacek: :bomb:

jacek: checkout the forums for memes

Vintarel: Rather 600 000 nodes on the first turn

jacek: NN?

Vintarel: No No :(

Vintarel: This is way too difficult lol

struct: you can also do a book

Vintarel: yeah ! that wood be great to do :) that's my next plan, i first need my MCTS to be great

juma: I need some love https://www.codingame.com/contribute/view/746276b4d029e0937f31e63b5fb9745c158b

jacek: get a cat

Wontonimo: no, cats don't love, they tolerate. get a dog

Westicles: testcases=validators is a nono

jacek: samegame?

Westicles: juma clash

Westicles: oh, it was approved anyway

Astrobytes: another one for the bin

Westicles: Meanwhile, in another contrib someone made the guy add that chickens have 2 legs since that isn't common knowledge

Astrobytes: I truly despair at times

jacek: but does a bird have 2 legs?

Astrobytes: do jaceks dream of electric trolls?

Wontonimo: how do you insert an image into a contribution statement?

jacek: imgur :?

Wontonimo: i have a url

Wontonimo: how to i get the url to show as an image and not as just plain text?

Wontonimo: ![pic](https://blahblah...gif) don't work

Sarstan: img tag?

struct: only works on sdk puzzles

Wontonimo: :unhappy_and_sad_face:

jacek: and games :?

struct: yes

struct: only if you use sdk

jacek: how can you not use sdk?

Default avatar.png pythonkid: hello

struct: you can do puzzles wihout using sdk

struct: without*

jacek: oO

Default avatar.png landyns.: https://escape.codingame.com/game-session/oCh-v9g-xrX-b9n

jacek: :thinking:

Default avatar.png landyns.: click it to do a coding escape plzz

jacek: try #escape

Default avatar.png landyns.: ??

Default avatar.png landyns.: Im neww to dis btw

jacek: hello new to dis btw

Default avatar.png landyns.: and i want to learn how to code so can yall plz help me and my name is jake

Default avatar.png Metzo1: **))

TheBlueBias: Jake neww to dis btw

Wontonimo: how can monospace be printed in classic in/out so that there isn't an extra line space between lines?

Wontonimo: http://chat.codingame.com/pastebin/5f898143-7d31-4d50-97cb-f0f96cd90a15

TheBlueBias: Broken

Default avatar.png landyns.: plz help mee :cry:

TheBlueBias: To what ?

Default avatar.png landyns.: code

Default avatar.png landyns.: #escape

Default avatar.png landyns.: https://escape.codingame.com/game-session/oCh-v9g-xrX-b9n

TheBlueBias: :scream:

TheBlueBias: No.

ninnghazad: is api down?

jacek: what api

Queuebee: yay i think i got floodfill working

ninnghazad: codingame direct submit per REST

ninnghazad: stopped working, not sure if my network is at fault

jacek: oh my

Wontonimo: yeah Queuebee !

Wontonimo: that's great. That really helps with Tron

Queuebee: well

Queuebee: but its not smart :') https://www.codingame.com/replay/587973811

Wontonimo: not too bad really

Queuebee: is Tron a fair game at all?

Wontonimo: is the flood fill simultaneous? That is to say, are you floodfilling your bot and the enemy at the same time?

Queuebee: Oohhhhhh No its not

Wontonimo: no, tron isn't "fair"

Queuebee: smart

Queuebee: except I have no clue how to implement it for that without losing track of who's who

jacek: whats tron?

Queuebee: nothing nothing

jacek: better call copyright police

Queuebee: did we say tron? we meant line racing

Queuebee: I think it was my cat

Queuebee: can't copyright strike a cat

Wontonimo: there is a puzzle that does this kind of flood fill ...

Wontonimo: i'll see if i can find it

Wontonimo: https://www.codingame.com/training/medium/flood-fill-example

Wontonimo: try out our sim flood full skills here and get your code working with all these pre-made handy test cases

Wontonimo: then once you solve it, you can look at the solutions to see if there is one you like better

Wontonimo: ;)

jacek: :upside_down:

Queuebee: hmm

Wontonimo: hmmMM?

Wontonimo: s/out our sim/out your sim/

jacek: mhm

Queuebee: can a mod trigger the promotion cycle now please

Wontonimo: i only use my powers for good

**Wontonimo if only i had powers

**struct triggers promotion

Wontonimo: https://imgur.com/t/logitech/BjHl9VJ

Wontonimo: nope, still cant promote cycle :D

TheBlueBias: https://www.youtube.com/watch?v=ZZ5LpwO-An4

Hyperplane: !sudo ban *Wontonimo*

Hyperplane: :innocent:

Astrobytes: Blaise: :clap:

Wontonimo: the cut scene to the kitchen is funny and random

Hyperplane: *Dies from cringe

Astrobytes: One of the best things on the internet. Skeletor: "AND HE TRIES!" cracks me up every time.

Astrobytes: *prays

Hyperplane: No 'Your A witch harry' is the funniest !!!

Astrobytes: I have absolutely no idea what you are talking about.

Hyperplane: Or is it? Vsause Music Intensified*

Hyperplane: Do u even know whos vsause?

Astrobytes: Nope.

Hyperplane: Do u watch youtube?

Astrobytes: Yes. For highly specific things.

Hyperplane: Watch Vsause MindField and Blow ur Mind its yt orignals

Astrobytes: I'll pass, thanks.

Hyperplane: :nerd:

Astrobytes: And?

Hyperplane: STUDY PASS GET A WIFE DIE

Astrobytes: Are you unwell in some way?

Hyperplane: NO IM JUST DEPRESSED

SarahtheSecond: isn't being depressed kinda bad

Wontonimo: it's kinda depressing actually

Hyperplane: NOPE IT IS UNDERSTANDING UR LIMITS AS EVERYONE DREAMS TO BE A ASTRANAUT BUT HOW MANY REALLY BECOME?

Wontonimo: check your keyboard. There may be some cheese stuck in the caps key

Astrobytes: ^ this

Wontonimo: we are all floating through the universe on space ship earth

Default avatar.png JayTeeBat: :smile:

Hyperplane: DIANASOURS TOO WERE

Hyperplane: but they were cooked alive

Hyperplane: :(

Astrobytes: Dianasours

jacek: open the door get on the floor everybody walk dinosaur

Astrobytes: *dianasour

Wontonimo: Like Princess Diana Sours

Astrobytes: Tastes bitter :P

Default avatar.png JayTeeBat: not sure what was in the cheese that got eaten and spread over the keyboard, but you guys are flying high tonight!

jacek: tonight?

Hyperplane: haha u seems its funny IM SERIOUS

Astrobytes: I'm actually playing guitar to a song on youtube, and doing this for sheer amusement

Default avatar.png JayTeeBat: I guess 'tonight' depends on where you live :)

Hyperplane: As u grow older ur dreams die...

Astrobytes: Speak for yourself

Wontonimo: my dreams came true. i wanted to be a mad scientist when i was a child and make computers think. hey, guess what, i code ML now

Hyperplane: and then u become and average person :(

jacek: thats mean

Hyperplane: ML is not AI

jacek: he codes mars landers

Astrobytes: I wanted to be a scientist, I became one. What's your point?

Astrobytes: *became one eventually

Hyperplane: What discoveries have u made?

Wontonimo: his point is that ML is not AI, and it's true. I feel defeated and aimless now

jacek: i wanted to be homeless crack addict, yet im not one

jacek: :(

Wontonimo: you are a failure jacek

Astrobytes: jacek, you still have time brother

jacek: https://external-preview.redd.it/dRKRdjsytfI8RbSEs7mGkTa2QM-TDxiFGnZqwqlyLlc.jpg?auto=webp&s=e0715fba3ec2f2f3b542da4734528fd64ce40f4e

Astrobytes: Hyperplane: One does not need to make 'discoveries' to be successful.

Hyperplane: bruh then how will history remember you?

Hyperplane: their are millions of scientist

Astrobytes: It won't. Who cares?

Hyperplane: Degree != scientist

struct: lol

Astrobytes: If you want meaning in life: there is none.

Astrobytes: You just live.

Astrobytes: Get over it.

Hyperplane: I want survival of humans

Hyperplane: I want to explore the beauty of universe

Astrobytes: well stop moaning about everything and go and save the humans

Hyperplane: Haha thats why im depressed

Wontonimo: :wave: I'm a human

jacek: check out r/longevity to reach immortality and experience everything

Hyperplane: I cant do anything

Default avatar.png JayTeeBat: what do we need saving from again?

Wontonimo: but don't you dare "save" me, I'm already all stocked up on crazy

struct: you are depressed because you cant save humans?

PatrickMcGinnisII: cats easier to save

Astrobytes: You're already really good at moaning

Hyperplane: Yep

Default avatar.png JayTeeBat: :D

Hyperplane: I just say dont do

Hyperplane: that the problem

Hyperplane: :(

Wontonimo: oh, he could get a job where moaning is a key skill. What jobs are those? Like what kind of job job includes a lot of moan moan ?

Queuebee: CEO ?

Hyperplane: :joy:

struct: go be a doctor or something I guess

struct: then you can save lives

Wontonimo: i was thinking more like something where you could be independent, and get some exercise walking along the city

struct: or a fireman

Astrobytes: P**n?

struct: or a nurse

Astrobytes: They moan a lot in that

Astrobytes: Actor/actress at the least. You could play a zombie, they moan a lot.

Wontonimo: oh, you know who is also depressed and mentally unwell? Motivational Speakers. You could be one of those

Wontonimo: or a life coach

Astrobytes: Become an antivaxxer!

Wontonimo: no

Queuebee: LOL this is getting out of hand

Wontonimo: plz

Astrobytes: :P

Hyperplane: A Useless person who is motivated just becomes a motivated uneless person :thumbsup:

Wontonimo: yes, sorry. all in good fun

Astrobytes: Yeah, I'm bored, I'll just watch from now on

jacek: hi bored

Scarfield: im dad

Hyperplane: Anyone below 20 here?

Default avatar.png JayTeeBat: 20/100 of moral?

Hyperplane: Seems like Life has hit u guys hard and you have developed a comfort zone.

Default avatar.png JayTeeBat: how bad is it?

Scarfield: what have i joined here xD

Default avatar.png JayTeeBat: can you take it off?

Hyperplane: IDK man u guys were the only one roasting me :fire:

Astrobytes: Scarfield: Run, run away!

Scarfield: ye

Hyperplane: LIFE IS UNFAIR AND REALITY IS OFTEN DISAPPOINTING !

**Astrobytes holds his tongue

Hyperplane: but if life is unfair for everyone isnt it fair for everybody?

Default avatar.png JayTeeBat: this is fair unfairness

PatrickMcGinnisII: my momma told me life ain't fair, then..."mow the lawn or I beat your ass". What is the India equivalent of that?

Hyperplane: 'Help ur momma or I will beat u till u beg for mercy'

Hyperplane: jk everyone has different parents my aren't that strict

**Hyperplane slaps Astrobytes around a bit with a large fishbot

Hyperplane: /me

Hyperplane: (╯°□°)╯︵ ┻━┻

Default avatar.png FdevM: what do you think I have to study to solve the problems on this site. Everytime i enter here it looks like everything i learnt is useless

Hyperplane: 1st year university level to solve 90% problems

Hyperplane: dynamic programming , tree and stuff

Scarfield: look at the easy puzzles, on the page before you hit "solve" there is keywords for what you need to know to solve it

Scarfield: https://www.codingame.com/training/easy/the-descent

Scarfield: "External resources SortingLoopsThe Descent - Let's Play"

Hyperplane: thats too easy

jacek: :notebook: :soccer:?

Hyperplane: in fast mode most problems are from DP

jacek: fast mode?

Hyperplane: in clash of code

jacek: :x

Uljahn: eww

struct: are from DP?

Hyperplane: dynamic programic

Scarfield: dont feed the trolls

Hyperplane: im not troll

struct: surely not

Default avatar.png FdevM: @Scarfield, i still trying to solve this problem, even saying that only require loops knowledge

Scarfield: which problem?

Default avatar.png FdevM: "The Descent"

jacek: most people are strugging with i/o with this site first

Astrobytes: ^

struct: (╯°□°)╯︵ ┻━┻

jacek: :imp:

Scarfield: thought i silenced notifications :expressionless:

Astrobytes: Scarlenced

Scarfield: how are you trying to solve it FdevM, paste code here and we can give some advice

Uljahn: "The Descent" has hints tab on the left, use it if you're completely stuck

Scarfield: i feel like there is a good pun with you name and sound astro, cant figure it out though :(

Uljahn: orchestrabytes

Scarfield: xD

Scarfield: was thinking more in the lines of no sound in space, but nice one Ulle

Hyperplane: where u able to solve the SUM OF SPIRAL'S DIAGONALS problem? was not found on the chat.

jacek: cosmobits

Default avatar.png Vitruvius: There may be no sound, but there could be uh-strobe-lights

Astrobytes: Scarfield: Would that just be InSpaceNooneCanHearAstrobytesScream

Astrobytes: (nice suggestions all btw, ty)

Scarfield: xD yea, soon this chat will have descended to only be pun nicknames

jacek: :scream: :no_mouth:

Uljahn: Vacuumnibbles :smirk:

Scarfield: silent and delicious

Astrobytes: lol Uljahn

Scarfield: im off, gn all :wave:

Astrobytes: gn man, take care

struct: gn

69razer69: how did i get 5000cp playing only clash of code

Wontonimo: you played too much

69razer69: lol wbu

Wontonimo: play mad knight racing for more cp

Wontonimo: easy 3000cp right there

69razer69: bot ptogramming

69razer69: ?

Wontonimo: yup

Default avatar.png faktorial: hello

Default avatar.png faktorial: any python developer here

Default avatar.png JBM: not any more

YurkovAS: MadKnight racing :joy:

Wontonimo: yes, I confess to being a python developer

Default avatar.png faktorial: I am just learning python

Wontonimo: for all new(ish) the python devs out there, you may find this link useful https://www.hackinscience.org/exercises/

Uljahn: im not a python dev but better than 99% of professionals according to CG certification :confused:

Mic74: congratulations! :-)

Queuebee: Lol same :joy:

Queuebee: It's fun though

69razer69: is there a real job can cg certification get you

ninnghazad: mh, maybe a few - but the skills you can train in a fun way surely would help get a good job.

69razer69: lol i will take a few

ninnghazad: my boss would have no idea what CG is, or why he should care.

69razer69: u working in IT field

ninnghazad: kind of. programmer at a civil engineering company. simulations, water, climatechange and stuff.

69razer69: ow i think its normal that he have no idea abt cg

69razer69: seems like a fun job

ninnghazad: it's ok i guess. nice to write stuff that is connected to reality - and not just some abstract financial or marketing stuff. and buisness is good, lots of climate change and thus floodings, so lots of projects and moneys to spend on r n d.

LittleFlea: working all day in programmation.does it become redundant.mundane? i have fuin coding and am scared i would lose the fun in it by doing thing mechanically.

Default avatar.png CodingCanon: Hi! I'm new.

ninnghazad: that depends LittleFlea - a bad job can suck the fun out of everything. if it's in a field that interests you and you got decent co-workers - then coding is fund even decades later

ninnghazad: and if it's redudant - youre doing it wrong =)

Wontonimo: hey

Kaybae1202: hey

Thorcode: hi Wontonimo

Wontonimo: hey hey ... what have you been up to Thor?

Thorcode: Trying to beat you in Codegolf Wontonimo

Wontonimo: nice!

Wontonimo: want some tips? Where is LazyMammal, he's been killing it in golf

Thorcode: yep

Wontonimo: which one?

Thorcode: I got my first tip don't use "tab" or enter

Wontonimo: which golf are you working on?

Thorcode: CHuck norris :D

Thorcode: my best is 210 char

Wontonimo: okay, so first thing is I use z=input

Wontonimo: on the first line

Wontonimo: then instead of using

Wontonimo: input()

Wontonimo: later on,

Wontonimo: i use

Wontonimo: z()

Wontonimo: it only helps if you have to use input() several times

Wontonimo: and only in python

Wontonimo: what language are you using?

Thorcode: Python

Thorcode: I use only 1 input

Wontonimo: and do you use a print?

Thorcode: and I just realize that i could do this

Wontonimo: instead of print(result)

Wontonimo: you can use

Thorcode: ifa==b:print(a);a+=1

Wontonimo: g(result)

Thorcode: how to use g(result)

Wontonimo: but only if you print once

Wontonimo: using

Wontonimo: g=input

Wontonimo: then for the last line of your program you can write

Wontonimo: g(result)

Wontonimo: to print the result

Thorcode: gosh I use len

Wontonimo: len?

Wontonimo: to print?

Thorcode: no to caculate

Thorcode: to change from string to ascli 7bit

Thorcode: some guy code only 54 char

Thorcode: how

Waffle3z: tried a new idea with cttt where I watch the opponent play and see how good I think its moves are and try to beat them if I think their moves are bad. turns out most moves are scored pretty similarly and it can't tell what's good or bad

Waffle3z: so it ends up going for a draw when it could easily win because it can't recognize weaker opponents

Wontonimo: i've thought about doing something similar. thanks for doing the work and sharing the insight

Waffle3z: a different way of evaluating the moves would probably have better success there since mine is still just a heuristic with some subtle biases that shift the move preference by a small amount, so that move is worth almost the same as another one because I just added .001 to break the tie

Waffle3z: good moves and bad moves are almost the same because of the way I evaluate them, something like mcts might work better, possibly even if it doesn't actually produce better moves

Waffle3z: if it's able to detect and beat weaker opponents better than I can then it could score higher

Waffle3z: this strategy only works to exploit an existing pool of players who aren't considering the strategy, since if p2 is just mirroring p1 while p1 is trying to watch how p2 plays, it's going to get nothing out of it

Waffle3z: I actually do seem to be beating a couple players though, occasionally. the idea is to identify weaker players and win, and draw against stronger players and never lose

Wontonimo: so cheese

Wontonimo: this game needs a fix

Wontonimo: i say : random initial moves before the game begins. just total chaos

Wontonimo: anyway

Wontonimo: cool insight Waffle3z

Wontonimo: gn - i'm out

Thorcode: how to delete space like this?

Thorcode: 1 2 3

Thorcode: I use *e

Thorcode: e is a list

ISAI: i know

ISAI: inn python right

Default avatar.png Atharv_Ag: Hello

Default avatar.png TheBrokenTraveller_5024: woah

Default avatar.png Atharv_Ag: .

Default avatar.png Flowersquare: yoyoyo~