Chat:World/2021-04-06
LionMask: HII
Notter: Hi
solution.cpp: Hi
BlueArtemis: Hi
jacek:
NotSureWhyThisWorks: anyone know how to improve racing around corners for Coders Strike Back?
darkhorse64: Read the post-mortems. They are chock full of information
NotSureWhyThisWorks: thanks, they actually look quite useful. I didn't implement genetic algorithms though and it seems all of the post mortems are for genetic algorithms
Arkmer: hi, someone an help on the descent puzzle please ? i'm a begginer :)
DaNinja: check the Hints
struct: jft63 I think your bot might have a bug https://www.codingame.com/replay/538360215
linjoehan: So a job application asked me to do a project. (There were easier questions but I went for their hard problem), anyway it's my first real java thin with unit tests and everything. I thought I'd ask the experts here to have a look and shout at me about everything that's wrong so that I know. https://github.com/linjoehan/Conways_Game_of_Life
linjoehan: If you want to and feel like it
Manchi_o6o7: If someone is able to find the mistake in my quickSort implementation
Manchi_o6o7: http://chat.codingame.com/pastebin/8a4d0238-df15-4cb8-a5c5-46b6f8d322e6
struct: pastebins seem broken
Manchi_o6o7: https://pastebin.com/Xqybu93f
linjoehan: you need to count down in the do while loop on j I think you have j++
linjoehan: Manchi_o6o7
Manchi_o6o7: SOLVED
Manchi_o6o7: thanks
Wereldkaart: Its saying he is going too fast anyone solution?
jft63: struct exactly, trying to fix it but still did not
jft63: thx for mentioning :)
struct: np
MadKnight: is there a way to upgrade a litedb database to add a new field ?
MadKnight: or does it actually have that by default and my code has some weird bug?
MadKnight: Automaton2000 take your guess
Automaton2000: hm, i'm not sure why
jacek: AutomatonNN hmm?
MadKnight: rip autieNN
MadKnight: hmmm so i actually missed any sleep this night
MadKnight: and it's 2pm now
MadKnight: and the night before i didn't sleep much
MadKnight: and now i need to work
MadKnight: Automaton2000 no problem, what could go wrong ?
Automaton2000: no matter what i do when i have to do a sim
MadKnight: Automaton2000 am i gonna sleep for 20 hours the next time ?
Automaton2000: i think my bot is not that simple
ElfuegoCoder: What's mean Warning: your code did not read all available input before printing an instruction, your outputs will not be synchronized with the game's turns and unexpected behaviour may occur.
ElfuegoCoder: in the descent game
MadKnight: ElfuegoCoder what language?
jacek: you have additional System.out.println() or read not enough inputs
MadKnight: sometimes it's just being buggy
MadKnight: in java only i think
MadKnight: show us your entire code so we could be sure
jacek: dont. MadKnight didnt do the descent and he wants the code, cheater
MadKnight: imagine completing some random boring puzzles instead of improving your CSB
MadKnight: CRINGE
ElfuegoCoder: http://chat.codingame.com/pastebin/1165c61b-71c1-4932-8f88-3a8676999f3b
MadKnight: 404 Not Found Whatever you were looking for is not here. Keep looking.
jacek: try pastebin
MadKnight: CG's pastebin is broken again
MadKnight: try pastebin.com
Scarfield: jft63 im late to reply, but i had a similar looking issue, mine happened because i incremented a pods lap counter when nextcheckpoint was 0, every time it was 0. Looks like a similar issue
ElfuegoCoder: https://pastebin.com/JTa1d5ak
jft63: Scarfield I'll check that part :)
MadKnight: int mountainH = in.nextInt();
System.out.println(i);
MadKnight: why are u printing every single H
ElfuegoCoder: The number of index as the same number of mountain
jacek: but you are printing 8 times. you need to print only once per loop. you need to store the H in some variable
Manchi_o6o7: Is someone able to explain me merge sort, the merge part...
Scarfield: goodgle is your friend for that kind of question: https://www.youtube.com/watch?v=JSceec-wEyw merge sort
Scarfield: also google
jacek: or you could try dance https://www.youtube.com/watch?v=XaqR3G_NVoo
Manchi_o6o7: the dance tutorial is the key :D
MadKnight: i thought that was like quick sort
Yun_jo: hello world!
Scarfield: hi
Yun_jo: what's up?
MadKnight: Automaton2000 how do we respond to that ?
Automaton2000: why do u think that?
JohnPotter895: my name is John
olaf_surgut: someone could give me minimax optimalization (like a paper or something)
Scarfield: olaf_surgut https://homepages.cwi.nl/~paulk/theses/Carolus.pdf
Scarfield: if not what you are looking for it has a lot of key words worth learning about AB pruning, transposition tables, tec
Scarfield: etc *
jacek: and chess programming wiki https://www.chessprogramming.org/Minimax
struct: https://www.youtube.com/watch?v=l-hh51ncgDI
2kpro: yo yo
2kpro: :hamburger::fries:
Rockstar555-tech: why CG ban my account again and again
2kpro: who is cg
2kpro: ok
MasterCoderxD: guys
2kpro: yes what
MasterCoderxD: why does this (java code) give me 2500 instead of 4?
MasterCoderxD: System.out.println(Math.pow(Character.valueOf('2'),2));
MasterCoderxD: I am a noob at java btw
MasterCoderxD: *in
davilla: I'm guessing value of '2' is 50
MrFruit: Yeah, most likely 2 is a key
MasterCoderxD: u mean ascii?
MasterCoderxD: ooh, so doesn't valueOf() return an integer like '2' = 2?
Scarfield: ASCI value of '2' is 50
MasterCoderxD: so it returns ascii value?
MasterCoderxD: but when i print it, i get 2
MasterCoderxD: not 50
struct: charCodeAt()
davilla: so relevant question would be, how do you get 2 from '2'
MasterCoderxD: yeah
MasterCoderxD: what's that struct?
struct: in which language?
MasterCoderxD: Java
struct: I thought it was js at first
MasterCoderxD: i think this would work?
struct: char a = '2'; int v = (int)a;
struct: v should be 50
struct: thats also java
MasterCoderxD: Character.getNumericValue()?
MrFruit: I thought that kind of casting is only unique to Cpp
MasterCoderxD: no
int A = '2'; char cA = '2'; std::cout << A << std::endl << cA << std::endl; // 50, 2
ZarthaxX: that's because it's printing the ASCII value in one case and the ASCII char in the other
ZarthaxX: not cpp related
MasterCoderxD: i want the actual value not the ascii value
Scarfield: https://stackoverflow.com/questions/46343616/how-can-i-convert-a-char-to-int-in-java/46343671
MasterCoderxD: how do i do that in java AND cpp?
ZarthaxX: if you compare the char as a char or as an int it's teh same
struct: 50-48 == 2
Westicles: Anyone who puts a bunch of stds in their code should be considered dangerous and insane
ZarthaxX: Westicles agree
ZarthaxX: they should remove his coding license too
MasterCoderxD: I told y'all Character.getNumericValue() was right
MasterCoderxD: ty anyways
struct: (╯°□°)╯︵ ┻━┻
MasterCoderxD: :joy:
2kpro: :joy:
2kpro: ;n;
ZarthaxX: this dude :rofl:
MasterCoderxD: :stuck_out_tongue_closed_eyes:
2kpro: ';'
2kpro: ;';
struct: enough
2kpro: ok sorry
MasterCoderxD: :hushed::open_mouth:
2kpro: :worried:
2kpro: :disappointed:
MasterCoderxD: rude....
2kpro: :cry:
BlaiseEbuth: Yé! Blood !
Louis.: hii
Louis.: i am new to codingame
BlaiseEbuth: Wrong. I saw you on Fr 30sec ago.
MasterCoderxD: :rolling_eyes:
MasterCoderxD: :joy:
2kpro: hey
Louis.: désolé je ne sais pas que c'est la chaîne française
MasterCoderxD: french?
Louis.: Oui
Westicles: I love Paris in the springtime
BlaiseEbuth: Yeah... No crowd this year...
UnnamedCodinGamer: many Americans do, it is part of the popular culture in the US
Louis.: hii i know english so i can use english in world channel
Louis.: okk i am right
Louis.: how can i start it
The_10x_Engineer: What is the memory limit for ghost in the cell
Westicles: 768 MB
Cure: the western world
The_10x_Engineer: 768?
The_10x_Engineer: wow really?
The_10x_Engineer: that's so much
The_10x_Engineer: :confused: no way
The_10x_Engineer: Westicles are you sure?
jacek: this is memory limit for all games/puzzles
2kpro: yo
MasterCoderxD: yo
ElfuegoCoder: I can't do The descent
ElfuegoCoder: what do you advise me to do first?
MasterCoderxD: can someone give me the C equivalent of this java code?
MasterCoderxD: http://chat.codingame.com/pastebin/285ced1c-89e5-4065-91de-2dc7e1f3986a
MasterCoderxD: http://chat.codingame.com/pastebin/87361063-9239-462d-8679-11342f3a829b
MasterCoderxD: http://chat.codingame.com/pastebin/09508fe6-410b-4651-b903-8a9334f8bf74
Kaushik_Kalesh: yeah bro why's that?
Kaushik_Kalesh: http://chat.codingame.com/pastebin/0994d5d1-e0e2-4c35-ba35-9b924e9baca0
struct: Its not working
BlaiseEbuth: Stop
ElfuegoCoder: use pastebin.com
Kaushik_Kalesh: lemme try it again
struct: do it again
struct: and ill kick you
Kaushik_Kalesh: can someone give me the C equivalent of this java code?
Kaushik_Kalesh: struct u kidding right? :cold_sweat:
struct: We already said its not working
struct: Use pastebin or something
ElfuegoCoder: can anyone help me?
struct: with?
Kaushik_Kalesh: http://chat.codingame.com/pastebin/5c4bad30-eb95-4f39-ad01-1cdf700237f8
Kaushik_Kalesh: i did it again :smirk:
Kaushik_Kalesh: :joy:
ElfuegoCoder: I'm stuck to the descent
jacek: oO
struct: Have you checked hints on the left?
ElfuegoCoder: but i'm slightly noob;
MasterCoderxD: yo
2kpro: can someone give me a code for the bot programming game back to the code
BlaiseEbuth: Of course: 404
ElfuegoCoder: there are simpler games?
ElfuegoCoder: there are anyone?
2kpro: thank you Blaise ebuth
struct: Are the replays on ide of slcc a bit laggy for anyone else?
2kpro: yes
2kpro: jacek
2kpro: hey jacek i love paper soccer
jacek: :tada:
2kpro: :grin:
Puru299792458: in WAR is the first test case correct ?
Puru299792458: AD
Puru299792458: KC
Puru299792458: ....
Mr_BlueBird: AC
Mr_BlueBird: WA
Mr_BlueBird: RE
Puru299792458: hmm...
struct: they are all correct
Puru299792458: what does AD means ?
struct: Ace of diamonds
2kpro: can someone give me a code for night of war
Illedan: We need a Legend League for this contest Neumann :thinking:
YurkovAS: and thrust 150-200
Kitkat260: im bck!!!
2kpro: ok
Kitkat260: want to be friends?
2kpro: sure
yousarssif: hey kitkat want to be freind
Therabidpanther: im done with coc today, i keep getting ASCII stuff
Neumann: Illedan: what for ?
JekyllandHyde: Ok so I'm like super new to this so i have no idea what any of yall are talking about but im bored so hi.
jacek: oO
Paradisumal: how come I have not got achievement for 100% when i have gotten a few 100%?
Westicles: Sometimes 99.6% gets rounded up. Try giving 110%
JayM9: and its saying like for (int x = 0) etc
JayM9: how do I get the values of each time it loops through
JayM9: because won't it reset in the foorloop
BigFatDecker: can someone help me on wood league 2 i need to get to the next checkpoint using distance and angle as extra inputs
ErrorRazor: BigFatDecker arent you also given the checkpoint coordinates at the beginning? So just output the target coordinates to get to your checkpoint
ErrorRazor: Sorry if I remember the CSB input wrong, it's been a while
BigFatDecker: lmao yep i have no idea how to do this haha and its probably so simple
BigFatDecker: A simple algorithm that uses the angle is the following: http://chat.codingame.com/pastebin/6bbabf3f-92e5-4789-b2d0-664d597bfedb
ErrorRazor: Long messages get moved to a broken pastebin so you gotta use pastebin.com instead
ErrorRazor: Idk when they plan on fixing it
BigFatDecker: lol pastebin wont let me post it says there is innapporiate content in the hint i copy and pasted
JLukeSkywalker: finally beat the langtons ant wood boss
BigFatDecker: yea pastebin just says everything is potentially offensive or questionable content in your paste. wtffff
jacek: oO
ErrorRazor: Another broken pastebin
BigFatDecker: https://pastebin.com/MNUYaH1X
BigFatDecker: it thought the word thrust was bad smh
ErrorRazor: That's just a part of the description?
BigFatDecker: yea i cant put anything else because it wont let me post it with thrust in the code
2kpro: ok?
ErrorRazor: ctrl+f in the code editor to find and replace every occurrence of "thrust"
BigFatDecker: did that still says
BigFatDecker: Pastebin’s SMART filters have detected potentially offensive or questionable content in your paste. The content you are trying to publish has been deemed potentially offensive or questionable by our filters, because of this you’re receiving this warning. This paste can only be published with the visibility set to "Private".
ErrorRazor: And what if you set visibility to private?
BigFatDecker: private is greyed out even when i sign in so i cant actually set it to private
ErrorRazor: Alright, I give up lol
BigFatDecker: lmao im about to lol
BigFatDecker: this make absolutely no sense ive been staring at thius problem for 3 hrs with 0 progress
2kpro: oh my god that long
BigFatDecker: yep and its probably extremely simple too
ErrorRazor: Here's an approach: what would you do if you were piloting the pod?
BigFatDecker: so id want to check the distance first and adjust thrust then id want to check the angle of the next checkpoint and if it was 90 degrees id want to turn and slow down thrust to make a sharper turn
BigFatDecker: i tried pusing if statements in python 3 but it doesnt work
ErrorRazor: Try screenshotting your code
BigFatDecker: https://imgur.com/gallery/KQ5xmoL
struct: you are printing multiple times per turn
BigFatDecker: so what do i do to fix it sorry im extremely new to python
struct: if else if else
BigFatDecker: so i would put the next_checkpoint_angle statement in an else if?
BigFatDecker: sorry if these are dumb questions
Scarfield: depends on what you want to do. but you may only have 1 output per turn. first you print (CPpos 80), then if dist >= 100 print again, and if angle >= 90 you print again
ErrorRazor: Yeah, else if is "elif" in python
2kpro: what is a code for fall challange 2020
struct: http://chat.codingame.com/pastebin/e88f1843-9012-481a-aa21-58861f6e350c
struct: if(nextcheckpointdist>=100)... elif(nextcheckpointangle>= 90)... else...
struct: smoething like that
struct: or you can just print continue;
struct: after a print
struct: but you will print the 80 thrust print everytime
2kpro: struct what is a code for fall challenge 2020
struct: my code»
struct: ?
BigFatDecker: i still get a syntax error for if(next_checkpoint_dist>=100)
BigFatDecker: what would the (CPpos 80) mean?
struct: thats because you have the wrong syntax
ErrorRazor: Add a colon after the if statements
struct: check python syntax
struct: if(true):
....
Scarfield: just meant you print checkpointx checkpointy 80 (CPpos 80)
Scarfield: to avoid writing that out, now i did both xD
BigFatDecker: ok now im so confused it doesnt show any errors but also doesnt show anything happening with the pods
Scarfield: https://www.youtube.com/user/schafer5 This is a channel full of python tutorials, i recommend having a look at this, seems you are fighting too much with syntax to have much fun. This will help :)
BlaiseEbuth: Oo
BigFatDecker: thank you ill check it out. Im coming over from C so so a lot of the little differences confuse me haha
Scarfield: wow seems you fixed the issue you had ealier jft63! gg
BigFatDecker: woohoo it worked thank you all so much!!!
ZarthaxX: you are welcomeeee
ZarthaxX: :D
Scarfield: xD o/
BigFatDecker: lol but why is it just a black screen where the pod racers should be
ZarthaxX: heyscarfo
jacek: huh
Scarfield: oi, you havent joined Sofia Labs challenge yet zartho(?)
ErrorRazor: BigFatDecker refresh page
jacek: so this is what you were talking about
jacek: i was thinking why the sudden interest in csb
Scarfield: no leagues in slcc, we were talking csb
GooMooc: hello world
Illedan: Nice jft63
GooMooc: in python the simplest way to found the index of a tuple NT in a list of list of tuple LLT... i cant found the right syntax
Puru299792458: @Scarfield is it global competition
Illedan: Europe for prizes it seems, but you can play
Scarfield: someone mentioned you couldnt play from usa(?) i have no idea
GooMooc: I know NT is in LLT and i would like to obtain LLT[3][2} as result
Puru299792458: okay
GooMooc: any help?
BigFatDecker: im so happy i got this code to work haha Ive just been sitting here watching my guy win on loop so satisfying haha thanks again everyone
Scarfield: i dont understand what you are asking for GooMooc
GooMooc: hi scarfield : in python the simplest way to found the index of a tuple NT in a list of list of tuple LLT... i cant found the right syntax
Scarfield: i saw your comment, i dont know what you mean though
jacek: cluelessfield
Scarfield: ScarTissue
GooMooc: list.index(tuple) but with the right syntax to have the result in this case because the list is a list of list
GooMooc: result could be list[3][2]
GooMooc: i really need only list[3]
ZarthaxX: Scarfield wont join that contest besides i cant win anything :(
GooMooc: but noway to obtain the index in this case
ZarthaxX: no time rn
Scarfield: sadness, its pretty cool though
GooMooc: someone suggest me try,except,return but i wish thtat there is an other way
Kitkat260: hi
2kpro: yo
Kitkat260: hru
2kpro: good how are you
Kitkat260: iḿ ok
Kitkat260: :(
ZarthaxX: Scarfield looks like a csb copy paste tho
ZarthaxX: is it?
Scarfield: the physics part yes, but you cant point in any direction, not limited to 18 degrees turn
2kpro: you ok kitkat260
ZarthaxX: cant = can?
Scarfield: oh yea
ZarthaxX: that's an interesting addition
ZarthaxX: smitsimax i guess? :P
Scarfield: yup, i think so, choosing child angles is pretty different. and yes, but might switch to different algos in different scenarios
Scarfield: smitsi is a waste when the pods arent close
jacek: use jacekmax = instant win
jft63: thanks Illedan, just fixed big sim bug
Illedan: Tend to help :)
Illedan: What was it? something not equal to csb?
BigFatDecker: Can i put two diiferant statements into an if such in C you can do this if(x=0||X=0) is there a way in python to do this?
struct: or
akram-fokin-ghanem: hello
jft63: exactly nb of pods was 4 hardcoded in csb :)
akram-fokin-ghanem: how can i find the solution after i lose
Illedan: :D
Illedan: I have 1 pod spawned hella long away in this game :angel:
akram-fokin-ghanem: :relaxed:
ZarthaxX: BigFatDecker using an or?
struct: I wonder if I should avx it
struct: I have the sim from csb
ZarthaxX: avxing like multiple games in simlultaneous?
struct: you sim 8 pods vs 8 pods
ZarthaxX: how
struct: vec8f x, y; vec8f vx, vy; vec8f angle;
struct: that one is from csb
struct: it has more stuff
ZarthaxX: i dont get it
ZarthaxX: pasting me data doesnt show me anything lol
jacek: *insert udp joke here*
struct: ZarthaxX let me try to explain then
struct: Which part dont you understand?
struct: How to sim 8 pods at once?
ZarthaxX: what are you doing in parallel
ZarthaxX: the movement of 8 pods at once?
struct: Yes
struct: basicly its 8 games at once
ZarthaxX: ah 8 games
ZarthaxX: but isnt it hard?
struct: Only the collision part
ZarthaxX: like it depends on the time of collision between pods
ZarthaxX: yeah right
ZarthaxX: if there is no collisions it's cool but if not..
struct: Its not that bad
ZarthaxX: :thinking:
ZarthaxX: i dont get how you get to do that one but okey
ZarthaxX: and is this used for a mcts algorithm?
ZarthaxX: how do you benefit from so many games in simultaneous
struct: yeah
struct: thats the problem
struct: it doesnt benefit much from mcts
VladNedelcioiu: Hi guys! Have a great day :)
jacek: oO
struct: jacek are you doing slcc?
2kpro: yup
jacek: nah
jacek: i just learned today what is it this 'slcc' youre talking about
struct: enough time
struct: you dont have any csb/fb/br bot?
jacek: i have crappy csb
Illedan: Push it!
jacek: and link?
Illedan: https://www.codingame.com/ide/challenge/sofia-labs-coding-challenge
Illedan: 5 days is enough for ntuple and NN
jacek: copy paste is enough?
Illedan: Nah, you need to fix IO
Illedan: Then it should be ezpz
2kpro: ive learned 10 launquages
struct: you skipped one
ZarthaxX: struct wait so the avx approach doesnt help much?
struct: with mcts style algorithms no
struct: At least I think
struct: I never finished implementing the smitsimax on csb
struct: I just did the sim using avx
struct: I could be wrong
ZarthaxX: so you never applied it? :P
struct: Nope
struct: Was too lazy
struct: I just wanted to make the sim using avx
ZarthaxX: lol
ZarthaxX: okey
ZarthaxX: still clever
struct: I had help from marchete pcr code
ZarthaxX: ah okey haha
2kpro: im almost a legend
Illedan: This was a fun racing game. Now it is a fun fighting game :D
struct: I think I fixed most of the bugs
struct: At least my pod is not afraid of checkpoints anymore
ZarthaxX: Illedan haha
ZarthaxX: everyone wants that ps5 :P
Illedan: I want that 3rd place stuff
Illedan: no time for ps5 gaming
BigFatDecker: lmao i want that 3080
jacek: whats 3rd place
Illedan: http://chat.codingame.com/pastebin/d0e62129-13f9-4393-97de-c0d825e54a08
Illedan: Gaming equipment (mouse, keyboard, headphones, backpack)
jacek: oh my
Illedan: I do not want 2nd place
Illedan: DataCamp Premium subscription
Marchete: go for 1st place Illedan
Illedan: Hi :)
ZarthaxX: 2nd place looks worse than third
ZarthaxX: Illedan isnt it better to get ps5 and sell it for that equipment? :P
Illedan: True
Illedan: But I'll take a screenshot of beating pb4 in a game like this above all prices :D
Marchete: I had some of these
struct: 3rd place is around 150€
Marchete: being 1st in rankings by using Clash of Code :)
Illedan: :D
Illedan: Not going to go that low
struct: https://i.imgur.com/DfFFFDo.png
struct: The 2nd prize is probably anual
ZarthaxX: Illedan beat him :)
ZarthaxX: oh damn unique gaming set?!
ZarthaxX: go for that 3d lol
ZarthaxX: 3rd
Illedan: Sure, but first I'll remove this jft63 from the throne
ZarthaxX: glgl
struct: prizes are quite nice tbh
Illedan: I'm almost at the point where I value enemies more than myself :D
Illedan: It's not about winning. It's about sending a message!
Marchete: with C#?
Marchete: are you mad?
Illedan: Sure
Illedan: People say so
Illedan: But I bet there is some hiding for this one
struct: There is
Illedan: Dapo or reCa.r might come in late I presume :thinking:
struct: there is one guy that was rank 1
struct: I pasted the agent id on fr chat before
Illedan: Someone said it was an alt
struct: ah
struct: alt of who?
Illedan: No idea
Marchete: 1024
ZarthaxX: hola puto
ZarthaxX: Marchete :c
JSboss: orale pues..
jacek: omelette du fromage?
BlaiseEbuth: No. Tortilla del queso
JSboss: si, quesadilla
ZarthaxX: BlaiseEbuth your lvl and rank are half evil
ZarthaxX: is it on purpose? lmao
BlaiseEbuth: Of course it is, since I have no hope to reach lvl66, and don't want to be more than 400 in the leaderboard.
ZarthaxX: :rofl:
Astrobytes: lol
ZarthaxX: legend
ZarthaxX: hi astropango
BlaiseEbuth: oy Astrobytes. How's your Kouign Amann ?
Astrobytes: hey Zarthaglio e olio
Astrobytes: I have none BlaiseEbuth
BlaiseEbuth: :(
jacek: huh
ZarthaxX: wtf is that name Astrobytes
Astrobytes: An italian pasta dish ZarthaxX: eg. spaghetti aglio e olio (garlic, parmesan, olive oil, I think parsley)
jacek: sounded like some body part
Astrobytes: :rofl:
BlaiseEbuth: :yum:
ZarthaxX: oh shiet im hungry and i just ate
Astrobytes: :grin:
struct: Finally found the bug
struct: Copy paste is risky
Astrobytes: Story of my CG life
Astrobytes: Always swapping code between projects, never a good move, still do it
ZarthaxX: :rofl:
Astrobytes: Doing the whatsitcalled contest thingy struct?
struct: yes
struct: I need to take my revenge on IllyasChihi
struct: Illedan*
struct: He asked me to change avatar
struct: Now I need to edit all my contributions
Astrobytes: hahahaha
Illedan: :D
ZarthaxX: what is that acc name lmao
jacek: class?
Astrobytes: What is the contest anyway? Looks like the old SF-CSB-style one with Illedan's SR stub lol
Illedan: With more boosts afaik
jacek: boobs?
Astrobytes: Ah OK. Might try it out if I have time, not overly motivated tbh
Astrobytes: Dapo gonna win anyways :D
Illedan: Yeah
BlaiseEbuth: I think my code is a teenager now, I don't understand it anymore...
Astrobytes: :rofl:
ZarthaxX: haha good one
struct: My bug was that I was doing pod radius squared
struct: instead of 2 pods radius squared
struct: In pod vs pod collision
Astrobytes: Redefining physics, one pod at a time
jacek: :thinking:
karimk123: just testing to see if its vulnerable to an sql injection
jacek: is it?
BigFatDecker: would this work to check if the two pods are colliding on the x axis? elif(opponent_x==x):
The_10x_Engineer: :eyes: I dont think parenthesis are used like that for elif statements
The_10x_Engineer: at least in python
struct: im afraid its not that simple
jacek: :scream:
solution.cpp: they are unrequired in python, but it will still work
Astrobytes: Regardless, the proposed collision detection will not work.
JSboss: https://i.pinimg.com/originals/55/85/c1/5585c16d8c90b2aad6ecb34ec5cb86d8.jpg
JSboss: re: sql injection :)
Astrobytes: https://xkcd.com/327/
karimk123: "; DROP ALL DATABASES
jacek: Automaton2000 eval('rm -rf /*')
Automaton2000: yeah that's what i was going to do it again
ZarthaxX: karimk123 trying that on a chat might not be the smartest idea
ZarthaxX: 1 you are doing smth illegal 2 prob you can find another place where a query might be happenning and wont be thought of sanitizing
ZarthaxX: a chat will always have weird chars and it's pretty obvious that its getting sanitized or smth lol
JSboss: disagree with point 1 but yea
ZarthaxX: why disagree?
jacek: what was that leaking unicode?
ZarthaxX: bounty hunting is a thing but cg might not like that
Astrobytes: It's something you'd do in private and report privately if you found anything.
JSboss: show me a jurisdiction where whitehat pentesting/curiosity-satiating in a chat forum, specifically designed to handle all "standard" inputs which definitely includes those chars, is illegal ;)
JSboss: however the mods might not like it
jacek: h̴̨̛̭̲͔͔̹̭̟̝͚͔̙̭̣̙͋̒̿̇͌̀̎̀̈́͛̊͊̑̿̓́̽̈́͋̏̇͐̕̕͘̕͝͝͝m̸̡̡̗̭͚͍̗͙̱͙̝͓̜̟̰͈̠̦̜̬̞̯̝̝̪͈͎͓̐̄͜ͅm̵̧̢͚̬̤̮̙͎͇̼̩̰̦͓̺͕̹̆̀͛̈́̊̑̋͊̽̾̄̓͗̈́͊̐͌͗̋͐̈̓̕̚̕͘͝͝͠
Astrobytes: Chucking stuff into chat like that 'testing for SQL injection' is just kinda skiddie behaviour
ZarthaxX: JSboss ah depends on the country then, here in argentina pentesting and such is kind of hardl ol
Astrobytes: Thank you jacek :/
jacek: youre welcome Astrobytes :/
Astrobytes: :/
jacek: but its not the one i wanted
ZarthaxX: Astrobytes yeah well that private thing would be what i was trying to say on first place :P
Astrobytes: Yeah I was backing you up ZarthaxX!
JSboss: ok i just took illegal too literally ;)
ZarthaxX: mah man astro
ZarthaxX: JSboss u were right anyway hehe
ZarthaxX: i recognize that law related stuff is hard to discuss in an international chat anyway hehe
struct: im not hiding btw, i just submit that to test collisions
Astrobytes: Yeah, gets very specific when it comes to individual countries
Astrobytes: ϐ
jacek: α >= ϐ: break
Astrobytes: A prune sequence.
jacek: or prune array
Astrobytes: I chose sequence over array since... chat sequence
jacek: just like Automaton2000
Automaton2000: i got plenty of time to do it
Pepis: I have failed only in one test out of 5, and thats some calculation or rouding problem (same program in .net works)
Pepis: Is it some bug, or am i missin somethin?
Astrobytes: Yes.
Shepo: In 20 words or less, give me your review of Java.
The_10x_Engineer: What is a sequence? :eyes:
The_10x_Engineer: Nevermind
MrFruit: Sequence, what may it be?
TheRandomGuy: Does anyone know Lua
Pupper_Gump: Hey guys I'm using C and it won't print, is there a way to fix?
Pupper_Gump: stderr isn't working either, am sad
DaNinja: printf("test\n");
Wontonimo: I have achieved triple digit status! Finally broke 1,000 and am sitting at 943rd. Yeah me
Wontonimo: printf("ack DaNinja\n");
Wontonimo: thanks
davilla: where are these other 942 people? I never hear from them
ZarthaxX: gz Wontonimo :)
solution.cpp: coding
ZarthaxX: davilla im here lol
Westicles: almost half are french, so on #fr
davilla: oh OK cool
solution.cpp: The weekly puzzle Asteroids is listed as easy but I can't solve it :disappointed:
Westicles: How do you know you can't solve it?
solution.cpp: because ive spent like 4 hours on it so Im giving up lol
Westicles: If it makes you feel better, I spent the last 15 minutes watching videos of crows eating ticks off wallabies
solution.cpp: it is frustrating to solve a very hard puzzle but get stumped by an easy one
MadKnight: how hard is it to exchange data with a program from within a browser plugin ?