Amogh.R: how can we see the question after submitting in clash of code ?
eulerscheZahl: search for it http://eulerschezahl.herokuapp.com/codingame/puzzles/
eulerscheZahl: it's slow right now, i'm not sure what I broke :/
jrke: where is git repo for the same euler?
Amogh.R: hmm yes i cant access it
jrke: oh found the repo
Amogh.R: is there any api
Amogh.R: its working now
Amogh.R: thank you
Vigasaurus: I really like https://regex101.com/ personally
thanhhv317: Hi everyone, i just build a website, using Angular9, please review it for me at: https://htblog.tech/
Vigasaurus: your cert is revoked
thanhhv317: but i see it's still work
thanhhv317: thank you bro
jacek: good morning
eulerscheZahl: first you should let us know when programming language you use
eulerscheZahl: probably not a big difference then. in doubt you should just measure it
Knee-Gears: hey euler!
jacek: dont forget to use #pragma optims
jacek: what problem
MSmits: hey jacek, I think you were right about the statistics. Needing a million of games before getting a good idea about what the best moves are
MSmits: my initial guess was correct, but that seems lucky, in hindsight. It fluctuated a lot in between
MSmits: adding steal option was a good idea though
MSmits: move 0 value has been dropping hard, these last day
MSmits: in other games you dont need so many meta mcts games to figure this out. In Yavalath and uttt it's really obvious, but in connect 4 not so much
jrke: MS whats your othello's algo?
MSmits: jrke it's mcts with early play out evaluation. So kind of like a mcts with a minimax eval at the end. It's about as strong as an average minimax bot. But some other bots are objectively stronger like jacek and dbdr because they trained their bots locally, producing much stronger eval
MSmits: I'll pm you for details
jacek: oh im 3rd in othello :c
jacek: you'll post mortem him for details?
MSmits: I don't mind sharing how my bot works btw... but it's pretty basic
MSmits: it's highly optimized, uses the basic mcts with no random rollout (EPT eval) and uses all the features commonly used in othello
MSmits: thats about it
jacek: and i bet avx
MSmits: but no ntuples
MSmits: that is obviously the way to go
MSmits: I should learn how to properly do this one of these days
MSmits: maybe next summer vacation
MSmits: I need to finish my yavalath demo project
MSmits: got the board working, but now i need to port the AI. More work than I thought because it needs to be C#
MSmits: and I am not sure if i can use the same kind of code, which takes half a second to form all the lookup tables. This might be very slow in C#
MSmits: and it will be compiled to webgl
MSmits: oh and pdep/pex wont work i guess
Megha.Akash: I have worked on Flutter ArCjLord
VizGhar: I have some small projects in flutter done
VizGhar: So you got your answers, I believe this is not what you were looking for ArCjLord
eulerscheZahl: smart actually. i consider winter sleep for some years already
Kitkat260: good morning
Astrobytes: Yes, hibernation would be good. Apparently there is evidence that our ancestors hibernated. That's good enough for me.
Astrobytes: If you can't read that one: https://www.theguardian.com/science/2020/dec/20/early-humans-may-have-survived-the-harsh-winters-by-hibernating
eulerscheZahl: enough evidence for me. good night
Kitkat260: hi Astrobytes
Astrobytes: You'll find euler under a pile of sticks, leaves and mud for the next few months :D
Astrobytes: hi Kitkat260.
SuperSpartan17: I can taste colors. MMMMMMMMmmmm
SuperSpartan17: Purple's my favorite
PatrickMcGinnisII: got the vaccine ;)
jacek: or tasted some toad skin
VizGhar: I just looked around, and I don't want to hear more about that fetish
SuperSpartan17: But it's sooooooo good.
eulerscheZahl: VizGhar btw i had a short look at your Tsuro contribution
jacek: oh boy
eulerscheZahl: i think Metro would be a little more interesting (similar idea)
eulerscheZahl: as you have multiple trains where you try to build long routes. not just 1
eulerscheZahl: so the game lasts a little longer and is less random I think
VizGhar: hmm I'll take a look. Not even sure whether I want Tsuro accepted as is.
SuperSpartan17: Butterflies will drink your blood, sweat, and tears.
eulerscheZahl: your comments are very random SuperSpartan17. are you a troll?
jacek: AutomatonNN is he?
AutomatonNN: hey guys i want to be fair i guess i will try to add a solution on github
SuperSpartan17: I haven't been on coding game so long.
SuperSpartan17: And last time I was on no one ever used the world chat
eulerscheZahl: maybe it was long ago before world became the default
eulerscheZahl: we were chatting on #general before
SuperSpartan17: Oh ok
alexei_pc: shut up
eulerscheZahl: mind you language alexei_pc
VizGhar: AutomatonNN kinda like this guy? https://github.com/denvash/codingame-puzzles-solutions/tree/master/3-Very_Hard
AutomatonNN: eulerscheZahl is there a way to see a program to tell what is happening to have a lot of problems wi
VizGhar: eulerscheZahl metro seems to be way to go... but holidays are already over :(
eulerscheZahl: after holidays is before the next holidays
eulerscheZahl: (unless that's during contest, then you have to postpone metro)
Stilgart: AutomatonNN: stop pinging euler and say turtle instead !
VizGhar: (you most probably don't have kids...)
AutomatonNN: eulerscheZahl is the problem with the contest in the chat to do a different one
eulerscheZahl: (╯°□°）╯︵ ┻━┻
Stilgart: at least it tried
SuperSpartan17: Corn Flakes were invented to prevent masturbation.
VizGhar: you haven't blocked him yet? o.O
BlaiseEbuth: Who need to be blocked ?
reCurse: Alright recess is over
Shiverz: Hey everyone, I just implemented my first contribution to the site and i'd like some feedback. If you guys had the time to check it out and tell me what you think, that'd be great ! Thanks in advance ! https://www.codingame.com/contribute/view/6061f079befd1e4b40afeb63dbcef2de1a45
eulerscheZahl: a = int(input()) b = int(input()) import calendar print(sum(calendar.isleap(x) for x in range(a, b+1)))
eulerscheZahl: first, what did I win?
darkhorse64: Another Coc designed by and for Python ?
Shiverz: Are you saying its too easy ? :/ Cause i had a fast less than two minutes COC in mind
reCurse: Pretty sure most high-level languages have calendar library
Shiverz: Yup, thats true
reCurse: Clash should be separated from CG like clash.io
reCurse: Sorry, daydreaming
darkhorse64: std::chrono::year::is_leap for C++. I did not know that
reCurse: Not exactly a new problem :D
Shiverz: Should I remove it and opt for a more original and potentially harder one?
darkhorse64: Let others review it. Frankly, I have seen much worse material
eulerscheZahl: "no clash is too easy" someone insistent to include this sentence in the rules
philRG: @eulerscheZahl: Python king :clap:
reCurse: import king
eulerscheZahl: please, let's be serious I'm Python king boss
eulerscheZahl: * Python Boss King
darkhorse64: Please no
VizGhar: euler 322 puzzles solved in C#... I'm not gonna ask what you do in your free time o.O
philRG: true :-) my mistake
eulerscheZahl: i'm on CG much longer than you are
eulerscheZahl: and i'm not the one who has 100% puzzle completion
reCurse: Time flies
VizGhar: true but still :)
eulerscheZahl: or had before Freecell at least
darkhorse64: Legend in all multis is the great achievement
eulerscheZahl: and contests since Hypersonic (my first contest)
darkhorse64: Yes, even better
BlaiseEbuth: You're a newbie beside me... But I do nothing but trolling on the chat... :sweat_smile:
eulerscheZahl: the French jacek
BlaiseEbuth: You're a frog btw
reCurse: Still trying to breach legend in trolling :(
philRG: trolling takes time and patience
eulerscheZahl: if you do it too obvious, you'll just get banned
reCurse: Refined trolling ofc
eulerscheZahl: expert level trolling and you can achieve everything. even become president
reCurse: That's not refined trolling...
reCurse: That's bannable trolling
eulerscheZahl: good point
BlaiseEbuth: And if you're sneaky enough you become moderator...
eulerscheZahl: psst, don't tell them
reCurse: Oh you mean the trollling was inside of me all this time??
BlaiseEbuth: unleash your inner troll
philRG: i started hypersonic 4 months ago when I began to start understanding the basics in bot programming :-)
**philRG unleashes himself
Stilgart: freecell killed the 100% puzzle completion anyway
eulerscheZahl: i refuse to even try it as long as there is an autoplay feature
eulerscheZahl: did JBM even write a solver himself?
Stilgart: Community success rate: 0%
eulerscheZahl: then how do you know if the tests are solvable in 1s and the puzzle classifies as hard?
Stilgart: I am more motivated by downloading the referee and exploiting what I may find than by solving the puzzle
eulerscheZahl: wait, you didn't even write the constraints
eulerscheZahl: "Try to win before reaching the turn or time limit."
eulerscheZahl: we all know how well the approval process works (space maze among my contributions)
BlaiseEbuth: Give that man a moderator badge !
eulerscheZahl: the CG community, a fountain of wisdom
philRG: don't make jpm doubt, that's the rule :)
eulerscheZahl: ok, then i'll just wait for him to solve Freecell
eulerscheZahl: that too
Stilgart: are forks forbidden now ?
eulerscheZahl: usually the creator is supposed to have a working solution when posting a puzzle
eulerscheZahl: they forgot that requirement for SDK contributions
reCurse: Ah so that's what it is
eulerscheZahl: the solution is so simple: write a solver ;)
eulerscheZahl: then you would see that autoplay is annoying
Trist3: lvl 30+ omg
eulerscheZahl: clash contributions: play 50 clashes
eulerscheZahl: any other type of contribution: reach level 20
eulerscheZahl: only public clashes count for those 50, no private ones
philRG: +25Xp for my first contribution of CoC thks EulerscheZahl :-)
philRG: +50xp for moderation
eulerscheZahl: i don't even know what I should ask first here
eulerscheZahl: why only 25XP and not 250? why thanks me?
eulerscheZahl: and why don't you use tab completion to write my name?
BlaiseEbuth: Cause a coc contrib must not give more than 25xp. Cause you're the one. Cause he don't know that this feature exist.
eulerscheZahl: fuuuuuu***** it happened again https://prnt.sc/wj6f8r
eulerscheZahl: how does the font even change itself?
BlaiseEbuth: That's a spooky font, your pc is haunted... :scream:
eulerscheZahl: i installed it to create the onitama logo
VizGhar: :D :D :D How'd you fixed it last time? cant remember
Salted: I remember writing pranky programs like programs to do that kinda stuff. That's so funny!
eulerscheZahl: full reinstall of my browser
VizGhar: uninstall font reinstall browser :D
eulerscheZahl: hm, i don't think i'll need that font even again. so just dumping it sounds like a plan
eulerscheZahl: and continue until only 1 is left if it happens again
VizGhar: chrome gor font settings
Salted: Just embrace it and learn to love that font. I mean that's how I learned to like coffee.
eulerscheZahl: i tried those font settings, had no effect for me
BlaiseEbuth: Keep comic san ms if you do that.
eulerscheZahl: i still hate coffee
VizGhar: Or go study medicine :) you might find that font appealing later on
Salted: What's your go to alternative to coffee?
Sakshi_Jain: green tea for low caffeine mode and energy drink for high caffeine mode
VizGhar: white tea or sleep for me. I'm allergic to coffee
Sakshi_Jain: Ooo I recently started with white tea, it's pretty good
Sakshi_Jain: have you tried red tea btw?
VizGhar: Best approach is. "I need some sleep, so I get some sleep"
VizGhar: red? :O
Sakshi_Jain: its called rooibos
Sakshi_Jain: I have a caffeine free one
Sakshi_Jain: it has an interesting earthy scent and taste
Sakshi_Jain: quite similar to silver tips white tea
Sakshi_Jain: but stronger
VizGhar: ah rooibos? drank it but didn't like aroma... maybe not pure rooibos tho
eulerscheZahl: uninstalling the font worked :)
Astrobytes: I told you uninstalling the font worked for me when I had my browser-font issue
Astrobytes: and +1 for rooibos (red tea)
BlaiseEbuth: :coffe: https://www.youtube.com/watch?v=FweAZfgZMvw
Sakshi_Jain: so guys I have a very important coding assessment tomorrow
Sakshi_Jain: any tips?
eulerscheZahl: but uninstalling the browser was faster to test and seemed to work at first
eulerscheZahl: is that just you vs the problem? or live coding with someone watching?
Sakshi_Jain: well it's a proctored coding assessment with 3 problems of varrying difficulties
Sakshi_Jain: My performance will be compared with that of other contestants
eulerscheZahl: stay calm, read the task completely and try not to make any assumptions while skipping a few lines
Sakshi_Jain: ahh, I'll really have to keep that in mind
eulerscheZahl: try to think about corner cases (like integer overflow, division by 0)
Sakshi_Jain: I tend to make that mistake a lot
Sakshi_Jain: good idea
eulerscheZahl: the leap year from earlir already got approved and is on stream not https://www.twitch.tv/MitchsWorkshop
eulerscheZahl: i like my code more
struct: ask the question
eulerscheZahl: let's play bingo with this: first who can cross out all 6 numbers
Astrobytes: how many times you posted that link by now?
Astrobytes: *have you
eulerscheZahl: first i think
Astrobytes: Yeah, just the once for me too.
BlaiseEbuth: We gonna post it as many time as required !
Astrobytes: Damn right.
eulerscheZahl: so i'll cross out (3) on my list
eulerscheZahl: i have no memories about that puzzle
eulerscheZahl: oh, i got bored had a rage quit on that one
eulerscheZahl: solved the "double solved rubiks cube", that looked a bit more challenging
DomiKo: My T-Shirt is finally here!
eulerscheZahl: which one?
DomiKo: one from FallChallange
DomiKo: JBM I have no idea
DomiKo: and one from HackerCup too
reCurse: Eh I completely forgot about that
jacek: so now you just wait for pants
eulerscheZahl: hackercup: never did that, I hate facebook
DomiKo: Logo was epic
DomiKo: They removed it :(
DomiKo: (in hackercup)
eulerscheZahl: that too JBM
eulerscheZahl: i even have 2 codejam tshirt so my standards are pretty low. but no to facebook
eulerscheZahl: both collect a lot of data. but at least google gives you something in return
eulerscheZahl: still: congrats for winning it DomiKo. by what i've heard from others, it's not that easy
DomiKo: hackercup is the easiest one in my opinion
DomiKo: beacuse is really strange
DomiKo: you click submit
DomiKo: and you have 6 minutes
eulerscheZahl: the easiest is the hacktoberfest of course
DomiKo: to upload file with output
jacek: clash difficulty?
eulerscheZahl: sounds like the old codejam format
DomiKo: its shit format
eulerscheZahl: download input, upload output
DomiKo: me with nice CPU
DomiKo: can run a lot of O(n^2) and don't care
DomiKo: 4 minutes runtime
eulerscheZahl: some even wrote tools to distribute it to several machines
DomiKo: its like
DomiKo: write any solution
DomiKo: that isn't bruteforce
eulerscheZahl: you need BFS
eulerscheZahl: otherwise you find any path
eulerscheZahl: painting time...
eulerscheZahl: DFS can find such a path from top left to bottom right: https://imgur.com/a/TVq2gvL
jacek: BFS finds shortest paths quickier
eulerscheZahl: it gives you a valid path. but you have no guarantees about the length
Astrobytes: That art skill :heart_eyes:
jacek: :notebook: :soccer: is a place when you can train pathfinding algos
Uljahn: are there any commented lines in your starter code?
Uljahn: debug print syntax should be there
Uljahn: depends on a language
SPDene: as Uljahn says: look at the comments in the default code
jacek: rubber duck to the rescue!
Astrobytes: For the Spring Challenge? Sure.
Salted: Reaching the top 2% of optimization puzzles for the quest map is a monumental task.
jacek: you need at least some basics
jacek: but yes, start puzzle, read on what puzzle requires and google the things you dont know
Astrobytes: ^ 100% this
Salted: After really struggling through a puzzle, I learn by looking at other people's code after I complete a puzzles. It's especially helpful when learning a new language.
jacek: a mod agrees, so its true
Westicles: what is this google you speak of?
Westicles: nvm, i looked it up on altavista
jacek: or banged it
Velicko: hi guys, i was playing code vs zombies few days ago and window with animation just disappeared. I now tried again, and still there is no animation... When i play test, i see that it has passed and became green, but there are also no logs and console output window is empty...
jacek: restart browser?
Astrobytes: Sidesplitting confirmed.
struct: jace k playing clashes?
struct: Do I need to release any game to make you stop?
Westicles: chutes and ladders would be nice...
darkhorse64: We are all waiting for Connect 4
struct: Westicles isnt it just luck?
struct: I dont see how you can code an AI for it
jacek: struct make some clash
Westicles: well, you'd have to replace the dice rolling with something else.
jacek: whats wrong with dice rolling
struct: jace k the game is only dice rolling
struct: nothing else
jacek: just like war card game? no strategy, only random
struct: there is no strategy
Astrobytes: Replace with FOW
Astrobytes: And no board.
Astrobytes: Or anything in fact.
Astrobytes: Game: Snakes/Chutes and ladders Output: valid move
Westicles: This steganography puzzle has me thinking... maybe all clashes should be copied to a very easy puzzle category
struct: which one»
struct: Puzzle was nice
Westicles: mostly, yes
ZzzTRAPzzZ: clash of code scoring is rlly unfair
ZzzTRAPzzZ: it was shortest code, so I made my solution as short as possible in python 3
ZzzTRAPzzZ: this is what I got:
ZzzTRAPzzZ: print(sum(c=="1" for c in bin(int(input()))[2:])%2==1)
ZzzTRAPzzZ: but this would print "True" or "False"
ZzzTRAPzzZ: and the expected answer was "true" or "false"
ZzzTRAPzzZ: and even though I solved the problem perfectly it gave me 0%
ZzzTRAPzzZ: while in languages like java "true" is automatically lowercase
ZzzTRAPzzZ: when it scores shouldn't it not account for the string that's give if it's true/false but the boolean?
Westicles: ZzzTRAPzzZ, I suggest we plan some kind of sit-in for protest