AlkhilJohn.: pront('World!, Hello');
AlkhilJohn.: vois toString() args();
ASM_MOV_INT: google = the answser
AlkhilJohn.: Mpds are gonna get pissed ehhh
AlkhilJohn.: Source code for if-else statement generator
Dren: if True: print(answer) else:prin't(answer)
ninjadip: whats poppin
**DialFrost slaps PATTRIM around a bit with a large fishbot
DialFrost: (╯°□°）╯︵ ┻━┻
5DN1L: stop there guys
5DN1L: AlkhilJohn. Continue there and I'll ban you
AlkhilJohn.: What happens when you get banned
AlkhilJohn.: Just asking
AlkhilJohn.: Please don't I just wanna knoq
5DN1L: You will be sent away from this chat to another world
AlkhilJohn.: there are other world chatrooms?
AlkhilJohn.: What channel has the most online Participants?
Andrisssd: where can i find something about VS Azure functions to learn syntax?
AlkhilJohn.: i havent been banned lol
AlkhilJohn.: btw are mods real people
5DN1L: You will be if you choose to :smirk:
AlkhilJohn.: are mods real people
AlkhilJohn.: are mods real people
5DN1L: You never know. One mod is a cat.
5DN1L: We don't know what the other mods look like.
AlkhilJohn.: I know you're not
AlkhilJohn.: You're a bot
AlkhilJohn.: im a call u on discord
AlkhilJohn.: to see if ur real
5DN1L: time's up for you
Andrisssd: are moders always online?
jacek: you can summon them by spamming
Andrisssd: why bananas?
5DN1L: What's the matter, Spiders-Man?
traagel: spiders i bet
c0d1ngr1ff: i don't have spam in my country to summon mods :worried:
Spiders-Man: Why it great to spam
martmon: Hi, on clash of code mode my ranking is my_rank/344,977 I guess there are not as many players as what is output here, so does anyone know the number of active people playing the clash of code mode every week (or day)?
5DN1L: Open Sesame Automaton2000
Automaton2000: what is the default ai
5DN1L: AI Baba and the Forty Thieves
TomAlard: Hey, I'm currently working on a bot for Yavalath in C. I saw in a forum post that C++ is compiled without the -O flag. What about C? Will the GCC optimize O3 pragma help? Thanks.
5DN1L: muneer1 please use #clash channel for clash invites, thanks.
jacek: TomAlard you need to add pragmas
jacek: add these lines at top, before the includes
jacek: #pragma GCC optimize("Ofast","unroll-loops", "omit-frame-pointer", "inline")
- pragma GCC option("arch=native", "tune=native", "no-zero-upper")
- pragma GCC target("rdrnd", "popcnt", "avx", "bmi2")
DavitJanashia1: Hello World!
TomAlard: Thanks jacek, maybe I can crack top 10 now :)
Manchi_o6o7: Is there anybody who could help me out with exception handling in C++
Manchi_o6o7: How can I throw an exception if there isn't a << operator overloaded for a specific object
ninjadip: i hate exception handling
ninjadip: you have to over load it
Manchi_o6o7: but if I want to manage it in runtime
Manchi_o6o7: it should just print out the exception, and delete the object
Flaise: lol ninjadip
Flaise: Also, Merry Christmas adam, everyone! (You know, like the opposite of Christmas eve? Get it? :O )
5DN1L: I think you can only watch them if they stream
traagel: i'm at the top of gold leaderboard but i didn't get promoted, what's wrong?
5DN1L: You need to wait for the timer to count down to zero
traagel: yeah it did.. i waited 5 hours
traagel: and now it set a new time for another 5 hours
5DN1L: What does it say now?
traagel: Those better than the Boss will be promoted to Legend League at 23 H 28
traagel: it was 17 H 28 or something before, which was 16 minutes ago
5DN1L: oh :thinking:
5DN1L: wait again, if it still doesn't work, please raise a bug on the forum or in discord
traagel: another 6 hours :joy:
darkhorse64: Are you stronger than the boss ? I mean better ranked
5DN1L: yes he is
5DN1L: his score is greater than the boss's
darkhorse64: Yes, looks like a bug
69razer69: the clashes are getting worse
Spiders-Man: This is shit
Spiders-Man: a have win 300 clash of code
BlaiseEbuth: -256 :p
Spiders-Man: You have lose 256 CLASH OF CODE
Spiders-Man: # 5DN1L
Spiders-Man: Hello guy
qpi: Hi everyone :v: first contribution over there https://www.codingame.com/contribute/view/78465c1ffbb4d32ca0aedc76b0d6197b21ca hope to read your feedbacks soon :innocent:
Spiders-Man: Good for you i don't have a contribution
Spiders-Man: What is you're code of you're contribution
qpi: You can find it on the bottom of the page i think
Spiders-Man: I try and it not work
5DN1L: Eyren24 please use #clash channel for clash invites, thanks.
5DN1L: Yes? What type of help?
5DN1L: ok, what have you got now
5DN1L: what is that console.log code you have now
5DN1L: Is the same code used to get past Wood 3 League?
5DN1L: your second console.log code seems wrong
5DN1L: You don't output the angle or the condition of the angle to console.log
5DN1L: You're only allowed to output X, Y, thrust
5DN1L: it's given to you
5DN1L: you don't have to calculate it yourself
5DN1L: for now, at least
5DN1L: The puzzle statement tells you what inputs are provided to you
5DN1L: and what outputs are expected from you
5DN1L: Outputs include X, Y and thrust, ok? X and Y have been given to you. The only one you have to think about now is the thrust
5DN1L: and I think there is a hint somewhere in the puzzle statement, telling you how thrust is set would be optimal
5DN1L: Can you find it?
5DN1L: I can't see it now because I'm past that league :joy:
5DN1L: But it should say something about the angle being >90 or <-90
5DN1L: Yes, that's what I meant
5DN1L: So you have to write that into the code, using TypeScript syntax
5DN1L: Yes, take your time
5DN1L: what type of errors?
5DN1L: oh, that's not how if statements are written in TypeScript
5DN1L: the hint is just psuedo-code
5DN1L: ok, please do. convert the pseudo-code into TypeScript code
Astrobytes: RTFM ;)
5DN1L: What's RTFM?
Astrobytes: read the f'ing manual
5DN1L: oh ok
5DN1L: just googled it lol
jacek: or use python https://i.redd.it/rcoyqg4h8zo31.png
5DN1L: kanteer goggle TypeScript if else statement syntax
Astrobytes: kanteer: CG is kinda for people who already have a basic but firm grasp on programming, you can still learn on it but you're gonna have to look and follow some language tutorials
BlaiseEbuth: 5DN1L https://www.letmegooglethat.com/?q=rtfm
5DN1L: I did!
Astrobytes: BlaiseEbuth: he did lol
BlaiseEbuth: I know.
BlaiseEbuth: But it was a wonderful opportunity to do an rtfm into lmgt \o/
5DN1L: I should save that link for future use
Astrobytes: lol Blaise
Astrobytes: 5DN1L: yep, that and the 'how to ask a question' page are really handy
5DN1L: kanteer looks closer now, but still not quite yet
5DN1L: you're required to console.log X, Y and thrust all in one line
5DN1L: so you have to set thrust beforehand
5DN1L: you don't console.log it beforehand
BlaiseEbuth: Both conditions do the same...
5DN1L: kanteer, do 3 things: 1. move the if before console.log, 2. instead of console.log, assign the values to thrust instead, 3. instead of console.log a fixed thrust value, console.log the "thrust" variable
5DN1L: (for 2, i mean inside the "if"s)
5DN1L: The logic is like: In each turn, check the angle to decide the thrust, then output X, Y and thrust.
5DN1L: Refer to the pseudo-code again
5DN1L: You should write a code similar to that
5DN1L: kanteer ah, much closer now
BlaiseEbuth: You have to console.log only once per loop turn kanteer
5DN1L: now try to update your code with the if-else if-else syntax
BlaiseEbuth: With your current code, if one of the if is true you'll print a first time, then a second time with the final console.log
Mrs.GloriaZindlebocker: For all you kids out there, programming is one of the first jobs that will be taken over by AI
Mrs.GloriaZindlebocker: In a few years CG will be a site to rank AI for employers
5DN1L: OK mommy, when I grow up, I want to become an AI !
eslam3bed: Sure mom, just make sure to sleep good, and keep your things worm :wink:
Mrs.GloriaZindlebocker: Sure, but first take out the trash. That'll be good practice for the jobs that are left
5DN1L: take out the bed and sleep on the trash... ok, got it!
eslam3bed: hahah sweet as trash could be :kissing_smiling_eyes:
jacek: Automaton2000 whats is the meaning of this
Automaton2000: i see a lot of time
Mrs.GloriaZindlebocker: OMG another BFS puzzle
jacek: everypony likes graphs
BlaiseEbuth: everypony? :thinking:
MerryChristmas: is the codingame 2012 contest available as a puzzle?
MerryChristmas: or any of the older contests?
MerryChristmas: so 2012 contest was just the Medium puzzle "Stock Exchange Losses"?
MerryChristmas: what a time it must have been to be alive!
jacek: nowadays we have only escape ones :unamused:
Majeck: MerryChristmas back then, contests were who could submit a working solution first
Majeck: Merry Christmas MerryChristmas
MerryChristmas: Happy Christmas to you too, Majeck!
Mrs.GloriaZindlebocker: what is a living room dwarf?
Majeck: A mirror usually
Mrs.GloriaZindlebocker: We are trying to translate the #fr making fun of Wont's new puzzle
5DN1L: What's unlucky about them?
5DN1L: Then it's about your speed not about your luck :D
5DN1L: Speed can be improved
5DN1L: Luck cannot
BlaiseEbuth: (╯°□°)╯︵ :thumbsdown:
jacek: c-c-c-combo breaker?
Majeck: Automaton2000 :thumbsup:
Automaton2000: next contest will be a good idea.
Majeck: I'm supposed to be in a clash but the webpage crashed
Majeck: What do?
5DN1L: Go to the link if you still have it, otherwise, cry in peace
jacek: no one supposed to be in clash
Astrobytes: jacek: too late for that now
Wontonimo: "Speed can be improved Luck cannot" - 5DN1L :thumbsup:
Astrobytes: lol, very profound :D
Wontonimo: which puzzle are they making fun of Mrs.GloriaZindlebocker ?
Wontonimo: I've got several new puzzles on the go
jacek: try some puzzles on the chess
Mrs.GloriaZindlebocker: the new one... goat and cabbage
Wontonimo: what's their beef? I read through the fr channel and couldn't see anything related to that puzzle.
Wontonimo: I left it on the contribution board in WIP for 2 weeks, then submit for 2 weeks. IF people can't bring themselves to comment in that time and just wait till after it is approved then they suck
Mrs.GloriaZindlebocker: in that case, they said it was very nice
Wontonimo: I replied to every post on it
BlaiseEbuth: C'mon, nobody serious still go in the contib section...
5DN1L: JKing Check box means you can check it or leave it
5DN1L: Literal meaning?
Uljahn: karma of the clash decreases
Mrs.GloriaZindlebocker: It gets put on the agenda of next shareholders meeting
5DN1L: If many people downvote a clash, it'll get removed
Mrs.GloriaZindlebocker: feedback goes to CG only
Uljahn: and those who approved it will be punished (not really)
Flaise: I know the conversation was an hour ago but I think established casinos may take issue to the comment that luck can't be improved. ;)
5DN1L: casino... coding-related... ah here it is... https://www.codingame.com/multiplayer/bot-programming/poker-chip-race
Flaise: Perfect. It's almost as though we have a puzzle/AI competition for every occasion.
Flaise: *watches example replay* What the hell did I just watch... :O
5DN1L: it's a chip-eat-oil world
Flaise: When the chips are down, there's only one solution: CANNIBALISM! AAAAHHHH
Husoski: Clash of Code bots are sharing code now??? What's up with that?
Schwase: yo theres no forum for haunted manor but one of its test cases definitely violates the constraints of the puzzle
jacek: Automaton2000 do you share your code
Automaton2000: ok i think i want to get banned
5DN1L: Schwase there is a forum thread for Haunted Manor. In fact, 2
5DN1L: Husoski Did they get 100%? What code did they share?
Astrobytes: That's normal. The bots take solutions from previous submissions, including whether or not they shared their code.
UZUHAMA: Hello world
Schwase: 5DN1L i found it
Husoski: 5DN1L Yes, 100% shared.
Astrobytes: Husoski: See my previous post
5DN1L: I haven't met a bot scoring 100% so far :joy:
Husoski: Astrobytes Normal? I've never seen (noticed) it before last night.
Astrobytes: It's normal for them to do whatever the submission they are using did
jacek: i also havent seen normal Astrobytes
Astrobytes: jacek: :rofl:
Husoski: That's over 2000 clashes of "not normal" for me.
Astrobytes: Fair enough, it is what it is. Feel free to contact CG for an explanation.
Mrs.GloriaZindlebocker: On of the 13-year-olds copied a bot name, maybe it was him
Schwase: i have seen plenty of bots share their code
5DN1L: Oh, yes, check whether the bot's name ends in a dot
5DN1L: that's not a bot
Husoski: Nope. Checked for that. These are the real ones.
5DN1L: real not-real person bot :joy:
Schwase: i specifically remember a bot finishing a clash in a virtually impossible amount of time and just wondering how
Schwase: and i just checked their code
Schwase: it was the right answer but just like, why
Schwase: *it was shortest mode
Husoski: https://www.codingame.com/clashofcode/clash/report/2141614150c783f12a01afe9126da30d6397b8e Alkhiljohn and Natchood each shared 100% solutions in JS and Rust, respectively
Husoski: I don't think the script kiddies are writing Rust.
Schwase: only me and the bot were nice enough to share our code
Schwase: bots > people
Schwase: oh i see, they didnt share their code
Schwase: that is weird Husoski
Flaise: All of my friends are bots.
Flaise: Bots never judge, for they be incapable of judgementation.
Schwase: they real do be incapable
Husoski: Others can't see the shares on CoC result links, Schwase. Only those in the clash are supposed to see it
Schwase: makes sense
Husoski: What doesn't make sense is showing somebody else's code on a later clash to people who weren't in the original.
Schwase: huh? im not sure i understand what you mean by that
Mrs.GloriaZindlebocker: There are secret things like the JS and Ruby version of exec(unicode). They could get leak out
Mrs.GloriaZindlebocker: or more generally golf tips I guess
Schwase: the point is so people can learn
Schwase: i always share my golfed code, idc if someone learns how to golf better
Flaise: Another point is to compete, which necessitates people doing their work in relative isolation.
Mrs.GloriaZindlebocker: I'm just speculating why he might care :P
Schwase: i definitely wish there was more code golf puzzles on here, you can only golf the same puzzle for so long, ya know
Flaise: What do you like about Code Golf?
Schwase: the nice thing about code golf is that it makes you work on one puzzle more than just what it takes to get the right answer
Schwase: which in my opinion is very fun and one of the better ways to improve at a specific language
Mrs.GloriaZindlebocker: the best part is when people find out what the top guys are doing and whine about cheating
Schwase: shortest mode doesn't force you to learn while youre doing it, so you don't really ever improve without doing it on purpose
Schwase: doing code golf puzzles makes you figure out how to improve your golfing abilities
Schwase: Mrs.GloriaZindlebocker you're absolutely right. There's no room for moral grandstanding when there's a leaderboard. The way to win is to get the best score. PERIOD.
Flaise: Yeah, if you're gonna compete then just compete. lol
Astrobytes: The bots are there to help you 'enjoy' and 'have fun' with clashes when there aren't enough other clashes. If that sucks, leave clashes with bots in [solved]
Mrs.GloriaZindlebocker: Well, if the bot is sharing your code from some previous clash that doesn't solve it...
Astrobytes: I stopped caring about any of this on 15th Dec
DialFrost: okey nvrm cant help lol
Astrobytes: kanteer: follow that code by hand and write out what might happen according to your current logic.
traagel: is it sufficient to report a bug on discord or do i report it somewhere else too
DialFrost: schwase bullying everyone in coc
ninjadip: i've been debgging/tweaking adding to this AI in mad pod for hours.. ugh
ninjadip: when will it all click? lol
Thorcode: schwase is good
Thorcode: I'm gonna solo Schwase
Wontonimo: hey ninjadip , aer you still working on mad pod racing?
Wontonimo: I can give you a hand if yo ulike
Thorcode: he do that pod well wonton
Thorcode: his code is clean
Thorcode: even though I don't really understand his c or c++ code
Wontonimo: hey kanteer , the code you shared will prrint twice each round. That will make your pod get out of sync with the input and effectively react to old data.
Wontonimo: only output once per turn
Wontonimo: he is still aiming at the checkpoint, not slowing down ahead of time, not drifting, not attacking. lots of things can be added.
Jerrasterix: Good morning Guys!!
Jerrasterix: ohh hello Wontonimo
ninjadip: ty wo
ninjadip: just saw that
ninjadip: yeah i'm working on it, but i don't think i have much left
traagel: can you look at other peoples code in games ?
Wontonimo: but you can look at how their bot behaves and get a lot of info from that
traagel: Any estimate for the ranking fix? I was asked to do it for a job interview and wanted to impress :sweat_smile:
antiwonto: nothing more impressive than being num 1
traagel: i wanna keep adding features but im afraid a new iteration will be worse so i dont want to risk it :joy:
Wontonimo: you can always re-submit your old code. it is saved in the "history" on the left
traagel: i know but the ranking is a bit rng
traagel: and it takes 45 minutes to run
antiwonto: which multi traagel ?
antiwonto: which game, which bot battle traagel ?
traagel: mad pod racing
traagel: or coders strike back