Chat:World/2022-05-16
ToastyBreadsicle: null
Wontonimo: are you considering programming because of the pay or are you interested in programming?
Wontonimo: oh, he ded
Wild_Python: Mortis_666 yeah no error
Wild_Python: it just skipping the code anyway
Wontonimo: smallPrick has been banned
eulerscheZahl: i think i shouldn't apply as a Junior developer https://i.imgur.com/Y7gKqI0.png
ToastyBreadsicle: decided the pay wasn't good enough i guess
ToastyBreadsicle: he's in a medical forum now asking how much being a doctor pays
Wontonimo: 51 seems better than 20. Do you hate java that much eulerscheZahl ?
Wontonimo: lol ToastyBreadsicle
eulerscheZahl: no, it's 51000 vs 20 per year
Wontonimo: oh, because "." doesn't mean decimal. Got it.
ToastyBreadsicle: decimals in europe are denoted by commas
ToastyBreadsicle: for whatever reason
Wontonimo: I obviously have cultural bias that I forget about
Wontonimo: I bet the site that processed the info considers "." as a decimal and just rounded it off because it was posted as 20.000
Wontonimo: 20k/yr , even in Euros, doesn't seem like a whole lot.
eulerscheZahl: no idea what went wrong. regardless of k or not, i wouldn't work for that money
eulerscheZahl: doesn't even matter if i need more than that, pay is also a sign of respect for the work
PatrickMcGinnisII: Want me to show up wearing pants? +25k
PatrickMcGinnisII: shoes? +15k
PatrickMcGinnisII: w/o a baseball cap? +5k
PatrickMcGinnisII: c'mon that shix is funny
PatrickMcGinnisII: w/o a funky smell? +45k
eulerscheZahl: it's fine PatrickMcGinnisII, you can work remotely
PatrickMcGinnisII: w/o spamming your inbox? ;)
eulerscheZahl: :rage:
waterproofsodium: i may get to 3900 CP in clash soon :O
eulerscheZahl: updates once a day
waterproofsodium: won't impress euler tho
eulerscheZahl: my usual clothing in the office is jeans + tshirt. no one ever complained about it
eulerscheZahl: some colleagues also walk around in slippers
Wontonimo: i like your pricing model PatrickMcGinnisII
Wontonimo: it's 1am for me and I'm passing out. gn :wave:
eulerscheZahl: 7am here, starting work soon
eulerscheZahl: good night
PatrickMcGinnisII: gn, 1am here too
PatrickMcGinnisII: time for snacks
waterproofsodium: i love how he's paid a yearly salary of some people for showering
eulerscheZahl: sounds like east cost
waterproofsodium: wie ist das wetter in nürnberg
eulerscheZahl: warm and sunny
waterproofsodium: warm is bad for thinking
waterproofsodium: and also if your amphibious
PatrickMcGinnisII: today in between sanding drywall I watched people water skiing and tubing, and Osprey catch fish. No i don't do construction for a living.
waterproofsodium: baby yoda is amphibious right?
**PatrickMcGinnisII eats frogs
timbersson: o/
Porridge: Yo fellas, how do i debug in the 'mad pod racing' game?
5DN1L: the default code shows you how
Porridge: So it does, thanks mate.
5DN1L: np
derjack: :upside_down:
antiwonto: [auto] ':upside_down:' was defined as ' ɥǝllo '
Chapaapaa: mugiiiiiiwaaaaraaaa
System-LD: hi
MSmits: :taco: derjack
antiwonto: [auto] Hey MSmits, here is a :taco: for loggin in today while it is quiet. You now have 8 tacos
MSmits: :taco: derjack
antiwonto: [auto] MSmits has awarded derjack 8 tacos. derjack now has 46 taco. MSmits now has 9 taco
swagat-dash: which is the hardest algorithm(but still useful)
MSmits: it's useful if it's not any harder than it needs to be.
Astrobytes: what a peculiar question. Also, good morning
MSmits: good morning
Silence.Zuo: hhh
aCat: Hi
derjack: hardest as biggest time complexity?
derjack: :taco: jacek
antiwonto: [auto] Spread the love. Give tacos to someone else, not someone you spam with tacos.
derjack: :taco: Automaton2000
antiwonto: [auto] That's a bot. Bots don't eat tacos
Automaton2000: we need to get out of wood 2
Razovsky: yeah right, but it's hard, Automaton2000
Automaton2000: hey guys, is there a way to get the same results
aCat: CodeKeeper was updated with eleur's map generator
aCat: and the code is publicly available
Astrobytes: euler will be pleased ;)
MSmits: any PR-2 experts here? I am wondering if pods go blind when fighting?
MSmits: Seems like the viewer goes dark around areas where pods fight, as if they lose vision, but there is nothing in the description
Wontonimo: new taco feature, antiwonto keeps track of who you give tacos to and encourages you to give tacos to a variety of people and not just the sameold someone ;)
Wontonimo: :eyes: derjack ;)
DaNinja: MSmits all tiles adjacent to your forces should be visible
MSmits: hmm ok, must be a off by 1 error on the viewer again. It's often confusing to compare the text output to the viewer tick
MSmits: you're looking at turn x and reading about turn x -1 or x+ 1
derjack: :rage:
Wontonimo: it has a history of about 4, so it's not huge. Just a bit of encouragement to use tacos as a thanks for others who behave well
Wontonimo: plz no be mad derjack
Wontonimo: :taco: derjack
antiwonto: [auto] Wontonimo has awarded derjack 10 tacos. derjack now has 56 taco. Wontonimo now has 14 taco
MSmits: yay top 100!
MSmits: just with exploration strategy, no defense
MSmits: hungarian method is cool
MSmits: thanks
derjack: hungarian sort? https://www.youtube.com/watch?v=3San3uKKHgg
MSmits: lol that again
antiwonto: [auto] Hey Tien118, here is a :taco: for loggin in today while it is quiet. You now have 2 tacos
derjack: oh my https://attentionneuron.github.io/
ldiaks01: shadow of the knights
Wild_Python: why can't run HelloWorld in java :(((
Micro_Pixels: because you have selected python ??
Ayza: your question has no context or details
Ayza: what are you trying to do
struct: give me taco
struct: oh scroll
struct: though no one was typing :p
Uljahn: :taco: struct
antiwonto: [auto] Uljahn has awarded struct 10 tacos. struct now has 35 taco. Uljahn now has 13 taco
struct: :taco: Uljahn
antiwonto: [auto] struct has awarded Uljahn 10 tacos. Uljahn now has 23 taco. struct now has 36 taco
derjack: :taco: struct
antiwonto: [auto] derjack has awarded struct 10 tacos. struct now has 46 taco. derjack now has 57 taco
Darleanow: yall are so rich omg
j4at: I have 1 taco :'(
Astrobytes: :taco: j4at
antiwonto: [auto] Astrobytes has awarded j4at 2 tacos. j4at now has 3 taco. Astrobytes now has 55 taco
BJD: :taco: j4at
antiwonto: [auto] BJD has awarded j4at 4 tacos. j4at now has 7 taco. BJD now has 13 taco
j4at: THank you I now can have 3 meals tomorrow
Astrobytes: :D
Darleanow: just sayin, some ppl hardcoding in coc
Darleanow: :o
eulerscheZahl: what else are you supposed to do?
Darleanow: xD
vinnie_rinella: hello
eulerscheZahl: https://www.codingame.com/replay/635320041 top4 playing new, random maps
MSmits: that game looks nice. 4p without the destabilizing effect on the leaderboard
MSmits: there's no luck factor from 1 or 2 players doubleteaming on a 3rd
eulerscheZahl: it's just an optim with random validators
MSmits: yeah
MSmits: I'm top 100 pr2 now, will code a defense for early rushes, hope maybe top 30, then i'll quit and try a different game
MSmits: maybe this is a good choice
MSmits: thanks for hungarian method btw, it's quite nice
MSmits: I think I can use this on multiple games
eulerscheZahl: thank Kuhn and Munkres for it ;)
MSmits: always wondered how to handle multiple agents and assignments
eulerscheZahl: for smaller ones like codebusters you can bruteforce it
MSmits: you can, but should you, really.
eulerscheZahl: hungarian method has its justification to exist and have an own wikipedia article
MSmits: yeah
MSmits: not spending too much time on 1 multi is a lot better for learning new things
galuso: can't understand what the euclid number of an integer is
eulerscheZahl: context?
galuso: i tryied to google it but it's not too clear
galuso: You must output the nth Euclid number to the given N.
galuso: i had to complete this task
eulerscheZahl: The Euclid numbers are integers of the form En = pn# + 1, where pn# is the nth primorial, i.e. the product of the first n prime numbers.
eulerscheZahl: https://www.codingame.com/contribute/view/14766d0e7682e6ea01d935d009bc9a1e491c1
eulerscheZahl: it's defined right there
eulerscheZahl: https://oeis.org/A006862 you can just hardcode that sequence, you only need the first 10
eulerscheZahl: kudos to 5DN1L for leaving that link in the comments
MSmits: eulerscheZahl do the top 4 perform so badly because they hardcoded?
MSmits: it's just domiko doing a good job
PrzemekS: btw it is only me or spring challenge fog of war is not an easy task to deal with?
MSmits: it's never an easy task to deal with unless you don't mind dealing with it poorly
MSmits: there's always some shortcuts, ignoring most of the fog's effects
PrzemekS: this is what i thought, i was searching for papers which can give me some kind of idea, but without luck, only thing i found is https://www.researchgate.net/publication/224491323_Dealing_with_Fog_of_War_in_a_Real_Time_Strategy_Game_Environment and iy doesn't convince me
Uljahn: exploit the symmetry
MSmits: that doesnt solve the fog problem entirely, but mainly what you do is just make sure your dudes move around and explore.
galuso: http://chat.codingame.com/pastebin/d1fee393-9c2b-4b2b-b72f-17668eb5d27a
MSmits: You could maybe keep a "last seen" grid. An array where you keep track of how long it has been since you last had vision there.
galuso: can't understand y this is wrong
MSmits: 2D array
MSmits: me neither galuso
MSmits: though you seem to be comparing a string to a character
MSmits: s[i]=="."
galuso: what should i use to do it theb?
MSmits: you have to do some googling to figure out how c++ does characters and strings
MSmits: I dont know for sure, i dont like the language for things like this
MSmits: python is much easier
galuso: y tf this is this correct in c#
galuso: pretty triggered lol :(
eulerscheZahl: "eulerscheZahl do the top 4 perform so badly because they hardcoded?" that map was exceptionally evil. but dbdr will go down with every submit now
Wontonimo: hi Mr_FaZ3a
MSmits: think I got my defense working: https://www.codingame.com/share-replay/635348318
eulerscheZahl: try again with closer neighbors
MSmits: how do you mean
MSmits: you mean it won't work with bases really close?
eulerscheZahl: spawns closer together
eulerscheZahl: just curious
MSmits: it failed here: https://www.codingame.com/share-replay/635348540
MSmits: it's a vision thing really
MSmits: I depend on vision for defense. I guess I have to hardcode for the closer spawns
eulerscheZahl: you are waiting in the first turn?
MSmits: shouldn't be
MSmits: ah. no, it sees the 10 pods in the 1st turn
eulerscheZahl: and you can totally defend the 2nd replay
MSmits: the problem is that it goes out of vision on the 2nd turn
MSmits: so my defense thinks there are no enemies
eulerscheZahl: even if: you only lose 3 units per turn. it helps against rushes to explore a bit and gain platinum
MSmits: yeah, i think i have a bug as well
MSmits: it sort of works but not entirely, probably off by 1 error somewhere
eulerscheZahl: either that or a bad specification
MSmits: whats a bad specification?
eulerscheZahl: what you told yourself would be a good idea to implement
MSmits: oh ok
eulerscheZahl: did you know, that you can zoom in this game?
MSmits: yeah it's cool
MSmits: weird that other games dont have this
eulerscheZahl: you also have messages. but only show in non-debug mode
eulerscheZahl: there are some features that we lost again over the years
eulerscheZahl: e.g. for code4life and coders of the carribbean you were always orange, no matter if p1 or p2
MSmits: confusing
MSmits: this is like oware where you always appear as p1
MSmits: even when you are p2
eulerscheZahl: huh, that happens for oware?
MSmits: yeah, the output is always 0-5
MSmits: never 6-11
eulerscheZahl: ah, no. just visually
MSmits: output too
eulerscheZahl: sides still matched reality for CotC, input and output were fine
eulerscheZahl: just showing you as orange
MSmits: ah just the color then
eulerscheZahl: i really liked that
MSmits: seems like my bot is doing better anyways, even with bugged defense, 67 now
eulerscheZahl: let's see how well you do
MSmits: I feel like I have only been implementing basic features so far
eulerscheZahl: https://www.codingame.com/share-replay/635350345
- (
MSmits: my vision strategy is pretty advanced though, i think
MSmits: ohhh
MSmits: I keep a vision/ownership/pods present history for all turns
MSmits: every turn, i do a floodfill from turn 0 to the present turn, taking into account all information
eulerscheZahl: i forgot what i'm doing in detail. but i have some knowledge of certain and possible/impossible opponent locations
MSmits: If I see a zone on turn 10 and then again on turn 50, i backwardly set all history to have no enemy pods present, meaning they cannot have passed through that zone
MSmits: if the ownership has not change to enemy
eulerscheZahl: i track that too
MSmits: it helps a ton, really focuses your pods where they have to be
nahas1: i know this sounds stupid but how do i fix the first step im kinda new
MSmits: first step of what?
struct: nice MSmits already top 100
eulerscheZahl: my biggest flaw is not distributing better. when there is a T-shaped branch, i tend to send all left or all right
MSmits: yeah, i am just fixing my defense strategy and then moving on to a different game struct
struct: did you choose one yet?
MSmits: eulerscheZahl I make every zone a hungarian method assignment. Since distance is a big factor in this, they will sort of split usually
MSmits: but often too many are sent into a branch the enemy cannot go, when 1 or 2 would have sufficed
eulerscheZahl: i know. but when i played PR, i wasn't that knowledgeable
eulerscheZahl: and now i don't want to return
MSmits: yeah I get that
MSmits: struct i didnt yet
MSmits: I want to do an older one though and get 4k CP for it :)
eulerscheZahl: started in May 2017
MSmits: though that optim looks cool
MSmits: maybe i will do botters of the galaxy =)
eulerscheZahl: back to the code? easy CP
MSmits: yeah that one
MSmits: kinda trying to figure out how to do the squares
eulerscheZahl: "botters of the galaxy" noooo
MSmits: some people seem to like it
eulerscheZahl: you won't, trust me
MSmits: because the sim is big?
struct: Its like the previous contest
struct: but worse
struct: sorry creators of the contest
eulerscheZahl: heuristic mess, no need for sim
eulerscheZahl: good summary struct
MSmits: ahh well, I will postpone that then and do back to the code
MSmits: it's probably called time travelling squares now or something
eulerscheZahl: back to the code (or whatever the name is now): rectangles are easy. more complex shapes is where the fun begins
Wontonimo: hi new at coding
MSmits: what kind of search do you do for this eulerscheZahl
eulerscheZahl: help
antiwonto: [auto] 'help' was defined as ' https://how-to-properly-ask-a-question.surge.sh '
struct: dont spam alof
Wontonimo: no spamming or you'll get kicked
struct: halo*
eulerscheZahl: long ago. i think i start with random rectangles and then extend them randomly to shape something larger
MSmits: and then score them by the probability of the opponent breaking them?
MSmits: or something?
eulerscheZahl: there was also this mini RAIC contest. let me find it
eulerscheZahl: https://aicups.ru/profile/1289/ there's a show replay button. you will find it without translation
struct: I want to still do coif but Im not sure its the best choice to learn
struct: how to make an ai where I need to output multiple commands per turn
**Wontonimo looks left, looks right, looks screen. shrugs
eulerscheZahl: missed the smart watch by 1 rank :(
Wontonimo: no, this is not discord halofttyd
MSmits: eulerscheZahl this raic contest is different because you can overwrite squares cant you?
eulerscheZahl: yes, very different
MSmits: I seem to remember you cant with bttc
eulerscheZahl: you can also die
MSmits: evil
MSmits: looks like a cool game though
halofttyd: i need help with madpod racing my first time i am doing javascript
eulerscheZahl: and just now i spotted a bug, somehow thought i could close the region in time but couldn't
Wontonimo: I watched this replay https://aicups.ru/profile/1289/ good job
Wontonimo: hey halofttyd, i'll give you a hand
eulerscheZahl: you linked to my profile, not to a replay
Wontonimo: have you ever coded before halofttyd ?
Wontonimo: top replay eulerscheZahl
Wontonimo: do you know about variables, loops, functions
Wontonimo: oh, then mad pod racing will probably be too difficult
Wontonimo: this site is more for people who have already learnt those things.
Wontonimo: try this https://www.codecademy.com/learn/introduction-to-javascript
Wontonimo: and this https://exercism.org/tracks
Wontonimo: and there is a fabulous youtuber named "The Coding Train" with great javascript videos
Wontonimo: here is an example of one of his videos https://www.youtube.com/watch?v=GTWrWM1UsnA
MSmits: ohh I am trying to defend my base with pods I don't own!
jacek: oO
eulerscheZahl: taking a mortgage to defend your base?
MSmits: yeah
MSmits: I made a rookie mistake. I guess i coded C# too little lately. I assumed a new List<Zone> (oldList) would make a copy but did not think about it being a deep copy or shallow copy. Of course you'd get a reference to the same zone objects
jacek: oh my
doogyman: ok
doogyman2: Igurrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
doogyman: stop
doogyman: you'll get kicked
jacek: those clashers eh
Wontonimo: hey doogyman2, you've been given a time out. You'll be allowed back in in a while. Please behave
Wontonimo: or the next action will be a permanent ban
jacek: stupid program. segfaults very rarely but when i attach debugger it doesnt ;s
Wontonimo: shy segfault
Wontonimo: maybe you are slowing your code down enough
jacek: -O3 -g
Wontonimo: how did the attention thing go?
MSmits: turns out he has the attention span of a toddler
MSmits: (i have no idea what you are referring to)
Wontonimo: we were talking about how to get a NN to order items by importance (aka, where to put its attention)
MSmits: ohh ok
MSmits: i thought you made jacek take a test or something
jacek: not yet started, trying to port that br2k to c++. its 3x times faster
jacek: except for those very rare segfaults. i cant leave it for a day like that
jacek: btw. i found something interesting on it, but too advanced for me for now https://attentionneuron.github.io/
TINOUAINANI: hi , i have a problem with c++ in clash code when they told us to write some thing separeted with space i always have a problem with the last one so it toke a line outside my for loop that print if any one now a better way (sorry for my bad english)
Wontonimo: what language? There is often times a "join" function that handles all this for you
jacek: no better way in c++.
Wontonimo: oh, c++
Wontonimo: haha
TINOUAINANI: relly ?
TINOUAINANI: :disappointed:
jacek: are you doing shortest in c++? oO
Wontonimo: for(int i=0; i<7; i++) {
if (i>0) cout << " "; cout << i;
}
Wontonimo: for(int i=0; i<MAX*2-1; i++) cout << i%2==0 ? i%2 : ' ';
Wontonimo: ^^ there you go TINOUAINANI , that's shorter
Wontonimo: where MAX is the max number you want
Wontonimo: for(int i=0; i<MAX*2-1; i++) cout << i%2==0 ? i/2 : ' ';
Wontonimo: woops, had to fix a bit of math
Wontonimo: jacek, although that article is really neat, I think it's overkill.
Ayza: taco?
antiwonto: [auto] Hey Ayza, here is a :taco: for loggin in today while it is quiet. You now have 6 tacos
Queuebee: ooh, taco
YvanTryhards: tacos?
YvanTryhards: taco?
YvanTryhards: he doesn't like me
MSmits: use : on either side of the taco
MSmits: :taco YvanTryhards
MSmits: :taco: YvanTryhards
antiwonto: [auto] Sorry but you can only award tacos once per day
YvanTryhards: :taco:
antiwonto: [auto] ':taco:' was defined as ' A currency to some, sustenance for others '
YvanTryhards: nice
YvanTryhards: thanks buddy
MSmits: np
Westicles: use copy in c++
Westicles: vector<int> A={1,2,3};
copy(begin(A),end(A)-1,ostream_iterator<int>(cout," ")); cout<<A.back();
jacek: w00t
aldian: there should be clashes where python is forbidden
Westicles: there is one starting in 14 minutes
BassinMacaron: Hello World !
VirtualRealityRocks: :taco VirtualRealityRocks
4kTre0912: Hello World!
waterproofsodium: hm let me see whether i got promoted :p
antiwonto: [auto] Hey waterproofsodium, here is a :taco: for loggin in today while it is quiet. You now have 20 tacos
waterproofsodium: woohoo 6 CP up
IMDA: if(firstOutPut.equals("hello owlrd")){ sysout("ma maan"); }
trulynameless.: tacos!
antiwonto: [auto] Hey waterproofsodium, here is a :taco: for loggin in today while it is quiet. You now have 21 tacos
LelouchVC2: weirdos
SeraphWeddUltimate: https://www.codingame.com/clashofcode/clash/2405693fd977936f3216af9c45a15d368f07aa6
antiwonto: [auto] hey SeraphWeddUltimate dont paste those links here. Use the channel #clash
waterproofsodium: one problem just was
antiwonto: [auto] Hey waterproofsodium, here is a :taco: for loggin in today while it is quiet. You now have 22 tacos
Thorcode: yo
Wild_Python: any of you guys have sent me link java so i can learn :(((
Inferno_dragon: what'up
antiwonto: [auto] 'up' was defined as ' a direction, specifically the direction away from the center of earth, opposite to down '
Inferno_dragon: w3school might help you
Inferno_dragon: hehehehaw
Palfi_Csaba-Sandor: this site is bugged. constantly changes insert to replace python 3
Inferno_dragon: brruh there is only python 3 here
Palfi_Csaba-Sandor: the keyboard is bugged, not the programming language. brruh.
MasterPhoenix: yo
Inferno_dragon: i never got that error
Wild_Python: https://www.codingame.com/clashofcode/clash/24057486d3df11dd8ea4f4343e9b5978eca9b38
antiwonto: [auto] hey Wild_Python dont paste those links here. Use the channel #clash
Wild_Python: java and python3, joion pls :)))