9th
Jan 2018
Olapri
@Olapri
Jan 09 2018 00:02
@ezioda004 it works, thanks! how are getting all these details? It is incredible to all this stuff :fire:
CamperBot
@camperbot
Jan 09 2018 00:02
olapri sends brownie points to @ezioda004 :sparkles: :thumbsup: :sparkles:
Olapri
@Olapri
Jan 09 2018 00:02
to know all this stuff
@ezioda004
Jan 09 2018 00:04
@Olapri Practice and a lot of debugging :D
Olapri
@Olapri
Jan 09 2018 00:06
@ezioda004 maybe you could advise some website where is it possible to find such tricky simple stuff? I spent about 4 hours beforeI asked for help here...

@hu-lu
Jan 09 2018 00:08
😊
@ezioda004
Jan 09 2018 00:11
@Olapri Website for debugging? I'd say chrome developer tools is all I use for now and googling if I can't seem to understand something, but trying to find bug in your code is the best practice, that's how I learned and you can always ask in any of the chat rooms, someone's usually there to help.
Olapri
@Olapri
Jan 09 2018 00:19
@ezioda004 yes, you are right. I finish here when I am getting over-struggled :smile:
@ezioda004
Jan 09 2018 00:24
@Olapri :thumbsup:
Ismail Hozain
@ismailhozain
Jan 09 2018 00:55
can anyone tell me how to modify each individual element in an array in a different but mathematically related manner like (0.5x +y + 0.5x=v) that is being used to solve a challenge that has stumped me for a long while now https://www.codewars.com/kata/build-tower/train/javascript
``````function towerBuilder(nFloors) {
var star = "*";
var arr = [];
var amount = 1;
var spaces=" ";
for (i=0; i<nFloors; i++){
arr.push(star.repeat(amount));
amount += 2;
for(var t=-1;t--) {

}

}

return arr;

}``````
my issue is that i do not know how to add the spaces but the actual number of stars is okay
Gersho
@Gersho
Jan 09 2018 00:58
oh hi again, this time it's not so late so i'll try it too ;) @ismailhozain
Ismail Hozain
@ismailhozain
Jan 09 2018 00:59
thank god you showed up , i really need someone like you who already knows this problem :smile:
so i had a vague idea of using another loop and inserting spaces into each element but couldn't figure out how .
Gersho
@Gersho
Jan 09 2018 01:01

this time i'll try doing like that

``````  let star = "*";
let arr = [];
let bigFloor = 1+(nFloors*2);``````

(because you need spaces on the upper floors)

Ismail Hozain
@ismailhozain
Jan 09 2018 01:01
but the space is always varying
Gersho
@Gersho
Jan 09 2018 01:03

``````//x = "*";
while(x.length<bigFloor){
x = " " + x +" ";
}``````

would add one space before and after

didn't test it btw so it might not work,
will try a few things brb
Ismail Hozain
@ismailhozain
Jan 09 2018 01:09
this was my first attempt but keep in mind it returns undefined
``````function towerBuilder(nFloors) {
var astric="*";
var FirstFloor=astric.repeat(nFloors);
while ( nFloors>0) {
var eachFloor= FirstFloor.substr(1,nFloors-2);
var entireTower=[FirstFloor];
entireTower.unshift(eachFloor);
return entireTower;
}``````
Kyle Holm
@thekholm80
Jan 09 2018 01:10
i got it but it's ugly
Gersho
@Gersho
Jan 09 2018 01:11
i have a working solution too but it's not nice to look at
Kyle Holm
@thekholm80
Jan 09 2018 01:12
lol
Ismail Hozain
@ismailhozain
Jan 09 2018 01:12
well you both have more than me at this point :smile:
Kyle Holm
@thekholm80
Jan 09 2018 01:13
Ismail Hozain
@ismailhozain
Jan 09 2018 01:13
:clap:
Gersho
@Gersho
Jan 09 2018 01:14
439ms here !
Ismail Hozain
@ismailhozain
Jan 09 2018 01:14
or should i say googol ms
Gersho
@Gersho
Jan 09 2018 01:15
bing ms :p
Ismail Hozain
@ismailhozain
Jan 09 2018 01:15
lol edg ms
edge*
Gersho
@Gersho
Jan 09 2018 01:16
my solution is close your first one, i have a while instead of your for second var loop
Ismail Hozain
@ismailhozain
Jan 09 2018 01:16
oh but how did you insert the spaces?
Kyle Holm
@thekholm80
Jan 09 2018 01:17
i used 1 `for()` loop and 3 arrays
Ismail Hozain
@ismailhozain
Jan 09 2018 01:17
??
:confused:
Gersho
@Gersho
Jan 09 2018 01:18
have you taken a look at the best voted solution Kyle ? i'm like what the fu...
Kyle Holm
@thekholm80
Jan 09 2018 01:18
i have not, one sec
@ezioda004
Jan 09 2018 01:18
I used 1 arr and 1 loop
Kyle Holm
@thekholm80
Jan 09 2018 01:18
refactoring real quick
@ezioda004
Jan 09 2018 01:19
@ismailhozain youre looking for " ".repeat(i) to repeat whitespaces
Ismail Hozain
@ismailhozain
Jan 09 2018 01:19
but how do i insert it into each element ?
that is the part i dont get
Gersho
@Gersho
Jan 09 2018 01:20

@ismailhozain youre looking for " ".repeat(i) to repeat whitespaces

oh, reusing i is smater than the while loop i used xDF

Kyle Holm
@thekholm80
Jan 09 2018 01:20
@Gersho mine is like the 2nd solution, i'd have never thought of the top solution
@ezioda004
Jan 09 2018 01:20
@ismailhozain concatenate them Example `arr.push(" ".repeat(x) + "*".repeat(i) + " ".repeat(x))`
Gersho
@Gersho
Jan 09 2018 01:21
mine's so stupid i can't find it lol, i'll pm you xD
@ezioda004
Jan 09 2018 01:23
Those 1 line solutions always gets me.
Kyle Holm
@thekholm80
Jan 09 2018 01:24
yeah
Gersho
@Gersho
Jan 09 2018 01:24
Ismail Hozain
@ismailhozain
Jan 09 2018 01:24
same
questio @ezioda004 do i keep the `amount +=2;` part
?
never mind wasnt the issue
@ezioda004
Jan 09 2018 01:27
You do need some variable that increments by +2 (for *) and other that decrements by 1 (for whitespace)
Ismail Hozain
@ismailhozain
Jan 09 2018 01:27
ah okay
i was just figuring out that first part :smile:
@ezioda004
Jan 09 2018 01:30

@ismailhozain This looks fine

``````for (i=0; i<nFloors; i++){
arr.push(star.repeat(amount));
amount += 2;``````

but if youre going to refactor then maybe you can make the condition something like `for(let i = 1; i <= nFloors*2; i+=2)` then you wont have to use `amount`

you can just push i
Ismail Hozain
@ismailhozain
Jan 09 2018 01:31
lol every where i look for the solution you give it to me ; was just looking at that spot ! thanks
@ezioda004
Jan 09 2018 01:32
Thats how I did it :D
Gersho
@Gersho
Jan 09 2018 01:34
``i <= nFloors*2``
nice thinking
@ezioda004
Jan 09 2018 01:39
@Gersho Thanks!
CamperBot
@camperbot
Jan 09 2018 01:39
ezioda004 sends brownie points to @gersho :sparkles: :thumbsup: :sparkles:
Gersho
@Gersho
Jan 09 2018 01:40
@ezioda004 no thank YOU
CamperBot
@camperbot
Jan 09 2018 01:40
gersho sends brownie points to @ezioda004 :sparkles: :thumbsup: :sparkles:
Ismail Hozain
@ismailhozain
Jan 09 2018 01:40
how about thank you @Gersho @ezioda004 @thekholm80
CamperBot
@camperbot
Jan 09 2018 01:40
ismailhozain sends brownie points to @gersho and @ezioda004 and @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1656 | @thekholm80 |http://www.freecodecamp.org/thekholm80
Ismail Hozain
@ismailhozain
Jan 09 2018 01:41
but .....
i messed up
big time
``````function towerBuilder(nFloors) {
var star = "*";
var arr = [];
var amount = 0;
var spaces=" ";
for(let i = 1; i <= nFloors*2; i+=2){
let spaceit=nFloors;
spaceit=spaceit-1;
arr.push(star.repeat(i));
amount+=2;
arr.push(" ".repeat(spaceit) + "*".repeat(amount) + " ".repeat(spaceit));

}``````
so i added the incrementing variable but it messed up both my stars and the spaces (i placed them wrong but not sure which combination i need)
Gersho
@Gersho
Jan 09 2018 01:43
you add 2 to amount BEFORE you do the push
so even the first one will have more than 1 star
Ismail Hozain
@ismailhozain
Jan 09 2018 01:43
yeah
Gersho
@Gersho
Jan 09 2018 01:43
oh wait nvm i didn't see the fist arr.push
@ezioda004
Jan 09 2018 01:44
@ismailhozain Make `spaceit` global variable also `arr.push(star.repeat(i));` is redundant since you're already pushing `"*".repeat(amount)`
Ismail Hozain
@ismailhozain
Jan 09 2018 01:48
IT WORKED PARTY TIME!!!!
jk
@ezioda004
Jan 09 2018 01:49
Lol whats not working?
Ismail Hozain
@ismailhozain
Jan 09 2018 01:49
no it is working i was joking about tha party part
``````function towerBuilder(nFloors) {
var star = "*";
var arr = [];
var amount = 0;
var spaces=" ";
var spaceit=nFloors;
for(let i = 1; i <= nFloors*2; i+=2){
spaceit=spaceit-1;
amount+=2;
arr.push(" ".repeat(spaceit) + "*".repeat(i) + " ".repeat(spaceit));

}

return arr;
}``````
@ezioda004
Jan 09 2018 01:50
Oh, I was very much looking forward to the party.
Ismail Hozain
@ismailhozain
Jan 09 2018 01:50
lol
whew than you guys for everything
thank
@ezioda004
Jan 09 2018 01:52
:thumbsup:
Kyle Holm
@thekholm80
Jan 09 2018 01:54
@ismailhozain good job!
Gersho
@Gersho
Jan 09 2018 01:55
Ismail Hozain
@ismailhozain
Jan 09 2018 01:58
thank you guys
Claudio Restifo
@Marmiz
Jan 09 2018 02:20
@ismailhozain you finish the building algo?
Jill Lee
@jill-lee
Jan 09 2018 05:22
Hi, need help with margins on bootstrap. How do I go about adding a margin and responsive at the same time? Cos when I add margin left it works on desktop but when I view it on mobile it's no longer responsive.
https://codepen.io/phoenix-burn/pen/PEWGgx
Albert Cardona II
Jan 09 2018 05:29
@phoenix-burn did you already fix it because it seems responsive on my browser
Jill Lee
@jill-lee
Jan 09 2018 05:30
thanks but I want to adjust the margin it's too wide on desktop so when I use margin it doesnt work on mobile @daddycardona
CamperBot
@camperbot
Jan 09 2018 05:30
phoenix-burn sends brownie points to @daddycardona :sparkles: :thumbsup: :sparkles:
Albert Cardona II
Jan 09 2018 05:32
I will say this to you try using and learning grid it seems to be easier than bootstrap less issues if you ask me and your article is nice too :)
css grid
Jill Lee
@jill-lee
Jan 09 2018 05:33
@daddycardona ok I will try that thanks :)
CamperBot
@camperbot
Jan 09 2018 05:33
phoenix-burn sends brownie points to @daddycardona :sparkles: :thumbsup: :sparkles:
api offline
Albert Cardona II
Jan 09 2018 05:35
I started to use it I am going to redo my profile page with grid and flex box the only thing I like in bootstrap is the ease of navigation menu but I am slowly but surely giong to do the thing over with grid. Grid is pretty awesome ;)
@phoenix-burn what challenge are you on?
Albert Cardona II
Jan 09 2018 06:00
@thekholm80 I spent a day and a half thinking about what I was doing wrong LOL so I decided since my headache was gone figure out what else is needed. Well that was easy lol using 2 for loops I forgot if i !=== j all this time it was right in front of my eyes I am going to redo it in a reduce way too I don't understand map well enough for that lol
Maurice
@mvglasenapp
Jan 09 2018 09:51
Hi everybody, does someone know how to remove the "Lobby" at the end of a room name in Gitter?
Albert Cardona II
Jan 09 2018 13:58
sorry @mvglasenapp I don't :)
Gersho
@Gersho
Jan 09 2018 14:14
hello fCC/help
Albert Cardona II
Jan 09 2018 14:20
what up gersho I figured it out by myself but I also figured out it in reduce looking at a video however I don't understand one thing about it
@Gersho
I am giong to take a nap soon and then start calculator project
Gersho
@Gersho
Jan 09 2018 14:20
oh calculator
you'll have a lot of "fun"
Albert Cardona II
Jan 09 2018 14:22
LOL
want to see something crazy check this out you can try it yourself
``````function pairwise(arr, arg) {
return arr.reduce((acc, next, index, ar) => {
for (var i = index + 1; i < arr.length; i++) {
if (ar[index] + ar[i] === arg) {
acc += i + index;
ar[index] = ar[i] = NaN;
}
}
return acc;
}, 0);
}``````
copy and paste this to the pairwise
then when you done putting it together make var i in the for loop 1 which is index+1 and check it again
Gersho
@Gersho
Jan 09 2018 14:25
`` for (var i = 1; i < arr.length; i++) {``
?
Albert Cardona II
Jan 09 2018 14:25
I used this as my answer but my code is almost twice as long lol I have it in a comment section below this answer lol
yes tell me why that makes a difference and does not work
Gersho
@Gersho
Jan 09 2018 14:26
hmm the first itteration should have index = 0, therefore i don't know
oh wait
on reduce's second itteration index would be 1 so i should be 2
i guess ?
here's mine btw
``````
function pairwise(arr, arg) {
var usedIndex = [];

if(arr.length<2){
return 0;
}

for(i=0;i<arr.length-1;i++){

if (usedIndex.indexOf(i) !== -1){
continue;
}

for(j=i+1;j<arr.length;j++){

if (usedIndex.indexOf(j) !== -1){
continue;
}

if(arr[i]+arr[j] === arg){
//magic
usedIndex.push(i);
usedIndex.push(j);
break;

}

}//fin for j

}//fin for i

//more magic
return usedIndex.reduce(function(a,b){
return a+b;
},0);
}

pairwise([1,1,1], 2);``````
Albert Cardona II
Jan 09 2018 14:27
oh okay
slri
@slri
Jan 09 2018 14:27
which challenge is that
Gersho
@Gersho
Jan 09 2018 14:27
i've never used a for loop inside a reduce so i don't really know
pairwise
Albert Cardona II
Jan 09 2018 14:29
LOL
Gersho
@Gersho
Jan 09 2018 14:29
is it that funny ? :p
Albert Cardona II
Jan 09 2018 14:30
no you're right I wasn't thinking about that. the next time it iterates its 2 then 3 I am so slow sometimes lol
``````function pairwise(arr, arg) {
var newArr = [];

if (arr.length <= 0) {
console.log('hi');
return 0;
} else {
for (var i = 0; i < arr.length; i++) {
for (var j = 1; j < arr.length; j++) {

if (arr[i] + arr[j] === arg && i !== j) {
newArr.push(i + j);
console.log(i + j);
arr[i] = 'a';
arr[j] = 'lol';
console.log(i, ' i and j', j);
}
}
}
}

console.log(newArr);
return newArr.reduce((a, b) => { return a + b; }, 0);
}``````
that is my original one that worked out just fine :)
Gersho
@Gersho
Jan 09 2018 14:31
so pretty much the same as mine
but why`if( arr.length <= 0)` ? can an array every be smaller than 0 ?
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 14:32
``````function pairwise(arr, arg) {
return arr.reduce((prev,curr,index) => {
arr.forEach((elem,ind) => {
if (ind>index && curr+elem===arg && prev.indexOf(index)===-1 && prev.indexOf(ind)===-1){
prev.push(index,ind);
}
});
return prev;
},[])
.reduce((cur,pre) => cur+pre,0);
}

pairwise([1,4,2,3,0,5], 7);``````
Albert Cardona II
Jan 09 2018 14:32
because you got that test that says pairwise([],arg) lol
Gersho
@Gersho
Jan 09 2018 14:33
by that logic you should put 2, because you code should return 0 too when the array has only 1 element (can't make a pair with 1 element)
slri
@slri
Jan 09 2018 14:34
that's true ^
Albert Cardona II
Jan 09 2018 14:35
so I should put <2 because the length has to be 2 okay makes sense but at the time I was just trying to fix that issue lol
Gersho
@Gersho
Jan 09 2018 14:36
on a more global note, early in any function you ever make, you put the stuff that catches errors (missing arguments, passing an empty array, data not formated properly, etc)
thinking "what stupid stuff could the user do to break my stuff" ?
slri
@slri
Jan 09 2018 14:37
if the first if is met, the function returns and exits anyway, no need for else, yup
``````function pairwise(arr, arg) {

var result = 0;

for(var i = 0; i < arr.length; i++) {
for(var j = 0; j < arr.length; j++) {

if(i !== j && (arr[i] + arr[j]) === arg) {
delete arr[i];
delete arr[j];
result += i + j;
}
}
}

return result;
}``````
Gersho
@Gersho
Jan 09 2018 14:37
for exemple for the calculator you'll have to prevent users from inputing two dots in the same number
slri
@slri
Jan 09 2018 14:37
this is what i came up with ages ago
i kinda hate it, might be a better solution to this
Gersho
@Gersho
Jan 09 2018 14:38
i find it to be an easy read
so i'd say it's good
slri
@slri
Jan 09 2018 14:38
don't program more than you have to, there's no array that's somehow negative, the worst you get is an empty array
Gersho
@Gersho
Jan 09 2018 14:38
i didn't know `delete`
Stephen James
@sjames1958gm
Jan 09 2018 14:39
@RuinIsProbablyTaken Your inner loop could probably start from `var j = i + 1` just to save some iterations
slri
@slri
Jan 09 2018 14:39
i totally forgot about it too lmao
Albert Cardona II
Jan 09 2018 14:39
good point @Gersho and okay @RuinIsProbablyTaken you make a lot of sense and that is basically what i did but used an array for no reason or a if statement so I can delete them both you are saying makes sense ;)
slri
@slri
Jan 09 2018 14:40
@sjames1958gm yup, nice catch!
Stephen James
@sjames1958gm
Jan 09 2018 14:41
@RuinIsProbablyTaken Or you could use this:
`var pair = arr.indexOf(arg - arr[i], i + 1);`
Which is essentially that loop
Albert Cardona II
Jan 09 2018 14:41
damn you guys have me thinking a lot nice good catch @sjames1958gm
Gersho
@Gersho
Jan 09 2018 14:41
hmm but somehow i don't understand why you don't have index issues since you delete stuff in the array during itteration
slri
@slri
Jan 09 2018 14:41
@sjames1958gm thanks, you deserve more brownies but i can only give so many at a time qwq
CamperBot
@camperbot
Jan 09 2018 14:41
ruinisprobablytaken sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 8831 | @sjames1958gm |http://www.freecodecamp.org/sjames1958gm
Albert Cardona II
Jan 09 2018 14:42
um I never saw that in any example @sjames1958gm I was wondering how you did yours because you told me about using index of but no example I saw did that awesome
Stephen James
@sjames1958gm
Jan 09 2018 14:43
@daddycardona Be willing to read through the built-in function documentation on MDN to understand more than the basic functionality.
Albert Cardona II
Jan 09 2018 14:44
I want to thank @Gersho @RuinIsProbablyTaken @sjames1958gm and even @thekholm80 you guys helped me out this challenged a lot
CamperBot
@camperbot
Jan 09 2018 14:44
daddycardona sends brownie points to @gersho and @ruinisprobablytaken and @sjames1958gm and @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1657 | @thekholm80 |http://www.freecodecamp.org/thekholm80
:star2: 8832 | @sjames1958gm |http://www.freecodecamp.org/sjames1958gm
Albert Cardona II
Jan 09 2018 14:45
I try to understand the basic I need to see videos sometimes to understand what the documentation is even talking about
@ezioda004
Jan 09 2018 14:48
@Gersho That's what I was thinking too, but apparently `delete` leaves `undefined` at the removed index so it works out unlike `pop` or `shift`
Gersho
@Gersho
Jan 09 2018 14:51

oh so

``````arr = [a,b,c];
delete arr[1]
console.log(arr);
//[a,undefined,c]``````

like that ?

@ezioda004
Jan 09 2018 14:51
Yeah
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 14:51
yes
Gersho
@Gersho
Jan 09 2018 14:51
oh i see, thanks @ezioda004
CamperBot
@camperbot
Jan 09 2018 14:51
gersho sends brownie points to @ezioda004 :sparkles: :thumbsup: :sparkles:
@ezioda004
Jan 09 2018 14:51
I didnt know that either, that can come in handy :D
Gersho
@Gersho
Jan 09 2018 14:52
surely, that allows a lot of things
Albert Cardona II
Jan 09 2018 14:52
I did not know that either I originally put null in places where I put NaN but null can be true if it's 0
Gersho
@Gersho
Jan 09 2018 14:53
what is true and false in JS can get tricky at times ;)
slri
@slri
Jan 09 2018 14:53
and remember, NaN is a number
Albert Cardona II
Jan 09 2018 14:54
is it? i thought it meant nut a number lol
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 14:55
it's number that represents `Not A Number`
a special number
trippy, isn't it?
Albert Cardona II
Jan 09 2018 14:55
OMG and now you know why I don't understand these MDN things lol
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 14:55

@Gersho

what is true and false in JS can get tricky at times ;)

Therefore, rely on `truthy` and `falsy`

slri
@slri
Jan 09 2018 14:56
Albert Cardona II
Jan 09 2018 14:56
I was just reading stuff like `a=a||0` so it won't return any falsy values
Gersho
@Gersho
Jan 09 2018 14:57

@SweetCodingInc

``````let True = false
let False = null
let Null = undefined
let truthy = True ? False : Null ? true : false;``````

happy debugging :p

slri
@slri
Jan 09 2018 14:57
because of automatic casting when not using `===`, `null == 0` is true
Gersho
@Gersho
Jan 09 2018 14:58
i try to avoid using ==
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 14:59
@Gersho What's there to debug? truthy will be false
Albert Cardona II
Jan 09 2018 14:59
I do too because you and Long told me the same thing
@Gersho
I am out of here thanks again everyone eyes wide shut right now it is nap time like workers in Japan on their lunch break lol
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 15:00
And this part `let Null = undefined` is entirely pointless :laughing:
slri
@slri
Jan 09 2018 15:00
you're late for a siesta :c
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 15:01
whats siesta?
Gersho
@Gersho
Jan 09 2018 15:01
sleep break
nap
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 15:01
I see
I s(l)ee(p)
slri
@slri
Jan 09 2018 15:02
clever
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 15:02
actually, I should have made it to wikipedia for being extraordinarily dumb
Gersho
@Gersho
Jan 09 2018 15:03
there's the word "sieste" in french so i assumed it was the spanish version
french guide to spanish/italian, when in doubt, add a or i at the end of your word
slri
@slri
Jan 09 2018 15:04
yup
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 15:04
Is it that simple? Just replace trailing e with an a ?
Gersho
@Gersho
Jan 09 2018 15:04
no it's not, but you can bluff your way a bit
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 15:04
so french simple would be spanish simpla
Gersho
@Gersho
Jan 09 2018 15:04
and in italy just shut up and talk with your hands :P
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 15:04
:D
I take my italian lessons from Family Guy :P
Gersho
@Gersho
Jan 09 2018 15:05
oh i remember that scene yeah
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 15:05
slri
@slri
Jan 09 2018 15:05
i take my french lessons from dexter's laboratory lmao
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 15:06
been a while since I heard dexter's laboratory
Gersho
@Gersho
Jan 09 2018 15:06
never watched, so there's french in it ?
Kyle Holm
@thekholm80
Jan 09 2018 15:06
omlet du fromage!
Gersho
@Gersho
Jan 09 2018 15:06
how about home alone's "caca de poule" ?
Kyle Holm
@thekholm80
Jan 09 2018 15:07
i loved Dexter's Laboratory
slri
@slri
Jan 09 2018 15:07
same
tbh most of the french i know is from people raging at me in french in games xd
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 15:08
I used to watch it's dubbed version in my local language... so don't know where french was used :D
slri
@slri
Jan 09 2018 15:08
what's your local language? californian? xd
"oh jesus gotta have this british dubbed, they don't speak american"
Gersho
@Gersho
Jan 09 2018 15:09
well did you know that american movies get dubbed in "french" twice ? once for france and once for quebec
slri
@slri
Jan 09 2018 15:09
Sweet Coding :)
@SweetCodingInc
Jan 09 2018 15:10
@RuinIsProbablyTaken Originally from India.. So the language was Hindi...
The dubbing sucked
Gersho
@Gersho
Jan 09 2018 15:10
Bollywood !
slri
@slri
Jan 09 2018 15:10
we get one dubbing for most of the balkans, then they add some extra "j"s for croatian, extra "j"s and "h"s for bosnian, and the rest get the original lmao
but if someone dares to sub something in cyrillic for serbia the rest of countries are screwed cuz we can read bot cyrillic and latin
Kaz Baig
@kbaig
Jan 09 2018 15:12
@thekholm80 That's all you can saaaaaaay
Kyle Holm
@thekholm80
Jan 09 2018 15:13
@kbaig yes!
Gersho
@Gersho
Jan 09 2018 15:13
and it's wrong ofc
Kaz Baig
@kbaig
Jan 09 2018 15:14
Omlette au fromage
slri
@slri
Jan 09 2018 15:15
dexter used to say du >:C
Gersho
@Gersho
Jan 09 2018 15:15
but french is really tricky, english is so much easier
Kyle Holm
@thekholm80
Jan 09 2018 15:16
english is garbage
slri
@slri
Jan 09 2018 15:16
french is annoying, not as annoying as norwegian tho
jarbaje
Gersho
@Gersho
Jan 09 2018 15:16
in french every rule has an exeption
slri
@slri
Jan 09 2018 15:16
i just don't like it's writing style, it's impossible to read
Gersho
@Gersho
Jan 09 2018 15:17
impossible to say !
slri
@slri
Jan 09 2018 15:17
what i do like is finnish, you even get to know which sound is going to be long or have a glottal stop
but then you get 57 grammatical cases and shoot yourself in the face at the 30th one
Gersho
@Gersho
Jan 09 2018 15:18
i like japanese but as a written language it's a nightmare, but i like the tonaliny
slri
@slri
Jan 09 2018 15:18
well, japanese has the easy route: katakana and hiragana
you only need kanji to read like official writing, but you can chat with only hiragana and katakana if you wanted to
Gersho
@Gersho
Jan 09 2018 15:19
you think so ? apart from children books it seem pretty mandatory to know a lot of kanji
slri
@slri
Jan 09 2018 15:20
if you wanna read official writing, like news, blogs, shit like that
most japanese millennials are too lazy to learn as much kanji as their parents knew at their age
basically, japanese is slowly getting even more simplified
Gersho
@Gersho
Jan 09 2018 15:21
guess that's a good thing
slri
@slri
Jan 09 2018 15:22
plus, i like the system where loan words are written in a different writing
i think that's pretty neat
they're allowed to use latin or katakana \o/
my eyes are hurting from the screen, i'm hopping off o/
Gersho
@Gersho
Jan 09 2018 15:25
cya later
Alvin Meng
@alvinmeng1993
Jan 09 2018 15:36
what is kanji?
Kyle Holm
@thekholm80
Jan 09 2018 15:38
@alvinmeng1993 japanese writing
Alvin Meng
@alvinmeng1993
Jan 09 2018 15:39

@ @thekholm80 thanks
CamperBot
@camperbot
Jan 09 2018 15:40
alvinmeng1993 sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1658 | @thekholm80 |http://www.freecodecamp.org/thekholm80
Darren
@DarrenfJ
Jan 09 2018 16:25
morning fCC..
or you know.. happy whatEverTimeZoneYouAreIn
Fabien SHAN
@X140hu4
Jan 09 2018 16:31
@RuinIsProbablyTaken Kana only can be a nightmare to read though...
that was my 2 cents. Good night :D
Gersho
@Gersho
Jan 09 2018 16:42

or you know.. happy whatEverTimeZoneYouAreIn

Merry whateverDoesn'tOffendYou

Darren
@DarrenfJ
Jan 09 2018 16:46
i challenge you to a duel! i am easily offended, sir!
Kaz Baig
@kbaig
Jan 09 2018 16:47
I learned over the holidays that apparently the consensus in Islam, which my family subscribes to but I don't, is that wishing someone basically happy any day makes you a nonbeliever
So I guess you could say people complaining about "Happy Holidays" have nothing on that
Kyle Holm
@thekholm80
Jan 09 2018 16:48
@DarrenfJ :wave:
Darren
@DarrenfJ
Jan 09 2018 16:48
@thekholm80 hey buddy!
@kbaig is it like something akin to 'only God can make days happy'? or something like that?
Kaz Baig
@kbaig
Jan 09 2018 16:50
@DarrenfJ Nah it's the idea that all western holidays, including halloween, thanksgiving, new year, etc, are products of christianity since the culture as a whole is. If that's true, wishing someone happy x day endorses their false beliefs by complying with their culture
And that the only holidays Muslims celebrate are ones which their religion prescribes. Since the religion is inherently perfect, that's fine. All others aren't though, so we can't endorse them
That's not even true though because they all have their own country's national holidays etc but ooookaaaay
Darren
@DarrenfJ
Jan 09 2018 16:55
well they're partly right in that all those holidays are actually an attempt by the Church to incorporate pagan rituals into the culture so as to keep the 'locals' from protesting too much is their festivus'es are taken away... so in terms of pure Xtianity it's taken from a false beleif.. although the protestants hate all that Saint worship which in many cases was incorporating pagan deities.. `anyhooooooo`, so as to not get banned for taking up the chat.. .`we should build a website that links to all the cross references of religious icons and their paralleles in other religions and/or mythology`
I'll call it `the big giant brain` project
it can also cross reference scientific research that refutes and or supports the metaphysical.
oh wait, isn't that just `Wikipedia`?
Kaz Baig
@kbaig
Jan 09 2018 16:57
@DarrenfJ I believe you've just invented the web actually
Gersho
@Gersho
Jan 09 2018 16:58
me it's simple, i don't care, i'm atheist, and if you celebrate multiple different things it means you can eat plenty of stuff for both christmas and aïd
Darren
@DarrenfJ
Jan 09 2018 16:58
i think what we can do is create these things.. i don't know what to call them.. but they can say do something like `link` to other pages on other people's computers with their academic papers on topics that relate to topics i am working on on my PC
Gersho
@Gersho
Jan 09 2018 16:59
and your cross reference thing is going to look funny in the end since most legends are copied from each other
Darren
@DarrenfJ
Jan 09 2018 17:02
but that's the beauty of it.. first thing that broke me from being dogmatic in my teens was realizing the parallels to other mythologies in almost all religions... ell Xtianity first.. then others..
Gersho
@Gersho
Jan 09 2018 17:04
we're in the matrix, jesus was hacking wine and bread, bouddha managed to leave the guest sandbox environment
Kaz Baig
@kbaig
Jan 09 2018 17:06
The sandbox environment LOL
More like he escaped the free tier
texirv0203
@texirv0203
Jan 09 2018 17:20
hi,
• using the below example, I am trying to implement appDyanmics in my code.
https://github.com/derrekyoung/appd-sampleapp-angular2
• but for some reason its not going inside constructor code constructor(public appRoutes:Router) {
• I kept debugger and saw in the if statement still it didnt go inside.
• can you tell me how to fix it.
• providing my code below
``````import { ModuleWithProviders, NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { Base } from './components/base/base';

import { Listings } from './components/listings/listings';

import { ScoringsMain } from './components/Scorings/ScoringsMain';
import { ScoringFOXTBA } from './components/Scorings/ScoringFOXTBA';
e';

const appRoutes: Routes = [
{
path: '',
redirectTo: 'jumping',
pathMatch: 'full'
},

{
path: 'FlyingManagement',
children: [
{ path: '', redirectTo: 'FlyingSearch', pathMatch: 'full' },
{ path: 'FlyingSearch', component: FlyingSearch },
{
path: 'FlyingMain/:id', component: FlyingMain,
children: [
{ path: '', redirectTo: 'Base', component: FlyingCreateFill, pathMatch: 'full' },
{ path: 'FlyingCreateFill', component: FlyingCreateFill, canDeactivate: [CanDeactivateGuard] },

]

}
]

},
{
path: 'Playing',
component: Development

},

];

export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes);
//export class AppRoutingModule { }

@NgModule({
imports: [RouterModule.forRoot(appRoutes)],
exports: [RouterModule],
providers: []
})

export class AppRoutingModule {

vpView: any;

//   // Subscribe to the Router URL changes.
constructor(public appRoutes:Router) {
console.log("appDyanmics-sample-constructor");
this.appRoutes.events.subscribe((event:Event) => {

this.vpView.markViewChangeEnd();
this.vpView.markXhrRequestsCompleted();
this.vpView.end();

} else if (event instanceof NavigationStart) {

this.vpView.start();
this.vpView.markViewChangeStart();
}
});
}
}``````
Kyle Holm
@thekholm80
Jan 09 2018 17:30
Darren
@DarrenfJ
Jan 09 2018 17:34
off to test `tra la la`
later roomies
Lance
@texas2010
Jan 09 2018 17:34
@thekholm80 why is it?
Kyle Holm
@thekholm80
Jan 09 2018 17:35
@texas2010 trying to do something involving Outlook, Word and Excel in 365, simple things like copy/paste aren't working correctly and everything is slow as tar
it's no bueno
Lance
@texas2010
Jan 09 2018 17:36
oh gosh. that suck
Kyle Holm
@thekholm80
Jan 09 2018 17:36
unfortunately, it's the future
software as a service (SaaS) is where everyone is headed
Lance
@texas2010
Jan 09 2018 17:38
ohhh
Gersho
@Gersho
Jan 09 2018 17:43

software as a service (SaaS) is where everyone is headed

"this, is a revolution"

Kyle Holm
@thekholm80
Jan 09 2018 17:43
i'm not a fan
Sorin Ruse
@sorinr
Jan 09 2018 17:43
anyone knows how to make a dropbox excel file synchronize with external data?
Gersho
@Gersho
Jan 09 2018 17:43
i hate it
can't even make coffee if internet is offline, "the future"
Kyle Holm
@thekholm80
Jan 09 2018 17:44
Oh, our new update broke your entire workflow? that's a feature, not a bug
Gersho
@Gersho
Jan 09 2018 17:45
oh btw all those "smart" things are never getting a patch for Meldown/Spectre right ?
gonna be fun
Kyle Holm
@thekholm80
Jan 09 2018 17:48
I really hope the SaaS thing dies a fiery death soon. I don't mind shelling out a few hundred dollars for a useful program, but i'm not about to pay monthly for the same thing. The whole rentier movement needs to die in a fire
Gersho
@Gersho
Jan 09 2018 17:48
same here
that's part of why my win7 is airgapped, i completely boycot "always online" in games where it is not necessary
Kaz Baig
@kbaig
Jan 09 2018 17:49
I really doubt it's going to. It's just a much easier sell for businesses to opt into services for both cost-justification purposes, as well as the usual support that it's bundled with
Gersho
@Gersho
Jan 09 2018 17:50
diablo2 is one of my favorite games of all time, i didn't get d3 because even when playing solo you actually play online (i love lags when playing solo >.>)
Kaz Baig
@kbaig
Jan 09 2018 17:50
As far as I can tell, more and more software is become service-based. It's not just platforms like CRMs anymore; we're seeing a lot of growth in back end as a service and cloud as a service
Gersho
@Gersho
Jan 09 2018 17:51
yeah, all on AWS, so when it's down it's the apocalypse
Kyle Holm
@thekholm80
Jan 09 2018 17:52
I mean, i get that it has benefits and it's a good fit for most of the market, but when the ultimate goal is that we no longer own anything and pay rent for everything ... there I draw a line
Gersho
@Gersho
Jan 09 2018 17:57
and you're completely captive when they change their EULA
either you accept or you loose everything you had with them
but like i say, people vote with their wallets, so if they accept it there is no reason they'll stop it
Kyle Holm
@thekholm80
Jan 09 2018 17:58
we should fight it from the inside. make some useful thing that people will pay us monthly for. for science
Gersho
@Gersho
Jan 09 2018 18:00
Kyle Holm
@thekholm80
Jan 09 2018 18:07
lol
Gersho
@Gersho
Jan 09 2018 18:08
oh wow, according to the news, 16% of french people believe the US never went to the moon
Kyle Holm
@thekholm80
Jan 09 2018 18:09
i bet a similar number of americans think the same
Gersho
@Gersho
Jan 09 2018 18:09
and 9% flat earthers
Kaz Baig
@kbaig
Jan 09 2018 18:10
That's strange
Esp considering they're also such a big tech hub now
Gersho
@Gersho
Jan 09 2018 18:11
oh the view from one country to another is always biased, for exemple americans see the british as classy tea drinkers, while most of europe see them as hooligan drunktards xD
but yeah france is on a roll atm, hopefully i'll be the next bill gates :P
or at least working for the guy ^^
Kyle Holm
@thekholm80
Jan 09 2018 18:15
like the guy behind the guy
Gersho
@Gersho
Jan 09 2018 18:22
can i change a filename on github via commit or do i have to remove the file and commit the new file ?
Kyle Holm
@thekholm80
Jan 09 2018 18:23
should be able to do it via commit
it should resolve the differences between local and remote
Gersho
@Gersho
Jan 09 2018 18:24
won't it add it as a new file next to the old file ?
Kyle Holm
@thekholm80
Jan 09 2018 18:24
then again, it might say the local version is out of sync and ask you to pull first
Gersho
@Gersho
Jan 09 2018 18:24
guess i'll see when i'm done
Jan 09 2018 18:54

<script>
\$("#target1").css("color", "red");

});
</script>

<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>

?
anyone help
Kaz Baig
@kbaig
Jan 09 2018 18:55
The `<em>` element can be used to emphasize text
Jan 09 2018 18:58
thanks
Manish Giri
@Manish-Giri
Jan 09 2018 22:29
anyone here familiar with Servlets
jorgekauffman
@jorgekauffman
Jan 09 2018 22:46
Hi there, just joined! Would anyone here know if it's safe to start on the new curriculum?
Kyle Holm
@thekholm80
Jan 09 2018 22:46
safe?
jorgekauffman
@jorgekauffman
Jan 09 2018 22:47
Since it is still in beta I mean
Kaz Baig
@kbaig
Jan 09 2018 22:47
Well it's not going to save your progress
Kyle Holm
@thekholm80
Jan 09 2018 22:47
I'm not sure if your progress will be preserved
Kaz Baig
@kbaig
Jan 09 2018 22:47
But other than that it seems fine
jorgekauffman
@jorgekauffman
Jan 09 2018 22:48
OK great, that's what I was thinking, thanks!
Gersho
@Gersho
Jan 09 2018 22:49
the current one is fine too
Kaz Baig
@kbaig
Jan 09 2018 22:49
I think of the beta curric to be more complete than the live one
Bjorn van de Peut
@bjorno43
Jan 09 2018 22:50
The beta doesn't save your progress (it's beta). But we're getting closer towards its release. So stay tuned :)
jorgekauffman
@jorgekauffman
Jan 09 2018 22:50
Any idea on when it will be released? The new structure seems far more intuitive!
Bjorn van de Peut
@bjorno43
Jan 09 2018 22:51
We don't have a release date yet. We try to avoid dates because we don't want to dissappoint our members if something goes wrong
Kyle Holm
@thekholm80
Jan 09 2018 22:51
i would assume any time now
Kaz Baig
@kbaig
Jan 09 2018 22:51
Well the unofficial deadline was around now but I think the official answer is "when it's ready"
Gersho
@Gersho
Jan 09 2018 22:52
"soon"
Kyle Holm
@thekholm80
Jan 09 2018 22:52
the challenges of a volunteer workforce
Kaz Baig
@kbaig
Jan 09 2018 22:52
TM
Gersho
@Gersho
Jan 09 2018 22:53
don't know how far along is beta but last time i tried it there was no night mode
William Breece
@wjb1114
Jan 09 2018 22:55
I wasn't able to find anything on the GitHub, but i may be blind. Has anyone else encountered issues seeing console.log statements on the Basic JavaScript challenge on the beta site?
Bjorn van de Peut
@bjorno43
Jan 09 2018 22:57
@wjb1114 I'm not part of the team that does the beta. But I guess they're leftovers of testing purposes. They'll most likely be removed before the release
William Breece
@wjb1114
Jan 09 2018 22:57
Gotcha. Thank you.
slri
@slri
Jan 09 2018 23:03
soon™
Kyle Holm
@thekholm80
Jan 09 2018 23:04
lol™
Bjorn van de Peut
@bjorno43
Jan 09 2018 23:07
@RuinIsProbablyTaken :wave:
slri
@slri
Jan 09 2018 23:07
hey bob!