Chat:World/2021-08-12

From CG community
Jump to navigation Jump to search

xxd: I got into my first legend league, for UTTT!

xxd: I'm so happy

DaNinja: gg

martinpapa69: wp

KiwiTae: gg

Default avatar.png stormwings: hi people

Default avatar.png stormwings: what are you doing

weabou: I'm dying on Ghost in the cell because i cant understand shit , so I learn ^^'

weabou: and you ??

Default avatar.png stormwings: playing with a friend

martinpapa69: I just fixed an old bug in my code only by refactoring. very happy

weabou: On codeingame or another game ?

weabou: resolving bug is always satisfying ^^

Default avatar.png Srinath_Mikaelson: hlo gamersa

xxd: me, i'm just watching youtube and checking up on battles every so often

eulerscheZahl: isn't refactoring about reorganizing the code while keeping the exact same functionality? so you failed Csipcsirip

martinpapa69: no, refactoring is about making code, which is very nice in theory, but doesnt work

martinpapa69: so ye, i failed

StrikeBruv: how are the number of characters counted in clash of code? I seem to have had a high number of characters in my first clash. Are comments counted as well?

martinpapa69: comments in clash?

derjack: yes they are

derjack: starter code has comments

martinpapa69: //comments count in your score as well. remove them before submit

xxd: to get points for the contest category, it needs to be done during the live contest right?

Uljahn: yes, fall and spring challenges

-Gamma-: how do i turn off language assist

Uljahn: you should bloc lcp-community.codingame.com via hosts file or some addon such as umatrix

-Gamma-: this is annoying me

-Gamma-: all right I'll do that

Uljahn: sorry, lsp-community.codingame.com

derjack: :upside_down:

Default avatar.png Takibi: anyone?


Default avatar.png Takibi: where can i learn python?

derjack: i.e. https://www.learnpython.org/

Default avatar.png Srinath_Mikaelson: where can i learn perl??

Murat_Eroglu: https://learn.perl.org/

Mundgus: Hy!

Mundgus: Somebody know how can I print an error message in python?

andrefpoliveira: are bitmaps much faster than lists

Default avatar.png luukhf: print("Debug messages...", file=sys.stderr, flush=True)

andrefpoliveira: ?

andrefpoliveira: Python if it matters

Mundgus: Yeah, I tried it luukhf, but it doesn't work

Mundgus: Because the editor don't know the sys

andrefpoliveira: Do "import sys" then

andrefpoliveira: You must have deleted it

Mundgus: Jeez :D

Mundgus: Thx

andrefpoliveira: np

Mundgus: luukhf too :*

Default avatar.png luukhf: :)

derjack: oO

Uljahn: andrefpoliveira: bitmaps in python?

andrefpoliveira: yeah

andrefpoliveira: binary basically

andrefpoliveira: and then shift operations to find numbers or wtv

derjack: bit operations eh

Uljahn: i guess lists are slow with large overhead but your implementation of bitmaps could be even slower, it all depends on a task and scale

Uljahn: best performance gain could be from utilizing numpy to its fullest

andrefpoliveira: im on connect4 ahah not sure whats the best

martinpapa69: youre gonna need neural networks

Uljahn: ah, you mean bitboards

andrefpoliveira: ups yes

andrefpoliveira: Is it possible to have neural networks herre?

martinpapa69: ofc

andrefpoliveira: Hmm the ones I tried all had files apart

martinpapa69: https://www.codingame.com/playgrounds/58137/alphazero-like-implementation-for-oware-abapa-game-codingame/alphazero-like-implementation-for-oware-abapa-game

derjack: no need for neural networks. good old mcts is enough

martinpapa69: dont listen to him

martinpapa69: troll

andrefpoliveira: Ahahahah

Uljahn: mcts needs rollouts, but python can't do them in suitable amounts, that's why you switch to c++

andrefpoliveira: yeah I know ahah

andrefpoliveira: I really need to learn how to use well c++

andrefpoliveira: ah it uses Tensorflow dang it

andrefpoliveira: I cant install it xD I never saw a more difficult library to install

Uljahn: do you use conda?

andrefpoliveira: I tried but was also all f***** up

martinpapa69: pip3 install tensorflow

martinpapa69: ez

andrefpoliveira: i tried starting the navigator and couldnt

andrefpoliveira: It says no available version (of none) lol

Uljahn: navigator? i always use conda console

andrefpoliveira: to install and stuff but yeah... I will try to uninstall python and then just install conda

Uljahn: yes, that's the right way

Uljahn: then just make a virtual environment, activate it and install all you need

Uljahn: it also has seamless integration with VSC

andrefpoliveira: yeah

andrefpoliveira: Well will try it later :P

andrefpoliveira: Now I need to study for a 4th try on an exam xD

Uljahn: gl

andrefpoliveira: ty ty

andrefpoliveira: I need it xD

Spielzeugente: From the languages there are to pick in the editor. Which do you think is the best for code golf?

Natanalel: ruby or perl

Spielzeugente: thanks

derjack: java, c#...

Default avatar.png SENK0: jeez, all this coding I don't understand... I know how to code just I don't understand the questions to like any of it

Uljahn: that's normal, you're just new to the platform

Uljahn: this could be helpful https://www.codingame.com/playgrounds/55547/how-to-get-started-on-codingame

Default avatar.png SENK0: oh thank you!

SENK0: error 404...

Uljahn: indeed

SENK0: it's like I am not used to all the inputs of the game and such

SENK0: and some of the questions are asking like

SENK0: sums n stuff of things i have no chance of understanding

Uljahn: you can examine inputs with debug printing to error stream

Hunter64TheOne: yo

Hunter64TheOne: I am French

Stilgart: have fun with him....

Stilgart: (my bad, he is still on #fr :/ )

Hunter64TheOne: 😇

Hunter64TheOne: hi hi

Hunter64TheOne: 🖖

SENK0: "you can examine inputs with debug printing to error stream"

SENK0: how does that even

SENK0: how

b0n5a1: :D Stilgart

Uljahn: SENK0: look at the commented lines in the default code, there should be an example

SENK0: http://chat.codingame.com/pastebin/bd018709-6c34-408b-a9ee-9d81520c8e9d

Uljahn: try print("h:", h, file=sys.stderr, flush=True)

Hunter64TheOne: /me

Hunter64TheOne: /me

**Hunter64TheOne a faim

Uljahn: Hunter64TheOneCodinGame: pls stop

Astrobytes: Stop that please.

Astrobytes: Hi Uljahn

Hunter64TheOne: d'accord

Hunter64TheOne: je veux dire... All right

Hunter64TheOne: *I mean...

Stilgart: b0n5a1: don't know if we shou_ld smile about this :/

b0n5a1: indeed...

Astrobytes: Is he still causing trouble in #fr?

b0n5a1: altmost every day Astrobytes

Astrobytes: Nobody banned him yet? OR he hasn't 'crossed the line'?

SENK0: what is he doing tho?

Astrobytes: Spamming crap. Constantly.

SENK0: right

b0n5a1: #fr channel is a bit of a deserted town at the moment :D

Astrobytes: ah, same here most days to be honest

Astrobytes: I don't have mod rights in #fr so I can't do anything about him there

Hunter64TheOne: All right. I will stop.

Astrobytes: Yes you will. Or I'll ban you from here.

Hunter64TheOne: All right

Default avatar.png Pro-grammer: nice

Wontonimo: hey other Canadian Pro-grammer

Default avatar.png Pro-grammer: hi

Wontonimo: hey eh

Default avatar.png Pro-grammer: Xd, eh!

BlaiseEbuth: Caribou pawa!

Default avatar.png UUolfo: hey, may just be my browser, but all inputs are delayed by 2-3 seconds and my cursor is 3chars to the right every time i'm in a programming box, anyone heard of this?

Wontonimo: nope

Wontonimo: what browser?

eulerscheZahl: "I don't have mod rights in #fr so I can't do anything about him there" really? i thought everyone has rights for world+fr. just not for other channels like #de #fr - and even that changed after some chat reboot

eulerscheZahl: also: hi Astrobytes

BlaiseEbuth: "i thought everyone has rights for world+fr. just not for other channels like #de #fr "

BlaiseEbuth: also hi eulerscheZahl

eulerscheZahl: *every mod

BlaiseEbuth: Ah yes, that too.

ReiKiriyama: Python 3 seems way less code than JS for concise solutions in Coding Game... Is there an even more precise language ?

MiyamuraIzumi: I recommend Java

BlaiseEbuth: Don't

TobiasA: sheesh

MiyamuraIzumi: It is the shortest languague

MiyamuraIzumi: :D

ReiKiriyama: its a trap

Default avatar.png UUolfo: Chome is the browser i'm using atm, never have seen this before but I think we may be routing thru a new sec service

TobiasA: the actual shortest is c++

eulerscheZahl: are you just interested in the char count or does readability also matter?

ReiKiriyama: only in char count

Wontonimo: if you want to "cheat" a bit ReiKiriyama , then check out https://clemg.github.io/pythongolfer/

BlaiseEbuth: -> brainfuck

eulerscheZahl: then golfscript might be interesting for you. but not supported here on CG

eulerscheZahl: http://www.golfscript.com/golfscript/

eulerscheZahl: there is a golfscript2 iirc

Wontonimo: the link i sent needs you to golf your code first, then it compresses it further by char count

BlaiseEbuth: Good boi Wontonimod.

**BlaiseEbuth patpat Wontonimo

Wontonimo: for python if you want to use some command line tools to take your ungolfed code and do something-ish golf-like to it, look at https://liftoff.github.io/pyminifier/

MiyamuraIzumi: I got error with the code by your link

BlaiseEbuth: Normal, it's python...

MiyamuraIzumi: SyntaxError: unexpected EOF while parsing at <string>. not in a function on line 7

MiyamuraIzumi: how could I solve this issue

BlaiseEbuth: Change language

MiyamuraIzumi: https://clemg.github.io/pythongolfer/

MiyamuraIzumi: after golf it is still python right?

BlaiseEbuth: Who know...

Wontonimo: yeah

Wontonimo: PM me more details and I'll trouble shoot with you

TobiasA: woah how is that possible

Matrix007: guys i am stuck with Horse-Racing duals challenge. My syntax is correct but the third test case is so large that my code is unable to handle it?!

Matrix007: http://chat.codingame.com/pastebin/2bcdb214-c325-4c9f-8f51-56b37b37c07a

MiyamuraIzumi: It works now, even I don't change anything :(

TobiasA: i didn't know python came in chinese too

TobiasA: :fearful:

BlaiseEbuth: 蟒蛇

MiyamuraIzumi: I see you go into legend in csb TobiasA

TobiasA: yea wontonimo helped though

BlaiseEbuth: -3vel ftw

MiyamuraIzumi: do you use GA or else?

TobiasA: nope

MiyamuraIzumi: oh, then what is it?

TobiasA: eventually i will have to try those

oxydowe: AC ftw

TobiasA: advanced hard coding:relieved:

Default avatar.png UUolfo: if y<r:

Default avatar.png UUolfo: q="N

Default avatar.png UUolfo: whoops

Wontonimo: hey TobiasA, give MiyamuraIzumi all the "secrets" (they are public in the discussion anyway)

TobiasA: oh yea

BlaiseEbuth: Wontonimod frw

TobiasA: wait

BlaiseEbuth: *ftw

TobiasA: :scream:

TobiasA: MiyamuraIzumi is very high up in legend

Wontonimo: oh, then never mind :D

Default avatar.png akhil2310: hi

Default avatar.png akhil2310: how to improve in coding

Default avatar.png akhil2310: i cant solve problems very well

Default avatar.png akhil2310: any tips?

xxd: well wontonimo

xxd: with PID controller i am ~26000th place in silver

xxd: but with naive (no -3vel) i am ~5000th place

xxd: what do you have to say to that :smirk:

eulerscheZahl: -3v is top10% in gold

xxd: okay im definitely doing it wrong.

Wontonimo: :bug:

xxd: does anyone know approxiimately what time of day does the codinpoints update?

xxd: any timezone is fine, i can convert it

eulerscheZahl: at night for europe. in 10h maybe (i don'T know the exact time as i sleep while it happens)

reCurse: I estimated it at around 8pm est years ago

eulerscheZahl: then i'm close \o/

reCurse: Yeah just did the math, mb

reCurse: Coffee still brewing

Wontonimo: how goes the -3v xxd?

Scarfield: is robo's C4 NN?

MiyamuraIzumi: I got promoted to wood1 in C4, without understand why, as I stayed in wood2 for a long time, and I didn't do anything

Scarfield: when others submit in your league, some of their games will be against you, if you win enough games to get a higher score than the boss, you rank up

MiyamuraIzumi: :D

RoboStac: Scarfield - yes

Scarfield: thought so, you have a pretty solid lead

BlaiseEbuth: Scarflead

Scarfield: Scarflea

Default avatar.png ABC[]: hello

Wontonimo: hello ABC[]

Wontonimo: ABC[] have you tried out something other than Clash of Code? Like, take a look at this replay of a bot battle https://www.codingame.com/replay/575320043 do you think you could code a better steering than just aim straight and turn after overshooting ?

Scarfield: Wonto, the new MK xD

martinpapa69: whats up with MK btw ?

Scarfield: i just came back from about 2months break, but he was online semi regularly 2 months ago

martinpapa69: oh ok. i came back a month ago, havent seen him

BlaiseEbuth: BanKnight

Wontonimo: i've seen him on discord. he handed me the official MK badge. Didn't even have to change the name on the badge ... cuz we have the same first name :scream:

martinpapa69: RipKnight ? :O

Default avatar.png ShinobiKR15: Hey

Default avatar.png ShinobiKR15: Anyone up?

martinpapa69: sup

69razer69: hey

Scarfield: official MK badge?

martinpapa69: Michal Korse?

BlaiseEbuth: Yeah MadKilled martinpapa69

martinpapa69: ye i remember back than he said a lot of...inappropriate stuff :D

BlaiseEbuth: It is probably my best trophy. :cry:

martinpapa69: you are the MadKiller ?

BlaiseEbuth: I am.

Swyfti: huh

Swyfti: interesting

Swyfti: i wonder if blaise still loves salt

BlaiseEbuth: Why?

Default avatar.png egesko: Hey everyone!

Swyfti: um i have salt

Swyfti: hello egesko!

BlaiseEbuth: Salt is life

Swyfti: Yes.

TobiasA: too much salt is death

BlaiseEbuth: too much life too

TobiasA: how contradictive

Swyfti: interesting.

eulerscheZahl: now i know that Wontonimo's real life name is Anton. But what to do with that info?

Wontonimo: :unamused: no tacos for you

jacek: antonov?

eulerscheZahl: Антон

Westicles: Anton MKovich

Default avatar.png Caroo: hello

jacek: https://i.imgur.com/Ys7Dd.jpeg

PointBreak3213: hello

TobiasA: bonjour

Luke521: hello

TobiasA: konnichiwa

Default avatar.png swordsaad: hey

Default avatar.png swordsaad: Egypt here

michaellan: for bot programming puzzles labeled "Minimax", should MCTS work for those too?

TobiasA: i think so

jacek: most likely. nowadays everything can be mctsed if youre brave enough

TobiasA: even dogs?

jacek: even ponies

TobiasA: :scream:

Mahesh_7: Hello World

Swyfti: Hello Earth

Swyfti: Hello Universe

Swyfti: Hello ____?

martinpapa69: hmmm cross entropy loss HATES non-normalized values.

hornymineta: oooooh

hornymineta: ooooh

Default avatar.png bociricsi: Heyo

TobiasA: hola

Default avatar.png bociricsi: I remember like i could see other solutions after i finished a puzzle, but now i can't. was it changed?

xxd: on the side theres a button

Default avatar.png bociricsi: leaderboard?

xxd: yeah

xxd: no, "Results"

xxd: then "Learn from the best coders"

Default avatar.png bociricsi: i can't find the learn from the best

TobiasA: what puzzle?

xxd: It's under the "What you learned" with the checkboxes

Default avatar.png bociricsi: There is just Click to rate and back to home

xxd: which problem is this?

Default avatar.png bociricsi: It's power of thor

xxd: the easy puzzle?

xxd: or the code golf

Default avatar.png bociricsi: it was easy when i solved it first.. now it's golf

Default avatar.png bociricsi: what's the difference?

xxd: you cant view others codes for golf

xxd: golf is you're trying to use techniques to make shortest possible code

xxd: so naturally those would be kept secret

xxd: Is the art in the Fall challenge 2021 banner a hint as to what type of game it will be?

jacek: it always the same

MaliciouslyCrypticUsername: xxd its always the same until the challenge itself is released

AllYourTrees: i heard it was always the same before the challenge is released, and then once challenge is out, its updated

xxd: oh sad

darkhorse64: Usually, the artwork is revealed a few days before the contest starts so that we can speculate at will

Default avatar.png theprogrammingguy: sup

Swyfti: sup programmingguy

JHowell: Does anyone know how the Clash of Code score is calculated?

Default avatar.png theprogrammingguy: There's an info icon in your profile

ANONYMOUS42: if you got to your profile and then press the small (?) at the top right of the ranking square there is a detailed explanation on how the scores are calculated

Default avatar.png theprogrammingguy: under ranking in profile

greenKeyboard: everybody gets high sometimes you know

Maazo_o: thank you

JHowell: Thanks everyone, but that's how the CP is calculated, not the score.

michaellan: I'm not too sure how score is calculated

michaellan: might be based off TrueSkill

JHowell: What's that?

michaellan: an algorithm that CG uses for ranking bot programming leaderboards

michaellan: anyway, i wouldn't fret over score if I were you

Astrobytes: Think he means at the end of a clash

michaellan: no i dont think he means that

michaellan: but i may be wrong, JHowell are you talking about the numeric value on the leaderboards?

JHowell: My Code Clash score is 19.78, Astrobytes, and I'm wondering where that comes from.

Astrobytes: "JHowell 09:42PM Thanks everyone, but that's how the CP is calculated, not the score."

michaellan: well, CP != leaderboards score

michaellan: the score is not the ranking

michaellan: my score is 26.75 for CoC and I'm ranked 33rd at the moment

JHowell: I assumed that was the case. Interesting.

Astrobytes: oh on the leaderboard? TrueSkill and there is decay

michaellan: yeah. the CP is based off of your ranking on the leaderboard

michaellan: ah okay. I read on the wiki page that apparently you need Microsoft's license to use the TrueSkill algorithm

michaellan: i am curious if CG has a license to use TrueSKill

Astrobytes: It's based on TrueSkill, don't know if they actually licensed it or just did something similar

michaellan: Licensing an algorithm seems like a pretty shitty thing to do

AllYourTrees: ???

AllYourTrees: why is that a shitty thing to do?

JHowell: Hm... It sure looks like the score makes the ranking.

michaellan: i mean its just a math equation

AllYourTrees: pretty sure most code on github has a license lol

Astrobytes: :)

michaellan: hmm

michaellan: revised: i think putting a license where written permission is needed for a math equation is a silly thing to do

JHowell: Anyway, I just went up 0.02 points after taking 15 minutes to get 50%. So I'm wondering if I went up because I got 2nd of 7, or if I was graded on every submission every for that problem, or something even more complicated.

michaellan: it depends on other people's trueskill scoress

BlaiseEbuth: And wind direction.

JHowell: And moon phase.

michaellan: What motivates the people who join clashes only to immediately submit with 0%

michaellan: or are those bots

BlaiseEbuth: What motivates the people who join clashes

JHowell: I wonder if the 0% are just looking for easier problems. Maybe they think it's so hard that their only hope is to win 0% with the fastest time?

RoboStac: I think it's often people who don't like that type of clash

JHowell: Oh, that makes sense, too. I'm not particularly fond of shortest clashes myself...

Westicles: Quest map, achievements, and mod rights

michaellan: mod rights :eyes:

JHowell: Oh, yeah. I'm a few clashes away from being allowed to accept/reject clash submissions.

Default avatar.png PlaasBoer: 15 min seems low for new people I need about 20 min atleast

Default avatar.png PlaasBoer: to finish the task

Default avatar.png PlaasBoer: Is there a bracket for higher completion times

BlaiseEbuth: Puzzles

michaellan: being able to configure times for private clashes would be cool, maybe up till 30m

69razer69: yup

69razer69: btw how to start a private clash

JHowell: At the bottom of the clash page there's a private clash button.

Astrobytes: woo, level 32 and FB legend

darkhorse64: gg

KiwiTae: gg

darkhorse64: Inspired by the contest ?

darkhorse64: the sogeti contest ?

BlaiseEbuth: Yé! Astromight!

Astrobytes: darkhorse64: Yeah. Motivated me a bit. Still just a reflex agent, nothing fancy.

Astrobytes: Not last in legend at least

darkhorse64: Great. I got to gold with mine (before GA)

Astrobytes: Was a bit of effort tweaking numbers, might have been quicker to do the GA, but I was determined :)

BlaiseEbuth: To celebrate your double promotion: https://www.youtube.com/watch?v=Mq0IqiFXIZQ

Astrobytes: Probably do something else now and come back to FB in a bit

Astrobytes: Can't listen right now Blaise, listening to a Jerry Garcia Band show from 1978

BlaiseEbuth: :o

TobiasA: imagine understanding that video

darkhorse64: Cocteau Twins for me

Astrobytes: Good choice. Liz Fraser is the aunt of someone I went to school with and one of the dudes is from here in Grangemouth

darkhorse64: Tell her to sing again. I miss her so much

Astrobytes: lol, would if I could

Astrobytes: Amazing voice

darkhorse64: I have seen the band 3 times in my life and my english is too poor to express my feelings. It's my desert island band

darkhorse64: perhaps with some Dead Can Dance records

Astrobytes: I understand. No need for big explanations in English (or French).

BlaiseEbuth: Your kouign amann band?

Astrobytes: Are Dead Can Dance still going?

darkhorse64: Yep but the inspiration is gone

Astrobytes: Ah.

Astrobytes: Were you into the Cure, Siouxsie, Joy Division etc too btw?

darkhorse64: How did you guess ?

Astrobytes: hahaha right :)

Astrobytes: Still listen to all of them

darkhorse64: I listen to Decades from time to time

ANONYMOUS42: can you add photos beside the cover to puzzles

ANONYMOUS42: I just added an illustration of the problem in the cover and it's barely visible

darkhorse64: I think so because I have seen numerous with covers

Westicles: Just the cover. Sometimes it is tough to crop it the way you want it to look

ANONYMOUS42: Alright I'll try to squish it then

Westicles: ANONYMOUS42, that puzzle already exists

xxd: :(

ANONYMOUS42: oh i didn't know

Westicles: https://www.codingame.com/training/medium/beach-volleyball

ANONYMOUS42: i was planning on adding more variables though

ANONYMOUS42: with different Xs

xxd: :o wontonimo made it

xxd: omg i learned this in my precalc class last year i think

Jeanpier: How can I improve mi overall?

ANONYMOUS42: eat vegetables

xxd: bot programming

michaellan: hi

Swyfti: mean max silver

Swyfti: who can defeat me now

XxIdkxX: lol

michaellan: congrats

michaellan: mean max looks like a complicated game

michaellan: Question regarding the forum: is it possible for me to use Ctrl-F *normally*? As in, I don't want it to search the forum, I just want to find a word on a thread

michaellan: ah, the posts are dynamically loaded so I suppose it's not powerful

michaellan: I'm not sure how I feel about:

michaellan: As you can see it’s very random, but it’s actually a good thing because you can always resubmit several times.

michaellan: That’s why I tried to code an algorithm with the highest variance possible.

michaellan: - eldidou

michaellan: that seems like cheesing it

Default avatar.png marco8: Hi im Marco. Im new. Looking 4ward to learning and gaming.

Jon...: Welcome marco

xxd: hello

michaellan: are zombieXNext and zombieYNext effectively useless if one pursues a MC strategy?

michaellan: gonna assume they are for now

Default avatar.png sherry7392: hi

reCurse: Yes

J[]HN_WICK: https://www.codingame.com/clashofcode/clash/19134106ca3987796ceda9c79a7f25fd2b60b9b

xxd: don't put clash links here, please