Chat:World/2020-11-27

From CG community
Revision as of 11:56, 15 June 2021 by Chat Log (talk | contribs) (Created page with "File:Default_avatar.png Raynor1994: Hi all, I have a question. I have to do a technical assessment on JS and SQL under this platform. How likely am I to see the same or si...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Default avatar.png Raynor1994: Hi all, I have a question. I have to do a technical assessment on JS and SQL under this platform. How likely am I to see the same or similar questions as the challenges listed here? If anyone did a TA in this platform before, any feedback would be really nice.

Default avatar.png Rodrigo_the_coder: javascript:

Default avatar.png Rodrigo_the_coder: console.log("any text")

ATaco: The sheer variety of Challenge Questions will likely mean most if not all TA questions you'll've not done yet :P

Default avatar.png Raynor1994: so unless i solve literally every question then im not fully prepared

miszu: do like 2-3 questions in JS and you should be fine

Bikoko: Truong Sa and Hoang Sa are belong to Vietnam

miszu: why unit testing is important

miszu: I thought log() in c++ is the log base 2... but it's the natural log

miszu: and I found out by unit testing

Default avatar.png LetchoHUN: Morning!

Default avatar.png Rodrigo_the_coder: lol

Default avatar.png Rodrigo_the_coder: chat pls :(

Default avatar.png Rodrigo_the_coder: :$

Default avatar.png Rodrigo_the_coder: :#

Default avatar.png Rodrigo_the_coder: :&

Default avatar.png Rodrigo_the_coder: :?

Default avatar.png Rodrigo_the_coder: :/

Default avatar.png Rodrigo_the_coder: ;/

Default avatar.png Rodrigo_the_coder: :\

ATaco: I love when you timeout in the Fall 2020 challenge and your witch just goes braindead

Lysk: I have a preference for the witch stuck on a full inventory

ATaco: My witch is more of a wizard; focuses more on learning spells.

Default avatar.png **Rodrigo_the_coder slaps slow-learning witches around a bit with a large fishbot

rockstar555: hii

rockstar555: full of coders

Default avatar.png Rodrigo_the_coder: hii

Uljahn: hihi, Automaton2000

Automaton2000: you would have the same amount of time

Default avatar.png Rodrigo_the_coder: automaton2000 = kicker

Automaton2000: so do you have time to do anything about it

Default avatar.png Rodrigo_the_coder: how to kick people

Default avatar.png Rodrigo_the_coder: in chat

Default avatar.png Rodrigo_the_coder: like this

Uljahn: why do you want to kick people?

ATaco: Just realized I had a logic error in which witches preferred to learn less effective spells then the ones they already knew.

Default avatar.png Rodrigo_the_coder: learn spell[effectiveness=Max]

Default avatar.png Rodrigo_the_coder: learn(spell[effectiveness=Max])

rockstar555: very happy

rockstar555: promoted to silver league

Default avatar.png Rodrigo_the_coder: gg

ATaco: Congrats

rockstar555: in coder strike back

ATaco: Oh nice

Default avatar.png Rodrigo_the_coder: private chat me, rockstar555

ATaco: I've got quite a bit of issue with that one myself :P

rockstar555: struggling with fall challange 2020

ATaco: What League?

rockstar555: wood 2

Default avatar.png Rodrigo_the_coder: lol

Default avatar.png Rodrigo_the_coder: i iwood 3

Default avatar.png Rodrigo_the_coder: there is no rockstar555 in my chat :(

Default avatar.png Rodrigo_the_coder: can someone help me go to gold in csb

Default avatar.png Rodrigo_the_coder: (╯°□°)╯︵ ┻━┻

Default avatar.png Rodrigo_the_coder: o

Default avatar.png Rodrigo_the_coder: :(

Default avatar.png Rodrigo_the_coder:


Default avatar.png Rodrigo_the_coder:

Default avatar.png Rodrigo_the_coder:

Default avatar.png Rodrigo_the_coder: ?

Default avatar.png Rodrigo_the_coder: help

Default avatar.png Rodrigo_the_coder: please, chat

ATaco: Just got to Silver League in Fall 2020, Woot.

RicksMLC: Woot woot!

Default avatar.png Rodrigo_the_coder: nope

Default avatar.png MarkusM: ææ

emh: I have an idea for an optimization multi

Default avatar.png Mohammadmh: hi

Default avatar.png Mohammadmh: :unamused:

Illedan: Make it emh? :D

emh: Illedan I'm inexperienced with that. I have open the page for contributio now. do you want to help me make the contest? :)

Illedan: Sure can do :)

emh: Illedan shall we keep it secret or in public chat?

Illedan: Send me a msg on Discord and we can continue the talk there :)

emh: ok

Default avatar.png ZacDonald: Can somebody juste explain me something on the C4L chall ?

Default avatar.png ZacDonald: the 'getCarried' var

Uljahn: pardun?

Raynor1994: stupid question, when you are creating a new variable, are you reading it or writing it?

Raynor1994: e.g. from Power of Thor:

Line 1: the number of remaining moves for Thor to reach the light of power: remainingTurns. You can ignore this data but you must read it.

KAIn: it means that you have to read that from the console. It is up to you to decide whether you then write that to a local variable

Uljahn: if you don't read, then you'll read the remaining part on the next turn and become desynced

KAIn: it is true for all the games here at CG

KAIn: you must read all the inputs the engine provides

KAIn: and you must provide (write to console) exactly as much outputs as the descriptions says

Raynor1994: when i took a glimpse at the solution, it didn't use remainingTurns at all

KAIn: to ensure that you stay in sync

Raynor1994: other then the initial const declaration

Raynor1994: im using JS btw

Uljahn: you should perform IO-interactions in a specified order, but you're free to ignore some input values

KAIn: the kickstart solution that you get in your IDE reads all the data for you. Whether you use those variables is up to you, but you should keep reading them

Uljahn: ^

Default avatar.png ZacDonald: Can somebody help me on C4L chall ?

Default avatar.png ZacDonald: im pretty stuck on 2 point here..

Uljahn: ZacDonald: i didn't get your question earlier, i have no 'getCarried' var in the stun, maybe you should specify the language you use

Uljahn: *in the stub

Default avatar.png ZacDonald: i use c++ langage

Default avatar.png ZacDonald: and my question was

Default avatar.png ZacDonald: how can i watch all turn the variable 'carriedBy'

Default avatar.png ZacDonald: because i want to know if the ID of the next folders is available or not

Raynor1994: I just finished it in JS without reading remainingTurns and got 100%

Raynor1994: the solution provided is using python3 i believe and it didn't read it either

Uljahn: ah yes, you could do that without reading all the inputs, but it's not a good practice

rockstar555: how to create own coding puzzle

Uljahn: ZacDonald: what do you mean? if carriedBy == -1, then that sample is in the cloud

Raynor1994: how am i supposed to use that variable here? for loop?

Raynor1994: for in range of rT?

Uljahn: just read it and ignore

emh: I was talking with Illedan about creating a contest. turns out the idea might be too complex for CodinGame. so maybe I will host a contest on my own server

emh: see https://github.com/emnh/VB6ToCSharpCompiler/blob/master/VB6ToCSharpCompiler/TranslatorForPattern.cs#L68-L235 for the type of data I'm interested in gathering from crowdsourcing / an optimization contest

Uljahn: Raynor1994: as an example, starting leagues have unused inputs in some multiplayers on CG, which become useful later

Raynor1994: As a mod, do you know anything about the technical assessments here?

Raynor1994: I have one for JS + SQL due

Uljahn: you've been answered on discord by the staff member, no?

Uljahn: mods know nothing about CG compared to staff

Raynor1994: fair enough

emh: hmm.. simpler version of my idea using regex instead of CFG: given a list of source and target strings, determine a regex and a substitution that takes the sources to the targets. is it a known problem? does it have a name? like reverse regex but different? are there similar puzzles?

emh: I'm not in much of a coding mood today, so just airing vague ideas hehe

Default avatar.png albie368: lua

emh: found a bunch of articles and software by googling "generating regex"

emh: https://medium.com/swlh/auto-generating-regex-expressions-via-hill-climbing-method-887037e24d67

Death_Rock: yooo

JohnCM: i only know of minimal edit distance

AntiSquid: CG does SQL assessments too ? cool

VizGhar: Any recommendations on which game is easiest to reach legend? :) I'm looking for another motivation

VizGhar: (i mean bot programming competition)

AndreMarasca: is there any way to write latex in the Statement * field in "contributions"?

ZarthaxX: VizGhar tron

VizGhar: tnx

AntiSquid: lol

AntiSquid: i am quite sure CSB is easiest @_@

miszu: fun fact I learned yesterday while unit testing

miszu: the log()in c++ is the natural log and not the log base 2

struct: as it should :p

AntiSquid: :thumbsup_tone5:

ZarthaxX: AntiSquid no its not :)

AntiSquid: lol why not

AndreMarasca: natural log is default

ZarthaxX: CSB legend isnt that easy i would say

ZarthaxX: but yes, we dont talk abotu the 3.. formula :D

AntiSquid: to reach . not to advance

ZarthaxX: i meant to reach too..

struct: fc2020 easiest

ZarthaxX: gold is easy to reach, but legend?

ZarthaxX: struct lmao

struct: it all depends on your skill level I guess

AntiSquid: fc2020 has to be easier to reach than OoC where you have 1 month worth of improved bots

struct: hard to say which one is the easiest

miszu: also depends on your debugging skills

ZarthaxX: ooc lasted 1 month?

AntiSquid: in fc2020 i simply didn't do much aside from search next best potion and some few conditions

miszu: AntiSquid no sims?

VizGhar: I know it's hard to say :) but i like state machines and pathfinding, so CSB is not my way to go

miszu: like graph searches?

AntiSquid: well yes sim to get next best potion .

miszu: CSB you need to use genetics algorithm

miszu: some dark magic

VizGhar: graph searching is funny too

struct: https://www.codingame.com/multiplayer/bot-programming/ghost-in-the-cell

miszu: I need to do some research about multi agents strategies

AntiSquid: but the simulation in SG (Spice Girls (fc2020) ) is much much easier than most games

VizGhar: I've been coding some GA for my bachelor's... might be way to go as well :)

ZarthaxX: VizGhar that's my boy

ZarthaxX: you can do GA in CSB if you want :sweat:

miszu: what algorithm works for high branching games?

AntiSquid: is GA worth it? i saw the arguments of why MCTS is better and why not just stick to that ?

AntiSquid: you can do any extra form of hill climb with MCTS .

ZarthaxX: i put that face because it's not the meta anymore hehe

AntiSquid: for CSB legend i had a math formula . that's it btw

ZarthaxX: im still afraid of MCTS losing some potential good moves, but that's more critical on games where the score changes a lot in some moves

ZarthaxX: AntiSquid wow.... i did a lot of if else spaghetti

ZarthaxX: :C

AntiSquid: well you see i converted the if else into maths !

ParticleBeam: His math formula could be 3 pages long

AntiSquid: that's next level if-else

AntiSquid: keep up ZarthaxX

VizGhar: @ZarthaxX I'll try every game probably :D

VizGhar: MCTS is?

AntiSquid: great

ZarthaxX: AntiSquidi already lost it already

ZarthaxX: monte carlo tree search VizGhar

VizGhar: ah sure

ZarthaxX: you would like that if you like graphs

ZarthaxX: trying every game is a strong promise :D

ZarthaxX: hard to keep up lol

eulerscheZahl: RAIC announcement: "All participants in the second round will receive T-shirts, and the finalists will receive sweatshirts."

eulerscheZahl: they uncanceled it

miszu: pick games you are genuinely interested to do and look for learning experience

ZarthaxX: :party:

eulerscheZahl: preview https://www.youtube.com/watch?v=JPR04AvJ-pI&feature=emb_logo&ab_channel=MailruGroup

ZarthaxX: the toad is happy?

AntiSquid: any conditional check can be included as:

x = (a < b) * value + other stuff ZarthaxX

ZarthaxX: yes i know AntiSquid

AntiSquid: so .

ZarthaxX: do you want me to do a big fat formula

ZarthaxX: :D

AntiSquid: do it

AntiSquid: do your worst !

ZarthaxX: i would prefer to go with the big bois algorithms hehe

AntiSquid: you realize a NN is just a math formula right ?

ZarthaxX: aha

VizGhar: I'm going for an adventure... I loved GA but I was solving one ultra hard puzzle (some supercomputers are solving them a few years). Slightly discontinued from realtime processing :P

VizGhar: and it was like 7years ago. I wonder how much effort it will cost me

AntiSquid: so highlight 3D ... will there be sound like last year euler ?

AntiSquid: halite 3D *

AntiSquid: https://www.youtube.com/watch?v=vfImU0kAFI0

AntiSquid: not easy to observe how annoying the aiming was

VizGhar: those sounds :D

Illedan: eulerscheZahl, we can get tshirt anyhow?!

struct: I think raic said no shirts this year

Illedan: euler said something about uncancel. Where did he read it?

Illedan: I need to know if I have to work on that game :D

wlesavo: Illedan they said there will be t-shirts for all half-finalists, and they comcerned about last year screw up, and promise to try to do better this year

Illedan: screw up?

Illedan: On which part?

wlesavo: well it is said some people get t-shirts after a year of waiting

Illedan: I didn't even get mine yet..

wlesavo: oh, well this is it :smiley:

Illedan: :P

Illedan: I want my sweatshirt!

struct: anyone with experience on creating 3d models, which software do you recomend?

AntiSquid: how do you feel about this halite clone?

AntiSquid: i used blender because it's free

AntiSquid: look up also unreal engine, i think it was free or there was a free version of it and you can do 3D models too, i didn't use that one, but the blender tutorial is long and there's a lot of detail to take into account struct

struct: thanks ill check blender I think

kovi: raic halite?

kovi: or that is just preparation for the big battle between the 3d objects?

wlesavo: no 3d

wlesavo: and fog strating from half final

wlesavo: starting

AntiSquid: lol fog

ZxxZ: hha

Nerchio: fog is love fog is life

reCurse: I was almost tempted too

blasterpoard: in an RTS, I'd argue that it actually adds something to the game

blasterpoard: not in RAIC though, because there's no techtree and scouting can only tell you how greedy the player is

eulerscheZahl: wlesavo 03:37PM well it is said some people get t-shirts after a year of waiting

just today i received the confirmation email that it's on the way :D

wlesavo: lol restoring the image before the new contest :smiley:

eulerscheZahl: meanwhile CG only has a women's version of the read stdin flush stdout tshirt

eulerscheZahl: i guess it's the cube again then

AntiSquid: gratz on the t-shirt euler

eulerscheZahl: thanks :)

jrke: i hope spring challenge 2021 will give me a t-shirt

eulerscheZahl: you got one already

eulerscheZahl: for your winterthrone

jrke: yeah hope its second t-shirt

eulerscheZahl: which design did you take?

jrke: cube one

AntiSquid: community contests reward shirts?

AntiSquid: or just organizers

eulerscheZahl: community contest? promotion of an existing game

eulerscheZahl: some streamers also get tshirts

AntiSquid: ya w/e you want to call it

struct: With competition increasing its a bit harder to get top 20

AntiSquid: multiplayer party week ... better ? :P

eulerscheZahl: had a short look at instafluff yesterday (?) as the live thing was highlighted. he chose the cube too

AntiSquid: does he still cover his entire screen in clouds and toys?

eulerscheZahl: yes

eulerscheZahl: https://www.twitch.tv/videos/816493253 there he is wearing the cube

eulerscheZahl: the glitchy cube :D

eulerscheZahl: https://img.printfection.com/18/21271/bT7r1IaOxZpPl8N/Next+Level+3600+-+CodinGame+Rubiks+Cube+-+Black+%28Front%29.png with 2 areas merged

struct: lol

jrke: ^^ yeah thats mine cude one

reCurse: Wow he's more popular than I thought

eulerscheZahl: going by viewer count?

jrke: he streams for chatting?

eulerscheZahl: i don't know, didn't watch more that 2 minutes on a block :D

AntiSquid: https://www.instafluff.tv/

AntiSquid: i think i watched once and he had some giveaway, toy or sticker something, i won it and i thought "shit i am taking a toy from some kids"

jrke: tell me your reviews over this - https://github.com/Jrkej/CG-submit-predictor..git

reCurse: Not sure it's all kids either

eulerscheZahl: the double dot in the URL triggers me

jrke: https://github.com/Jrkej/CG-submit-predictor. this one?

eulerscheZahl: so you play some games on the server?

eulerscheZahl: or how does it work?

reCurse: It's like submitting except slower

struct: I think it plays the games on ide

struct: starting from bottom

struct: similar

AntiSquid: 'that's cool

jrke: i am using trueskill for updating points and then choosing random opponent near that points and then again updating

jrke: it takes your code in IDE and plays match like normal replays

jrke: using CG servers

kovi: slower for first rank but faster for stabilization

jrke: output is like this - https://media.discordapp.net/attachments/735393675567431700/781908689023664158/Capture.JPG

jrke: and after all matches it shows you total no. of wins,ties,loses and winrate and thefinal rank

reCurse: To be quite honest you'd be better off directly batching against opponents near your bracket

kovi: well, that is only for top3-10 :)


reCurse: No

kovi: for lower the theoretical question: how can you tell where you are?

reCurse: You submit and sample around your final position

kovi: which few players to play against

kovi: 100 games can be misleading both for you and the opponents around

jrke: using trueskill i think kovi it gives an good estimate

reCurse: I don't understand

kovi: my point is, if you play more games with a wider range (like final legend recalc) it can give more reasonable rating

eulerscheZahl: match_cooldown = 6#time in seconds to halt after each match

reCurse: Sure, but from an improvement perspective it's better to batch against specific opponents sampled around your range

reCurse: When you start >60% them all you'll climb

reCurse: Start over

kovi: ok, i understand and you are right

jrke: euler ?? why you pasted that here?

reCurse: So virtual submit is only wasting precious games imo

eulerscheZahl: i think you will get blocked with the 6s delay. CGSpunk used 20s

eulerscheZahl: and that's exactly when I stopped using it

reCurse: Yeah the safe delay is 20s

kovi: anyway...talking about delays...raice is 1 game per 20 minute or so...

kovi: raic

reCurse: So halite

reCurse: Except significantly worse design

eulerscheZahl: testing 1 per 20min and about 1 rated match each hour

jrke: so should i make it 20 seconds instead of 6 seconds?

struct: how many players does raic usually have?

eulerscheZahl: a little under 1000

eulerscheZahl: the 2nd easiest tshirt of the year

struct: whats the easiest?

eulerscheZahl: easiest is hacktoberfest obviously

jrke: yeah my hacktoberfest t-shirt didn't shipped yet

jrke: easiest t-shirt

kovi: tshirt is easy, but hard to beat t1024

eulerscheZahl: you did hacktoberfest?

eulerscheZahl: by bullshit detector told me not to do it

eulerscheZahl: my*

jrke: i did hacktoberfest euler

dbf: eulerscheZahl what is opinion of your bullshit detector about raic for this year? :)

kovi: big prices

Default avatar.png BigBadGiantFromHell_6ea5: hi guys

eulerscheZahl: will see, tshirt motivates me :)

kovi: last years 6th place looks much more tempting now

eulerscheZahl: but first https://www.codingame.com/contribute/view/5774f141c59462b06e77d826d14d052d7966

dbf: :thumbsup:

dbf: ah, is it tetris 3d?

eulerscheZahl: yes

dbf: I think I played it in school with i386 cpu

dbf: I also enjoy t-shirts, got some virtual prizes after yandex contest and no fun at all

C_Boy: grrr why does the validator only give me 60% when tests give 100%

reCurse: Because you have bugs

AntiSquid: oh you can rotate, thats cool

AntiSquid: http://chat.codingame.com/pastebin/c1a14a68-7236-499a-98fd-f97df794a569

eulerscheZahl: you gave a bad command ;)

AntiSquid: but that's a weird error message

struct: its when referee crashes

struct: its normal stuff until you handle inputs

struct: which is a thing you leave to the end

eulerscheZahl: valid java code to do random actions:

eulerscheZahl: http://chat.codingame.com/pastebin/97a3719e-fdb0-41b9-9af3-5aa874344057

eulerscheZahl: struct understands me :)

struct: euler how will it work, will testcases change the order that pieces appear?

eulerscheZahl: yes. and different pit size + tileset

AntiSquid: could just give out "error fix your code" otherwise it gives the impression it's your code that's faulty but ya it works with 0 0 0

eulerscheZahl: the original game has different versions too

eulerscheZahl: well, it's still not marked WIP because there's a lot missing

AntiSquid: can you still move th tile once it touches the bottom ?

eulerscheZahl: i plan to get it to a playable version during the weekend

eulerscheZahl: no, just drop it

AntiSquid: so can't get L unde a z

eulerscheZahl: nope

reCurse: Why are linux signals so effing weird

eulerscheZahl: i'll use my phone joker to answer that question

**eulerscheZahl calls dbdr

**dbdr calls JBM

reCurse: Every SO answer is contradictory and refers to a manual that seems to have changed 20 times in the past 10 years

Default avatar.png JBM: mmm?

eulerscheZahl: who ya gonna call?

Default avatar.png JBM: ray parker jr

**dbdr calls LinusTorvalds

AntiSquid: use 50/50 and only give half an answer

reCurse: All I want to know is if I can safely sigwait on a signal that has a handler -_-

Default avatar.png JBM: i thought you were on windows

reCurse: I am

dbdr: and of course: https://www.codingame.com/profile/6241fc3074285938fbab754d6d71047a1949611

AntiSquid: did you ask the question directly on SO and get any answers ? just curious

reCurse: Is it mutually exclusive with working on linux?

Default avatar.png JBM: i guess not :)

reCurse: No I wouldn't dare asking stuff on SO, 99% chance of being blocked/closed

Default avatar.png JBM: that's still a 1% risk of getting a useful answer

AntiSquid: i agree, was wondering if you tried :P

miszu: AKCHUALLY this is a duplicate post. Please look at X link

reCurse: Well the same question has been asked multiple times

reCurse: Problem is the answer are all several years old

eulerscheZahl: short poll: who here ever asked anything on SO?

reCurse: And they quote a manual where the said quote can no longer be found

reCurse: Wasted the last hour trying to figure this out

reCurse: (╯°□°)╯︵ ┻━┻

miszu: you could create a post saying the old posts are old and if something changed today

miszu: that would be reasonable

Default avatar.png JBM: i ask shit on SO pretty often

AntiSquid: I DID and i gave a disclaimer that the answers on google don't answer my problem and first post was : "hey you could have googled this" with a link to WRONG answer eulerscheZahl

dbdr: might have been reworded; I doubt the behaviour has changed

Westicles: First, 25 paragraphs on why using namespace std is bad. Then close for off topic

reCurse: Well it's been reworded to the point where absolutely nothing says what it used to say

dbdr: Torvalds is fanatic in presenting user-mode compatibility

miszu: could you simply do trial and error?

reCurse: It seems to work now

Default avatar.png JBM: *preserving

reCurse: And I hate "seeming to work"

dbdr: thanks

miszu: use the word: high confidence

reCurse: Let alone the ridiculous fact SIGALRM terminates your process by default

reCurse: But installing an empty handler has consequences I can't predict

AntiSquid: i hate reddit for the BS vote system, but their tech subreddits occasionally give great answers

miszu: that's very low level you do

AntiSquid: so reddit > SO for asking it yourself unfortunately .

reCurse: Hmm

eulerscheZahl: i never asked myself on SO. but for looking things up it's a great source

reCurse: I self-taught python with SO

eulerscheZahl: i'm still in the process of learning how to code thanks to SO

MadKnight: eulerscheZahl u gonna play RAIC /'

MadKnight: ?

AntiSquid: are you playing it MadKnight ?

MadKnight: maybe

eulerscheZahl: as usual MadKnight. minimum effort needed for goodies

dbf: have you got t-shirt for previous contest? I had mine only last week :)

eulerscheZahl: (last time i failed horribly: missed the finals at first, then needed sandbox top10)

eulerscheZahl: and over-performed there, getting me close to top10 in total

eulerscheZahl: today i got an email that it's on the way now

miszu: are the t-shirts actually nice?

miszu: or it's something you put in closet and never take it?

dbf: they are mostly ok (couple of them was low quality)

eulerscheZahl: the hoodie keeps me warm :)

AntiSquid: oh i remember i missed t-shirt range twice through unstable ranking submit ...

eulerscheZahl: and your mediocre bot

AntiSquid: regardless, was in range lol

AntiSquid: i think some default bots were in range :thinking:

eulerscheZahl: i don't think so

AntiSquid: Automaton2000 submit default and hope for shirt

Automaton2000: with all the test cases?

dbf: on some mini-raic there was a default improved bot created by one of participants and shared as an example, and it was a t-shirt level

eulerscheZahl: i only played the paper.io mini RAIC

eulerscheZahl: missed top6 on a coinflip

eulerscheZahl: was 6th before the very last battle :(

eulerscheZahl: that would have been a smartwatch

ItsNotABug: sorry for the maybe silly comment, but whats this RAIC stuff?

eulerscheZahl: russian AI cup

AntiSquid: royal air institute championship

eulerscheZahl: https://habr.com/ru/company/mailru/blog/530232/ there's a view preview

ItsNotABug: Ah, so its not the Royal Architectural Institute of Canada

eulerscheZahl: https://www.youtube.com/watch?v=JPR04AvJ-pI&feature=emb_logo&ab_channel=MailruGroup

AntiSquid: why do they show a gif of codecraft on the blog ?

eulerscheZahl: because it goes slightly in the same direction

eulerscheZahl: but i don't think that it's an advantage if you played codecraft

eulerscheZahl: C#, C++, D, F#, Go, Java, JavaScript, Kotlin, Python, Ruby, Rust и Scala.

eulerscheZahl: they have D

AntiSquid: :O

AntiSquid: ok .

eulerscheZahl: someone just shared a weird replay on the forum https://www.codingame.com/replay/511388061

eulerscheZahl: frame 3, where does that blue come from? and why does only 1 player get it?

AntiSquid: boss cheating .

blasterpoard: it's viewer that's wrong

kovi: visual glitch, but someone paid on turn2

blasterpoard: 1/0/1/0 had 1 tax

eulerscheZahl: ah, right

struct: this blender stuff is not simple

PatrickMcGinnisII: what blasterpoard said, I noticed this too... the effective result is correct. However, when simultaneous taxes are paid ... the red player gets the benefit and blue doesn't get the currently added benefit from red. i don't think it's truly simultaneous

AntiSquid: i told you it's not struct

AntiSquid: have a go at unreal engine too

AntiSquid: blender takes a while to get used to

struct: I dont think ue4 can save as gITF, three js recomends it

AntiSquid: but you can transform 2d images into 3D objects there's some tut somewhere for that

AntiSquid: (in blender)

struct: https://i.imgur.com/wKLF8Rm.jpeg

struct: ill check it thanks

struct: i know its 9x9 its supposed to be for shogi

struct: just wanted to play a bit with it

AntiSquid: 3D chess items shouldn't be too hard btw, just look up how to do a glass tutorial as example then you can see how you can do the pieces ... shogi pieces are simple

eulerscheZahl: you can also find lots of 3D models online

eulerscheZahl: once I found a planet express ship

AntiSquid: but where's the torment and the suffering in that?

eulerscheZahl: :D

struct: yes i was following a tutorial for chess

struct: he does the board + pieces in 10 minutes

struct: in real time

eulerscheZahl: i have colleagues working as CAD designers. they are really fast.

eulerscheZahl: i know how to design a cube. for a sphere I need a working internet connection :D

struct: https://www.youtube.com/watch?v=mc8Ws9Ngjx8

struct: oh nice

struct: I might not even need to learn blender at all

struct: thanks AntiSquid

eulerscheZahl: the classic Blender tutorial

eulerscheZahl: throwing hotkeys at you

struct: yeah and the version im at doesnt really help

struct: some stuff is in another place

struct: different icons

jacek: 3d chess?

jacek: as in graphics or several board chess

struct: jacek i wanted to port shogi

struct: and wanted to do 3d graphics

struct: to try it

miszu: why competitions are so far apart?

miszu: like next one is in May or something?

dbf: because they need resources to design and implement a new game

AntiSquid: and they also want to do something else ! :P

AntiSquid: like quest map / language upgrades / private contests ...

jacek: and people cant afford to allnighters every week

Default avatar.png Drakkhonian: HOLY COW

Default avatar.png Drakkhonian: and after 2 months of trying this on my off time at work

Default avatar.png Drakkhonian: i FINALLY amanged to 100% https://www.codingame.com/training/easy/a-childs-play

Default avatar.png Drakkhonian: jesus

jacek: :tada:

Default avatar.png Drakkhonian: the code is ugly as hell, it looks like a c code in python format

Default avatar.png Drakkhonian: but its goddamn done

Default avatar.png Drakkhonian: whoever had that 12 trillion steps test is honestly evil

Westicles: loop_found_flag, nice

..O_O..: #shortest

AntiSquid: Drakkhonian here's the use that created it: https://www.codingame.com/profile/b12b98e075dfc70878c9c0b33f79db128934192 in case you are plotting something

Guinsoo: you only use accio in fantastic bits ?

alekberli: salam

kovi: wow, royale #1 at fall

struct: Is this a strat or off by 1 error?

struct: https://www.codingame.com/replay/485302721

MadKnight: RAIC starts in 10min guys

MadKnight: let's go

AntiSquid: for real ?

AntiSquid: the beta?

MadKnight: beta

MadKnight: they already told what's the game

AntiSquid: everyone types russian on discord Q_Q https://youtu.be/YgGzAKP_HuM?t=231

MadKnight: wat

miszu: cyka blyat

AntiSquid: ^

MadKnight: Automaton2000 say something in russian

Automaton2000: and i got no idea

MadKnight: Automaton2000 fix it

Automaton2000: yeah that would be very hard to tell if a sample is diagnosed or not?

miszu: Rush B Automaton2000

Automaton2000: especially if you have two ways to get a t-shirt

AntiSquid: https://i.imgur.com/SLHJePp.jpg

AntiSquid: goblin slayer manga reference

MadKnight: https://sun9-75.userapi.com/impg/dtU7ymIu1u2nXQOhoUa-nBGjFnS4DMWuRKX88A/xCQxjNjz3yQ.jpg?size=1372x603&quality=96&proxy=1&sign=fed4996191971e73a8161ca0f127a837

MadKnight: nice pic AntiSquid

miszu: I wrote 25 unit tests for my UTTT and still not done testing everything

AntiSquid: what's that link MadKnight ?

AntiSquid: imgur blocked in russia or what?

jacek: why would anyone ever write unit tests :v

Guinsoo: Wait A child's play is impossible

miszu: jacek lol

miszu: I call it a pro move

AntiSquid: how about writing unit tests to check grammar and spelling in the comments ?

ItsNotABug: well now i've got to have a go at a childs play :P

miszu: c++ optimizer, I need your advice on this function. Does it look okay?

miszu: http://chat.codingame.com/pastebin/f6fa190b-e90d-44ab-9567-9df3d8821d4d

Uljahn: there is an option to make LUTs for sqrt(log()) and inv_sqrt(), but has to be profiled

miszu: thanks. So it shouldn't really be a bottleneck

Astrobytes: It can be, but you need to profile to check

Astrobytes: sorry I didn't answer your PM miszu, been busy

tomatoes: optimize rollouts first

PatrickMcGinnisII: log(totalVisit)*2 is better imho inside the sqrt... and you can get rid of the floats altogether with proper scaling, but i digress

therealbeef: miszu does like his consts ;-)

PatrickMcGinnisII: even left shifting the nodecount before typecasting, but the log should force a typecast anyway

MadKnight: no it's not AntiSquid

MadKnight: okay now it loaded

ItsNotABug: Took a minute to deal with the edge cases, but done a childs play :D

miszu: therealbeef haha. If you can make them const why not? :P

therealbeef: i think it's a good habit and it won't hurt

miszu: but yeah PatrickMcGinnisII. I can put the 2 inside of the sqrt

miszu: so I avoid that floating multiplication

PatrickMcGinnisII: is returning by const when val is only calculated once really do anything?

therealbeef: but im not sure if they are useful on by-value arguments and return values

Astrobytes: const correctness is kinda all-in, you can mix and match a little but you'll end up in trouble :)

miszu: const to a primitive doesn't really do anything

miszu: Astrobytes by unit testing my engine, I found 3 bugs

Uljahn: also don't forget about exploration coefficient

miszu: so now I have high confidence of the correctness of my board

Astrobytes: Excellent! What were they miszu?

miszu: Uljahn the coefficient is the 2

Astrobytes: +1 for Uljahn's comment

miszu: sqrt(2)

Uljahn: :upside_down:

miszu: Astrobytes 2 were the same mistake but in each of their own method. Basically when I win a small board, I put the win bit on a different board...

Astrobytes: lol, definitely not optimal :)

miszu: the 3rd one I found recently was when you can play anywhere you want, I only gave a local board to play

miszu: not the whole board

PatrickMcGinnisII: you can bitshift <<1 the fastint in the divisor, but as long as you don't put in extra () parenthesis the compiler ... oh nevermind...

miszu: why bitshifting?

miszu: you lost my with bitshifting here

miszu: me*

Uljahn: the same as *2

PatrickMcGinnisII: float*2/fastint is fine

miszu: okay then

miszu: I really changed my mcts so Idon't use vecotrs

miszu: and don't create any extra objects

miszu: once I test a bit my MCTS, my sims goes brr

miszu: thanks all

miszu: this is my struct for node

miszu: http://chat.codingame.com/pastebin/3ee7d1ce-5c26-4d92-88cd-94f59aa667a1

Uljahn: parents can be tracked in a separate array

Astrobytes: ^ so you just need an int to track its index

AntiSquid: are you playing RAIC halite Uljahn ?

Uljahn: AntiSquid: no, im back to 2048

Astrobytes: StarLite/HalCraft

Uljahn: i don't like RAIC

Astrobytes: (defo Halite)

Uljahn: that too

MadKnight: Automaton2000 when Automaton2048 ?

Automaton2000: i had to google it

Astrobytes: AntiSquid: How is it? I've been busy so not checked it properly yet

ItsNotABug: Why are all the upvoted solutions for a childs play ones that dont even pass the test scenarios?

ItsNotABug: smh

Astrobytes: Perhaps the testcases were changed at some point ItsNotABug

MadKnight: probably because they changed the test cases

Astrobytes: MadKnight ;)

MadKnight: they need to mark old solutions

Astrobytes: Yeah, I don't think they will tho'.

Astrobytes: Will you play RAIC MadKnight?

MadKnight: will see

Astrobytes: same

ItsNotABug: ah. so their original test cases just didn't include all the test cases. shame they've kept the solutions for people who solve it after

AntiSquid: there is no versus implemented yet on the site, you need to train locally Astrobytes

AntiSquid: well it's just halite but more complicated

AntiSquid: with shooting ships

Astrobytes: if you look at solutions that have a later date ItsNotABug they might be more relevant

AntiSquid: and you can kill your own

Astrobytes: AntiSquid: yeah, was just wondering about the API etc

Astrobytes: I suppose round 2 will be where it goes nuts with the FOW

Astrobytes: *what with the FOW

AntiSquid: update my avatar just in case i change my mind ... it's a fake exorcist who throws salt to scare ghosts, which doesn't work, but charges people regardless https://russianaicup.ru/profile/AntiSquid

miszu: thanks all

Astrobytes: working better miszu?

Astrobytes: lol AntiSquid

AntiSquid: what about the api Astrobytes ? you get the start bot, add your strategy and can run it locally if you have the game environment downloaded and running

Default avatar.png Snc: hi

AntiSquid: i think you can upload zip too, but you're not meant to edit the API interaction

Astrobytes: sorry, just read the rules

struct: this blender stuff

struct: I want to make an irregular pentagon

struct: cant find how

miszu: Astrobytes I haven't run in the ide

miszu: I am writing tests in visual studio

Astrobytes: Ah ok

miszu: making sure there is no bug

Astrobytes: wise ;)

miszu: if I don't get legendary this time... I will be disapointed

AntiSquid: you could draw lines i believe to create a surface and then if you want to make it 3D use extrude struct

Astrobytes: Failures are lessons required for victory, don't worry about it miszu

miszu: :P

Astrobytes: it's true :D

Astrobytes: Anyway, I am massively tired, see you all tomorrow

miszu: my failure was hidden bugs in my engine

miszu: now I strongly believe it will work

miszu: good night!

struct: gn

AntiSquid: gn8

Astrobytes: gl miszu!

PatrickMcGinnisII: mesh a circle with a given step?

AntiSquid: when you import an image btw you can select the outline of an object on the image and extrude that into a 3D object too

struct: really?

AntiSquid: yes

AntiSquid: hm don't have it on this pc, but have some funny looking models from that

MadKnight: have u guys started RAIC already ?

ItsNotABug: jesus. I've download the pack for RAIC and dont have a clue what to do with it lol

MadKnight: check the Quick start

ItsNotABug: I have, not finding it very clear lol

therealbeef: Promotion to Gold League in : 00H 45MN 26SC, seriously? -_-

ItsNotABug: ouch. That for fall?

therealbeef: uttt

therealbeef: seems only 1 promotion per hour

Default avatar.png Mr-DillinG: Hey

Default avatar.png BossMed: hi

ItsNotABug: is uttt ultimate tic tac toe?

therealbeef: yeah

struct: yes

struct: tyvm AntiSquid

struct: https://i.imgur.com/djyf2vK.jpeg

MadKnight: what does it say ?

MadKnight: is it jap ?

struct: yes, its from board game shogi

MadKnight: u gonna play RAIC with us ?

Zenoscave: do goroutines work with CG?

struct: Im not sure ill play RAIC

MadKnight: it's kind of like warcraft

MadKnight: and they're giving starter bot

MadKnight: Zenoscave what are goroutines?

Zenoscave: golang lightwaeight concurrency

Zenoscave: They should work on single core computers

Bikoko: whats wrong with our server?

MadKnight: what's our server ?

MadKnight: Zenoscave i think we got one hyperthreading core so that makes it 2 threads on 1 core

Bikoko: it goes slowly

MadKnight: where

Bikoko: in cant test my code in clash

struct: site seems very slow yeah

ItsNotABug: Yeah, im trying to just run my code in ide, and its slow as heck

Y0ursTruly: oof my lag

Y0ursTruly: can't even click submit

Bikoko: not oly me feel like that?

MadKnight: Automaton2000 do u feel like it ?

Automaton2000: i'm not that good in the end i think

Y0ursTruly: oh 2 minutes later it finally subits

ItsNotABug: this is painful. Woulda thought after fall ending servers would be happy

MadKnight: oh is it back to normal again ?

catalactics: what happened to the servers?

catalactics: my testcases won't even run lol

ItsNotABug: Has anyone got a way to stop the page and discord on the right reloading every 5 seconds, and moving my cursor into the discord chat on an old convo that i dont even want open

Raynor1994: So uh, how do I start the ASCII art?

Raynor1994: I'm trying todo it in JS

Default avatar.png TimberStalker: I belive you asign certain ascii characters to a value between 0 and 1(based on how much space the character takes up on screen) and then use the grayscale to select characters.

Default avatar.png TimberStalker: just realised the comment im responding to was 30 minutes ago

Default avatar.png TimberStalker: oh well.

Default avatar.png TimberStalker: just ignore everything i said

Raynor1994: i skipped it for now

Raynor1994: what lang did u use?

Default avatar.png TimberStalker: I just assumed you were doing normal ascii art

Default avatar.png TimberStalker: i think the coding challenge wants something different

Default avatar.png TimberStalker: im doing it in c# right now though. Converting to JS isnt that hard