Chat:World/2020-10-03
Perfect_DepiT: We have a gift for you~
MadKnight: is it a new version of Automaton2000?
Automaton2000: or is it a bad idea?
jacek: happy Caturday
eulerscheZahl: you are late today jacek
eulerscheZahl: and why can't i tab-complete you?
jacek: i had to reboot
eulerscheZahl: you must be on Windows then
jacek: i dont do drugs
Marchete: wsl
AntiSquid: wsl2 !
Marchete: and GUI soon
AntiSquid: really?
Marchete: yeah
AntiSquid: they are desperate to circumvent linux eh?
Marchete: no, they went the best way, unify everything on a single platform
Marchete: obviously for end users
Marchete: linux standalone will be for servers and such
Marchete: but once you have seamless windows + linux apps in a desktop
Marchete: why will one go the painful way?
AntiSquid: lots of reasons to stick to linux
AntiSquid: i'd rather have windows containerized
AntiSquid: it's not as secure, it's bloated and frankly i personally prefer linux since it's easier to set up what i need (i don't game much)
AntiSquid: relevant : https://github.com/Sycnex/Windows10Debloater
Saaalikh: hey
Marchete: If you don't game or use Microsoft office, yeah you can go Linux or Android or even a toaster with web browser
AntiSquid: proton, vulcan, playonlinux worked for me ... apart from that blizz ban for using some software to run their games, but screw them
AntiSquid: i use libreoffice even on windows btw
DomiKo: even with playonlinux on windows you can get some extra fps, so still, it's better option
Marchete: I'm not going to argue, everyone is free to use what they like.
AntiSquid: not arguing, stating what i do
DomiKo: for me, the biggest disadvantage of windows is, that you need you use a mouse, a lot ...
Marchete: I know and it's OK
jrke: i have just used windows yet never experienced any other
AntiSquid: well WSL2 is for windows jrke
AntiSquid: check it out https://www.youtube.com/watch?v=IL7Jd9rjgrM
jrke: but i think for windows 10 +
AntiSquid: what windows are you using? 7 ?
jrke: im having windows 7 outdated
eulerscheZahl: at least not XP :D
eulerscheZahl: but seriously: you should upgrade
jrke: it costs money for that and im not having enough
jrke: my laptop works ok
AntiSquid: you can upgrade free afaik, since you have the windows key from 7
AntiSquid: https://www.theverge.com/2020/1/14/21065140/how-to-upgrade-microsoft-windows-7-10-free-os jrke
Marchete: yeah the windows 10 upgrade were pretty much for everyone
Marchete: except on very old PC's, performance was the same
jrke: i faced one comic thing with me last laptop
Marchete: also you can get an OEM key pretty cheap
Marchete: but for an old laptop is not worth it
eulerscheZahl: linux is for free :P
Marchete: I converted an old vista (sigh) laptop, and was terrible
jrke: oh btw im having virtual box on my laptop so linux is there on my windows only
Marchete: virtual box? then better have w10 with linux subsystem
Marchete: much much better
AntiSquid: vista is the epitome of failure
Marchete: https://www.youtube.com/watch?v=-IfnjBHtjHc
jrke: vista is too old as i remember
eulerscheZahl: but why are you discussing windows versions when you could play Sokoban? :P
jrke: euler 3000$ are waiting for you https://www.kaggle.com/c/google-football :)
Marchete: some replays of these "agents" are pathetic, like run towards goal
Marchete: https://www.kaggle.com/c/google-football/leaderboard?dialog=episodes-episode-3672480
Marchete: from the 1st player
jrke: are you taking part in contest
Marchete: me? no
Marchete: but I just saw some replay of 1st player
Marchete: and most of the time is playing like a little boy, running all the field with the ball, straight to the goal
jacek: looks like paper soccer eh
Marchete: they should add some kind of stamina
jrke: i think stamina is there im not sure
Marchete: ahh
Marchete: yeah, that's game is perfect for euler :D
Marchete: that*
eulerscheZahl: i won't join the kaggle contest
eulerscheZahl: and my internet is losing connection every few minutes right now :/
Marchete: fix your linux
jrke: what if we combine net+euler=neutral
jacek: neuter?
jacek: w00t https://horriblesubs.info/
IfIHadATail: I just got here and have no idea what you guys are talking about but I agree completely
ThunderbirdOne: but but... where would i get my One Piece now ? :o
AntiSquid: 2 weeks break, Oda is sick
AntiSquid: do you mean where to buy or where to read online ?
ThunderbirdOne: well no, i used to get all my anime from horriblesubs =/
AntiSquid: there are official sites now to read manga btw
ThunderbirdOne: im too lazy to read :')
professional_dumbass: lol
AntiSquid: ah
professional_dumbass: i don't think you have to read a lot tho
professional_dumbass: can't you just see thee pictures?
professional_dumbass: *the
AntiSquid: there's a lot of text in there
professional_dumbass: ah, so basically you'll miss out on a lot
AntiSquid: and as for "just seeing the pictures", go look up hunter x hunter
AntiSquid: there are memes just about the massive massive speech bubbles and the long explanation panels
professional_dumbass: oh ok lol
professional_dumbass: i see why
AntiSquid: my favorite: https://pbs.twimg.com/media/ENZ3TPzWkAA8VrK.jpg
professional_dumbass: oh lmao 😂
jacek: pussy playing itself https://img-9gag-fun.9cache.com/photo/apG8DPD_460svav1.mp4
Avifire1: wow moved up 2 leagues in 7 mins
DuncanDrust: Is it possible to disable turn numbers on games with them listed over the console? In ghost in the cell, I am finding this turn count covers my output, and is annoying.
eulerscheZahl: DuncanDrust you just asked the same on the forum
DuncanDrust: True
eulerscheZahl: and I answered you there
DuncanDrust: Oh goodness
DuncanDrust: Sorry, I did not expect any forum response that fast, and was not checking it
DuncanDrust: My bad
DuncanDrust: Thank you very much!
eulerscheZahl: let me know if you have problems following my instructions, but should be pretty straight forward ;)
DuncanDrust: Modifying local css makes sense, thank you!
DuncanDrust: Worked perfectly :)
eulerscheZahl: :)
Marchete: I didn't know that, I exported to excel and then filter by color, I'm an old guy
Talch: why I get target "MOLECULES" if the only thing I'm printing is GOTO DIAGNOSIS?
Talch: ah I'm reading the other robot's target, got it
wlesavo: in 2048 when you ignore whole input you do not print invalid action eulerscheZahl, resulting in 600 turn games if there are no legit actions were printed =) not that it would matter much but in the same time its a simple fix
AntiSquid: does anyone know a user named kevi? says he got banned? i don't see him in chat history
AntiSquid: he spammed discord just now, PMed him, he flooded me .
wlesavo: kevi_not_hardcode
AntiSquid: found code_kevi in yesterday's chat ... https://cg.spdns.eu/wiki/Chat:World/2020-10-02
AntiSquid: so much spam and no ban O_O
AntiSquid: no kick either
eulerscheZahl: wlesavo i make a quick exit if you print the same 10 times in a row
eulerscheZahl: otherwise i don't end the game on invalid actions based on the feedback i've received
eulerscheZahl: antisquid how do you know that there as no kick?
SPDene: did you miss the "[CG]Thibaud kicked these two" in the middle of that antisquid?
AntiSquid: he didn't whine about a kick and he clearly whines about everything
AntiSquid: referring to 2 different users SPDene
AntiSquid: csanad and machi-something
SPDene: i see now (hadn't scrolled down far enough)
AntiSquid: ctrl+F
Astrobytes: is that guy a reincarnation of the earlier guy? Sure was acting like it
jrke: yeah code_kevi spammed a lot
enesdgn: print(sum([int(i) for i in str(bin(int(input()))[2:])]))
enesdgn: how can i minimalize this code
jacek: use smaller font :v
jacek: is this bit popcount?
eulerscheZahl: print(bin(int(input())).count('1'))
eulerscheZahl: this is a bit shorter
vladov200: Anybody completed a codingame interview?
eulerscheZahl: vladov200 most of us are here for the fun part, not the interviews.
but here's what to expect: https://www.codingame.com/work/offers/screening/product-tour/
vladov200: Thanks for the link euler
vladov200: It'll give me a better idea what to expect
wlesavo: oh i see eulerscheZahl, i just meant that this exit dont work when you dont print valid characters i.e. input is ignored as a whole, even if it is the same. not important anyway
eulerscheZahl: hm, true
i skip invalid characters entirely. so do i for strings of length 0
eulerscheZahl: indeed not a biggy but an easy fix
eulerscheZahl: firing up intelliJ
eulerscheZahl: updated
eulerscheZahl: now an invalid character or none at all makes you lose
eulerscheZahl: randomly spamming UDRL will still get you somewhere
eulerscheZahl: early exit if you print the same 10 times in a row
eulerscheZahl: that is 10 times while invalid
codeing: hello the familly
codeing: for this puzzle
codeing: https://www.codingame.com/training/easy/the-lost-child-episode-1
codeing: look at the solution 100%
codeing: http://pastebin.fr/67971
codeing: yep
eulerscheZahl: is there any deeper message or do you just want us to look?
codeing: sure
eulerscheZahl: and what's a Sommet?
codeing: i wanna you feedback if possible.
codeing: Sommet is a Node
eulerscheZahl: that listNeighbors from line 30 to 40 could be shortened a bit
codeing: like how ?
eulerscheZahl: my code (not saying that it's better in total but the neighbor enum is what I prefer):
eulerscheZahl: http://chat.codingame.com/pastebin/96a84d79-bdde-4f0a-80bd-b0a88da9e401
eulerscheZahl: (╯°□°)╯︵ ┻━┻
eulerscheZahl: https://pastebin.com/pU9rjQ4t
codeing: nice code
codeing: simple
eulerscheZahl: it's C# not Java
but similar enough
develoore: clash is fun, I wonder why haven't I played it ever before
Saphielle-Akiyama: hi
AntiSquid: ban
AntiSquid: this is a prude chat Perfect_DepiT
Sjogs: is python or c# the most recommended language to learn in 2020 and 2021 :P learned 2021 in the past in school etc but hearing some colleagues say python is better ?
Simonka: depends what for... theres no single best language
develoore: if there would be a best language the others wouldn't exist
Sjogs: true. I mainly love web dev and everything that it involves :P but mainly rethinking what server sidel anguage I should keep learning. I have the most experience with c# as in with .net core etc but sometimes you have to evolve if the market asks other htings :)
develoore: don't worry about the marked, worry about what interests you, if you're good you can be good in anything
develoore: if you're bad you can be bad in the most trending languages :D
Sjogs: hahaha that's why I'm here to not be bad ;p
develoore: I was an android dev for four years, but quit because it bored me
Sjogs: if any other good sites are known for learning new trends and refreshing basics be my guest :)
develoore: well, because there are rich libraries most of the time you don't need to invent anything, just connect them together
develoore: and I felt I was more playing lego than doing a job xD
Sjogs: hahaha true :P I have been learning some flutter recently to see what it holds up to as it has a bit of a hype around it. is fun but you are right that it's very much using given pieces or placning them differently to make your own :P
develoore: never heard of it before, you learn something new every day :D
Sjogs: it's ridiculous :P it's hard to keep up. swift is a big new thing apparently. average US salaray ( if you manage to get a job there :P ) is 117k :O
Dartisan: Flutter could get nice 2021 when the Web part will become stable.
Sjogs: that's the annoying part sometimes :P IT changes faster then you can follow :P
Dartisan: it's part of the game ;-)
Sjogs: I like it a lot for app development @Dartisan as it allows you to make a app for both IOS and android as a 1 man team :P if you wanna make something for yourself or have an idea. You can, without having to first learn 10 languages :P
Sjogs: true true dartisan true
Dartisan: Well, I wait that Dart will play also a stronger part in the Backend, or Kotlin a stronger part in the Frontend ;-)
Sjogs: would be nice if devs can choose ;) for people that like python or c# or dart . that they can choose :P
Dartisan: But currently I use Codingame for enjoying the game in using only Dart for the solutions.
develoore: historically these kind of things ended up having to be later rewritten to native by someone to be fast enough for production
Sjogs: but firebase is somethign that seems cool af. but not done anything with it so only seen it in vids :P
develoore: at least that was the case when I was on the market :D
Sjogs: flutter translates to native when you deploy it. ( at least they say it is) but yeah I still believe for companies that can afford it that native is good. but if you are alone and wanna do it for fun or because you have an idea and wanna test it first flutter seems nice :) if it pops you can then remake it and hire some peeps :P
Dartisan: By experience, it's hardly the Language what slows, but or using for each little feature a big library, or simply code not well structured and useless costly operations.
Dartisan: But for sure not each language is useful for each implementation case. A strong Thread operated and sync reliable application I would never think in writing in say Dart, JS or similar. Languages like Java have robust Frameworks which behind, which could do daily operations easy and robust.
Dartisan: And BuzzWords like MachineLearning are more in direction like Python, but you could also find implementations in other languages.
Sjogs: yeah they do recommend python over java though cause faster dev times. but it is a bit slower in operation speed due to run time
Dartisan: So finally, l start learning more patterns and implementation methods and the language will be only an instrument.
Sjogs: got any site or recommendations ? :p been in a job where I mostly work Sharepoint and Intune etc etc thus not been developing much the last couple years. and I feel like I have become programming dull.
aka I have lost touch in how to write code :P
Dartisan: Yeah, that problem I have to, why i like the challenges here in codingame, the last month feel a bit like being woken up again.
develoore: well, aside from codingame I like CTF sites which have little to do with programming
Sjogs: feels sad when difficulty is easy and you are like EUHM WHUT ;P
this site's difficulty isn't always as easy as you think or I am sleeping xD
well it's only day 2 since coming on this site again
develoore: I still haven't discovered most of the site
develoore: capture the flag: security training
develoore: https://dev.to/atan/what-is-ctf-and-how-to-get-started-3f04
develoore: been here the past 10 years every now and then
Dartisan: Don't fear when it seams not easy, it will become with time, it is simply unusually as the problems are different than in work. You see it, when you progress, and still the next problem is not bored.
develoore: also don't be afraid to give up and try with easier ones, the reason I skipped a few years was that I couldn't complete a challenge, I came back when I realized it was simply over my head at the time
Sjogs: so you skipped that exercise a few years and did others in the meantime ? :P
good starting point here ? just selecting some randomly and solving them atm
develoore: the moment I realized I'm not stupid was when I showed it to a friend of mine who has masters in algorithms and he also scratched his head for a while :D
develoore: I didn't skip it and got anxious... learn from my mistake :D
Dartisan: And also, when you solved an exercise, look on the other solutions of the developer. Sometimes there is an other approach, and it gives an hint for another problem you are on.
develoore: clash is especially helpful in this... you may think that the problem was hard and then you check the solutions of others
develoore: and realize you just missed a small idea
Dartisan: Oh yes, read a page of description, scratched my head, wrote a complex code, and when I saw finally the solution, it was a simple loop with an simple operation :-)
Sjogs: the descriptions can sometimes put you off > :P
develoore: I had a clash with counting the numbers
develoore: and I thought it's some difficult algorithm for 2-3 mins
develoore: it was the reverse type
develoore: I felt so stupid when I realized it, but I needed this realization to get to know reverse engineering better :D
Dartisan: Yes, the classic, had it also, but it is the clocking of time you have at that moment in the head too :-)
develoore: especially I was doing this 3 minute challenge
develoore: and I made it more difficult by coding every solution in C :D
Sjogs: timers can freak you out :P
Dartisan: As said. I use only Dart, and I need a second win, for the tree of challenges :-)
Dartisan: But, currently I amuse me more on Bot programming, and getting some experiences in these reflexion of problem solving.
develoore: yeah, weirdly I haven't tried that since I'm on the site
develoore: I'm only checking it out now :D
Sjogs: someone yday also did only that. seems it's a lot of fun to do bot programming
Dartisan: yes, but some of the easy Puzzles like the lost child you can apply as next level there.
Dartisan: I like the concept of Leagues, the code growth from league to league and I like playing with the different states.
Dartisan: So, wish you good night and have fun, I have committed my last changes for the day :-)
develoore: I was really surpised that you can jump multiple leagues up if your bot is good enough
develoore: it automatically attempts the next one as well
MaliciouslyCrypticUsername: 39 more days...
AntiSquid: to do what
MaliciouslyCrypticUsername: :)
MaliciouslyCrypticUsername: I need a way to replace a character in a string with another one.
ex.- Change "eeee" to "eeoe"
MaliciouslyCrypticUsername: While keeping it a string
MaliciouslyCrypticUsername: Anyone help?
Scarfield: python? string.replace() is a thing iirc
MaliciouslyCrypticUsername: :0
MaliciouslyCrypticUsername: Thx
MaliciouslyCrypticUsername: Wait how would I do it?
MaliciouslyCrypticUsername: stringname.replae(index)
MaliciouslyCrypticUsername: replace*
MaliciouslyCrypticUsername: But how would I indicate what to change it to?
Scarfield: just google it :) but .replace works for replacing a substring with another substring, wouldnt work for your example though
MaliciouslyCrypticUsername: Nvm I came up with a better way, I was too lazy to do re.split, but list() is a thing
MaliciouslyCrypticUsername: Thx anyway :)
MaliciouslyCrypticUsername: Hell
MaliciouslyCrypticUsername: o
MaliciouslyCrypticUsername: Hello*
MaliciouslyCrypticUsername: Pressed enter too early :/
kes74: Is opponentX correct? I'm not seeing values that make sense.
MaliciouslyCrypticUsername: I keep timing out on detective pikaptcha on the last case
MaliciouslyCrypticUsername: Bc I loop (# passages)^2 times
Allis: Well, at least you know what you're doing wrong. :P
MaliciouslyCrypticUsername: I don't know how to make it faster though...