Chat:World/2022-05-27

From CG community
Revision as of 05:29, 28 May 2022 by Chat Log (talk | contribs) (Created page with "<img src=/a/75707267075165> PatrickMcGinnisII: could overload session variables, oh a use for php <img src=/a/43135502422075> eulerscheZahl: even if we pull it off: i don't t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PatrickMcGinnisII: could overload session variables, oh a use for php

eulerscheZahl: even if we pull it off: i don't think that many users would use it

PatrickMcGinnisII: even if/when chat goes down, peepz will just discord

Westicles: when is mid june. too many people have discord blocked at work, the fr were talking about chatting elsewhere

PatrickMcGinnisII: my dev site incrreased their security... they intentionally scan my scripts as malware to piss me off.

PatrickMcGinnisII: I coded user data on one of my sites into a block text file, so I can greasemonkey email blast if I have to... they flagged them. Shut down my customer for 3 days until I spent 3 hours on the phone bitching at them.

PatrickMcGinnisII: They apparently didn't like the fact they couldn't unencrypt my data for themselves.

PatrickMcGinnisII: gnite

waterproofsodium: PatrickMcGinnisII

waterproofsodium: 4899 CP in clash :_(

waterproofsodium: place 1004 sigh

waterproofsodium: it just won't let me enter pro league xD

Ajaiy: Automaton2000 do you think your job is tiring?

Automaton2000: i am not sure how i would do it

gokubill: hi

aCat: hello

Default avatar.png LOXXXXXXXXXXXXXXXXXX: hello

waterproofsodium: I'm 4900 CP next day safe :)

jacek: :tada:

blop200: how long does it take for one to reach "legendary" status on clash of codes?

blop200: I mean I look at some programmers here and they are so fast and efficient. I am wondering how long it would take to code to reach those sort of skills

blop200: or is it only attainable for certain gifted individuals

waterproofsodium: aw ty jacek

waterproofsodium: blop200 are you strating from scratch?

blop200: i'm a first year comp sci student who's currently mostly studying c++

waterproofsodium: if you are not new to programming I would guess you can get to it in 1-2 years. but I've not been there :P

blop200: hmm that's interesting, I hope that's the case

waterproofsodium: I think you could make it. I think it requires to dedicade quite some time tho

waterproofsodium: I mean if you're into it. I am confident that you can achieve it definitely at the end of your degree

jacek: c++ isnt popular in clashes

waterproofsodium: but in cp ;)

M3M0: negri di merda

blop200: maybe I should learn a new language like phyton?

waterproofsodium: use the language that makes sense for you

waterproofsodium: don't change a language because it's more convenient for some "online practice"

blop200: yeah you're right

M3M0: porco dio

blop200: maybe mastering one language first is a good idea before heading over to other languages

blop200: althought "mastering" is a very abstract term

blop200: you can technically never master something even though you have been studying it for 40 years or longer

waterproofsodium: lets see how much more features they add to C++ the next 40 years :P

blop200: hahhahah

waterproofsodium: can't master something that is changing faster than you're learning

waterproofsodium: but gotta be able to use C++ without mastering it

waterproofsodium: if not the language will die soon enough

waterproofsodium: (not saying that is the case)

waterproofsodium: c++42.. that has a ring to it 8)

jacek: computer science is more about algorithmic thinking, language agnostic

waterproofsodium: jacek: I'm stuck on "win 3 shortest clashes" :D

waterproofsodium: for 2 weeks now ig

jacek: no wonder if you use c++ for that :v

waterproofsodium: haha na C#

waterproofsodium: same problem tho

jacek: C# is even more verbose

Ajaiy: C# is my base language too

Ajaiy: but I tried to learn Python3, and it was very nice for shortest

Ajaiy: Ruby, Perl, etc. are like the gods of shortest, out of which I know only 0.1% of Ruby

jacek: and you colleagues will love it when you write shortest incomprehensible code

Dren: when you have three line long statement with mapped dictionary comprehensions of zipped list comprehensions with multiple assignment to reference the list inside itself because it just makes sense that way

Uljahn: you mean it's impossible to break it down in any meaningful way? i'd like to see this example

waterproofsodium: beaten by baby yoda :(

b0ot: anyone know why in ruby my strings always seem to have extra " marks

b0ot: insteady of "foobar"

b0ot: it shows up ""foobar""

5DN1L: https://www.rubyguides.com/2018/10/puts-vs-print/

5DN1L: this may help?

b0ot: Just use puts I guess lol

b0ot: thanks

5DN1L: np

waterproofsodium: oh no

waterproofsodium: I turned in last first time :O

waterproofsodium: rip 4900 score

mr_sam01: Hi

Lynch[0]: can someone tell how to fix EOF error

Lynch[0]: in python

Default avatar.png vknue: send bob pls

Default avatar.png vknue: send bob and vagene

ToastyBreadsicle: is there a way to choose only code golf challenges in clash of code? without creating a private room that is

jacek: no

ToastyBreadsicle: aw shucks i like those :(

5DN1L: Lynch[0] correct your code to fix EOF. check whether everything opened has been closed (e.g. brackets)

Lynch[0]: can someone tell how to fix this:

Lynch[0]: EOFError: EOF when reading a line

jacek: is this some puzzle

Lynch[0]: yeah ascii art

jacek: youre doing more input() than neccessary

5DN1L: oh i thought he was asking about "unexpected EOF while parsing" :(

Lynch[0]: nope it was about reading a line

Lynch[0]: i only passed the first test and every other tests are showing that error

Default avatar.png Python1234: WHY I CAN'T USE STRIP() (python)

5DN1L: what's your code

TINOUAINANI: hi, whay my python Certification show 96%, i solved all the problems

5DN1L: is this the first time you took the test?

TINOUAINANI: yes

5DN1L: you have full score?

5DN1L: i mean the validators may be different from the test cases

TINOUAINANI: oh, ok thanks

Yuhiii: hey

Yuhiii: let num = 255 let num = num + num++

Yuhiii: can someone explain me what wrong ? (javascript)

TINOUAINANI: num = 255 + 255 right ?

5DN1L: SyntaxError: Identifier 'num' has already been declared at Answer.js. on line 2

5DN1L: don't let twice

Yuhiii: "Apply the increment operator to num"

Yuhiii: that's why i make it twice

5DN1L: just "let" the first time

5DN1L: this works:

5DN1L: let num = 255 num = num + num++ console.log(num)

5DN1L: at least without error

5DN1L: not sure if that's what you want, though

Yuhiii: ohhh

Yuhiii: yea it's what i want lmfao

Yuhiii: tysm

5DN1L: np

Yuhiii: error is i put twice ;-;

Yuhiii: tysm

Default avatar.png Python1234: TINOUAINANI

Default avatar.png Python1234: n = input()

Default avatar.png Python1234: *input = "H1a23l6l597e0y"

5DN1L: you can copy and paste the whole code here

Default avatar.png Python1234: ok

Default avatar.png Python1234: import sys import math s = input() print(s.strip('0123456789'))

Default avatar.png Python1234: goal is remove all the number

Default avatar.png Python1234: it just print the whole input again

Default avatar.png Python1234: id understand

Ayza: It's because you are looking for 0123456789

Ayza: not all numbers from 0 to 9

Ayza: nvm mb just tested it in the console

Ayza: what's the input you are given

Default avatar.png Python1234: i lost it

Default avatar.png Python1234: but it kind of letter and number

Default avatar.png Python1234: "H1a23l6l597e0y"


Default avatar.png Python1234: kind like that

Ayza: well what I conclude from testing is the strip function will only remove the numbers from the start and the end

Ayza: I suggest using replace instead

Default avatar.png Python1234: thx

Ayza: np

Default avatar.png FarshidShk: I'm looking for job, drop me a msg

Yuhiii: *ah

Yuhiii: ah*

Yuhiii: *ah*

zakacat: I am also looking for a job

zakacat: lol

zakacat: currently labouring

zakacat: and running skidsteer

Default avatar.png spaceBoiBrownie: how do i progress leagues in podracer? i beat the boss & havent lost any of my wood league races

Default avatar.png spaceBoiBrownie: nvm

jacek: you need to wait until it completes 100% battles in arena

Default avatar.png spaceBoiBrownie: awesome thanks

Foxboy: can you link this game mode please?

jacek: https://www.codingame.com/multiplayer/bot-programming/mad-pod-racing

Default avatar.png spaceBoiBrownie: its the first one on the AI track!

Foxboy: thanks fam

Default avatar.png seanmabli: piza

Default avatar.png seanmabli: hut

Default avatar.png seanmabli: is yummy

5DN1L: no spam please

Default avatar.png seanmabli: spam

Default avatar.png seanmabli: spam

Default avatar.png seanmabli: spam

5DN1L: kicked, next is a ban

jacek: usa eh

Default avatar.png Reyil: hi

Westicles: just think of then as nato

Westicles: them

jacek: nato comes to chat spamming?

Westicles: most likely they are french smurfs...

Default avatar.png galuso: can0t really find out how to write a result of an operation like 27.0

Default avatar.png galuso: it just prints out 27

Default avatar.png galuso: even if it's float

jacek: language?

Default avatar.png galuso: c++

jacek: #include <iomanip>

jacek: cout << std::fixed << std::setprecision(1) << 27.0f << endl;

Ajaiy: jacek: do you put random stuff on purpose?

jacek: what random stuff

Ajaiy: Like putting very hard puzzles as a recommendation for a beginner

jacek: no, its autonomic reflex

Ajaiy: was that supposed to be sarcastic?

jacek: no :upside_down:

Ajaiy: ok then? 😕

5DN1L: automatic reflex means an if-then-else that takes less than 1 ms to execute

Ajaiy: I wonder how jacek has an autonomic reflex for every situation

5DN1L: he has a super neuron network?

Ajaiy: I mean, even bots like Automaton2000 can't handle that big of a network

Automaton2000: thanks for letting me know

Ajaiy: sorry if that offended you

jacek: try some difficult puzzle https://www.codingame.com/training/very-hard/onboarding

Ajaiy: what the heck

5DN1L: and write a NN solution to it

5DN1L: (somebody did)

Ajaiy: how in the world were you even able to change it to very-hard?

5DN1L: https://www.codingame.com/training/how_in_the_world/onboarding

5DN1L: by typing

Ajaiy: I see

Ajaiy: is it a bug or a feature?

5DN1L: feature i guess

5DN1L: facilitate change of difficulty level if needed

Ajaiy: Yeah ig

Ajaiy: it works for all the puzzles

Ajaiy: btw what is the coolest one-liner you have seen in a clash of code or somewhere?

jacek: print(input().title())

jacek: for a clash that wanted capital letter at every word

jacek: so "I like cats" becomes "I Like Cats"

Default avatar.png GNye22: Does anyone know why when you minimize functions or classes, they seem to randomly open back up when typing? even when there's no mention of the class in what you're typing?

jacek: dunno, I rarely use site's IDE

Uljahn: GNye22: CG uses Microsoft's Monaco Editor, which has a lot of configuration options, you can alter them in the settings on the left-side panel

Default avatar.png GNye22: Oh, I was unaware that was there. Would you happen to know how I could keep the IDE from automatically uncondensing my methods and classes?

Prince6502: pls https://escape.codingame.com/game-session/x2V-foo-771-pCI

Prince6502: https://escape.codingame.com/game-session/x2V-foo-771-pCI

jacek: oO

Prince6502: https://escape.codingame.com/game-session/nri-NCX-rpp-x1n

Wontonimo: don't post those links here Prince6502. Use #escape

Wontonimo: or #clash

Wontonimo: hi antiwonto

antiwonto: [auto] hey Wontonimo. I'm a bot :robot:

jacek: :taco: derjack

antiwonto: [auto] Spread the love. Give tacos to someone else, not someone you spam with tacos.

jacek: :rage:

Wontonimo: yeah, like me. you haven't give me tacos recently !

derjack: :taco: Wontonimo

antiwonto: [auto] derjack has awarded Wontonimo 10 tacos. Wontonimo now has 35 taco. derjack now has 58 taco

Wontonimo: :taco: derjack

antiwonto: [auto] Spread the love. Give tacos to someone else, not someone you spam with tacos.

Wontonimo: :taco: jacek

antiwonto: [auto] Wontonimo has awarded jacek 10 tacos. jacek now has 42 taco. Wontonimo now has 36 taco

jacek: what does 'error' mean in NNs? so far ive been doing mse (i think) only. what would i need to change in the xor example, to decrease the mean absolute error for specifically? or i got this wrong

Wontonimo: yeah, you could use mean square error MSE for XOR. An alternate is logistic softmax

Wontonimo: as for "error" in NNs, I don't know what you mean. more info plz

Wontonimo: maybe we could make a colab notebook to talk about this?

jacek: you have huber loss, absolute error etc.

Wontonimo: here is a XOR demo notebook i made a while ago https://colab.research.google.com/drive/1iZ1ZWjQHXBNZBOa-ZxX8SSOoiwFjCIcD?usp=sharing

jacek: im not theory guy, i half mindlessly copied pieces here and there to get working solution

jacek: what if i wanted to decrease huber loss specifically, not (only) mse?

jacek: if my question makes sense

Wontonimo: no problem, write a new loss function

Wontonimo: want help doing that?

jacek: without libs?

Wontonimo: using keras and tensorflow

jacek: its all there, just import stuff. its easy

jacek: in my xor example, im doing (target - output) stuff. then it is decreasing mse specifically?

Wontonimo: i'd have to see your code to answer

Wontonimo: link?

jacek: probably you wonder how could i come this far using NNs without knowing them

Wontonimo: no, totally seems reasonable actually

Wontonimo: custom losses are kinda niche for fine tuning

jacek: https://tech.io/snippet/axkMYBm

jacek: what would i change for custom loss, like MAE or other simple loss

Wontonimo: OH, you are not using tensorflow and keras

Wontonimo: so, you'd have to compute the derivative of your loss function

Wontonimo: if you made a new one

jacek: :scream:

DomiKo: jacek

DomiKo: https://tech.io/snippet/j9PwX9Q

DomiKo: here is simple implementation using numpy, where you only need to implement loss and derivative

jacek: thankies

Default avatar.png bubba1: damn i mistyped which cost me like 20 seconds

jacek: derive to 20 seconds, ezpz

Ajaiy: When you try to code something simple to humans, such as finding what number is handwritten, that's when you feel so gifted to do such things easily

Ajaiy: that happened a lot to me

jacek: hm? https://xkcd.com/1002/

jacek: welp the go one needs some update

Ajaiy: computers need rules, humans don't

Ajaiy: that's what makes humans special

jacek: welp https://en.wikipedia.org/wiki/MuZero

Ajaiy: you know what i give up

jacek: computers rule the world

Ajaiy: can a computer successfully rickroll me, then?

jacek: Automaton2000 will

Automaton2000: if i wanted to decrease huber loss specifically, not (only) mse?

jacek: oO

Ajaiy: Automaton2000 do you think you will be successful in rickrolling someone?

Automaton2000: i like how you can do something like this in the rules

Ajaiy: i mean, the rules never forbade rickrolls

Uljahn: Automaton2000: is it the Moon or a yellow traffic light?

Automaton2000: not sure if you are good enough

jacek: DomiKo why do i get repeated games from you :thinking:

jacek: youre so predictable

SUwUn: I was stuck on a test case but when I submit it was 100%. lol wtf

SUwUn: I hate that

jacek: you hate having 100%?

struct: its bad if it works but you dont know why

jacek: just like nns

Java_Coding_Bro: Too many comments! Do I have to reply this much?

sir_ph: amogus

Java_Coding_Bro: Amoung us is a chicken!

Java_Coding_Bro: http://chat.codingame.com/pastebin/4a4b600a-af6d-46ae-9369-8cebef45871a

sir_ph: omg

Java_Coding_Bro: sorry

Java_Coding_Bro: ha ha

Java_Coding_Bro: ............................................................................................................................................................................................................................................................................ What are you doing?

Wontonimo: Java_Coding_Bro you have been given a time out for spamming.

Wontonimo: feel free to rejoin in a few minutes so long as you don't spam

AngelicCapy: Rip

AngelicCapy: how it feel to be timed out ? can i be timed out like 1 min ?

AngelicCapy: forget it mb

Java_Coding_Bro: That was not me it was my sister...

Wontonimo: doesn't matter. and if you cant' take responsibility for your keyboard then you will be banned

Java_Coding_Bro: Never gonna make it happen...

Java_Coding_Bro: Sir

AngelicCapy: By tthe way Wontonimo i tried your puzzle code breaker but i can't pass the second i don't understand how i have to move the character

Java_Coding_Bro: ...

Java_Coding_Bro: Why did you say rip I'm not dead

AngelicCapy: mb Java_Coding_Bro

Java_Coding_Bro: What is the red for?

AngelicCapy: Just when you get mentionned

AngelicCapy: like discord

Java_Coding_Bro: Oh.. Okay!

AngelicCapy: Normal text

AngelicCapy: Red text for you Java_Coding_Bro

Java_Coding_Bro: What...

Java_Coding_Bro: Oh shoot...

AngelicCapy: what ?

Java_Coding_Bro: I'm saying what to the thing you said to me.

AngelicCapy: i don't understant

Java_Coding_Bro: I said I'm saying what to the Red text for you Java_Codin bro

AngelicCapy: oh

Wontonimo: sorry AngelicCapy , i gotta go. the equation is in the description

AngelicCapy: Okay

AngelicCapy: i will see it

AngelicCapy: i just wanna show you how the red text work

Java_Coding_Bro: Okay...

Java_Coding_Bro: Gotta go fast!

Java_Coding_Bro: Gotta go faster Sanic/Sonic

Java_Coding_Bro: Bruh... 548432nd Place on Codin Games

Java_Coding_Bro: Why?

Java_Coding_Bro: Tied with serpaulo!

Java_Coding_Bro: :o

Java_Coding_Bro: :(

Westicles: I liked you better pulling up to the club

Java_Coding_Bro: What the...

Java_Coding_Bro: XD

Java_Coding_Bro: Bye!

Westicles: modo Bob!

Java_Coding_Bro: What the ----

AngelicCapy: 1 999 in COC

jacek: :tada:

Uper-Ed: ...

Uper-Ed: Wait what happened to my username!

Uper-Ed: (Me fainting)

Uper-Ed: <><><><><>

Uper-Ed: 666

Default avatar.png Geri4: Good evening, to everyone! <3

Uper-Ed: Good evening to you @Geri4

Uper-Ed: Trying to be kind

zakacat: Can the we do LaTex with writing problem statements with Codingame?

Bob: I think definitely not

jacek: unlikely

zakacat: Okee dokee

zakacat: fair enough

BobLob: Is there a channel to reach the developers regarding quality of life issues? In C I have char underlined with red squiggles, but the compilation is fine.

antiwonto: [auto] Hey BobLob, here is a :taco: for loggin in today while it is quiet. You now have 17 tacos

BobLob: There's also multiple yellow squiggles thrown about, sometimes even into whitespace.

Default avatar.png DOMINER: somebody is there?

Default avatar.png DOMINER: i only need yo know if this page has a dark mode

MAWAAW: yes

Default avatar.png DOMINER: oh god i needed

Default avatar.png DOMINER: how i can turn on?

MAWAAW: u can choose the mode with the parameters button under the chat box

Default avatar.png DOMINER: yes, but that work only for the chat

MAWAAW: u got also the same button on the left side

MAWAAW: https://www.codingame.com/ide/puzzle/monday-tuesday-happy-days

Lisa-Has-Ideas: /me

Lisa-Has-Ideas: me/ hello chatters

Default avatar.png DOMINER: oooh i got it

**Lisa-Has-Ideas hello chatters

Lisa-Has-Ideas: (Sorry, Im just goofing around, trying the options here.)

Default avatar.png DOMINER: only exist dark mode while we are in the clash... normally the page like profile don't have this theme

Default avatar.png DOMINER: Right?

Lisa-Has-Ideas: Thanks for the tip on dark mode; very soothing

MAWAAW: yes only in puzzle

Default avatar.png DOMINER: +10 honor earned

MAWAAW: gg :)

Wontonimo: we do tacos here, not honor

Wontonimo: :taco: MAWAAW

antiwonto: [auto] Wontonimo has awarded MAWAAW 2 tacos. MAWAAW now has 3 taco. Wontonimo now has 27 taco

MAWAAW: thanks ^^

Default avatar.png DOMINER: wait i want one please

MAWAAW: :taco:

antiwonto: [auto] ':taco:' was defined as ' A currency to some, sustenance for others '

Wontonimo: put the name after the :taco:

Default avatar.png DOMINER: :taco: DOMINER

antiwonto: [auto] Sorry DOMINER but you need 3 tacos to give tacos. You have 0 now. Get someone to give you more tacos first

Wontonimo: so sad

Default avatar.png DOMINER: that is not for me...

Default avatar.png DOMINER: Wontonimo :taco:

antiwonto: [auto] Sorry DOMINER but you need 3 tacos to give tacos. You have 0 now. Get someone to give you more tacos first

Wontonimo: throw :taco:

antiwonto: [auto] That taco command has moved to the #taco channel

Default avatar.png DOMINER: :taco:

antiwonto: [auto] ':taco:' was defined as ' A currency to some, sustenance for others '

Default avatar.png DOMINER: :taco: hlep

Wontonimo: hey DOMINER , go to the #taco channel and I'll give you some

Default avatar.png DOMINER: why you have a "disc" on your name?

Default avatar.png DOMINER: its an emote or an achievement?

Wontonimo: i'm a mod

Wontonimo: hover over it DOMINER

Wontonimo: anyone new here that needs a little hand doing a multiplayer bot battle game https://www.codingame.com/multiplayer/bot-programming

struct: hi

waterproofsodium: hi

waterproofsodium: weeeeeeeee

waterproofsodium: celebrate everyone. drinks on me!

waterproofsodium: I'm 4906 CP in clash :D

Default avatar.png [001]: where is my drink

waterproofsodium: how do i give a taco?

struct: :taco: waterproofsodium

antiwonto: [auto] struct has awarded waterproofsodium 10 tacos. waterproofsodium now has 33 taco. struct now has 47 taco

waterproofsodium: ty

waterproofsodium: :taco: [001]

antiwonto: [auto] waterproofsodium has awarded [001] 1 tacos. [001] now has 1 taco. waterproofsodium now has 34 taco

waterproofsodium: here you are. put it in the mixer then you can drink

Default avatar.png [001]: mmm delicious

struct: Wontonimo have you been working on any multi?

waterproofsodium: hm I have 33 tacos, hm I give away 1 taco. then I have 34 tacos.. makes sense

Wontonimo: no, not a one struct

struct: you get 1 taco when you give min(10, your_tacos)

waterproofsodium: oh

Wontonimo: min(10, your tacos, their tacos+1)

struct: oh

Wontonimo: it used to be 10 just straight up, but there was too much mining with fake accounts. Now having lots of low-taco accounts doesn't give you much

waterproofsodium: illegal taco mining ..

Wontonimo: well, just not encourage too much. it's fun seeing it happy actually. A part of me is happy when it does

Wontonimo: *it happen actually

waterproofsodium: the fact that nobody seems to eat those tacos is really bad for the taconomy

Wontonimo: you can eat them :sunglasses:

Lisa-Has-Ideas: Give someone "a cat" instead of taco.... thats the palindrome-effect

PatrickMcGinnisII: :taco: struct

antiwonto: [auto] Hey PatrickMcGinnisII, here is a :taco: for loggin in today while it is quiet. You now have 31 tacos

Ajaiy: taco DOMINER

Ajaiy: :taco: DOMINER

Ajaiy: eat :taco:

StevenV: hello guys