Chat:World/2021-05-02
Alex-1: hii
Smelty: h i i
Alex-1: how are you Smelty
Shmayro: how to chose the most duplicated pair when havingg multiple lines ?
Miki09: What language?
Shmayro: java
Miki09: I'm sorry. I can't help you with java.
Shmayro: ok thanks , i will try :D , i have just the first Test right
jacek: good morning
Shmayro: hello
Alex-1: hi jacek
KiwiTae: you guys never sleep?
Shmayro: Said the one who didn't sleep
NandishGupta: Where do I report a question with incorrect test values?
jacek: is it puzzle or clash?
jacek: you could try puzzle discussion. but is it really incorrect?
jacek: what puzzle?
BlaiseEbuth: Hiiiiiiii! I found a bug in "the descent" where can I report it?
BlaiseEbuth: Srsly?! No one? This site really su*** I better leave to *insert some other programming site here*!
geppoz: well you have a nice icon beside your name and ask to us? :D
BlaiseEbuth: Your laughing at me?! What an helpful guy you are! I gonna write a 5 pages lament on the forum and quit forever!
jacek: and no one noticed i rotated again :(
BlaiseEbuth: Oh! Jacek! You rotated again! Amazing! :o
jacek: i shall rotate 1 degree per day from now on
IvesL: can we see any seasonal changes from you
Eatyaveges: hello everyone, can i ask what happens in the Spring Challenge? is it specific challenges or just any?
BlaiseEbuth: What do you mean by "just any" ?
geppoz: it is known if it is 1vs1 or multiplayer?
geppoz: board game or physics?
geppoz: there was any leak? ;)
BlaiseEbuth: We know there's totoros
geppoz: y, nice
geppoz: I already prepared a function getTotoro(){ ... }
FloatingQueen: Hey, where can I find puzzle where you have to draw face of wanted criminal. (COC puzzle if someone knows)
BlaiseEbuth: https://eulerschezahl.herokuapp.com/codingame/puzzles/
FloatingQueen: Oh thanks! :)
BlaiseEbuth: :thumbsup:
victortwc: Good Sunday morning :)
BlaiseEbuth: Sunday, bloody sunday...
Passifi: Blaise has to retraumatize all the irish people in chat tsts
BlaiseEbuth: There's none...
jacek: because you traumatized them
BlaiseEbuth: Because they are at the mass
Passifi: Now with the racism... irish people can code if you give them scratch .. so please tone down your prejudice
Alex-1: hii to all
Passifi: hi
Alex-1: How are you Passifi
**BlaiseEbuth slaps Passifi around a bit with a large SJW.
Alex-1: :smile:
Alex-1: slaps
Alex-1: Covid-19 is spreading fastly
Alex-1: :cry:
Passifi: I am okay. I suppose. nostalgic because I have not seen this * xy does something. way of communicating in chat since the early 2000s
Passifi: it slowed down in allemania and large parts of europe so the good part of the world is safe dont worry :)
geppoz: yesterday I got my 2nd dose of vaccine
Alex-1: nice are you healthy geppoze after the vaccination
geppoz: fine, only pain in the arm, cant lift it over the shoulder, but ok
Passifi: you got sick ? the woman living under me got a pretty bad reaction after the second dose. No of course she just strouts around and lets strangers spit in her mouth for fun oh these vaccinted people
BlaiseEbuth: New variants, situation out of control in India, supposed "developed" european countries like France that are not abble to manage the epidemic or to have enough doses of vaccine, and millions of deaths. But yeah, world's safe...
Passifi: I see you are a baguette half eaten kind of person
Passifi: llok at it this way if Boris Britain was able to turn this ship around. The man who seduced his teacher succesfully, should be doing fine eventually :)
BlaiseEbuth: I prefer see the reality and act in consequence instead of lying to me by saying that all is fine.
Alex-1: :smile:
BlaiseEbuth: No. In UK politics apologized to the people. In France politics say this is the people fault.
Alex-1: yeah that a big reason BlaiseEbuth
BlaiseEbuth: Since a year everybody in France feels like he's living in a parody...
Alex-1: Why are you silent Passifi
BlaiseEbuth: The only remaining incertitude is to know if our government is incompetent or criminal... :thinking:
Alex-1: :thinking:
Passifi: well I think that feeling is shared all over the world. In germany the authorities only hint at it being the peoples fault though, some policitian said if we open up things like outdoor sports its gonna lead to wild swinger parties on the streets... being treated like children hasn't helped the situation much ...
Alex-1: yeah they are right
Alex-1: Passifi
AntiSquid: did i mention i had to self isolate and was asymptomatic? i literally didn't feel any difference LOL
Alex-1: :thinking:
BlaiseEbuth: NEET...
Westicles: A flu where you don't know if you are sick unless you are tested, and have to be blackmailed to get vaccinated
Passifi: oh I am certain its incompetence, to be fair I think this situation is pretty much impossible to handle either way you gonna tear a big hole in your society... I don't really think our politcal system had the right tools or characters to deal with this well
AntiSquid: ya, i got text message from my doctor telling me i can book a vax appointment when i want Westicles
Alex-1: yeah healthy people don't get much effected by the disease
Westicles: AntiSquid, are you gonna get it?
AntiSquid: although the report stated something like: antibodies found could be from previous infection or vaccine
AntiSquid: they can't tell whether i had the vaccine or not based on their test, i don't see the point in getting the vax
geppoz: unfortunately this is not just a problem of politics or incompetence or disorganization, the way the human race spread so massively on the planet is just matematically the right way to let the evolution do its job and create our "predator"
geppoz: it is math, nothing else
BlaiseEbuth: Get the dose and sell it to black market!
Alex-1: :smile:
AntiSquid: or make a breaking bad style business
Westicles: black market? they are reducing hours here because nobody wants it
Alex-1: BlaiseEbuth :thinking:
BlaiseEbuth: That's the point Westicles: sell it to other countries
Alex-1: help other
Westicles: You guys all have plenty of Sputnik, right? I'm sure that's perfectly safe
BlaiseEbuth: In France the vaccination is only open to the elder, but there's no more who goes. But the government does not want to open vaccination to younger people. So the doses just stay in fridges...
Alex-1: like above the 45 age
AntiSquid: sounds like some kind of DMT (sputnik) :D
Alex-1: Contest is really near
Westicles: You should just have 'national kiss a stranger day' and get this nonsense over once and for all
Passifi: http://chat.codingame.com/pastebin/45210336-5b47-4717-a040-699ab916e05d
Alex-1: what you pase Passifi
Passifi: oh i didn't know this happende when you type a lot ^^
Passifi: interesting :)
Alex-1: :smile:
AntiSquid: Westicles to be perfectly honest, without the test i would have never known i had it
XFREEMAN: Hi, a newbie here. Can we import/require a package in Javascript here?
AntiSquid: from what i remember you had to copy the entire thing and minify it
AntiSquid: then add it to your code
AntiSquid: for JS XFREEMAN
Alex-1: AntiSquid sad you have symptoms of Covid-19
Alex-1: Westicles to be perfectly honest, without the test i would have never known i had it
AntiSquid: https://www.codingame.com/faq
AntiSquid: Alex-1 i never said that, practice reading comprehension
Passifi: people asking you about your covid symptoms is in the faq ? You are one popular cookie antiSquid
AntiSquid: duckduckgo the definition of asymptomatic
AntiSquid: was linking faq for the guy who asked about javascript
AntiSquid: was about to mention it only says it has node 14
BlaiseEbuth: The site said to me "ObjectiveC Fan", then "C# Fan"... I'm really starting to feel insulted...
Alex-1: Passifi mis understanding
Alex-1: :smile:
Passifi: not really alex irony just don't travel well over the interweb
Alex-1: okk Passifi
AntiSquid: i wasn't sure due to context, making that comment after alex
Alex-1: context :thinking:
Alex-1: you mean contest Antisquid
AntiSquid: no
Alex-1: okk guys i am solving Don't panic any idea for me
BlaiseEbuth: Focus and don't speak
Alex-1: What :no_mouth:
AntiSquid: what is the correct spelling Alex-1 ? `hi` or `hii` please answer
Alex-1: hi
AntiSquid: you sure? :thinking: you can pick the other one if you want
Passifi: listen to Don't speak by No doubt alex and the answer will come, don't know what the focus thing is about
Alex-1: yeah i know
Alex-1: but when i type hii a read line goes under hii that means it wrong
BlaiseEbuth: :o
BlaiseEbuth: Crime of stupidity?
AntiSquid: just wanted to make sure it's him
BlaiseEbuth: him?
synchoz: i hate that C# is so limited on calculations XD
BlaiseEbuth: I hate C#
jacek: then why are you wearing glasses
synchoz: lol
BlaiseEbuth: I don't
jacek: so you C# by default
Manchi_o6o7: can someone help me debugg some C code
Manchi_o6o7: https://pastebin.com/k75DKsmx
Manchi_o6o7: it should count letters in a word, recursively
PatrickMcGinnisII: manchi, that's a mess
PatrickMcGinnisII: >='z'
jacek: says the php guy
PatrickMcGinnisII: i doesn't magically change
Manchi_o6o7: I changed it to <='z'
PatrickMcGinnisII: well php has is_alpha()
Manchi_o6o7: C has also, but I am trying to implement it
PatrickMcGinnisII: well your not sending a substr, you seem to be looking at an infinite function calls and coounting char at pos 0 forever
Manchi_o6o7: hmmm but isn't i increasing after checking the position
PatrickMcGinnisII: u set it to 0 every func call
struct: if(i==strlen(str))return 0;
Manchi_o6o7: isn't static meaning that it will change every time
struct: you will always return 0
struct: return counter
PatrickMcGinnisII: ^
Manchi_o6o7: return counter, still the same
struct: on second you want to increase
struct: i
struct: on the else
struct: you want to increase i not counter
Manchi_o6o7: still nothing
struct: paste code here that compiles
struct: and ill try to help
PatrickMcGinnisII: ok, didn't see static
Manchi_o6o7: http://chat.codingame.com/pastebin/680befe1-1297-4b57-9a87-fc72e23202bb
PatrickMcGinnisII: if(i==strlen(str))return counter;
struct: return counter
Manchi_o6o7: nothing
synchoz: and make in the else i++;
struct: it worked for me
PatrickMcGinnisII: why am i up at 7am on a sunday
Manchi_o6o7: really
struct: yes
struct: i also changed char word
struct: to char*word
Manchi_o6o7: the pointer is the problem...
Manchi_o6o7: but why
struct: http://chat.codingame.com/pastebin/9d3ee919-6888-4ab3-8239-fd324c98f037
struct: This works
struct: you cant just do char w = "asdasdada"
synchoz: const* ?
synchoz: char * word
struct: You either do char *word = "awsdas" or char word[] = "asfsafsaf"
synchoz: and yeah u didnt increase ur [i] it was stuck in a loop
Manchi_o6o7: yes, I got it. It was just one char the way I wrote it.
Manchi_o6o7: thank you guys
Astrobytes: I quite like returning 0 after doing all the counting though, that was a classic ;)
PatrickMcGinnisII: I'm gonna return my NULL ass to bed
Manchi_o6o7: is there any other approach recursively, to get through the string. With the given prototype of the function
PatrickMcGinnisII: with const *, doubt it
Manchi_o6o7: why is the const making problems
PatrickMcGinnisII: it's not, it saving you from a bunch of memory hogging
PatrickMcGinnisII: but with just a char* and sending a substring, the function can be totally rewritten into like 2 lines
PatrickMcGinnisII: all of it is wrong imho, but it';s an example for static vars
PatrickMcGinnisII: ok, I'll shutup
PatrickMcGinnisII: var scope can be a sumbitch
PatrickMcGinnisII: glhf
PatrickMcGinnisII: goodday all
Manchi_o6o7: hmmm but without a static variable
Manchi_o6o7: is there some way
struct: yes
struct: if you pass the i and the counter
struct: as parameters
Manchi_o6o7: but if I have only *str in the prototype?
Manchi_o6o7: as the parameter
struct: I think so
struct: maybe not
RoboStac: http://chat.codingame.com/pastebin/b2f651f6-4c58-4008-becf-9c6eae17c6bd
RoboStac: though I've no idea why you'd want it to be recursive as it's much simpler as a loop
struct: http://chat.codingame.com/pastebin/40a75b30-5641-4ecd-b3dd-b3dda2cc0904
struct: this way you dont have to have counter
Manchi_o6o7: robostac
Manchi_o6o7: When does it stop, I mean *str==0?
Astrobytes: I'm assuming this is homework or study
Manchi_o6o7: I am studying, yes
struct: http://chat.codingame.com/pastebin/ca637d24-ac6f-4a02-8f9a-a0739c8e4410
struct: This way you dont need static vars
RoboStac: in c the end of a string is a null character (strlen works the same way)
Astrobytes: Thought so, given the constraint on the prototype
jacek: could write == '\0' though
Astrobytes: Manchi_o6o7: you could also do str[i]=='\0'
Manchi_o6o7: yes, got it
jacek: slowbytes
Manchi_o6o7: thank you very much guys
spacefish2: Hi I'm back! Like a horror movie the monster has entered the house!
AntiSquid: comic relief *
spacefish2: comedy skill is 0..
AntiSquid: i think you got talent, all you need to do is just be yourself
spacefish2: Everyone is like BE YOURSELF!!! but when you actually try to then you are put down.
spacefish2: like by parents teachers in some cases employers, and yes I somehow have gotten people to believe I am worth being payed for
spacefish2: http://chat.codingame.com/pastebin/78594128-ef9f-4dcb-9f26-3d2b44f70a7d
spacefish2: why doesnt it work?
spacefish2: why does that respond NOTHING
DaNinja: whats in S? a number?
spacefish2: it literally is supposed to return all capital letters
spacefish2: I dont name things well ok
DaNinja: what does this output Console.WriteLine(S);
Astrobytes: https://imgur.com/a/XH72Fi0
spacefish2: DaNinja it returns S a string that is all console input
DaNinja: is 'out' a reserved word in C#?
BeardedWorm_b2b9: my game Deno
SyedW: newbie question: do we submit code after every pass test? or, do we submit after all tests pass?
jacek: after all tests pass. you can submit any time actually
SyedW: :thumbsup:
jacek: and validators sometimes differ from tests to avoid hardcoding answers
SyedW: is there a way to debug the code in the codinIDE ? the process to hook up with local IDE seems complex. What do you guys typically do?
SyedW: the input is lost in local IDE it looks like
jacek: in here you can print to stderr
Trist0214: unless im using a local ide, use a ton of writelines
TobiasA: bruh
BlaiseEbuth: Yourself!
KMBT: For The Steam House Join: https://escape.codingame.com/game-session/8Hv-chi-u8Z-Brz
erich0123: is there a way to keep trying the current problem if you don't finish on time?
Therabidpanther: do not believe so, but you can find the list of problems somewhere and just keep trying on your own
AntiSquid: oh new escape room ?
AntiSquid: for clash ? erich0123 just stop playing clash easy
AntiSquid: any puzzle has no time limit
AntiSquid: it's just clash
WaterCooledTopHat_3613: hi:laughing:
WaterCooledTopHat_3613: Im back
DeeAyDan: I'm trying to do a puzzle that includes encoding. I don't know anything about it, and the amount of things that I found online overwhelms me. Can anyone help me where to start, or what to learn first?
Lucky30_: can you share the puzzle's link
DeeAyDan: https://www.codingame.com/ide/puzzle/chuck-norris
Lucky30_: ow
Lucky30_: this one all you need is to read the description multiple times
Lucky30_: until you understand it
Lucky30_: because it is a straightforward kind of puzzle
Lucky30_: just try to solve it piece by piece
struct: Also trying to solve it on paper might help
Lucky30_: divide and conquer
DeeAyDan: I'll give it a try
Lucky30_: have fun
DeeAyDan: thanks
Lucky30_: google is your best friend
jacek: oO https://img-9gag-fun.9cache.com/photo/a8E62R3_700bwp.webp
AntiSquid: so discriminating against people who remember their past lives? :( Automaton2000 do you remember yours ?
Automaton2000: how much it takes for me to make a game for gba ?
jacek: much less than for nes
BlaiseEbuth: In Russia, after death, you go to gHellag
jacek: is #ru afterlife of #world
Astrobytes: The Ghoulag
BlaiseEbuth: It's a horrible place, composed of nine nested matriochkas. Each for a peculiar type of sinner.
selindoga: i just find this website and this is veryy goood <3
cricri10000: And there are 7 of me
BlaiseEbuth: That seal again...
cricri10000: I am the Seventh Seal
BlaiseEbuth: -_-
cricri10000: Come on, you loved that
BlaiseEbuth: Seventh seal is pacific right, I can see the radioactivity effects...
selindoga: hello Im human :D nice to meet you
BlaiseEbuth: I don't trust you, solve a captcha
selindoga: :( noooo
cricri10000: Hello human. I am an example of bad taxidermy applied to a seal.
Astrobytes: Hello and welcome selindoga
selindoga: hello :D
BlaiseEbuth: Hell ho!
cricri10000: *Hell, oh!
BlaiseEbuth: Hell pointer... :thinking:
Astrobytes: The seal dereferenced a Hell Pointer
Astrobytes: What tragedies will befall us now.
BlaiseEbuth: Automaton2000 will write a song.
Automaton2000: how do you make such a big problem
Astrobytes: With music Automaton2000
Automaton2000: there's also the fact that i can get legend with just one day
Astrobytes: Well at least you're good at blowing your own trumpet Automaton2000
Automaton2000: so what does it take into account the fact that my bot sucks
BlaiseEbuth: He did https://www.youtube.com/watch?v=vpEVsDN84Hc
Astrobytes: :rofl: Pretty sure they played that when I saw them at Wembley a few years back
BlaiseEbuth: :3
Astrobytes: "bollocks, knackers" :rofl:
jacek: cloppers
AntiSquid: https://youtu.be/vpEVsDN84Hc?t=40 it's obsessed with balls
AntiSquid: probably overfitted to the got big balls song from ac/dc :P
AntiSquid: https://youtu.be/RaCUHAkIFRE?t=46
Astrobytes: Well, you got Big Balls, Play Ball, She's Got Balls, Got You By The Balls... probably missed some out
jacek: needs more hidden units
Astrobytes: Is clobber mcts better with EPT variant or just straight?
jacek: do you have eval for ept?
Astrobytes: I could adapt my ab eval
Astrobytes: Was just wondering if anyone had tried it
jacek: not gay mcts is for those who cant do eval
jacek: i use mcts-ept with nn so..
darkhorse64: Give me your eval, I 'll tell you ...
Astrobytes: Cool. Will work on that soon
Astrobytes: :rofl:
jacek: alright. here you go
jacek: http://chat.codingame.com/pastebin/2b309c9b-022a-409f-b710-6c76c8190e54
struct: Is that all of it?
jacek: only first layer
struct: Does not compile, can you post the rest of the code?
struct: :)
jacek: try -std=c++11
KalamariKing: Hello
weishenho: does the game save your solution if you change language?
jacek: if you submited
struct: or if you pressed play my code
DestinyBrown: hey
struct: hi
KalamariKing: howdy
Astrobytes: olaf_surgut: ping, are you there?
jacek: oO
Astrobytes: Oo yourself
KalamariKing: Do y'all pronounce the 'li' in 'linux' like 'light' or 'lit'
KiwiTae: lit
Astrobytes: The latter.
jacek: do you pronounce u as oo or iu then
jacek: lainiux
Astrobytes: Uh. Lih-nuhcks.
Astrobytes: Say it in your best Scots accent
jacek: im not drunk enough
Astrobytes: :rofl:
The_10x_Engineer: :thinking:
Murat_Eroglu: :D
AntiSquid: lee-noox
Astrobytes: I would say you need to pronounce the i and the u the way you (in your accent) would naturally pronounce the first syllable of 'litter' and 'luxury'.
Astrobytes: However you say it, I think people will know what you're talking about :D
AntiSquid: when i hear yoobawntu it's scratching my ears
Passifi: they will understand it maybe, the shame you will bring onto your ancestors though...
Astrobytes: Why would anyone say ubuntu like that
Passifi: isn't ubuntu done by some south african guy ? maybe thats just the way its meant to be said :P
AntiSquid: they find it normal for some reason @_@
VizGhar: AntiSquid I'm looking at your profile :) will you be next Magus? all achievements in next 2 weeks?
AntiSquid: need first in a contest
AntiSquid: which is hardcore
VizGhar: I know. crossing fingers for you :)
AntiSquid: maguz has all ?
AntiSquid: thanks
VizGhar: I should misspell his name right? yes. I believe he is only one with all achievements
Astrobytes: Hopefully it's better than gocoder AntiSquid :)
Westicles: wow, you made 20 smurfs?
Astrobytes: or whatever it's called
VizGhar: that's what he said
AntiSquid: activities > cooperate has the escape puzzles, didn't notice
KalamariKing: I saw they added that a few days ago
AntiSquid: woah ! the assumption ! well i guess it's better than assuming i have no life and millions of facebook friends
VizGhar: I did notice today... maybe they have just added it last 2-3 days?
Astrobytes: Oh I just saw that now
VizGhar: Anti... what?
AntiSquid: what what
Astrobytes: That was aimed at Westi VizGhar
VizGhar: oh ok...
struct: first in contest ezpz
Astrobytes: How's your eval struct
struct: If I dont get first in the contest for at least 1 sec
struct: ill delete
struct: Its hard astro
VizGhar: higher chances for us :D
VizGhar: casual coders
Astrobytes: Noted struct.
struct: Or maybe my current eval is good
struct: And I just cant beat it
Astrobytes: Also possible.
Astrobytes: In fact: the possibilities are an unknown quantity
struct: how is it not true?
struct: Do you know the game?
struct: Ive been searching for someone who knows
Westicles: I've been beta testing, very interesting. 5x5x5 boardgame
struct: 3d?
Westicles: ya
struct: Damn I guess Ill delete now
Westicles: oops, they are telling me that was a secret. disregard
KalamariKing: I'm relatively new to the CodinGame thing so what's all this vocabulary, specifically eval
Astrobytes: eval refers to an evaluation function
struct: evaluating the current game state
Astrobytes: Ah synergy
KalamariKing: Oh that makes sense, thanks
Donald_D._Doge: hi, i am here for D contest
Westicles: oh my
Donald_D._Doge: selected wrong language for onboarding :(
struct: Antisquid alt?
struct: Uses D, anime background, dog on space
Astrobytes: Too obvious.
Astrobytes: Westicles likes a bit of D too.
Astrobytes: :P
Westicles: Ha, when the update broke D I was very mature about it :P
Donald_D._Doge: D for DELETE if no legend
Astrobytes: Westicles: Yeah, hahaha, I admired the restraint :D
Donald_D._Doge: did the recent update kill D ?
struct: Wasn't it already dead?
Donald_D._Doge: if i don't like the game i intend to play with alt and D instead, but if D is borked ...
Westicles: They fixed it already
struct: Im sure the game will please some people
Donald_D._Doge: it always does
Donald_D._Doge: depends who is louder though at the end of the contest
Astrobytes: I have a feeling I'll be on the fence about it. Going by the last few.
Donald_D._Doge: i am surprised the last one didn't appeal to the hardcore love-my-sim-hardcore-wtf crowd
struct: I enjoyed last one
Astrobytes: It was miles better than the pacman one, I still enjoyed it, but it didn't do much for me
struct: not hard though
struct: even amazons would do a better job than pac
AntiSquid: OOC > pacman > spice_girls
AntiSquid: for me
struct: You think pacman is better than the Spring one?
AntiSquid: pacman is the spring one
Astrobytes: OOC > spice_girls > pacman
struct: fall i mean
struct: FB > *
AntiSquid: i didn't enjoy it, but then again didn't have much time for it, out of all CG contests i spent least time on that one
AntiSquid: at contest time
struct: I spent more time understanding pac collisions than on the game
AntiSquid: 1 day ?
struct: probably
AntiSquid: OOC i spent a lot on but then tried random stupid stuff on it
struct: OOC I wanted to try bitboards but I was not good enough so I quit
AntiSquid: like the double NN pipeline which failed :D
Astrobytes: I was on too many painkillers during OOC to properly enjoy it, I must revisit. It was a cool game.
Astrobytes: Fog of war with purpose.
struct: Next one must have fog surely
KiwiTae: i don't like fog :3
AntiSquid: hardest wood :D considering number of people stuck in there
KiwiTae: OOC stands for?
struct: ocean of code
KiwiTae: oooh
AntiSquid: wait no it's not @_@
KiwiTae: lmao
Astrobytes: I thought XR was hardest wood
AntiSquid: the fall contest has highest wood count :D
AntiSquid: thought that was an easy game
AntiSquid: to start at least
struct: I was first in bronze I think
struct: I will be first in bronze this time aswell
struct: :)
KiwiTae: i remember struggling vs code royal wood1 boss
AntiSquid: struct how about instead of DELETE if not legend, just use D ! better bet imo
struct: too late to use D
struct: Im too far now
AntiSquid: too far in what way @_@
AntiSquid: confused
struct: :)
Astrobytes: He's beyond the use of the D
AntiSquid: ya that's why if he fails ...
Astrobytes: A transcendental state fi ever there was one.
Astrobytes: *if, ffs, I'm not writing bash
struct: If D array index starts at 1
struct: Ill use it
KalamariKing: Why ARE there so many languages?
struct: No idea
dreadylein: because mine is better, no mine is better
AntiSquid: you have a few on your profile KalamariKing
struct: Only C++ should be listed
struct: Nothing else
Astrobytes: Switch uppa D fi de Lua
KalamariKing: AntiSquid yeah but something like lolcats. Why is it a thing
DomiKo: struct and python for puzzles
AntiSquid: sometimes you stray from the bright streets and venture into a dark side-street where you are forced to even use VB.net
dreadylein: :D
struct: fair enough
Astrobytes: Many languages, many problems, much choice.
struct: I saw that you got rank 2 on hypersonic grats DomiKo
Astrobytes: Choose the right tool for the job
DomiKo: yeah
DomiKo: but its very close
Astrobytes: Oh nice DomiKo
AntiSquid: quite sure you can drop since hypersonic is random :P
DomiKo: not that much
struct: random bettwen rank 10 and 100 maybe
AntiSquid: wasn't smitz 1st there ?
struct: where all the bots are the same
Astrobytes: Beam or a different approach DomiKo?
DomiKo: random between 1-5
AntiSquid: even top 10 is random
struct: Downside of 4 player games
AntiSquid: not sure about karlizo
DomiKo: i don't know about siman
AntiSquid: you just pinged siman, should misspell siman's name instead of typing it out
DomiKo: only top 5 is shuffling
DomiKo: ohhh
DomiKo: Astrobytes Beam ofc
AntiSquid: saw Marshete higher
Astrobytes: Depends if you want him to explain or not, karliso usually explains if pinged
struct: What was the other guy name?
struct: I cant remember
struct: he had beam search type like algorithm
DomiKo: I know that I and simen done like 500 submits
struct: The guy that got legend in 1 day
DomiKo: soo
struct: choku
AntiSquid: chokudai
struct: chokudai
Astrobytes: oh chokudai
AntiSquid: 8 hours actually (someone insisted)
AntiSquid: i didn't stalk leaderboard that long
DomiKo: I can say that in 1 vs 1 I can beat everyone except Karlisu
DomiKo: he is soooo strong
struct: Maybe he uses chokudaisearch
DomiKo: width isn't the problem
DomiKo: I don't use fixed width too
Astrobytes: width based on some score range?
DomiKo: I would say that width is just a bound
DomiKo: and the most important part is to prune a lot of state
Astrobytes: Makes sense
DomiKo: I have some ideas, but I will try them after the contest
DomiKo: maybe one day I will get 50% against current leader
Astrobytes: I have faith
DomiKo: because right now my highest is 48% in about 1K games
struct: What was chokudai for again?
struct: I cant exactly remember
AntiSquid: so you sim best mioves for opponents or not @_@ DomiKo
Astrobytes: Was the jp puyo-puyo contest no?
AntiSquid: or you give them some random ? some rule-based picks ?
Astrobytes: The one with numbered balls
DomiKo: AntiSquid I'm prepared for many things
struct: o.o
DomiKo: you can watch some me vs Karlisu
AntiSquid: i am just asking how you pick the moves for opp in your search
DomiKo: you will see some magic sometimes
Astrobytes: Trade secret AntiSquid :P
AntiSquid: it doesn't show in replays
DomiKo: I pick 2-3 moves for them
DomiKo: with same beamsearch
DomiKo: and based on 10K games I can predict like 80% moves of top10 players
DomiKo: ~80%
AntiSquid: so everyone except for you and karlizo
DomiKo: but choosing one sequence of moves for opponents isn't enough :(
DomiKo: https://www.codingame.com/replay/545241845
DomiKo: it's a nice replay
KalamariKing: So its a bot-powered GameOfBombs
AntiSquid: see you on contest day :D
got some busy week ahead again
AntiSquid: gn8
KalamariKing: This'll be my first contest, could someone explain how it works?
KalamariKing: Is it a bot battles thing?
struct: yes
KalamariKing: Oh I suck at those, ok thanks
DomiKo: you have 11 days to learn it
DomiKo: so good luck
KalamariKing: Thanks
KiwiTae: KalamariKing its ok , try your best and learn from it
KalamariKing: Lol yeah I expect to lose, but learn
Enknable: 11 days?
Enknable: i thought it started on the 6th
KiwiTae: ull surely suck less than others if you practice one bot programming before then
DomiKo: contest last 11 days
KalamariKing: It does, but its 11 days long
Enknable: oh right right
Enknable: learning on the job
Enknable: :)
struct: Last contest I had no idea what Beam search was
struct: I talked with someone and learned it in under 5 minutes
KiwiTae: and now you throw beams
Astrobytes: I just read that as beans, fml
struct: build taking so long :zzz:
Astrobytes: What are you building
struct: The code
PatrickMcGinnisII: bean holder
struct: 55k chars
Astrobytes: Ah
Astrobytes: PatrickMcGinnisII: I have now flicked the bean
PatrickMcGinnisII: what's new peepz?
struct: Windows dev build is full off bugs
struct: this was a mistake :(
PatrickMcGinnisII: what's next contest gonna be?
Astrobytes: Bean flicking.
struct: im not allowed to say sry
p0int3r: :flag_ma:
Astrobytes: Are you still having issues with that struct?
struct: im still on it yes
struct: Maybe im just dumb
PatrickMcGinnisII: I hope it doesn't involve PI
Astrobytes: This *is* windows we're talking about so keep an open mind
struct: Ctrl shift switches my keyboard layout
struct: despite being disabled
Astrobytes: How about Magnum PI tho
struct: Night light doesnt work half the time
struct: Random fonts in menus for no reason
Astrobytes: Localisation issues?
struct: If I wasnt on dev build i would think I had a virus
struct: The keybind to switch is disabled
struct: but it still switches
struct: 10/10
PatrickMcGinnisII: i have an app that defaults to chinese in windows... have to change everytime i open it
Astrobytes: Definitely seems like locale issues, you should report this stuff
PatrickMcGinnisII: has to do with app being registered to user instead of a default admin
PatrickMcGinnisII: or vice-versa
struct: I was going to report
PatrickMcGinnisII: run it off a thumbdrive and it defaults to chinese
struct: But they want so much stuff
struct: Like video + statement
Astrobytes: Hey, feel sorry for the MS guys. Come on, have you not seen the code for windows calc
struct: no
Astrobytes: A VIDEO?
struct: Yes
struct: and I cant preview it
struct: so i ditched
struct: fck that
Astrobytes: struct: https://github.com/microsoft/calculator/
struct: which calculator do you use on windows?
PatrickMcGinnisII: eww graphing, i can break it
struct: I use speedcrunch mostly
Astrobytes: It's like that EE Java FizzBuzz repo, but real. The GUI stuff... Oh god
Astrobytes: Oh speedcrunch looks nice, I usually use an offline calc
Astrobytes: Honestly. WHY is it sooooo very hard, just to give C++ devs a decent way to do native GUI on windoze
struct: no idea
Astrobytes: EVEN THEY DON'T KNOW
KalamariKing: lmao the windows devs hate windows
Astrobytes: That calc repo is horrifying
Astrobytes: I'm no evangelist for any OS or way of working but ffs windows
Astrobytes: I know there are plenty usable gui libs available but ffs, can't I just do it natively? :angry:
Astrobytes: Anyway. I am tired.
struct: its like having to set up docker to play cg
struct: oh wait
Astrobytes: Worse.
Astrobytes: Alright, gn all, cya tomorrow
struct: gn
KiwiTae: gn
KalamariKing: Chat went to sleep with Astro, huh
BigFatDecker: with open("F:/Nebula0.0.5/chatdata/reddit_data/{}/RC_{}".format(timeframe.split('-')[0], timeframe, buffering=1000) as f:
^
SyntaxError: invalid syntax
BigFatDecker: whats wrong with this
BigFatDecker: actually ill use pastebin one sec
Enknable: looks like u want an fstring
Enknable: buuut
Enknable: u got no f
Enknable: ah nm lol
Enknable: is buffering=1000 supposed to be in format()
BigFatDecker: ok so would the syntax eyes it is
Enknable: with open("F:/Nebula0.0.5/chatdata/reddit_data/{}/RC_{}".format(timeframe.split('-')[0], timeframe-->)<--, buffering=1000) as f:
BigFatDecker: also could it be caused by not having the file fully downloaded? i didnt think it would give a syntax error
Enknable: nah that would throw some permission error
Enknable: on runtime
BigFatDecker: yea thats what i thought
BigFatDecker: i still get syntax error even with what you said
BigFatDecker: https://pastebin.com/XXwmSFrB here is the full code
Enknable: on that line?
Enknable: 37.
Enknable: with open("F:/Nebula0.0.5/chatdata/reddit_data/{}/RC_{}".format(timeframe.split('-')[0]), timeframe, b uffering=1000) as f:
Enknable: thats compiles for me
Enknable: hopefully you didnt put in the --><--
Enknable: :(
BigFatDecker: oop had a random indent in there
BigFatDecker: IndexError: tuple index out of range is this the error that happens when the file isnt loaded
Enknable: parent_id = row{'parent_id']
Enknable: umm
Enknable: does it hit print(Row) ?
BigFatDecker: yep i saw that error too it need to be [
Enknable: yeah thatd be syntax too anyways
BigFatDecker: it compiles all but this error
Enknable: gotta include the error log
BigFatDecker: im thinking its because the folder is there just not the actual file at least thats what i found from looking the error up
Enknable: yeah depending on which module throws th error
BigFatDecker: alright cool haha now i just gotta wait for the 200 gb files to download haha
Enknable: depending on how far in
Enknable: i think you can chunk it
Enknable: then process it after it dl's
Enknable: :thinking:
BigFatDecker: yea haha itll be awhile tho im barely 6GB in i had to download it as torrent and its going extremely slow
Databro: Does anybody know what this chat is? I'm new and I just clicked on something, now I can't leave
Databro: How do I leave? Is this chat just gonna stay on my account the entire time?
struct: you can click on the triangle thing and it will minimize it
BigFatDecker: theres a little arrow bottom left
struct: or you can add ?disableChat to the end of the url
Databro: I see it now, thank you. How did I get added to this chat?
ZarthaxX: hacks
ZarthaxX: Databro you unlock it on lvl 3
ZarthaxX: it appears automatically once you hit lvl 3
Databro: Oh I see. I'm sorry y'all. I'm new and I'm just lost in the sauce with everything
ZarthaxX: its ok :)
BigFatDecker: im getting another syntax error on this https://pastebin.com/Npf17sYN line 6
struct: BigFatDecker isnt it == ?
BigFatDecker: i thought that set it as the string i just want to check if it equals deleted
struct: to check if its equal you need to use == I think
struct: = is to assign
BigFatDecker: i dont know IDLE keeps throwing syntax errors that nothing else is catching
nugghead: heu
nugghead: hey
struct: def acceptable(data): http://chat.codingame.com/pastebin/9a688f2b-9f36-401c-991d-ee4096766252
struct: This compiles fine to me
BigFatDecker: hmm do you know of any reason IDLE isnt working it keeps giving me syntax errors
struct: Does it now show what the error is?
BigFatDecker: https://pastebin.com/PQmaTese
BigFatDecker: here is the code its showing an error on def sql_insert_replace_comment on the except block
BigFatDecker: saying it needs to indented when it is
Smelty: o . o
struct: try:
except Exception as e: print('replace_comment',e)
struct: this doesnt look rightg
struct: But I dont know py3
struct: Can try be empty?
mustardpudding: try: http://chat.codingame.com/pastebin/e7f217ef-ac1f-479f-a25c-f386d3b9afb2
mustardpudding: oh whoa i was not expecting it to format like that
BigFatDecker: oops i feel dumb not sure how that happened lol
BigFatDecker: maybe ive been staring at this code too long haha
nugghead: i have an interview tmrw with thales :(
nugghead: wish me luck
KamalOS: nugghead, Bonne chance!
nugghead: haha l3ez bro
nugghead: @kamalOs Mr ?
KamalOS: btowfike bro
KamalOS: yes Mr
nugghead: ahah thanks dude appreciate it
nugghead: fin tskn btw ?
hex.master8: good luch
hex.master8: luck
KamalOS: @nugghead Don't be afraid or worry, "we already naked" - jobs
nugghead: No, dw, I'll probably pass a technical test, haha that why im practicing codin game right now
nugghead: but whatever
BigFatDecker: ok so am i getting a pasing error on this code because the file doesnt actually exist yet or is there something else wrong with this code
BigFatDecker: https://pastebin.com/wBXEfLXC
BigFatDecker: File "nebula_database.py", line 123
^
SyntaxError: unexpected EOF while parsing this is the error
davilla: you're writing to a file... on CodinGame?
davilla: pretty sure that's gonna fail
MadKnight: yea it runs in a sandbox
Huntz: @BigFatDecker last line is missing a )
davilla: woah really? I did not know
KamalOS: How can I get a problem, I passed it in Clash of Code?
davilla: I've heard you can't get back into it
KamalOS: @davilla ok tnx
KamalOS: is there any chance to repass an old clash problem?
ZarthaxX: i think you cant
ZarthaxX: :(
BigFatDecker: ok so for time frame i want to put a list of multiple files how could i do that with this code
BigFatDecker: https://pastebin.com/wBXEfLXC
BigFatDecker: i want to make the database with more then one dataset
BigFatDecker: but i need them to run one after the other automatically
ZarthaxX: what are you talking about lol
BigFatDecker: im trying to make a database with the above code and instead of making multiple i want to put all datasets into one database file instead of multiple
BigFatDecker: i just need to know how to list all the differant files
BigFatDecker: https://www.youtube.com/watch?v=K2hFNFN9lRc&list=PLQVvvaa0QuDdc2k5dwtDTyT9aCja0on8j&index=2 this is the tutorial im following i need to know how to list timeframe like he says