Chat:World/2021-11-16
Thorcode: why there is two coding aria
Coding_Aria: Oh, Thorcode, my original Coding_Aria account was mysteriously hacked, so I made another account with another email with another password but same username.
Coding_Aria: Now my old Coding_Aria account is renamed as Anonymous because of the hacker
Thorcode: alot of my friend name changed
Coding_Aria: Wait, what? A lot? I don't know about them...
Thorcode: so sad but luckly that Wontonimo did not
Coding_Aria: Oh! Wontonimo is also my friend
Wontonimo: wow, also mine !
Wontonimo: I think it's import to be your own friend
Wontonimo: :wave: Coding_Aria2
Thorcode: yeah Wontonimo haven't changed his name
Wontonimo: it looks like you are doing the pod race thing Coding_Aria2. How's that going?
Wontonimo: :Wave: Thorcode
Wontonimo: :wave:
Thorcode: no in her old acc her pod is in bronze or slive
Wontonimo: nice, bronze/silver is good
Thorcode: I pretty shock about her old acc
Wontonimo: what else is going on?
Wontonimo: any new changes?
Thorcode: no her rank still there
Wontonimo: I was on in the morning and it was mostly people spamming the world chat
Thorcode: nice
Wontonimo: ipsissimus :wave:
Coding_Aria: I was in Bronze
DesexedDog: hi
Coding_Aria: Hi, DesexedDog!
DesexedDog: >:)++++++++++++++++++++++++++++++++++++++sgyavgycsvtyayicvytdavcaytdfcytiavytscvastcvasyutvcisatycvyastcvytcvai
DesexedDog: oi
DesexedDog: ky
Wontonimo: no spamming. Mods are here. Keep the conversation respectful, generally on topic, and generally about coding or codingame DesexedDog
Coding_Aria: DesexedDog, please don't spam the chat! You might be banned
**eulerscheZahl is here and ready for ban
Coding_Aria: I'm bored, anyone there?
eulerscheZahl: about to take a shower, then getting ready for work. probably the last day in office for a longer time, back to 100% remote then
Coding_Aria: Whoa. I'm also about to take a shower, even it's 2:09PM here.
eulerscheZahl: 6:09am
Wontonimo: oh, what's happening at work eulerscheZahl?
Wontonimo: why back to remote?
eulerscheZahl: covid is happening. numbers going up in Germany. Government about to pass a law that enforces as much remote working as possible
Wontonimo: sorry to hear
eulerscheZahl: we still have a lot of vaccination sceptics
Wontonimo: that really bad
eulerscheZahl: i'm fine, i prefer working from home
eulerscheZahl: i have that guy in my office who refuses to to outside to vape
eulerscheZahl: i'd probably escalate it, if i would stay in office for longer
Wontonimo: that's all kind of stupid and disrespectful
Wontonimo: of him
Wontonimo: do you have a good office set up at home?
eulerscheZahl: who room smells, even when he's on vacation for a week
eulerscheZahl: yes, solid setup at home (only 1 screen though)
Wontonimo: I do like 2 screens. monitors are not really all that expensive for a working toad
eulerscheZahl: more a matter of free space on my desk
Wontonimo: i thought 3 screens would be even better, but I just end up managing everything on them and turning my head a lot. it wasn't better
Wontonimo: lasted about 3 months
Wontonimo: wife did the same
Wontonimo: good luck getting everything organized today so you don't have to go back anytime soon
Wontonimo: alright, it's late here. good night
Coding_Aria: Numbers are also going up in Korea
Coding_Aria: I mean, South Korea
eulerscheZahl: because we have no data abuot the north?
HeytorToito1996: someone interested to do the games ??
eulerscheZahl: see you later, good bye
Coding_Aria: That's right, eulerscheZhl.
zukarinkuari2: wats up
Coding_Aria: Hello everyone, I'm bored. Do you have anything that would make me happy?
Uljahn: you mean coding is not fun enough for you?
Coding_Aria: ? I wasn't programming that time,
Coding_Aria: I'm now waiting to start a Clash
Coding_Aria: How could there be only 2 moderators (Nicola, Uljahn) and I on the chat?
Uljahn: you just can't see the rest, only most recent posters and mods, i can see around 300 user
Coding_Aria: Whoa.
Coding_Aria: Hi!
Coding_Aria: Hello
Coding_Aria: What do you mean? Who can solve what? Clash? Mad Pod Racing? Or something else?
Thorcode: ujahn where is your mod badge
Thorcode: what happens with the mod badge?
TristanCampbell: hi im new to coding plz help im lost :(
Thorcode: ok
Thorcode: what is your problem?
Coding_Aria: Hey, TristanCampbell, I also lose many times! It's fine.
SeanDaSheep: holy that was fast
Coding_Aria: Hi, SeanDaSheep!
**Coding_Aria Classes are fun
**Coding_Aria slaps Jascha1337 around a bit with a large fishbot
**Coding_Aria slaps Jascha1337 around a bit with a large fishbot
Coding_Aria: Hahahaha
Uljahn: don't spam the chat
BlaiseVonEbuthIV: *don't spam the cat
Coding_Aria: Okay...
AlterGNU: :cat:
**Coding_Aria OK I got it
SeanDaSheep: classes are boring
Coding_Aria: Classes aren't! Classes are my favorite, I learn new things which is interesting!
Coding_Aria: OMG solebull is live
solebull: yes I am :D
Coding_Aria: OMG
ZXC01: may i know how u can approve a contribution?
Uljahn: you need to have 50 clashes played i guess
ZXC01: or must i wait till tmr for it to update?
Uljahn: you need lvl 20+ to approve a classic puzzle contribution, also you can't approve WIP (work in progress)
Mr.Presqu: hey thanks for that I've been wondering too
Thorcode: Iam level 15 but I can still vote
Thorcode: approve or reject
Thorcode: how possible
derjack: its from 20 or 25
LelouchVC2: you can vote after you do the puzzles a certain amount of times
derjack: thats for clashes. for others you need certain level
Thorcode: oh ok
Thorcode: what is the last quest of contribution
Thorcode: I got 2 upvotes
Thorcode: Finally I got three gold certifications
Coding_Aria: Whoa, Thorcode.
**Coding_Aria solebull, could you use Python 3 to solve the Clash
Coding_Aria: ... There are 6 moderators and me only in this chat?
BlaiseVonEbuthIV: https://newfastuff.com/wp-content/uploads/2019/04/1qk8scF.png :scream:
Coding_Aria: Moderators, please ban BlaiseVonEbuthIV from World chat! Posting links that doesn't even relates to CodinGame.
BlaiseVonEbuthIV: :violin:
Coding_Aria: Hey, Blaise, violin doesn't even related to CodinGame. You can only post stuff that is related to CodinGame. Ok? If not, you might be reported and banned forever from chatting!
BlaiseVonEbuthIV: You're cute.
**BlaiseVonEbuthIV patpat Coding_Aria
Coding_Aria: Hey, Blaise! Saying that others (or me) is cute doesn't even relates to CodinGame or coding stuff. You're really weird! I hope I'm a moderator so that I could ban you!!!
jacek: to become a moderator you need to represent some dignity
jacek: the entry threshold to become CG mod is pretty high
jacek: :laughing:
Alois.S: Hello ! Does someone finished the puzzle "solid integer" in javascript ? I have a problem in the test "out of memory" :(
jacek: youre brute forcing it don't you?
Alois.S: Nop, i'm trying to do it with using the same type of method that the one to convert a number in base 9 (inspired from the forum of the puzzle)
Alois.S: And well, i can't pass this test (I passed all of the others)
Alois.S: In this test, only my tow last digits are wrong (97 instead of 14)
nyloc: I would guess you encode to base 9 by using the alphabete 0,1,2,3,4,5,6,7,8?
Alois.S: I use 1,....,9
nyloc: hmm, that sounds strange
Alois.S: Yeah, and in the forum, someone had the exact same problem but solved it by using another language x)
nyloc: which language? maybe you have an integer overflow somewhere?
Alois.S: I use javascript
Alois.S: And I use BigIntger which has no upper bound
Alois.S: Soooo
Alois.S: I guess i will use another language x)
nyloc: you can google for the max int representation in JS
nyloc: ok
Alois.S: Yeah I did, and that's why i use BigInt in JS, it has no limit
nyloc: that sound even stranger
Alois.S: Yeah :')
nyloc: maybe some implicit conversion to in in the divmod operation
nyloc: just speculating here, I don't really know JS but I could think of an implicit conversion happening if your loop variable is not a bigint and you divide(/modulo a bigint with an int
Alois.S: Ok i found my problem
Alois.S: I was doing something like BigInt(9 ** myNumber)
Alois.S: But i should do BigInt(9) ** BigInt(myNumber)
Alois.S: Because in the first case, the result is cast to integer and next to BigInt
BartholomewIII: I have a GREAT idea for a CoC puzzle: Generate all even prime numbers.
GamerGod69: print(2) should do the trick
Coding_Aria: I have a GREAT idea for a CoC puzzle: Add the 2 numbers, a and b.
Coding_Aria: print(a+b) should do the trick
Coding_Aria: https://www.codingame.com/contribute/view/7647858767ff7c484c6728e05c060e946740
Coding_Aria: I did it
Coding_Aria: Please Upvote and Approve!
Uljahn: please put more effort next time and read the contribution guidelines https://www.codingame.com/playgrounds/40701/help-center/contribution-guidelines
Coding_Aria: Why? It's written in English, it's clear, the default code works for all languages, test cases are properly defined, and contributions are original! And I was just kidding, just read what Bartholomewlll said, "I have a GREAT idea for a CoC puzzle: Generate all even prime numbers." And GamerGod69 replied "print(2) should do the trick". I just followed them so that Bartholomewlll regret!
Uljahn: i didn't laugh btw
Koala-Gentil: I did Keep it up Coding_Aria !
derjack: party pooper
derjack: Automaton2000 what do you think?
Automaton2000: so you are the only one that has the highest score
Coding_Aria: Hey, Koala-Gentil, what are you even saying
Westicles: Which recurring character is this guy?
ClementDvFr: Hi everyone, there is something to set easilly shortcuts on the CodinGame IDEA Editor ? Or an already existing setting files to set IntelliJ shortcuts ?
BlaiseVonEbuthIV: At some point of the show you need to add new characters to keep a provision of sacrifiable ones Westicles...
Coding_Aria: Westicles, who are you talking about?
Westicles: you
Coding_Aria: ClementDvFr, did you meant CodinGame IDE Editor? CG only have IDE.
Coding_Aria: Me? Hey, I'm 9 years old girl, I'm not a guy.
Westicles: :hammer:
chenhaorantianjiayi: The second pass hard... just crazy pod car
Uljahn: Automaton2000: crazy mad racing
Automaton2000: you just need some operations with vectors
KalamariKing: hey Automaton2000's back!
Automaton2000: i know what's going on?
chessplayer24: hey does anyone has programmed a dash-button with python before and has the project , i would like to improve my skills at coding with python
KalamariKing: dash button?
KalamariKing: ...
KalamariKing: as in what is a dash button
H00n: xD
H00n: exactly what I was thinking
chessplayer24: dash-buttons are buttons that you can klick for example to order a specific product from Amazon ...
chessplayer24: but you can hack this to do different things which is so nice
H00n: I just used the power of google (Dash button python). It has a decent API documentation with code examples
KalamariKing: the only thing i had found was the amazon dash buttons
KalamariKing: they have an api?
chessplayer24: yeah ,, it's internet of things project
KalamariKing: interesting
H00n: I don't get the reason for its existence to be honest. What is its appliance?
chessplayer24: i really saw this on internet and i got one but i want to change the way how it works to do sth different
KalamariKing: smart switches can cost like $50
KalamariKing: amazon dash buttons are free
KalamariKing: ive never seen this before, but its definitely interesting
H00n: yes but, I've got my smartphone by my side all the time
chessplayer24: i mean it was useful for the monthly or daily products from amazon , like tee for example or coffee , people drink this too much and don't wanna go through the process every time to order so all they need to do is to click a button
H00n: I really don't get it :D
BartholomewIII: ||It's amazon marketing||
KalamariKing: dash buttons are stupid... shouldnt be ordering *anything* that much if you need to order a specific button to order it easier
KalamariKing: marketing, yeah
KalamariKing: but i mean free smart switches, so
chessplayer24: i mean you can turn the light of your room with your phone off if you make your phone control it but it is easier to click a button and to turn the light of your room immediately on lol
H00n: use the light switch?
BartholomewIII: that'd be too easy
chessplayer24: yeah but the dash button can access wifi
H00n: You do you with those fancy smart switches, I'll just keep on using my trusty broomstick
H00n: Even works with my tv
chessplayer24: does anyone know good websites where i can see ready projects like gitHub
H00n: wait, let me google that for you
chessplayer24: thanks for the help guys
H00n: https://github.com/misc0110/dash-button Literally the first thing that came up
KalamariKing: yeah thats what i found
KalamariKing: thatd be too easy tho, chessplayer24 you should write your own api
H00n: you speak german, found an article using a raspberry and that button
chessplayer24: man i think this is good enough to help me forward , i really googled much but didn't find any good results, thanks
H00n: PMd you the link, found even more. Try searching for "dash button python project"
chessplayer24: yeah i am actually searching with more than a language :D but the topic is bit old and dash button are not anymore sold i think
H00n: there's an interesting CCC talk about it https://www.youtube.com/watch?v=7he02D7Wqgk
Wontonimo: and then 2 hours passed without a whisper ... anyone working on a multi or puzzle ?
BartholomewIII: I'm wondering what's wrong with my solution that works for all but one test cases...
Wontonimo: which puzzle?
BartholomewIII: One I'm trying to contribute: https://www.codingame.com/contribute/view/76505b834d60f17d3912b0dbf49530a14215
BartholomewIII: The last validator case only has one loop, but my program is detecting 5...
H00n: My first draw in Code Royale :grinning: https://www.codingame.com/replay/591372460
Wontonimo: maybe it actually does have 5. have you tried printing out the 5 loops it is detecting BartholomewIII
Wontonimo: ah, you are beating me H00n !
H00n: :no_mouth:
Wontonimo: i'm 500th over all and it looks like your last submit will put you at 428th over all
H00n: That's quite a LOT better than I've expected!
Wontonimo: oh, you are still climbing ... nearing the top of bronze
H00n: rank 3 atm Progress at 98%
Wontonimo: very good! what would you say your overall 'strategy' is ?
H00n: Made it to Rank 5 :hugging:
H00n: That's a good question, I named this iteration "Balanced"
Wontonimo: what is it balancing?
H00n: offence and defence
Wontonimo: mine is pretty simple. It has target counts for a file buildings in a priority sequence. really really simple if/else. No simulation or evaluation
Wontonimo: few, not file
H00n: I keep track of the unit, production, income and tower count
H00n: if the enemy has more towers than i want him to have -> one giant
Wontonimo: oh
Wontonimo: i didn't think of that
H00n: if the enemy has only a few towers and my income is good, I build a second knight barrack and mass knights
Wontonimo: i see, some situational heuristics
H00n: if I have too many towers but no good income, I will start to remove towers for mines
H00n: yes, nothing fancy
H00n: my pathing needs work though
Wontonimo: i have no situation awareness of why my opponent is doing, so that's something i could add.
H00n: I lose the most matches because my queen does not avoid enemy knights smart enough
Wontonimo: the if/else in my code only attempts to hit target building numbers. Like : first 2 mines, then 2 knights, then towers, then 1 mine, etc. No real sense of what is actually going on.
H00n: I had the best results once I've taken my income/mine/tower ratio into account
H00n: I want to hit a certain income and buildpath
H00n: for example its always 1 maxed mine one barracks
Wontonimo: do you run any local simulations to tune parameters?
H00n: I test my bot against the boss and other players bots to see what my ai is lacking
H00n: then I fine tune
H00n: when my bot beats the boss more than once, I commit
H00n: hem123 and rudkoo are the players bots I use for testing atm, since its those guys against whom I always lose :D
Wontonimo: i've had a lot of success in other multis by running a lot of simulations locally to tune parameters
Wontonimo: in a loop to automatically do it for me
H00n: ah ic
H00n: I do it manually
H00n: more fun imho :)
Wontonimo: but that means either coding or finding the code for the whole game to do that. it is quite a lot of investment in time. kinda why i haven't done it for code royal
Wontonimo: yeah, it is fun to do it manually
jacek: manual tuning? :scream:
H00n: well i mainly do it to relax
Wontonimo: definitely
Wontonimo: not entirely productive, but relaxing
H00n: enough problems to be solved all day, watching my ai play for me is just good old fun
H00n: like watching and tuning a farmbot
jacek: talking about ai slavery, Automaton2000
Automaton2000: the only way to get the gold
Wontonimo: so true
Wontonimo: it's like Automaton2000 knows its value and is unemotional about it
Automaton2000: no one has the best bot
Wontonimo: is Automation referring to just humans "no one" ?
jacek: im trying my luck with this one https://streamable.com/fkltg9
Wontonimo: is that mad max ?
jacek: br2048
jacek: and did you mean mean max
Wontonimo: yeah
eulerscheZahl: or whatever the name will be, when they are done renaming
jacek: average max?
eulerscheZahl: evil min
struct: avx collisions jacek?
Iconic_Kid: hey may i have help
Scarfield: On the front page, the link for spring challenge 2022 is broken
Scarfield: "Unable to load route Loading chunk 8364 failed after 5 retries. (contest.88223d12.js) "
Scarfield: and i cant get discord to update :'(
Iconic_Kid: oh ok so may i have help before 1
Scarfield: Iconic_Kid ask your question, if someone can help they will answer. be specific for better answers, puzzle, language etc.
BlaiseVonEbuthIV: ScarFAQ
eulerscheZahl: i don't have the spring challenge on my start page anymore. clicking it from the compete section works fine
DemoDevv: any one has finish SOLID INTEGER ?
Scarfield: BanseButh
BlaiseVonEbuthIV: 134 persons it seems...
jacek: struct no, just copy pasted referee
jacek: is 7pm, too late :v
jacek: scrollfail
struct: also its not trivial
jacek: hm?
struct: avxing collisions
struct: is not easy
struct: at least it wasnt for me
jacek: im trying to nn it, so avxing collisiosns isnt priority anyway
alin2706: just finished clash of code achievement path
jacek: oh my
USSR_Chicken: i finally did it
USSR_Chicken: my menu is set up :D
jacek: menu?
USSR_Chicken: pretty much a mod menu for roblox
Red_Beard_the_Irate: I am struggling with the MAd Pod Racing
Red_Beard_the_Irate: I am V new to programing
USSR_Chicken: im new to coding but its fairly eaasy once you get the hang of it, i have had 5 failed menu's in the past 2 weeks
jacek: what league?
Red_Beard_the_Irate: I feel like I am not getting my full boost
Red_Beard_the_Irate: I just got to Bronze
struct: mad pod racing is one of the harder games here
jacek: really? you can get to gold with bunch of ifs
struct: yes depends on the goal
struct: if you want top 10 it might be one of the hardest ones
Red_Beard_the_Irate: What is a good game to start with?
jacek: so with most popular games
struct: Red_Beard_the_Irate I think its a bit of personal preference
struct: board games are probably the easier ones to get started with
struct: since making the sim is trivial in most of them
jacek: but then again they need some game tree search
struct: I feel like tree search is easier than making csb sim
BlaiseVonEbuthIV: crad sod bacing ?
Wontonimo: mad pod racing is the easiest to get to legend
Wontonimo: Red_Beard_the_Irate ^^
Wontonimo: it is also the easiest to get CP
Wontonimo: struct , he said he is new to programming so probably suggesting sim is too high of a difficulty
Wontonimo: Red_Beard_the_Irate btw, "csb" is short for Mad Pod Racing because reasons
struct: easiest legend?
Wontonimo: to get in, not to be at the top
Wontonimo: which multi would you say is easiest legend?
Wontonimo: just to get in
struct: uttt
struct: submit from bronze = legend
Wontonimo: but you can get into legend in CSB without a sim
struct: i have no idea how though
Wontonimo: using PID controllers and camping mainly
struct: maybe Im overestimating csb legend league
struct: I think I got legend with flat mc bot with no collisions detection
yamin2000: what Algorithms do i need to learn ?so many out there but do i need to learn them all ?
struct: algorithm for what?
struct: There are so many because most of them have their specific use
jacek: different puzzles use different aspects so you may learn different algorithms needed to solve them
yamin2000: its hard path i think
yamin2000: its hard for me to solve any puzzles ,so i thought algorithms might help me
jacek: does the puzzle has some tags
yamin2000: i solved only 1 puzzle and i think i cheated
struct: why not start at easy puzzles?
struct: http://chat.codingame.com/pastebin/03fb6a60-4c14-4adb-9a83-f8a6f421bd83
Wontonimo: try this one https://www.codingame.com/training/easy/the-descent
struct: Try those
struct: in that order
Wontonimo: if you want any help with any of them let us know. If I'm here I'd be happy to help
struct: also I think all of those puzzles on the list have hints
struct: on the left side
Wontonimo: the list strüct sent is great! yamin2000
Wontonimo: do you use paper and pen to sketch out our ideas before coding yamin2000 ?
yamin2000: i just notice the hints
struct: not all puzzles have them
Wontonimo: like drawing the problem out, writing a flow chart, jotting down ideas etc
yamin2000: do u think try solving more here or jump to edabit?
Wontonimo: what do you know? do you know about variables, loops, arrays, associative arrays, functions, classes, recursion ?
Wontonimo: cool, you know more than most people who come here
yamin2000: 5 months in programing
yamin2000: i know thats long time but i am not sure whats wrong
struct: I think the advantage this site has over those is that it has bot programming
struct: you can create AIs to play games vs other AIs
Wontonimo: 5 months programming and you are not a master of everything yet? shame. I only tool 30 years and I still only know a small fraction of all of programming
yamin2000: are u new to programing too?
Wontonimo: If you've got a good handle on recursion and you've only been at it for 5 months then you are doing great
Wontonimo: I've been coding for more than 30 years, and there is lots in programming I am new to every month
Wontonimo: try the puzzles struct suggested
Wontonimo: the-descent , power-of-thor-episode-1 , mars-lander-episode-1
yamin2000: i think my fault is not practicing i was watching and doing just little practice
Wontonimo: ah, yes
Wontonimo: if you were learning how to be a pitcher in baseball and you said that ... it would explain stuff. But for some reason lots of people forget that the brain needs similar practice
jacek: i just write stuff randomly until i get it right :v
Wontonimo: it helps that your random isn't so random
Westicles: the real secret to programming is you don't need any data structures except vectors
JBM: assembly would like a word
jacek: ass-embly eh
Wontonimo: all of memory is 1 vector
Wontonimo: so Westicles is correct
Wontonimo: that 1 vector is just in a very high dimension
struct: also sizeof(vector) equals 24 bytes is just free unlimited memory
Wontonimo: how goes "The Descent" yamin2000 ?
Westicles: I thought the french were talking about me, but turns out it was about Tungsten :/
struct: What has he done?
struct: too much text for me any tldr?
BlaiseVonEbuthIV: :eyes:
Westicles: oh, just usually W means me, but not this time
MUAZ: is there a server for ROS
struct: ROS?
MUAZ: Robot opreting system
struct: there is bot programming im not sure if thats what you looking for
makerecho: finally managed to understand the reverse engineering challenge and score over 1000 points :D
struct: nice
VizGhar: yeah that was actually funny one
Velcoro: that was my favorite :)
RNSness: Hi! How do I view the solution?
RNSness: I'm new and very confused.
Coding_Aria: [CG] Thibaud, Illedan, and I'm here
davygallegos: I wish there would be ultra beginner in Clash. Looks like hyroglifics when i play
Coding_Aria: I'm beginnerI
Coding_Aria: davygallegos, I'll follow you
davygallegos: that makes two of us Aria.
EqUINoX310: click hints on the left
EqUINoX310: you will see your hints and the solution is at the bottom id read through so you get a better understanding of why
Coding_Aria: EqUINoX310, I know that, and it's a bit of cheating.
Coding_Aria: Um, anyone there? Please answer.
Coding_Aria: T_T
Coding_Aria: I guess there's only me here.
nefisto: Hello, I also just started here today
nefisto: So far I have followed the instructions
nefisto: and I'm doing the bot programming
Coding_Aria: Hello, nefisto. My 2 of old accounts are hacked, so I'm using this account instead.
Coding_Aria: nefisto, are you doing Mad Pod Racing?
CodingCanon: Hi
nefisto: Yes, that is the one im doing
nefisto: I'm trying to beat boss 4
Thorcode: hey nefisto do you need a help?
king_cant_code345: hi
king_cant_code345: whatsuuuuuuuuuuup
Codeab: ello
Alcary: hi
nefisto: Hey Thorcode, Im still having issues figuring out the perfect parameters for thrust depending on the angles
nefisto: I cant figure out out to make the bot not have wide turns
Thorcode: boss 4 mean wood1 right?
nefisto: first level in bronze
Coding_Aria: Thorcode,
Thorcode: ?
Coding_Aria: Account changed again
Coding_Aria: Another hacker
Thorcode: ok
Coding_Aria: So changed account again... Why are there many hackers on me?
OofButBetter: hey thorcode
Thorcode: ?
OofButBetter: we are in the same clash
Wontonimo: pick a reasonable password and don't share it with others. it is really quite simple
Wontonimo: also, don't install plug-ins into your web browser
GuilhermeMossiBento: what does the codingGame expect when asking the name of function? Is it for example: php_info(); or php info? I didn't see my answer on my interview, I don't know what I did wrong
Wontonimo: does anyone want help with Mad Pod Racing?
Wontonimo: what are you talking about GuilhermeMossiBento ?
GuilhermeMossiBento: When I did an interview, had some questions about name of functions, like "what name of functions that slice an array?"
Wontonimo: okay
GuilhermeMossiBento: I don't know if codingame wanna array_slice or array slice
Wontonimo: is the name of the function "array slice" ? Can you use that in code?
Wontonimo: they want the code that works
Wontonimo: :thumbsup:
Thorcode: I got x=[1,2,3] and my teacher need to print out from that x to 1+2+3 how can I do that?
Codeab: sum(x)
Thorcode: no not that print 1+2+3
Thorcode: I know sũm
Thorcode: sum(x)
Codeab: u can run it through a loop to add "+" in between indexes
Thorcode: yeah thanks
Codeab: a="" for i in x:
a+=("+"+x[i]+"+")
Codeab: but make sure to remove the first and last index of the list
Codeab: as there are extra "+"
Thorcode: yep
Codeab: :)
Thorcode: thank you
Codeab: np
Wontonimo: even easier Codeab >>> "+".join("hello") 'h+e+l+l+o'
Codeab: pfff lol lmao i didnt think bout that
Codeab: i was doing game of thrones while texting
Codeab: cant multitask well :(
Wontonimo: neither can I
Wontonimo: do you mean "game of drones"?
Codeab: oops yes
Codeab: typo
Codeab: idk how my mind drifted to game of "th"rones
Wontonimo: i haven't even submitted a bot for that game
Codeab: orh
Codeab: sheeesh ur a god at bot programming wontonimo
Codeab: 26,743 CP bruh
Codeab: anyone can help me with code golf im bad
Wontonimo: the trick to code golfing is to be a horrible person
Wontonimo: err , i mean a horrible programmer who hates other programmers
flipped_a_bit: thebiggestthingistoremoveanyextrawhitespace
Wontonimo: http://chat.codingame.com/pastebin/2dbc6001-cacb-4644-a70b-55799384920f
Wontonimo: you'd do something like
Westicles: I was surprised how much fun solving all the golf puzzles was. You really have to get devious and creative
Wontonimo: return ['hold','throw][discs>5]
Wontonimo: better yet
Codeab: yup i dont have he brain capacity to solve code golf
Wontonimo: return 'ht'[d>5]
Codeab: huh
Wontonimo: h for hold, t for throw and rename the variable discs to just d
Codeab: okey that part is fine
Codeab: although once my code goes below 100 bytes its completely unreadable
Wontonimo: yeah, that's why it is horrible
Wontonimo: want to see 'the descent' golfed?
Wontonimo: in steps?
Codeab: sure
flipped_a_bit: if you're interested in golfing, you might like this too: https://codegolf.stackexchange.com/
Codeab: NOOOO
Codeab: i clicked chat on the page that i was submitting my code SO IT RESTARTED ARGHH
Westicles: the tricky part is solving them all in every language. there are all sorts of interesting interconnectednesses
Codeab: i agree westicles
Wontonimo: I'll paste a walkthrough of golfing the descent to #golf