Chat:World/2021-03-19
someone-owo: waitin for it to start
someone-owo: https://www.codingame.com/clashofcode/clash/1645631011899fea80bccbf09855319ecdfedb2
someone-owo: now dont join this lol
someone-owo: https://www.codingame.com/clashofcode/clash/16456752b6673362da3569975e02f617b895503
someone-owo: joinnnnnnnnnnnnnnnnnnnn
Uljahn: pls no spam here
Uljahn: use #clash channel for invites
MangoBirb_99: guys for some reason my inputs dont work please help
InCog: can anyone help me with my code?
MSmits: Try 1234, best start in bulls and cows
InCog: js
InCog: I am not sure whether rounding negative values in js has any unforseen effects
InCog: like whether it rounds off wrongly
MSmits: do you mean unforeseen negative effects?
davilla: should round to nearest int by IEEE standards
InCog: guess you could say that MSmits
MSmits: it's easy to test
MSmits: do some error output in the puzzle
MSmits: for rounding -1,5 and + 1,5
MSmits: see what it does
MSmits: then you can stop worrying
davilla: at exactly the halfway point, it's supposed to round to the even number
MSmits: so also test 2.5 and -2.5
MSmits: just make 4 error statements that print these numbers rounded
davilla: so -1.5 and -2.5 should both go to 2
InCog: aight
derjack: good morning
derjack: ive been pushed in uttt i thought after your resubmit ill go down
derjack: oware is also interesting
derjack: somehow after retraining from scratch again i am better but i losing more to agade
YurkovAS: in oware you use bytes board int8_t boards[2][6] or uint64_t boards[2] ?
ErrorRazor: Looks like 999 frames is the maximum in the sponsored contest... o.O
derjack: board[12]
derjack: well houses[12]
YurkovAS: maybe uint64_t is faster
derjack: only smits is crazy enough to use bitboard for that
derjack: but >90% time is spent on eval so i dont care that much anyway
YurkovAS: do plan to make NN for csb?
YurkovAS: top1 of 100k users :)
derjack: not in nearest future yet
derjack: i need to fix my.sim
someone-owo: mhm
jrke: an highly optimized sim + good evaluation system + bug free game engine can easily give you top 50 in lengend in CSB
magaiti: yep, just 3 extremely hard to achieve things and you are golden
AntiSquid: :D
someone-owo: :D
AntiSquid: imo UwU > OwO
derjack: :3
magaiti: ⌒ω⌒
someone-owo: oof
aCat: what was the name of the puzzle with hidden input?
aCat: there was one, probably from sponsored contest, I don't remember well ?
InCog: the nintendo one?
AntiSquid: codingame sponsored something lol
AntiSquid: :D
InCog: or the backtracking one
AntiSquid: check optimization section aCat
AntiSquid: it's in there
aCat: aah its optim
aCat: thanks AntiSquid
aCat: :kissing_cat:
AntiSquid: don't, no kisses no hugs, just social distancing is fine @_@ i'll wear my :mask: for once
aCat: cat's do not transfer the virus
aCat: we can hug freely :P
AntiSquid: it's not about the virus
AntiSquid: which has 99.74% recovery rate
AntiSquid: it's about being a bit too close @_@
aCat: pfff
AntiSquid: you're not the type of cat i'd keep as house pet either
AntiSquid: how's COG coming along aCat ?
aCat: you mean contest?
AlexAkaJustin: any good guy that can teach me sum c++
UnnamedCodinGamer: try Bjarne Stroustrup
BlaiseEbuth: Uljahn ! We're back ! :imp:
darkhorse64: The right to throw innocent souls to CG hell ?
BlaiseEbuth: :smiling_imp:
darkhorse64: OK, not so innocent
derjack: oO
AntiSquid: buh
kaushik_ss: http://chat.codingame.com/pastebin/ca8cfbd2-4504-4632-a8c1-70d1cc5135b6
Sparow: Hi everyone, someone can suggest me an IDE for C or C++
Sparow: ?$
AntiSquid: visual studio code
Sparow: VS code doesn't work, even thought I use code runner
Sparow: And i've already check the PATH
AntiSquid: that's on you
AntiSquid: works wonders for me, either you fix your setup or you wait/look for a suggestion
AntiSquid: did you use visual studio then?
Sparow: I only use VS code to edit but I can't build
AntiSquid: there is visual studio and visual studio code
AntiSquid: try to see if the other one works
Sparow: ah ok thx
origami091: why am i in discord?
AntiSquid: not best chat to ask about your existential issues, honestly i don't know either why you're there
derjack: lets live in harmony instead
origami091: dude i came here to code not to chat
AntiSquid: then feel free to stop chatting
ProjectHadez: OOF my two liner answer isn't going to cut it
origami091: But it keep bugging me
origami091: about this diccord
AntiSquid: this is the webchat, not the discord chat
jacek: there is triangle at the bottom. you can hide the chat
origami091: this is discord to meh
jacek: nope. its xmpp
ill-be-waiting-outside: yes it will be much easier it focus
origami091: what does a moderader do?
ill-be-waiting-outside: A moderator facilitates, reviews, and guides a discussion or debate and related interactions to ensure all shared content is appropriate and follows community rules. You can find moderators in a variety of industries and contexts online or at events
ill-be-waiting-outside: i think
BlaiseEbuth: No.
BlaiseEbuth: A moderator kick and ban !
ill-be-waiting-outside: oh
AntiSquid: "Community moderators ensure community members respect the Code of Conduct in all these places." that's it
AntiSquid: https://www.codingame.com/playgrounds/40701/contribute---help/chat-moderation
AntiSquid: no idea why it's in the contribution section though :D
jacek: so it can be rejected
AntiSquid: i would expect it in faq
BlaiseEbuth: Cause as moderators we contribute to the community...
AntiSquid: but nobody says we need to moderate contributions @_@
AntiSquid: and that bit is for chat only
AntiSquid: contribution guidelines #5:
Contributions must be original. (for all games but Clash of Code)
AntiSquid: so clash of code can be repetitive :D
AntiSquid: get clash idea => change statement => change validators => publish it
BlaiseEbuth: :zipper_mouth:
Dan4Life: Hi
Dan4Life: just here to make things lively
onizuka_341: how can i play against a friend ?
Dan4Life: private clash
sonic1991: anyone knows how to print message withou affecting the resuts of the task
jacek: print to stderr
BlaiseEbuth: Oo
Enwynn: Does anyone know what to work on if you want to solve the problems more effienctly if you are using Java :)?
BlaiseEbuth: Learn c++
darkhorse64: faster ? better algorithms ?
Enwynn: Maybe like streams or other tools im missing out on are important in these problems. Im just using things I learnt at college.
Enwynn: I know C++ should I use that language instead? Im completely new to this.
AntiSquid: yes use what's best for you
AntiSquid: don't play clash, there are better ways to spend time
sonic1991: I think C++ is the most efficient for most time, but thats not the only argument to be led by
sonic1991: pyhton is less efficient but it less code
AntiSquid: you only need less code in clash
sonic1991: Sometimes its about time
sonic1991: but yeah mostly less code
AntiSquid: you can prototype in python
sonic1991: I lose with pythons always
BleedingTime: Take that back, Python is my baby
BlaiseEbuth: Your baby is ugly.
AntiSquid: you don't look anything like Guido, BleedingTime
AntiSquid: /kick BlaiseEbuth
sonic1991: I don't know python but looks mysterious sometimes but its mystery that can be solved
sonic1991: when I look at some C++ code
BleedingTime: I have nurtured it with my attention and love
sonic1991: this mystery is unsolvable for me xD
AntiSquid: python is one of the easiest languages to learn, just look up a tutorial if you need it
BlaiseEbuth: Throw him with the bath water !
sonic1991: I ment c++ is hard at some point
moyindavid: figehrikghfdsikohgj
AntiSquid: moyindavid don't .
BlaiseEbuth: Naaaaa! squid was faster
Dan4Life: lol
Dan4Life: someone went to his keyboard and did that
Ahmanny: 90u4wgtustifgjfihgury8g
Dan4Life: thats my friend
Dan4Life: kick them
AntiSquid: starting to ban next, stop .
sonic1991: anyone trying blockchain ?
BlaiseEbuth: naaaaaaaa toad was faster
Enwynn: Maybe try decode the message.
eulerscheZahl: hi
BlaiseEbuth: o/
AntiSquid: it's gibberish
eulerscheZahl: what a great time to open the chat
AntiSquid: it's like trying to decode static noise
BlaiseEbuth: blockain is something in minecraft
BlaiseEbuth: *blockchain
struct: you can learn abot blockchains here
struct: https://www.codingame.com/multiplayer/bot-programming/smash-the-code
BlaiseEbuth: ... ?
BlaiseEbuth: sonic
AntiSquid: https://www.guru99.com/blockchain-tutorial.html here's a real tutorial on blockchain (no trolling this time)
AntiSquid: it's very useful knowledge
sonic1991: Did you build something in blockchain ?
sonic1991: was it hard to grasp for you ?
AntiSquid: that info is classified
eulerscheZahl: try anti[tab]
kovi: try angle...
InCog: anyone can help me with a puzzle
InCog: in js
InCog: I can send my code and the puzzle if you have time to help
BlaiseEbuth: In gcc language, "free(): invalid pointer" mean "You gonna throw up blood"...
BlaiseEbuth: InCog: https://how-to-properly-ask-a-question.surge.sh/
InCog: aight thanks
InCog: https://www.codingame.com/ide/puzzle/dolbears-law
InCog: my code fills almost all the criterias
InCog: but fails at 1 point which is for the winter is coming test in the validator
InCog: http://chat.codingame.com/pastebin/f9661c81-9948-4f7d-b74e-831afa390d82
InCog: thats the code
InCog: Idk why cause it completes all the test in the actual puzzle
InCog: like for the testing part
BlaiseEbuth: o/
heloche: thanks to this website
AntiSquid: really?
Wontonimo: I'll be happy to take a 2% cut for my efforts
AntiSquid: wow
AntiSquid: congratulations heloche
BlaiseEbuth: gg
Wontonimo: \o\ \o\ |o| |o| /o/ /o/ \o\
Wontonimo: here's a wave for you
AntiSquid: but tell us more about how that happened
AntiSquid: or share your blog article about it
BlaiseEbuth: ZE blog
heloche: don't have a blog....
AntiSquid: it's ok you have a job
Scarfield: https://www.codingame.com/blog/
jacek: how CG helped getting a job? you codegolfed code and it passed code review?
AntiSquid: ya that's why i asked too, is it through the website itself or did another company refer you to the website to pass a test?
ozzy120937: Hello i'am an intermediate level programmer but im having a hard time understading what some of these games want me to do any tips on this?
InCog: what gaem
InCog: games
InCog: Like which games are hard to understand
ozzy120937: The relatively "easy" ones like Power of thor
InCog: just asking which direction is the light
InCog: from thor
InCog: N E S W
InCog: And likewise NE SE SW NW
ozzy120937: Ah, i see (english is not my native language so bit of trouble there) thanks for the tip
jacek: oh my
jacek: :horse2:
ill-be-waiting-outside: cool
jacek: http://chat.codingame.com/pastebin/54717091-b342-4e3a-b19f-33dde76e9165
jacek: doh
jacek: yes, chinese wall
**jacek phews
Scarfield: leaked
jacek: where would you use it, clobberfield
Scarfield: 櫩 should have been a 旖 though
BlaiseEbuth: "The old travel and the tactics to cut off the sorrow, the sorrow, the joy, the climbing, the lifting, the old, the, the, the, the, the, the, threshold, the" :thinking:
BlaiseEbuth: AutomatonNN ?
AutomatonNN: why do you need to be more or less than the programming language in which case?
CoudsiManiac: Hi everyone, I
jacek: you?
BlaiseEbuth: " if you are not in the morning, it is not a good thing." :o
CoudsiManiac: http://chat.codingame.com/pastebin/1d8ffdc6-9d5c-4b5e-adad-94b87fe24a9c
BlaiseEbuth: You can not go back in a previous league.
CoudsiManiac: Oh ok @BlaiseEbuth, thanks. It's a bit annoying since now many more things are happening at the same time ^^
heloche: bet I can beat you on 1-1 challenge
JohnathanBarbee: okay
jacek: AutomatonNN where do frogs come from
AutomatonNN: you can do it
Wontonimo: looks like AutomatonNN is tired of doing your google homework for you
AutomatonNN: eulerscheZahl is there a way to see a way to see it and start the top players to do the best place t
jacek: :F https://www.phoronix.com/scan.php?page=news_item&px=Rust-Hits-Linux-Next
Schyte: x ve y yi degiştiremiyot
AntiSquid: english or nobody will understand you
eulerscheZahl: "rum" is English, isn't it?
eulerscheZahl: also: i hate that Automaton bot, one day i'll just ban it
orangesnowfox: lol, euler
AntiSquid: the line before that @_@
jacek: about rust? :f
AntiSquid: also rum is same word in many languages i am sure
AntiSquid: even AutomatonNN has better reading comprehension than you folks
AutomatonNN: hey hi all :D
AntiSquid: see?
jacek: meow
orangesnowfox: Okay, so clearly dfs isn't the best way to go about 2048... (only reaching depth 8 :v)
eulerscheZahl: read the tags, they might contain a hint
orangesnowfox: beam search, yeah, just never used it before
eulerscheZahl: 2048 is a great place to start
orangesnowfox: good to note, really weird that my dfs with depth 8 and "using up the extra moves" is enough to get rank 80 or so though
jacek: dfs? like minimax here?
orangesnowfox: ... Minus the mini part?
jacek: oh right
jacek: welp the main issue here was number of moves vs quality per turn
jacek: you get only 50ms (or less, due to buggy optim timeouts)
jacek: so is it better to have 30 moves with 1ms search, or 10 moves with 3ms search
orangesnowfox: Yeah, `-LRURDURURUUURUUUUUUUULULULLDLRRDLULDUDDLUUURRURLURDDURRRLDLLL` I have moves in spades though (that was the last turn)
orangesnowfox: The answer is probably "try to exactly use up all your moves"
jacek: and rust is 1st :unamused:
orangesnowfox: Hey, jacek
orangesnowfox: Want to get more upset?
orangesnowfox: Look at rank 82 :p
jacek: :scream:
AntiSquid: why? rank 81 is also rust and better
orangesnowfox: lol
orangesnowfox: AntiSquid, I'll beat rank 81 in less than 24h I promise :p
AntiSquid: look there is a D on 57
orangesnowfox: Look there's a python on 31
jacek: and php at 45. probably hardcoded
AntiSquid: you can hardcode in 2048 ??
orangesnowfox: jacek: doubt, one of the validators is random, and there's like 30
orangesnowfox: Huh... AntiSquid: Actually yes. Didn't think about that
orangesnowfox: Only one of the validators *is* random
AntiSquid: you don't have the validators
jacek: you know the seed and rng
jacek: validators are named after seed
AntiSquid: oh ok
jacek: unles euler is a troll
orangesnowfox: eulerscheZahl: are you a troll?
jacek: so its deterministic
orangesnowfox: yeah
AntiSquid: you can make the script fail on specific seed so easy to verify
orangesnowfox: AntiSquid: yeah, but who is going to submit for *every* validator to check that? lol
eulerscheZahl: orangesnowfox 08:11PM eulerscheZahl: are you a troll?
my cover is blown
AntiSquid: well if you hardcode you will do it 1 by 1 so ...
orangesnowfox: AntiSquid: if you hardcode you're going to do all of them offline by writing a program that exhaustive searches up to some insane depth picking each move as you go through that
eulerscheZahl: testcases are the same as the validators btw
orangesnowfox: ye, figured
eulerscheZahl: minus the random one
orangesnowfox: well, it's the same, just... Random
eulerscheZahl: CG shows the wrong titles on submit
AntiSquid: so ? orangesnowfox that doesn't change what i said you have to check seed to make sure you give correct hardcoded output
orangesnowfox: AntiSquid: true, I suppose
AntiSquid: lol
orangesnowfox: Except euler already confirmed the seeds are the same (which means as long as your generation program isn't buggy it works, so you don't have to test them individually)
jacek: do you believe that troll
orangesnowfox: ... lol
AntiSquid: wtf is this thing? https://www.codingame.com/servlet/fileservlet?id=58154388049573&format=profile_avatar
eulerscheZahl: your profile pic looks familiar orangesnowfox. did you change your nick? was it something with an i at the beginning?
orangesnowfox: izik1 it used to be
WKDE: Hi folks, have a somewhat strange issue. I started doing Bender Episode 1 (to get to the next level) and succeeding all 12 test cases in IDE. When submitting i reach only 91% since only the 1st (and easiest) TC fails. Any idea how to understand what's going on? Thx
orangesnowfox: eulerscheZahl: it fits the rest of the names changing ;p
eulerscheZahl: other changes= did you get married?
orangesnowfox: ... No, I uhh, changed my first middle and last name. I'd rather not go into more detail than that
eulerscheZahl: you started that topic ;)
orangesnowfox: mm, yes, suffice it to say, the name I was given 19 years ago isn't a name I like now
jacek: WKDE validators are different than testcases
jacek: it means your solution isnt general enough or fails on some edge cases
eulerscheZahl: I hope witness protection allowed you to go back to CG
orangesnowfox: ... hahaha, not witness protection, although maybe I should let people believe that
WKDE: sure, it's just odd that the simplest validator fails whereas all others are fine :-/
eulerscheZahl: hard to tell without code
eulerscheZahl: you could try https://www.codingame.com/multiplayer/optimization/bender---episode-4 at least you get visual feedback there :P
WKDE: hehe
orangesnowfox: hahaha, euler... at some point I'm going to do that
eulerscheZahl: when did squiddy beat me at bender?
eulerscheZahl: (╯°□°)╯︵ ┻━┻
BlaiseEbuth: Tentacles...
orangesnowfox: maybe when I beat you at CFunge?
eulerscheZahl: ┻━┻ ︵ ¯\_(ᴼل͜ᴼ)_/¯ ︵ ┻━┻
kovi: last week i think, i have noticed postion change after talking with msmits
WKDE: i think i found a hint in the forum , ( #@$# case )
AntiSquid: hey euler, about that, was intended to ask you if you intentionally added specific patterns, my solution isn't great btw
AntiSquid: intending *
eulerscheZahl: all validators are generated
eulerscheZahl: build random maze randomly place fields and switches
AntiSquid: so everything is a coincidence?
AntiSquid: ok
eulerscheZahl: then remove a few walls, place some garbage balls
eulerscheZahl: run BFS solver to check if there is a solution but > 100 steps
AntiSquid: ah i found a stupid simple approach lol ... garbage balls are bonus added on top and my shortener for output isn't best approach, dbdr can go lower i think
eulerscheZahl: i have a pattern in that? interesting, wasn't aware. it might be that some switches are useless if that's what you mean.
AntiSquid: a general pattern in all maps
AntiSquid: i mean it's same kinda detail
eulerscheZahl: hm, and i let the generator run for almost an hour to find these maps :(
AntiSquid: so there's the pattern detail + one other trick i noticed for pathfinding
AntiSquid: and then for shortening i have a somewhat cheap approach
Wontonimo: ah, just tuned my 2048 heuristic and moved from 59 to 44th place. Nice bump for a little work. No hardcoded anything.
eulerscheZahl: i have no idea what you are talking about
eulerscheZahl: congrats Wontonimo
AntiSquid: have no idea what i talk about?
eulerscheZahl: yes AntiSquid
AntiSquid: or wonto ?
AntiSquid: ah ok
eulerscheZahl: race condition
AntiSquid: regarding the pathfinding trick ?
eulerscheZahl: yes
Wontonimo: sorry for the totally off topic comment ... looks like my chat window was frozen on previous 2048 talk ...
AntiSquid: i realized how to quickly find a path without all the complicated details i discussed with mcsmitz
eulerscheZahl: intended solution is a BFS with 3 dimensions (x,y,switch state)
Wontonimo: let's see what we are talking about now
AntiSquid: for bender 4 you inded a solution with 3 dimensions? you can do it with 2
AntiSquid: intended *
AntiSquid: but maybe one can find better paths with 3D i guess ?
eulerscheZahl: no other tricks like nested BFS or combining x+y to 1 dimension?
eulerscheZahl: then i'm clueless
eulerscheZahl: i can prove that mine is the shortest path (ignoring compression and garbage balls)
eulerscheZahl: 4886 steps on submit
AntiSquid: i don't completely ignore garbage balls
eulerscheZahl: i only move at most 1 to reduce branching
AntiSquid: euler i am not sure what you mean by nested bfs
eulerscheZahl: the mess that smits described
AntiSquid: ah lol
eulerscheZahl: totally over-engineered :D
Astrobytes: A 'nested bfs'?
eulerscheZahl: marco BFS how to go from 1 switch to another
eulerscheZahl: and BFS for switch order within the single steps in between
Astrobytes: Intriguing
AntiSquid: is a bfs for each state over-engineering too ?
orangesnowfox: is my obsession with bitvecs for boolean arrays over-engineering?
AntiSquid: btw you can run bfs once . and yes use x and y as one dimension each . then the magic sauce
eulerscheZahl: no idea, i'm way too tired tbh
Astrobytes: Bitwise is life orangesnowfox
orangesnowfox: lol
Astrobytes: hi everyone btw
AntiSquid: what bitvecs are you using orange ?
eulerscheZahl: btw: don't forget about hashcode next weekend
kovi: ?
eulerscheZahl: hi Astrobytes
orangesnowfox: AntiSquid: 2048, `merged` bitvec
eulerscheZahl: i'm still not used to your new avatar
therealbeef: Uhh: Best score
44163.030000000006
Astrobytes: It's almost identical! Switched a ducky to a musical keyboard lol
AntiSquid: do you mean bitset orangesnowfox
orangesnowfox: yes, sorry orz
eulerscheZahl: somehow the color brightness just doesn't match
kovi: i hardly recognize my bender code
orangesnowfox: I also use them in the fall 2020 challenge for recipe exhaustiveness, ocean of code for maps, etc etc
Astrobytes: Blame Scarfield
AntiSquid: ok i use bitsets too for convinience, some people keep saying uint is faster for use, but then others say compilers these days are very smart so it doesn't matter, so i stick to bitset
kovi: but it looks similar to msmits ideas
kovi: i was afraid from the dimensions of one single bfs
orangesnowfox: AntiSquid: sometimes I'm using the bitsets for memory usage and cache efficency tbh
Astrobytes: Never compared performance of the two tbh AntiSquid
AntiSquid: how many bfs do you run kovi
AntiSquid: for bender
AntiSquid: and is it 3D ??
AntiSquid: just curious
AntiSquid: didn't think of 3D approach lol
kovi: seems messy. i calc a few dfs
kovi: bfs
Astrobytes: I think I would condense that to 2D (1D indices)
kovi: and than try to chain them together
kovi: with some dependency...and again bfs
kovi: it can also handles pushes
AntiSquid: https://www.codingame.com/multiplayer/bot-programming/penguins Ahmet_Sahin make a submit here! fun bot programming
dirty_code: hello, what is your favorite bot programming game in compete section?
AntiSquid: hi dirty_code, it's this one : https://www.codingame.com/multiplayer/bot-programming/botters-of-the-galaxy
jacek: :notebook: :soccer:
AntiSquid: how so ErrorRazor ?
orangesnowfox: AntiSquid, I like it too, it's the only one I wrote a postmortem for
AntiSquid: thx
orangesnowfox: But my bot sucks xd
ErrorRazor: AntiSquid you made it?
Astrobytes: A bot that sucks is better than no bot at all.
jacek: no
jacek: who advertises their game anyway
Astrobytes: Not you jacek. Definitely not you.
AntiSquid: i asked a question first ErrorRazor
jacek: eeyup*
AntiSquid: so you should have the decency to at least first submit a bot there before continuing this conversation
AntiSquid: submitting *
AntiSquid: nvm that sentence is still messed up, just like my code
AntiSquid: but submit a bot anyway
Astrobytes: Chill Winstons