15th
May 2018
Nazar
@IsaakNazar
May 15 2018 04:39
hey everybody!!!
Henry
@h025
May 15 2018 08:13
17
Henry
@GitHub-Henry
May 15 2018 08:21
42, Douglas Adams said it was the answer to the meaning of life.
Sheldon Cooper said, 73 is the best number because "it is the 21st prime number. Its mirror (37) is the 12th and its mirror (21) is the product of multiplying 7 and 3. ... In binary, 73 is a palindrome, 1001001 which backwards is 1001001."
@diomed
May 15 2018 09:36
01111001 01101111 01110101 00100000 01101110 01100101 01110010 01100100
Joseph
@revisualize
May 15 2018 10:06
@diomed Takes one to... well you know.
@ezioda004
May 15 2018 10:56
``````const fromBin = (str) => str.split(" ").map(val => String.fromCharCode(String(val).split("").reduce((accum, cur, j, arr2) => accum = cur * (2 ** (arr2.length -1 - j)) + accum, 0)));
fromBin("01111001 01101111 01110101 00100000 01101110 01100101 01110010 01100100");``````
@m1anas
May 15 2018 11:01
Hello All!
I am trying to make a grid for the 'Game of Life'
https://codepen.io/m1anas/pen/gzzRow
But there is only a black screen. Any thoughts?
kesoea
@kesoea
May 15 2018 11:21
hello guys
.thin-green-border
{border-color:green;
border-style:soild;
border-width:10px;}
<img class="smaller-image thin-greeen-border"
anyone told me that where's wrong
@m1anas
May 15 2018 11:29
@kesoea you used triple `eee` in the spelling in `class`
Kranti Nebhwani
@darkphotonKN
May 15 2018 11:46
``````let item = document.querySelectorAll(".grid .item");

});``````
Why do I get an error "Uncaught TypeError: item.addEventListener is not a function" for this part of my code? For the `.addEventListener` part. I have used the same exact code earlier targetting another element and it works. Just this time it doesn't
kesoea
@kesoea
May 15 2018 12:00
thanks sorry for my bad eyesight
@ezioda004
May 15 2018 12:08
@darkphotonKN `querySelectorAll()`returns a NodeList (array like object), you need to specify which element you want to add event listener to. So you'd have to loop through `item` and add event listener to them.

May 15 2018 12:19
hello
Kranti Nebhwani
@darkphotonKN
May 15 2018 14:39
@ezioda004 ahhhhh thanks, I really couldn't figure it out as it worked everywhere else
CamperBot
@camperbot
May 15 2018 14:39
darkphotonkn sends brownie points to @ezioda004 :sparkles: :thumbsup: :sparkles:
Mohamed Osama Khan
@Assaonator
May 15 2018 14:41
Can anyone guide me on timestamp Microservice?.... I'm on glitch... but what am I suppose to do after having a jolly-shrimp project open?
Kaz Baig
@kbaig
May 15 2018 14:43
:point_up: May 1, 2018 10:24 AM I only just got the notification for this hmmmm
Christopher McCormack
@cmccormack
May 15 2018 14:47
@kbaig that's gitter being gitter :D
Moisés Man
@moigithub
May 15 2018 14:48
this seems fun https://cssgridgarden.com/
was watching a youtube long video tutorial about css grid n falled asleep .. too much talking :D
Christopher McCormack
@cmccormack
May 15 2018 14:49
@moigithub I liked it but you may have to do it a few times for it to stick
really cool implementation though
@Assaonator did you go through the node tutorials?
@Assaonator you might want to create the project on your local machine then copy it using github or manually to glitch
gishy1
@gishy1
May 15 2018 14:59
hello world anyone get these windows licence update messages?
gishy1
@gishy1
May 15 2018 15:41
They are annoying and i dont know how to stop them
I went to microsoft services run and disabled the windows licence manager, it didnt work!!
Joseph
@revisualize
May 15 2018 16:14
Sulkhan Abashidze
@sulkhaniaba
May 15 2018 18:31
need help
i'm working on wikipedia viewer, and my problem is html format after i get data from api
how can i convert this html format into text format?
May 15 2018 18:39
@sulkhaniaba - some of the search queries do not return HTML. I think the “opensearch” method doesn’t make html just text format.
Sulkhan Abashidze
@sulkhaniaba
May 15 2018 18:40
it doesn't works :/
Darren
@DarrenfJ
May 15 2018 19:50
afternoon fellow fCChelpers
Kaz Baig
@kbaig
May 15 2018 19:56
wazzzaaa
Ammiel
@aemc
May 15 2018 20:09
has any1 worked with material-ui by any chance w/ flexbox?
Pavlo Rudyi
@paulcarroty
May 15 2018 20:11
anybody can help with this bugged exercise?
Kyle Holm
@thekholm80
May 15 2018 20:30
@DarrenfJ :wave:
@ezioda004
May 15 2018 20:31
@paulcarroty Seems to be working, you need to create both the function `add` and `remove` pure. They shouldnt modify the global array but return a new one.
@ezioda004
May 15 2018 20:38
@thekholm80 :wave: wanna try this kata
Kyle Holm
@thekholm80
May 15 2018 20:39
aww do i have to?
@ezioda004
May 15 2018 20:41
If you have free time :P its simple but getting it down to <53 char is a task. I got it to 63 but idk how to condense further.
Manish Giri
@Manish-Giri
May 15 2018 20:41
is that kata by myjinxin
Kyle Holm
@thekholm80
May 15 2018 20:42
yes
Manish Giri
@Manish-Giri
May 15 2018 20:42
:sweat:
Kyle Holm
@thekholm80
May 15 2018 20:42
@ezioda004 i'm doing this one right now
you can play along if you'd like
Manish Giri
@Manish-Giri
May 15 2018 20:43
I wonder how he comes up with all these obscure ideas
Kyle Holm
@thekholm80
May 15 2018 20:43
drugs
Manish Giri
@Manish-Giri
May 15 2018 20:43
:sparkles:
@ezioda004
May 15 2018 20:45

If there's no winner, the function should return None, NULL, nil, etc, based on the programming language.

Only option is python.

Kyle Holm
@thekholm80
May 15 2018 20:46
remember that
some day you'll be tempted to try some other, inferior language. the only option is python
Kyle Holm
@thekholm80
May 15 2018 21:15
@ezioda004 thought i had it lol not sure where i've gone wrong
@ezioda004
May 15 2018 21:18
Python one or 1 liner?
Kyle Holm
@thekholm80
May 15 2018 21:19
the 1 liner
i'm just trash at golf code
@ezioda004
May 15 2018 21:21
What you got?
Kyle Holm
@thekholm80
May 15 2018 21:22
i'm not gonna show it lol
it doesn't work
@ezioda004
May 15 2018 21:23
Lol come on! How about I show you mine first?
Maybe you're doing someway which I can implement and make it shorter.
Gulsvi
@gulsvi
May 15 2018 21:31
A walk through the algorithm ^
Kyle Holm
@thekholm80
May 15 2018 21:48
i give up
idris
@idris12
May 15 2018 23:52
why doesnt this work