These are chat archives for FreeCodeCamp/Help

10th
Sep 2018
Aditya
@ezioda004
Sep 10 2018 00:02
:thumbsup:
DangerHJW
@DangerHJW
Sep 10 2018 00:08
freecodecamp
learningjs42
@learningjs42
Sep 10 2018 00:29
can someone help me explain this code
const powerset = arr => arr.reduce((a, v) => a.concat(a.map(r => [v].concat(r))), [[]]);
console.log(powerset([1, 2]));
console.log(powerset([1, 2, 3]));
console.log(powerset([1, 2, 3, 4]));
learningjs42
@learningjs42
Sep 10 2018 00:40
@atgehrhardt you need to use ``` 3 times the backtick on the top of the code and the bottom
Andrew Tait Gehrhardt
@atgehrhardt
Sep 10 2018 00:41
@learningjs42 :) thanks!
learningjs42
@learningjs42
Sep 10 2018 00:42
@atgehrhardt :)
jacksonnoo
@jacksonnoo
Sep 10 2018 02:14
do you have anglar4 ?
I would like to download it
Julian Zhu
@OrangeBorning
Sep 10 2018 02:15

@OrangeBorning
@OrangeBorning

t=-19185 [st=    0] +REQUEST_ALIVE  [dt=22472]
                     --> has_upload = true
                     --> is_pending = true
                     --> load_flags = 16384 (MAYBE_USER_GESTURE)
                     --> load_state = 14 (WAITING_FOR_RESPONSE)
                     --> method = "POST"
                     --> net_error = -1 (ERR_IO_PENDING)
                     --> status = "IO_PENDING"
                     --> url = "http://new.intltest.zomworkdev.com/loginapi/regsend"
t=  3286 [st=22471]    CANCELLED
t=  3287 [st=22472]   -URL_REQUEST_START_JOB
                       --> net_error = -3 (ERR_ABORTED)
t=  3287 [st=22472]    URL_REQUEST_DELEGATE  [dt=0]
t=  3287 [st=22472] -REQUEST_ALIVE

Can someone help me?
My post request was blocked by the browser and cancelled
There is no problem with https requesting http here.
I don't quite understand why it was cancelled.

Claudio Restifo
@Marmiz
Sep 10 2018 03:42
@OrangeBorning can be a lot of things. Sometimes browsers block requests from iFrames, or you canceled it because you started the request but than change something in the DOM, or you fire this request while also performing a second one (ie during a form-subit)
Julian Zhu
@OrangeBorning
Sep 10 2018 04:05
@Marmiz thanks
Claudio Restifo
@Marmiz
Sep 10 2018 04:08
:+1:
Julian Zhu
@OrangeBorning
Sep 10 2018 04:08
This request came with another module I required, and I proxyed my request via nginx.There may be errors in this process.
When I tried to send this request without using that module, it would be normal.
But I don't understand why, I think their requests are from the current domain, and the browser should not block it.
This situation still exists when I turn off the browser's security restrictions.
Claudio Restifo
@Marmiz
Sep 10 2018 04:18

@OrangeBorning can be nginx. There are some nice debugging resources for chrome, like copying a request as cURL, so you can use it in your terminal and have a clearer pictures.

al well as nginx has its own log, so you can actually see why /where was canceld

maybe it's just a timeout issue?
Julian Zhu
@OrangeBorning
Sep 10 2018 04:21
image.png
image.png
image.png
Maybe my understanding of nginx's agent is wrong.
I think that after configuring nginx, the browser's request address will be proxied to my local by nginx.
This is a question worth studying, I will try to find his reason.
psyperl
@psyperl
Sep 10 2018 08:22
wonder if there is a way to attach some sort of event listener to observe a variable change in JS
other than protecting it with getter / setter
wonder if Object.observe is safe to use

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe

This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

:(

ah it refers to Proxy
psyperl
@psyperl
Sep 10 2018 08:29
:zzz:
Aditya
@ezioda004
Sep 10 2018 08:43
@psyperl Theres synthetic events on the frontend but they only work on Event Objects, I think they can be extended to other objects/class too
Like in node you do that with Event Emitters
psyperl
@psyperl
Sep 10 2018 08:49
interesting, thanks @ezioda004 i'll give it a try, maybe i can mix it with Proxy
Koshiro Izumi
@Digicrest_gitlab
Sep 10 2018 10:44

Can someone explain why this isn't passing? Can't see what's wrong with it.

background: linear-gradient(35deg, #CCFFFF, #FFCCCC);

the challenge is: https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/create-a-gradual-css-linear-gradient

nevermind it passed once i used the shorthand codes for the hex.. da fuq why would #CCFFFF fail but #CFF works.. literally the same thing
Niraj Nandish
@Nirajn2311
Sep 10 2018 11:49
@Digicrest_gitlab phew, i thought that i had messed up my understanding of hex codes
Fabien SHAN
@X140hu4
Sep 10 2018 12:07
@Digicrest_gitlab Both work for me though. And the test tests for both (https://github.com/freeCodeCamp/curriculum/blob/dev/challenges/01-responsive-web-design/applied-visual-design.json - Line 2181)
jane
@Jane-QinJ
Sep 10 2018 12:23
Hello, everybody. I am Jane, i come from China. Nice to meet you guys(^▽^)
Niraj Nandish
@Nirajn2311
Sep 10 2018 12:28
Hey can someone help me to correctly use fontawesome icons in react
I can't seem to understand their docs
psyperl
@psyperl
Sep 10 2018 12:28
nice to meet you @Jane-QinJ welcome to fcc
jane
@Jane-QinJ
Sep 10 2018 12:33
@psyperl thanks, your avatar is pretty cool
psyperl
@psyperl
Sep 10 2018 12:33
thanks :smile:
creeps
@winnypie_twitter
Sep 10 2018 13:10

Can anyone help me, i'm trying to add client information on website by reading a text file but i cant get this to work. I want each to be added

const fs = require('fs');
module.exports = {

  'Add Client Info': (browser) => {
    fs.readFile('RESERVED-CLIENT.txt', {encoding: "utf8"}, function read(err, data) {
    data.split('\r\n').forEach(i => {
      const a = i.split(':')
      const first_name =  a[0];
      const last_name = a[1];
       const phone_number = a[2];
      return (
        browser
          .url('https://localhost:8000/admin/dashboard')
          .waitForElementVisible('.add-new-client-form', 5000)
          .waitForElementVisible('input[id=client-firstname]', 5000)
          .waitForElementVisible('input[id=client-lastname]', 5000)
          .waitForElementVisible('input[id=client-phone]', 5000)
          .setValue('input[id=client-firstname]', `${first_name}`)
          .setValue('input[id=client-lastname]', `${last_name}`)
           .setValue('input[id=client-phone]', `${phone_number}`)
          .click('#add-client-button')
          .waitForElementVisible('.notice-dashboard', 5000)
           .end()
           )
      })
    })
  }
}

i got error ✖ TypeError: Cannot read property 'split' of undefined

creeps
@winnypie_twitter
Sep 10 2018 13:23
sample text
John:Doe:555-555
Jane:Doe:555-555
Ann:Doe:555-555
Aditya
@ezioda004
Sep 10 2018 13:26
@winnypie_twitter Isnt i string?
creeps
@winnypie_twitter
Sep 10 2018 13:27
its split to array
separated by :
Eric Weiss
@eweiss17
Sep 10 2018 13:32
you are missing a ; on that line.... thought i don't think it would matter in js
Aditya
@ezioda004
Sep 10 2018 13:35
@winnypie_twitter I'm not sure what return is doing, but forEach doesnt return anything
Otherwise code looks ok (tested out locally without return statement)
creeps
@winnypie_twitter
Sep 10 2018 13:37
It does run though when using createReadStream but i need a sync way
it should actually return the browser instance.
creeps
@winnypie_twitter
Sep 10 2018 13:57
I FIXED IT... it was problem with the path...
Ogechi Ike
@BlackMG27
Sep 10 2018 14:10
Could someone look at my code for Caesar Cipher? Thanks in advance.
function rot13(str) { // LBH QVQ VG!
  //split the string
  str.split('');
  debugger;
  //grab each character
  for(var i = 0; i < str.length; i++){
    //take each character at its instance, so [i]
    var char = str.charCodeAt(i);
  //get the ASCII for each character
     if( char >= 65 || char <= 77){
       //if the ASCII is 65 - 77, add 13
       return char + 13;
     }else if(char >=78 || char <= 90){
       //if the ASCII is 78 - 90, subtract 13
       return char - 13;
     }
  }

  str = str.join('');

  return str;

  //else just leave them alone
  //join the string together
}
I used the debugger to check and didn't get much back.
stevenkuipers
@stevenkuipers
Sep 10 2018 14:31
you are returning char but not setting it back into str
so instead of returning you want to do something like str[i] = String.fromCharCode(char + 13)
Eric Weiss
@eweiss17
Sep 10 2018 14:39
right, do the tests ever make it to return str?
rahulthesparrow
@rahulthesparrow
Sep 10 2018 15:04
Add to your form a set of three checkboxes. Each checkbox should be nested within its own label element. All three should share the name attribute of personality
What to do next???
Eric Weiss
@eweiss17
Sep 10 2018 15:24
did you add the 3 checkboxes?
Kyle Holm
@thekholm80
Sep 10 2018 15:34
good morning, /help
Christopher McCormack
@cmccormack
Sep 10 2018 15:54
@thekholm80 mornin
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:01
 if( potato >= 32 || ogre <= 57)
what is life?
Ene Catalin
@EneCatalin
Sep 10 2018 16:07
42
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:10
how do I write in JS
if icecream is made of vanilla, eat icecream?
I'm a :cat: pls help me
sljadoljed
Ene Catalin
@EneCatalin
Sep 10 2018 16:12
is vanilla string ?
Christopher McCormack
@cmccormack
Sep 10 2018 16:12
const eat = iceCream === vanilla
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:13
i meant with if tho
Christopher McCormack
@cmccormack
Sep 10 2018 16:13
oh I didn't think you were actually serious in the first place
Ene Catalin
@EneCatalin
Sep 10 2018 16:13
yes with if
but is it a string ?
Christopher McCormack
@cmccormack
Sep 10 2018 16:13
if (iceCream === vanilla) eat()
Ene Catalin
@EneCatalin
Sep 10 2018 16:13

if(icecream ==="vanilla")
{do stuffs}
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:14
why u ostrich , yours is diffrent
Ene Catalin
@EneCatalin
Sep 10 2018 16:14
because I don't write js and I don't know what type your iceacream var actually is
since you never said
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:14
how do you say else === coconut yuck
Eric Weiss
@eweiss17
Sep 10 2018 16:15
my vim froze, what do
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:15
lies. vim cant freeze
Ene Catalin
@EneCatalin
Sep 10 2018 16:15
use a hammer
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:16
there's more likely your OS froze than vim
Eric Weiss
@eweiss17
Sep 10 2018 16:16
i accidently tried saving with ctrl + s and it did not like that
Ene Catalin
@EneCatalin
Sep 10 2018 16:16
hammer solution still works though
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:16
haha, funny thing, that's probably statistically more likely indeed . lol
here's a tip, guys - never press a knife upon body part. things can go wrong
Ene Catalin
@EneCatalin
Sep 10 2018 16:18
pussy
Eric Weiss
@eweiss17
Sep 10 2018 16:18
you mean, while cutting, have the sharp side point away from you
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:18
does anyone desire to be my CSS trainee
Ene Catalin
@EneCatalin
Sep 10 2018 16:18
men shave with knifes
Eric Weiss
@eweiss17
Sep 10 2018 16:18
display: hidden;
your welcome
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:19
your grammer is not welcome here :-/
are you
programmer
or
constgrammer
Eric Weiss
@eweiss17
Sep 10 2018 16:20
yes
EVEN if saying 'your welcome' is incorrect, it is still received as the correct message given the context
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:21
I dont know enough English to know what you just said
Eric Weiss
@eweiss17
Sep 10 2018 16:21
such as the american english language pretty much never using WHOM in common speak
constgrammer
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:22
@eweiss17 that's a lie
:blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom: :blossom:
Christopher McCormack
@cmccormack
Sep 10 2018 16:23
Never justify using poor grammar! Just try to be better.
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:24
attacking opponent's grammar must be some kind of falacy . like nazi move or smth
Ene Catalin
@EneCatalin
Sep 10 2018 16:25
I mean it actually is unless the message is just full of grammar mistakes
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:25
I should go to stack overflow for Jews...
no, wait, for language and ask that
Christopher McCormack
@cmccormack
Sep 10 2018 16:25
Attacking at all is usually a sign something is wrong
Ene Catalin
@EneCatalin
Sep 10 2018 16:26
but not always. You can make ad hominems and still have better general points
the ad hominems being just a bonus
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:27
yes, but if attacking grammar is derailing from the main point. . .
ad hominems are sign of how bad they raised you or smth
Ene Catalin
@EneCatalin
Sep 10 2018 16:28
or just how bloody {ad-hominem} the other guy is
sometimes it gets on your nerves
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:30
ostrich, I've found Ecchi on 4chan and my life is over
Ene Catalin
@EneCatalin
Sep 10 2018 16:30
is that some sort of disease ?
Eric Weiss
@eweiss17
Sep 10 2018 16:30
your first mistake was going to 4chan
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:31
@EneCatalin it's likely to form a disease over it, yeah
@eweiss17 well, you're not wrong.
Eric Weiss
@eweiss17
Sep 10 2018 16:35
trying to mimic making a checkbox disabled without withdrawing it from form submission
cursor: not-allowed works but can't seem to grey it out
Damos Kalaitzidis
@DamostheGreek
Sep 10 2018 16:36
Anybody wanna team up
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:37
@DamostheGreek yes, lets team up and do some CSS together!!! YAY!
Damos Kalaitzidis
@DamostheGreek
Sep 10 2018 16:38
Gotta warn you, I'm not very good
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:38
gotta warn you - I'm actually a :cat: so neither am I , probably
Eric Weiss
@eweiss17
Sep 10 2018 16:40
you doing ui/ux design or something?
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:40
who me?
comma, slash / comma, dash -
točkica;zarez
Eric Weiss
@eweiss17
Sep 10 2018 16:45
yes
May Kittens Devour Your Soul
@diomed
Sep 10 2018 16:46
I'm doing it indeed
Niraj Nandish
@Nirajn2311
Sep 10 2018 17:43
@diomed whats the progress of your css
Still stuck with the menu bar :laughing: :laughing:
May Kittens Devour Your Soul
@diomed
Sep 10 2018 17:44
my menubar is fine, thanks for asking
sorted yesterday
Niraj Nandish
@Nirajn2311
Sep 10 2018 17:44
Then whats the problem
May Kittens Devour Your Soul
@diomed
Sep 10 2018 17:46
no problem
Eric Weiss
@eweiss17
Sep 10 2018 17:49
how's it look?
May Kittens Devour Your Soul
@diomed
Sep 10 2018 17:50
looks nice, thanks for asking
:smirk_cat:
Niraj Nandish
@Nirajn2311
Sep 10 2018 17:50
r_395879_AW2bz.jpg
Eric Weiss
@eweiss17
Sep 10 2018 17:53
assuming a fixed menubar for each page of the site?
May Kittens Devour Your Soul
@diomed
Sep 10 2018 17:55
it's basically this : https://demo.ghost.io
but with more social icons on the right
Eric Weiss
@eweiss17
Sep 10 2018 17:57
neat, what is the page for?
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:00
it's just a general blog. it's a theme that matters
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:17
clearly, birds are not animals.
coz they think that documenaries about animals are "mocumentaries"
pffft
Eric Weiss
@eweiss17
Sep 10 2018 18:19
without knowing english, how much of the internet is actually in your native language?
i'd assume just major companies/businesses located within the country
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:20
meow?
Ene Catalin
@EneCatalin
Sep 10 2018 18:20
that was a not a documentary
and birds are not animals, just savages
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:21
I dont know that data. why?
Eric Weiss
@eweiss17
Sep 10 2018 18:22
curious
not asking about data, just personal experience
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:22
@EneCatalin it was! you emu
Ene Catalin
@EneCatalin
Sep 10 2018 18:23
curiosity killed the cat
TAKE THAT BACK YOU STRAY
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:26
I'll take it back after you admit it was DOCUMENTARY
for reals!
Ene Catalin
@EneCatalin
Sep 10 2018 18:26
it was a fake
for reals!
even gave you the title of the parody
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:27
nothing is fake about that
Ene Catalin
@EneCatalin
Sep 10 2018 18:31
except for the whole clip ?
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:32
it's a comedy, but it ain't mockumentary
it's a documentary
Ene Catalin
@EneCatalin
Sep 10 2018 18:33
you just said it's a comedy
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:36
yes, but it wasn't fake
Ene Catalin
@EneCatalin
Sep 10 2018 18:36
it was absolutely fake
watch the whole mockumentary
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:37
it's as real as emu war
Ene Catalin
@EneCatalin
Sep 10 2018 18:38
the emu war was actually real
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:38
my point exactly
Ene Catalin
@EneCatalin
Sep 10 2018 18:38
your documentary is fake
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:39
:angry: how dare you :interrobang:
Ene Catalin
@EneCatalin
Sep 10 2018 18:40
stop being such a stray
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:43
said emu
Eric Weiss
@eweiss17
Sep 10 2018 18:44
agree to disagree
Ene Catalin
@EneCatalin
Sep 10 2018 18:44
cause he called you an emu
A BLOODY EMU
THEY HAVE SMALLER EGGS
THEY RAN SLOWER
THEY ARE UGLIER
RUN*
they are truly a disgrace, much like cat
May Kittens Devour Your Soul
@diomed
Sep 10 2018 18:46
again, ostrich with his ad emuem and ad :cat:inem fallacies
Ene Catalin
@EneCatalin
Sep 10 2018 18:46
finally calling ostrich an ostrich
psyperl
@psyperl
Sep 10 2018 18:48
guess what, a cat and an ostrich in a chat
miracle
Karma Drukpa
@coderkarma
Sep 10 2018 19:26
what?
Ai rui 艾瑞
@aisolae
Sep 10 2018 20:32
hi

```movie.forEach(function (movies) {
var result = "you have ";
if (movies.hasWatched) {
result += "watched";
} else {
result += "not seen";
}
result += "\" " + movie.title + "\" -";
result += movie.rating + " stars";
});

console.log(result);```

can anyone help me with this snippet, don’t know why it’s not working
psyperl
@psyperl
Sep 10 2018 20:35
that triple backticks should be on it's own line for the code formatter to work
Ai rui 艾瑞
@aisolae
Sep 10 2018 20:35
oh thanks
psyperl
@psyperl
Sep 10 2018 20:36
np you can also edit your post to correct it
Ai rui 艾瑞
@aisolae
Sep 10 2018 20:36
movie.forEach(function (movies) {
var result = "you have ";
if (movies.hasWatched) {
result += "watched";
} else {
result += "not seen";
}
result += "\" " + movie.title + "\" -";
result += movie.rating + " stars";
});
console.log(result);
got it, i can’t seem to figure why this isn’t working
Aditya
@ezioda004
Sep 10 2018 20:37
Shouldnt movie.title be movies.title?
Ai rui 艾瑞
@aisolae
Sep 10 2018 20:37
var movie = [{
        title: "frozen",
        hasWatched: true,
        rating: 5,
    },
    {
        title: "ant man",
        hasWatched: false,
        rating: 3.5,
    },
    {
        title: "superman",
        hasWatched: false,
        rating: 4.5,
    },
    {
        title: "Iron man",
        hasWatched: true,
        rating: 5,
    },

];

movie.forEach(function (movies) {
    var result = "you have ";
    if (movies.hasWatched) {
        result += "watched";
    } else {
        result += "not seen";
    }
    result += "\" " + movie.title + "\"  -";
    result += movie.rating + " stars";
});

console.log(result);
Aditya
@ezioda004
Sep 10 2018 20:37
Likewise for rating
Ai rui 艾瑞
@aisolae
Sep 10 2018 20:38
that’s the full code
Aditya
@ezioda004
Sep 10 2018 20:38
movie.title => movies.title
psyperl
@psyperl
Sep 10 2018 20:38
result out of scope?
Aditya
@ezioda004
Sep 10 2018 20:39
Confusing name convention
Ai rui 艾瑞
@aisolae
Sep 10 2018 20:39
movie is the array from which to loop from
Aditya
@ezioda004
Sep 10 2018 20:40
Well, in the callback function you have movies
Ai rui 艾瑞
@aisolae
Sep 10 2018 20:40
you are right
Console.log was out of scope
thanks @psyperl @ezioda004
AbrisM
@AbrisM
Sep 10 2018 21:01
Anyone familiar with HTML?
Kyle Holm
@thekholm80
Sep 10 2018 21:01
i saw some html once
AbrisM
@AbrisM
Sep 10 2018 21:02
Looking for to specify a 2 column table layout
Usually when creating a table, the text likes to go from right to left
psyperl
@psyperl
Sep 10 2018 21:03
looking for someone who saw html at least twice
AbrisM
@AbrisM
Sep 10 2018 21:03
I need one text to stay in 1 column only, then the other in the second
The problem with <tr> is that it takes all the text input and puts it on one row
Ai rui 艾瑞
@aisolae
Sep 10 2018 21:04
i literrally forgot html when i focus on js. am i the only person experiencing this ?
psyperl
@psyperl
Sep 10 2018 21:04
colspan maybe @AbrisM
not sure what you need really
AbrisM
@AbrisM
Sep 10 2018 21:05
Oh looks like i'm getting it
I just added the <tr> above the <th> with the <td> inside
It's like a table forum that accepts user input, one for a field on the left
and on the right is the text-field for user input
psyperl @psyperl confused
AbrisM
@AbrisM
Sep 10 2018 21:07
Creating a two-column table
On the left column is only text-field aka labels
On the right accepts user-input from a text-field
Then is calculated with a on-click button
psyperl
@psyperl
Sep 10 2018 21:08
i learn css grid for such things today
AbrisM
@AbrisM
Sep 10 2018 21:08
Hahaha yes
Right now I am changing the html layout because its in row instead of column
psyperl
@psyperl
Sep 10 2018 21:09
ic, so you are transposing the table
AbrisM
@AbrisM
Sep 10 2018 21:09
It's weird by default <tr> basically puts information as --->
Sorta, yes
Wonder if there is a column tag
psyperl
@psyperl
Sep 10 2018 21:09
td is column no?
AbrisM
@AbrisM
Sep 10 2018 21:10
<td> is more of data association for user input
<div span> would be more like a column because it splits but
it's more of a border-feature
psyperl
@psyperl
Sep 10 2018 21:11
wow
AbrisM
@AbrisM
Sep 10 2018 21:11
There is also one radio input button in a second column
Ya
That's why it was confusing at first because there was only <td>, <tr> and <th>
psyperl
@psyperl
Sep 10 2018 21:12
you might want to review table structure again
it should help your confusion
AbrisM
@AbrisM
Sep 10 2018 21:12
Yes, that is done but only lists above
Hmmm
Smootimus
@Smootimus
Sep 10 2018 21:12
:eyes:
Kyle Holm
@thekholm80
Sep 10 2018 21:15
holy crap smoot's alive
Smootimus
@Smootimus
Sep 10 2018 21:15
Tables have to have their attributes in the HTML like that, btw
Found that out in my Calendar projects lol
Yes, I live
It is I
AbrisM
@AbrisM
Sep 10 2018 21:15
Hmm that could be done also, either with <div span>, or <td> with an id
Smootimus
@Smootimus
Sep 10 2018 21:15
The Smoot
Doing some Linux installs over here, getting a little workstation up and running while I do my Windows Networking stuff :D
Buncha shtuff goin' on over here
psyperl
@psyperl
Sep 10 2018 21:17
i am having trouble to picturize the story.. all i have is sheep jumping over the gate in my mind
AbrisM
@AbrisM
Sep 10 2018 21:17
Linux is fun :D
Isn't it in linux to create a file it is file -something-?
From Ubuntu
Kyle Holm
@thekholm80
Sep 10 2018 21:18
touch file.extension
Smootimus
@Smootimus
Sep 10 2018 21:20
^
Thas a way to do it
There's a few ways to go about it in Linux
Linux can be a lot of fun
I'm about to start going through LFS and BLFS
I've been testing a few different flavors of Linux the past few days
psyperl
@psyperl
Sep 10 2018 21:22
what did you test?
manual test or automated test?
Smootimus
@Smootimus
Sep 10 2018 21:22
Manual testing lol
I installed... let's see
psyperl
@psyperl
Sep 10 2018 21:22
specific test framework perhaps?
Smootimus
@Smootimus
Sep 10 2018 21:23
I've installed Fedora 28 XFCE
Also Linux Mint
I did...
SwagLinux
AbrisM
@AbrisM
Sep 10 2018 21:23
Got it :D
Smootimus
@Smootimus
Sep 10 2018 21:23
Did Manjaro
psyperl
@psyperl
Sep 10 2018 21:23
no BSD ?
Smootimus
@Smootimus
Sep 10 2018 21:23
I'm gonna stick with Manjaro
I was gonna do freeBSD!
I was considering either freeBSD or OpenBSD
Was on the fence about it
Kyle Holm
@thekholm80
Sep 10 2018 21:24
isn't bsd the poor man's mac os?
psyperl
@psyperl
Sep 10 2018 21:25
pretty much
Smootimus
@Smootimus
Sep 10 2018 21:25
LOL
It's used for a lot actually
It's pretty powerful as a router/access server
Well working as a network device
It has a ton of tools for that kinda thing
Kyle Holm
@thekholm80
Sep 10 2018 21:26
but will it run itunes?
Smootimus
@Smootimus
Sep 10 2018 21:26
:'(
lol
psyperl
@psyperl
Sep 10 2018 21:27
yeah i want router with built-in itunes
Smootimus
@Smootimus
Sep 10 2018 21:27
Yeah I'm really liking Manjaro tho
It's based on Arch
Kyle Holm
@thekholm80
Sep 10 2018 21:28
sounds like a lot of work to me
Smootimus
@Smootimus
Sep 10 2018 21:28
So if you want an Arch system up and running, and don't know how to get a completely bare Linux system like Arch up and running or don't wanna go through the probably 2 hrs of work to get an Arch system up and running
Manjaro would be awesome for ya :D
Oh Arch would be LOL
But Manjaro isn't xD
Reference the sentence I just posted right after you said that :P
Manjaro makes Arch a plug-and-play distro like the rest of them :P
Kyle Holm
@thekholm80
Sep 10 2018 21:30
i got gentoo running once, i earned my linux merit badge
Smootimus
@Smootimus
Sep 10 2018 21:30
OoOo
I was considering them as well
About the same time I was debating BSD :D
Kyle Holm
@thekholm80
Sep 10 2018 21:31
if you like waiting forever for everything to compile, gentoo is awesome
especially when it's done, it's crazy fast
Smootimus
@Smootimus
Sep 10 2018 21:31
Hmm LOL
I'm actually looking for the opposite xD
I need some performance
Kyle Holm
@thekholm80
Sep 10 2018 21:32
err that should read "but when it's done it's crazy fast"
Smootimus
@Smootimus
Sep 10 2018 21:32
Which is why I was looking to something bare like Arch
Kyle Holm
@thekholm80
Sep 10 2018 21:32
it only compiles what's needed for your specific machine. no bloat
Smootimus
@Smootimus
Sep 10 2018 21:32
Hmm
I was reading that
That's what got me interested
Kyle Holm
@thekholm80
Sep 10 2018 21:32
but, you have to re-compile the kernal every update lol
at least years ago when i played with it, that's how it was
psyperl
@psyperl
Sep 10 2018 21:33
compiling things is fun
especially when compiling something that i don't know what the code is about
Smootimus
@Smootimus
Sep 10 2018 21:34
Eww
That's pretty gross, recompiling
LOL
psyperl
@psyperl
Sep 10 2018 21:36
that could be gentoo's dev
i personally like windowmaker, but rarely seen distro that uses it as a default window manager
Kyle Holm
@thekholm80
Sep 10 2018 21:40
i like xfce
psyperl
@psyperl
Sep 10 2018 21:48
now i wonder, how would one create native-like app in linux with JS?
Kyle Holm
@thekholm80
Sep 10 2018 21:48
electron
or if you have node installed you can use the node environment via command line
psyperl
@psyperl
Sep 10 2018 21:49
yeah i meant with UI
Kyle Holm
@thekholm80
Sep 10 2018 21:49
i think electron is the best bet
it bundles a lot of chrome to make the enviromnent
psyperl
@psyperl
Sep 10 2018 21:50
wonder how they push the pixels on the screen.. do they embed web browser or?
ah
ic so html based view as well
Kyle Holm
@thekholm80
Sep 10 2018 21:51
yeah, it's very similar to building for the browser
but you don't have to worry about 1000 different browsers & versions, and you get access to the OS
psyperl
@psyperl
Sep 10 2018 21:52
that's nice yeah
and scary at the same time
is node sandboxed?
Kyle Holm
@thekholm80
Sep 10 2018 21:54
nope, node has OS access
psyperl
@psyperl
Sep 10 2018 21:55
possibly need a dedicated user for it to run then
now i am thinking about just an offline web app packaging with default browser
that would be safer and easier possibly
Smootimus
@Smootimus
Sep 10 2018 22:10
I prefer XFCE as well
AbrisM
@AbrisM
Sep 10 2018 22:37
Nice to have a table look like its suppose to now :)