ASM_MOV_INT: play clash of code
Wolfrik50: Hey, has anyone tried Detective Geek question?
Wolfrik50: I'm able to pass all testcases except 1 validator, and I have no idea how to resolve this
5DN1L: Wolfrik50 Which validator are you failing?
5DN1L: this website is more for practising
ASM_MOV_INT: let's pull the ol clash n dash
bmacho: pastebin link dead
bmacho: they delete after n hours?
bmacho: 3 or less ?
Husoski: my link from over 3 hours ago still works
bmacho: no its dead
Husoski: ...although it did go into an endless tailchaser loop the first time I tried to view it. weird.
bmacho: working again
BlaiseEbuth: Too much ponies on this chat... Let's make lasagna!
derjack: :no_mouth: https://i.imgur.com/fuI1oTv.jpg
codeing: hello all
codeing: sup ?
codeing: just have a question. Can i get the location of an IP address ?
codeing: my computer has been stolen and i have the IP of the connected person.
codeing: but geoip give the server adress but not the specific adress if the wifi connection.
BlaiseEbuth: Of course...
BlaiseEbuth: IP is far from enough to locate precisely a pc, you'll just be able to locate the relay location.
BlaiseEbuth: Sorry, but if you didn't have a location service configured on your pc, you'll probably never find it back...
Urutar: Maybe report to the police so they can try and find it aswell?
BlaiseEbuth: Can always dream...
codeing: IP adress is an specific indentify of a PC on a server.
codeing: Today the server used to use my computer is SFR
codeing: i can already call SFR and send them the IP adress
codeing: what do yoy think guys
BlaiseEbuth: How did you get this ip ?
BlaiseEbuth: From a connected account?
codeing: the thief used on my google account
BlaiseEbuth: If yes, as I said, the displayed IP is just the relay one, not the pc one...
Jerrasterix: if you have MSFT acc connected with windows
Jerrasterix: you can Locate your laptop
Jerrasterix: like you would with apple devices
codeing: what is MSFT acc ?
codeing: Blaise, i do it
codeing: i locate my laptop with MSFT
codeing: but each time i refresh, i get new one location
codeing: same city
codeing: but the street number is different
codeing: how to deal with it ?
BlaiseEbuth: Such location can't be precise... But if you have an area, of course call the police...
codeing: this is the ip adress
BlaiseEbuth: Do you use this https://support.microsoft.com/en-us/account-billing/find-and-lock-a-lost-windows-device-890bf25e-b8ba-d3fe-8253-e98a12f26316 ?
codeing: gonna check
codeing: win10 yes
derjack: noice https://img-9gag-fun.9cache.com/photo/aWg1VxK_460svav1.mp4
BlaiseEbuth: And there's interstellar music.
derjack: you dont know pepe frog? oh
derjack: i dont need to have one
derjack: this meme is mostly absurd
BlaiseEbuth: Meaning? It's so 20th century...
5DN1L: Aren't we in the 19th century now?
5DN1L: With the frog?
5DN1L: time out may mean your while True loop never terminates
Kururugi: what problem is it for
derjack: so you made contribution you cant solve?
Nachosauce: Today is the day I get legend in coders strike back
5DN1L: Your battles are still in progress
5DN1L: Hope you can get there!
Nachosauce: I don't think it'll be this submission, but I'll get it today :) I was rank 3 gold on the one before this. Just some minor math tweaking and I should be good!
5DN1L: nice :thumbsup:
Nachosauce: oh I just saw you pop up in my battles!
5DN1L: my CP gonna go down then
Nachosauce: One of your pods sat at checkpoint 1, targetting checkpoint 2, but didn't move until my pod bumped it. Is that intentional?
5DN1L: not intentional
Nachosauce: uh oh :sweat_smile:
5DN1L: probably a bug
Nachosauce: Happens to the best of em
Nachosauce: I really need to go through and refactor all my code for this but hoping to squeeze through into legend before I do. I wrote it before I got a development job so it's a little wonky.. And by a little wonky I mean real wonky. But it works?
5DN1L: after all it's a comparison between you and those in the same league as you
5DN1L: so it works as long as you're better than them
5DN1L: but it may not work in higher leagues
Nachosauce: I did a very functional programming approach rather than object oriented because I didn't understand classes. And not a very good functional approach :joy:. My second pod knows nothing about my first pod, and neither pod knows anything about the opponent pods. But I'm decent at trig and angles so that's carrying me pretty hard lmao
5DN1L: And may those tweaks get you to legend :wink:
Nachosauce: If this submission doesn't get it I'll have to finish it up at work :worried:
5DN1L: You can work on your pods at work?
Nachosauce: Kinda, they're pretty understanding at work that if you're stuck on something, sitting there and staring at it usually isn't the answer. A lot of the time if you take a quick break to work on something else, as soon as you switch back you'll go "oh, duh." and solve the first problem :joy:
Nachosauce: But time for me to go get ready for work. Have a good one!
5DN1L: You too!
5DN1L: Let anybody here who can help help you
5DN1L: Not annoyed at all, but this is a public chat, it's open to all
5DN1L: Your use of try/except has made the code bypass assert
5DN1L: if you remove try/except, AssertionError appears
Miki09: How can I reupload a contribution? It wasn't approved in time, I edited it and now its "draft"
struct: I think you can change from draft?
struct: when you edit it
struct: you need to change the status
struct: to ready
Freddyfufu: for how long does clash of code exist? why did i never heard of it before..
Jacxk: I joined on 2018 or so and Clash of Code was a thing back then
5DN1L: Confused by ...?
5DN1L: I still don't know what you're confused about
5DN1L: Read some FAQ then
5DN1L: You're welcome. If you have anything more specific questions please feel free to ask here
GamerKingX: thank you very much
Wontonimo: chances are no
Ben-Anderson: How many companies actually use this site for recruiting? (out of curiosity)
5DN1L: see what they claim
Ben-Anderson: It doesn't say a number on there, but there are some impressive companies
3141948: WTF recruiters are on LinkedIn 😏
3141948: Not here
ninjadip: They are everywhere
Wontonimo: I'm not here for the recruitment. Heck, I don't know why I'm here (queue extensional crisis music)
3141948: Like sugar in hot milk
Ben-Anderson: the recruiters cannot be stopped
Ben-Anderson: they're spreading like wildfire
ninjadip: you're here for the bytes
ninjadip: yeah my cuz is a tech recruiter, man they pay him bank, he does a lot more than look on indeed
Wontonimo: like real-estate agents in 2007 USA ...
jacek: no, they are random
Jacxk: you can find puzzles tho
ninjadip: yeah if you're a noob i recommend puzzles
ninjadip: less stress
Jacxk: i'm not a noob an I find the easy puzzles hard ._.
Jacxk: but at least i have more time to figure it out
jacek: some easy puzzles are medium or hard
jacek: try the descent, power of thor, temperatures
Jacxk: i got those, they're legit easy
Jacxk: unlike CODE BREAKER
Mortis_666: try mars lander
Manchi_o6o7: guys, if someone could help me out
Manchi_o6o7: I wrote a function for levelTraversal of a BST
Manchi_o6o7: but I do not know how to print the node level by level
Manchi_o6o7: like, level 1: 1, level 2: 2 3 etc.
5DN1L: you clear your temp queue level by level
Wontonimo: try "fax machine" Jacxk
Manchi_o6o7: ou when temp gets empty, then I have a new level
5DN1L: When you're clearing your current queue, set another queue for the next level nodes
5DN1L: then when the current level queue is cleared, you move to your next level queue
Wontonimo: i really like mars lander Mortis_666 and Jacxk . Let me know if you'd like any pointers !
Jacxk: will do Wontonimo, looks easier than Code breaker :eyes:
5DN1L: Code breaker was authored by Wontonimo :smirk:
Wontonimo: oh, that code breaker puzzle.
Jacxk: yeah i see that, its just that its too hard to be in the easy mode
Jacxk: at least for me
Wontonimo: yeah, i could give you some tips on that if you like
Wontonimo: the success rate is really low on it :(
Jacxk: sure, is the shift constant? like it's always 1 number or it can be different?
Wontonimo: it is different for each, so your program has to find it given the data
Wontonimo: a key here is in the constraints: The shift and multiply are both less than or equal to the length of the alphabet
Jacxk: in the example the shift is 1 to left for each letter, so it can be 2 left, 3 right, etc?
Wontonimo: it can be up to the length of the alphabet.
Jacxk: well that makes it harder
Jacxk: the first 3 tests I found that it was constant on each letter using the provided word but then it's all over the place
Wontonimo: so if you have a function decode( alphbt, msg, shift, mult ) the you could check each shift and multiply to see if the word is in it
Wontonimo: and if it is, then you've found the shift and multiply to decode the message correctly
Jacxk: i don't really understand what the multiply is either
Wontonimo: okay, are you familiar with Caesar cipher?
Wontonimo: cool, and you were able to solve the first few test cases
Wontonimo: which means you can find the shift
Wontonimo: which means you can solve the equation (X+A)%L , where A is the shift and L is the length of the alphabet
Wontonimo: so, you just need to update the equation of decryption to be ((X+A)*B)%L where B is the multiply
Jacxk: hmm I'll try every single multiply<length and see if that works
Wontonimo: there you go!
IllusionSquid: Anyone using multi threading for bot programing like Ultimate Tic-Tac-Toe?
struct: I dont think its possible
jacek: its possible, but you get only 1 core/thread for your bot
IllusionSquid: Well, that doesn't seem efficient at all if I would also need to implement parallel MCTS for it to work
jacek: then make the sequential MCTS faster
jacek: how many playouts do you have now? do you use bitboard
IllusionSquid: Never heard of a bitboard.
Uljahn: do you use pragmas, AVX-2, opening books? :smirk:
IllusionSquid: Looks interesting
struct: he is using C#
jacek: im sorry
Uljahn: im sorry
IllusionSquid: Yeah, worst choice haha
struct: not worst
struct: Plenty of C# bots on legend
Uljahn: worst is python :disappointed:
IllusionSquid: I mean, I am not super familiar with C#.
Wontonimo: hey IllusionSquid, the question of number of playouts per frame is more to find out where you are and what would be a good suggestion for you.
struct: i would say he has 1k<
Wontonimo: for reference, you can get to bronze with 20 playouts.
Wontonimo: to get into legend you need about 20k playouts and a bug-free MCTS implementation
IllusionSquid: My monte carlo can get 280 -325 iterations done at the start of the game.
IllusionSquid: In 70 ms I am giving it
Wontonimo: 2nd move is what we use as a guage
Wontonimo: okay, that also works
struct: yes you need 20k with vanilla mcts
struct: on 2nd turn
Wontonimo: you have 1000ms in the first move btw
struct: for legend
IllusionSquid: Yeah I am aware if the first 1000ms, but I wonder how much that would help since there are so many ways to go.
jacek: if youre 1st player, go for center
IllusionSquid: 20K How???? I am struggling with getting C# to be fast
jacek: also you can try 'teccles' opening heuristic
Wontonimo: you may find this https://tech.io/snippet/LiWPxTS helpful. It is something I made to show the power of bitboarding. It can play 200,000 playouts in 100ms for a 3x3 tic tac toe
jacek: that is, choose move in the miniboard that will go back to that miniboard
Wontonimo: I use that same concept (but MCTS instead of MC) for my UTTT bot
struct: IllusionSquid just wait until you find Connect 4
struct: For uttt there is plteny of tricks to
struct: bitboards is the first step
Wontonimo: there are 2 benefits of bitboarding: it makes lookups of win/loss super fast
IllusionSquid: Hmm I will have a look at bitboards. Already saw a massive improvement when I swapped out an int for a valuetuple
Wontonimo: two, it makes your data structures super small (and hence less cache hits and hence MUCH faster code)
Wontonimo: IllusionSquid - you may find this video very motivation https://www.youtube.com/watch?v=rX0ItVEVjHc to get you even more convinced to use bitboarding
IllusionSquid: I seem to have a lot of problems writing high perfomance code for C# compared to other languages I have used. Y'all maybe have resources I can use?
struct: also allocate all the memory for yuor mcts at the start
struct: i only know c++ sorry
jacek: what other languages do you know oO
Wontonimo: and then check out this video about "branchless programming" ! It is an eye-opener about optimization https://www.youtube.com/watch?v=bVJ-mWWL7cE
IllusionSquid: Yeah, I would love to learn C++ but my current project required me to learn C# so this is a way for me to learn.
jacek: many/most optimization tricks that would work on c++ or other languages, will work on C#
Wontonimo: ^^ IllusionSquid
Wontonimo: oh, I hadn't given sorting much thought regarding branch prediction ! Nice link jacek :tada:
IllusionSquid: Thank you all, this is very helpfull, I was kinda getting lost on where I could beat more iterations out of my code.
jacek: do you create new objects in loop?
Wontonimo: my python UTTT bot could only do about 200 evals / game frame. My current bot that uses all the above tricks (not the sorting one) does 70,000 per game frame
IllusionSquid: My code can actually be found on Gitlab if you are really wondering where I am fucking up.
Wontonimo: you didnt, it just isn't optimized yet
IllusionSquid: Pretty much
Wontonimo: struct, jacek, and others here helped me also. I learnt a lot here about this kind of optimization. Keep on trucking!
RSBat: jacek I'm insetring into std::unordered_map in a loop and at about 100 in legend in uttt
RSBat: and illusion is in silver
jacek: inserting doesnt create new objects :?
RSBat: so I'd say they shouldn't worry about that for now
BlaiseEbuth: Knuth approve.
RSBat: now that I think about it, I'm resizing map at the start, so with all the compiler optimizations I don't know how much stuff is created on insert
Wontonimo: yeah, you can get to legend without optimizing out 'new'
prozacian: hey i have a question i want to get a good computer for college, whats a good recommendation
Wontonimo: working keyboard and screen.
prozacian: uh ok
IllusionSquid: Wontonimo are you able to give me a brief explanation of bitboards?
prozacian: i can if u want
jacek: IllusionSquid try this http://libfbp.blogspot.com/2017/05/tic-tac-toe-bitboards.html
prozacian: a bitboard moves the icons/pieces in a board game ex: in checkers the bitboard moves the checker piece
IllusionSquid: Aight I'll try something with it
prozacian: happy to help :)
Jay_minecraft: I am new to this game i need help please!
5DN1L: Define help
Jay_minecraft: Help like what to do
BlaiseEbuth: help: verb [ transitive-intransitive ]
to do or provide sth to make a situation easier
GamerKingX: can someone help me im just a beginner and i am clueless:sweat_smile:
5DN1L: Read some faq
Wontonimo: hey IllusionSquid , take a through read through https://tech.io/snippet/LiWPxTS and then play with the code. I know it is c++ but it is the same concept as c#
Wontonimo: how far have you gotten GamerKingX ?
5DN1L: BlaiseEbith need the noun definition, not the verb :smirk:
Wontonimo: have you finished the tutorial ?
Wontonimo: cool, what league are you in?
GamerKingX: wood 2
BlaiseEbuth: Be precise in your question so 5DN1L :angry:
Wontonimo: great, set thrust to 100
5DN1L: lol BlaiseEbuth fair point
BlaiseEbuth: 5DN1L https://how-to-properly-ask-a-question.surge.sh/
5DN1L: thanks Blaise
Wontonimo: and add an if statement to check if your are facing the checkpoint. something like
abs(angle) < 90 GamerKingX
GamerKingX: thx wontonimo
Wontonimo: if you are not facing the checkpoint then lower your thrust to something lower ... like 30
BlaiseEbuth: -3vel ftw !
Wontonimo: make sure you only print ONCE per game loop GamerKingX
BlaiseEbuth: Eve is back !
eve_va_hooves_the_king_of_losers: after like a few months
5DN1L: Why were you banned?
BlaiseEbuth: And Astro isn't mod anymore ! The chaos reign can begin !
eve_va_hooves_the_king_of_losers: nah, im different now more or losss
Jay_minecraft: I give up...:weary:
5DN1L: Jay_minecraft Do you know any basics of any languages?
eve_va_hooves_the_king_of_losers: why is astro not a mod anymore?
Mrs.GloriaZindlebocker: he was fired for banning you so much
eve_va_hooves_the_king_of_losers: im a litttle shock tho
eve_va_hooves_the_king_of_losers: when did he get fired?
BlaiseEbuth: He didn't...
jacek: they had to cut mods' salaries
eve_va_hooves_the_king_of_losers: oh, glad i don't work as a mod
Mrs.GloriaZindlebocker: he is a mod for miniclip now until he can find something better
eve_va_hooves_the_king_of_losers: time for me to find him
eve_va_hooves_the_king_of_losers: also the chao of eve will start next time i get bored
darkhorse64: FYI, there are still mods on #world and they have a low tolerance for spam. You have been warned!
Wontonimo: speaking of which, thanks for the reminder. Let's get back to chatting about codingame and programming
BlaiseEbuth: Yé! darkmod64...
darkhorse64: If I were one, there would be many kicks in the butt
BlaiseEbuth: Here that Wontonimo? 5DN1L? darkhorse64 will do your job better than you do. :smirk:
ninjadip: i heard 'in the butt'
Wontonimo: let's get back to talking about coding
BlaiseEbuth: Oh. Wontonimo is stuck in a loop. He's repeating himself... :thinking:
BlaiseEbuth: Automaton2000 reboot him.
Automaton2000: what's the point of this site
Wontonimo: last warning blast_beat
ninjadip: who is blast beat
5DN1L: some innocent guy
ninjadip: i'm so close to finishing my bot for ocean of code Wontonimo
ninjadip: sounds like a rapper
ninjadip: blast beat's in the house!! lol
BlaiseEbuth: Oh. You want to kick me Wontonimo? :( Well if that can make darkhorse64 consider you as a better mod I think it's OK...
5DN1L: he's actually online right now ninjadip :thinking:
Wontonimo: back to taking about coding.
Wontonimo: Congrats ninjadip
Wontonimo: what algo are you using for ocean of code ?
codeing: hello wontonimo
BlaiseEbuth: You did it! :scream: I thought you were a kind guy, but you're as abusive than we were in our mod time... :( The power is corrupting you!
ninjadip: what do u mean what algorithm? i didn't read any of the hints. this is all me
ninjadip: i'm not going by any suggested route if that's what you're asking
Wontonimo: ah. more wondering if you are using a general strategy that has a name, like NN, GA, constraint propagation
Wontonimo: or if it is all hand coded heuristic
ninjadip: it might be one of those, but i'm not familiar with it
ninjadip: right now i think it's just heuristic
ninjadip: track_enemy, fire at enemy if in range, etc.. scramble if needed...
jacek: no game tree search, no graphs traversal?
BlaiseEbuth: Stop flooding with emojis Wontonimo, first warning.
Wontonimo: ninjadip if you can simulate the game locally then you could battle different fine tuning of the heuristics against eachother
ninjadip: game tree search? like a look up table
ninjadip: graph traversal? yes i keep record of the map and traversed water over open water...
BlaiseEbuth: Naa. Like MCTS, minmax, beam search.
Leeeooo: Fuck you all !
Wontonimo: I haven't tried ocean of code. It would be a good one to practice working with FOW
Mrs.GloriaZindlebocker: so if you get un-legended on the leaderboard cleanup, do you get the XP again when you submit it again later?
BlaiseEbuth: Naa... This kind of thing can't happen on CG... :smirk:
ninjadip: ty Leeeooo
5DN1L: he's banned
5DN1L: he can't see your ty
BlaiseEbuth: Except if he use the secrete way...
BlaiseEbuth: Or create another account...
Wontonimo: any thoughts on working with heavy FOG games?
Mrs.GloriaZindlebocker: I thought people hate FOW even more than they hate hexagons?
Wontonimo: my thoughts are, first try heuristics with hand tuned hyperparameters
Wontonimo: then make local simulator, and search the hyperparameter space
BlaiseEbuth: FOG is Fog Of Garlic?
Wontonimo: then divide heuristic into features and actions, adding a decision layer between the two (NN or random forest), then using local simulator to find an optimal decision
jacek: people hate hexagons?
5DN1L: What's FOG game? I tried to google that but seemed there weren't any relevant results
Wontonimo: Fog Of War
Wontonimo: where you don't have perfect information
5DN1L: ah i see, thanks
Wontonimo: sorry .. FOW
Wontonimo: not FOG
BlaiseEbuth: 'Hexagon' is an alias of 'France', that's why Mrs.GloriaZindlebocker hates them I think jacek...
BlaiseEbuth: Ask euler Wontonimo, he's a real FOW.
Mrs.GloriaZindlebocker: hey, I'm french too. zut alors
BlaiseEbuth: Ya ya ya :3
Wontonimo: here is a hex game I coded a few years ago https://panchishin.github.io/hexis/game.html . Win with 6 in a row or a circle of 6. Rules are changable under "settings" (click them to toggle)
jacek: a llitle bit like havannah?
Wontonimo: oh, you can play on-top of the opponent so long as you didn't in the last round
Wontonimo: and you can't play on top of the opponent if their piece is surrounded
Wontonimo: the computer opponent is from before getting into MCTS or joining CG, so it isn't optimized at all
MSmits: well, we're not optimized either :P
MSmits: My brain runs on vb.net
MSmits: especially after work
BlaiseEbuth: Could be java heh...
MSmits: or kotlin, because my head hurts
BlaiseEbuth: Or... groovy :scream:
Wontonimo: the game is adapted from a game my sons fencing teacher invented. I decided to make a web version because I felt his rules were broken.
MSmits: there's a life lesson in there somewhere
Wontonimo: that is why there is not a rule "cannot take a piece if you took a piece last turn" because otherwise it is just dumb
MSmits: don't get game designs from your sons fencing teacher?
jacek: like, a ko rule?
BlaiseEbuth: I see fencing -> hexagon ->France... Makes sens.
Wontonimo: yeah, like a ko rule. another idea was limiting the number of replacements to a fixed amount, like 6
MSmits: I think if you were to design a game like this, you'd start with the 6 in a row + circle and see how balanced the game is. Then add other interesting features. You'd need to test with strong bots and human players
MSmits: human players to see if it's interesting, strong bots to see if it's interesting for strong players
jacek: it is hexagon, of course its interesting
MSmits: of course
MSmits: but it has to be maximally interesting
MSmits: otherwise it's a wasted opportunity
Wontonimo: I really like the card mechanic that limits moves like this https://www.codingame.com/multiplayer/bot-programming/onitama
MSmits: yeah onitama is great
MSmits: i especially love the fact that it makes it possible to have a very tiny board and still have a game playable by bots
MSmits: though some card combos are solved on turn 1
MSmits: so they are excluded in the live game
Wontonimo: it can appeal to both beginners (because it feels like random and the pain of loss is lessened because of believable unluckiness) yet it is hard to master
BlaiseEbuth: I can't read that in another way than "Oniii-tama! Yameteee! :flushed:"...
MSmits: is that a good thing?
jacek: yes, onitama is nice tutorial game
Wontonimo: tutorial of what?
BlaiseEbuth: An eroge so?
jacek: thats what i name the game when my bot is 1st :v
jacek: afaik royale also uses nn there
struct: bt is the only game you need
USSR_Chicken: i broke my game
USSR_Chicken: anyone know how to use unity?
Wontonimo: use git to revert your last changes
USSR_Chicken: my weapons look wierd in game but in blender they look just fine?
MSmits: probably has to do with vertices that are duplicated for UV purposes
Wontonimo: perhaps the triangles do not have a backface in unity but they do in blender
Wontonimo: what MSmits said
USSR_Chicken: let me look real quick and ill let you know
Wontonimo: do they look like they are missing parts with transparent triangles all over? then that would be the problem. else it is something else
USSR_Chicken: it kind of looks like it but the model itself is all over the place
USSR_Chicken: you know how in some games you get those random black lines from some stuff messing up? thats how it looks
MSmits: you're on windows right?
USSR_Chicken: can confirm
MSmits: print screen, paste to paint, cut the interesting part, put on imgur.com, paste link here
MSmits: good skill to have to quickly share something visual
USSR_Chicken: shift + win + s dont work for me which is what the hotkey is D:
MSmits: printscreen is a button on my keyboard
MSmits: dunno what yours is like
jacek: try alt+f4
MSmits: dont :P
USSR_Chicken: i will lol
MSmits: ok, seeya in a bit
USSR_Chicken: *alt F4's*
USSR_Chicken: wait i found it
USSR_Chicken: it was what MSmits said earlier
USSR_Chicken: but it still has some texture issues so ill have to find out how to fix that
MSmits: yeah that stuff is not easy
USSR_Chicken: i used to skin cars for fivem, now im making a whole game to shoot animals with different low poly guns :joy:
USSR_Chicken: gun club vr just not virtual reality and its the offbrand version
Wontonimo: i prefer a game where animals hunt and shoot people
MSmits: for some reason this bothers me more than trying to run over people in GTA
jacek: why not both? shhot the furries
Wontonimo: if it is on itch share a link
USSR_Chicken: imagine a hunting game where you are getting hunted
BlaiseEbuth: Or people who shoot people. But not animals
MSmits: carmageddon 2, best game ever
USSR_Chicken: jacek i agree with that statement earlier
USSR_Chicken: anyway ima go work on my textures and gain stage 5 brain cancer
USSR_Chicken: seeya :wave:
MSmits: uh.. enjoy?
USSR_Chicken: dont think it will be enjoyable
USSR_Chicken: but i will accept "good luck"
BlaiseEbuth: Brain cancer has a great texture if you plan to add some aliens.
USSR_Chicken: Myself, i know what you;re gonna do today
BlaiseEbuth: print(thingtoprint, end="")
Laki42: Is there a limit number of private contributions I can make ?
5DN1L: Where does that number come from?
jacek: mr-joelM try console.log after pi after the pi = parseInt()
mr-joelM: inside the for loop?
struct: also you can store it in an array
jacek: yes, inside loop
jacek: after the loop pi is out of scope, so it isnt visible
mr-joelM: so console.log(pi) give me the last 3 of the input but only if checkedd inside the for loop... how can i access it outside the for loop?
mr-joelM: how do i call it|?
jacek: as struct said store it in some array
USSR_Chicken: im back, textures wont work
mr-joelM: ok.. trying that..
mr-joelM: ok.... got it... thx a million guys!
Jacxk: Wontonimo I finally managed to solve Code Breaker, I've been trying since we talked (taking breaks before my brain exploted)
5DN1L: Are you in the wrong channel?
Jacxk: Sneaky: 0
5DN1L: see ya
jacek: tower dereference eh
jacek: you cant. you stay with us forever
5DN1L: close the window
5DN1L: shut down your computer
BlaiseEbuth: First time I see the "I fake a phone call to appear having an interesting life" trick on a chat... :o
Jacxk: hmm a professional coder doesn't know how to this might work?
5DN1L: i have one last trick up my sleeve
5DN1L: i can get you out
5DN1L: for sure
BlaiseEbuth: Oh yes ! Do it ! :hugging:
5DN1L: glad to hear it
5DN1L: cheer up BlaiseEbuth
jacek: yes, free BlaiseEbuth from the chat
jacek: draw in oware eh
BlaiseEbuth: Jacek ! Draw me a pony !
Mrs.GloriaZindlebocker: stoi l'pony
Mrs.GloriaZindlebocker: (are we still doing that?)
animeWeeb: press spacebar
jacek: above the ide
animeWeeb: oi check out my squirrel playing saxaphone
Alex4200: hey what are you doing ?
USSRpumpkin: You're mother. :slight_smile:
USSRpumpkin: Wait a secon
USSRpumpkin: how is he a mother
Rebollo: Hi folks..
Rebollo: Any tip about the resistance?
Rebollo: I am not sure if it is better to sort the dictionary
Rebollo: or start from the message to the dictionary or from the dic to the message
Rebollo: if ai use map, array or vector..
Rebollo: if i create a array index using hash
Rebollo: or something like this
Rebollo: o try to sorte the dictionary and got timeout
struct: no idea
struct: i tried the puzzle only 1
struct: and tried to brute force it
struct: but it didnt work
Kathrin: I do not really get what you mean with from message to dict (or the other way round), but I doubt a simple dict will do. for the long messages you will need a more specialized datastructure.
Alex4200: wesh la zone or in english hey the aera.
Rebollo: I mean, do I look up in the dictionary first and then find the words in the message, or iterate the message and try to find the words in dictionary
Rebollo: dictionary has 10.000 words
Rebollo: message has a length of 10.000 characters
Rebollo: I just created I binary tree
Rebollo: And added the words of the dictionary on it
Rebollo: Now I will iterate the message
Rebollo: And lookup the tree to find correspodence..
ASM_MOV_INT: in clash of code, why do they count comments as code length? the only skill is remembering to delete the comments...? how is that a helpful skill in the real world
ASM_MOV_INT: <<-- just forgot to delete comments in a clash btw lol
struct: in short mode the time doesnt matter much
struct: You wont forget to delete the comments next time
Smelty: how do I see what stuff i got wrong on the certification test it says i got 12 points off :(
Wontonimo: hey Smelty ! It's bee a long time
Wontonimo: I've not done the certification. I suspect the info will not be show
Smelty: im fine with >99% though
Smelty: also congrats on getting weekly puzzle
Wontonimo: thanks! yeah, that was nice
C26_1: @Wontonimo, can I send my contribution private link? Cuz mine doesn't have any solution and I have a very headache after fixed my code for several times. After a long time tho, I quit and decide that give up the sol and just private the contribution
Wontonimo: if you can't figure out a solution, then make a different contribution