These are chat archives for FreeCodeCamp/Help

2nd
Aug 2018
Smootimus
@Smootimus
Aug 02 2018 00:00
:O How did you know
You're like spying on me or something
... or I'm just a predictable lazy fat-body
Kyle Holm
@thekholm80
Aug 02 2018 00:00
or ... a few hours ago you announced you were going to take a nap lol
Smootimus
@Smootimus
Aug 02 2018 00:00
fell asleep next to a pizza
LMAO Did I really?!
Damn... I forgot about that
hahaha
That's great
Kyle Holm
@thekholm80
Aug 02 2018 00:01
Smootimus
@Smootimus
Aug 02 2018 00:01
Ah, man that was awhile ago xD
I can't even believe I slept that long, really.
I'm starting to develop some bad habits, though :(
Kyle Holm
@thekholm80
Aug 02 2018 00:02
meth?
oh wait, you were sleeping
Smootimus
@Smootimus
Aug 02 2018 00:02
Yeah, I think that dr was on to something lol
LOL!
Yeah, napping every day.
It's becoming a necessity lol
I need to break that
Kyle Holm
@thekholm80
Aug 02 2018 00:03
i used to do that, but then i couldn't sleep at nights - then i needed more naps. it was a vicious cycle
Smootimus
@Smootimus
Aug 02 2018 00:04
YEah that's where its' starting to get to
u.u
So trying to write up this extra credit lab
One of the other students was trying to use an multidimensional array to do it
I figured I would give it a shot, and it's just annoying
Reading data in from a file, and then creating a bar graph according to how much population during a year
Kyle Holm
@thekholm80
Aug 02 2018 00:07
how is the data formatted? xml? json?
Smootimus
@Smootimus
Aug 02 2018 00:08
txt, just two columns of data
year and population.
And 6 different years as of right now
Kyle Holm
@thekholm80
Aug 02 2018 00:08
what language are you doing it in?
Smootimus
@Smootimus
Aug 02 2018 00:08
C++
Which is the problem lol
Kyle Holm
@thekholm80
Aug 02 2018 00:08
sounds annoying
Smootimus
@Smootimus
Aug 02 2018 00:08
Yeah it is
I told him it's not a good application for arrays
And ya know.. c++ has vectros...
*vectors
C++, arrays have to be a SET size
So dealing with that is like... "this is dumb"
Kyle Holm
@thekholm80
Aug 02 2018 00:13
whatcha gonna do with all the extra credit anyway?
Smootimus
@Smootimus
Aug 02 2018 00:15
So the way she's playing it
From lab 2 on
There will be extra credit with every assignment
If we attempt EVERY extra credit
And get >= 85% on each one
We can opt out of the Final
Kyle Holm
@thekholm80
Aug 02 2018 00:16
oh nice
Smootimus
@Smootimus
Aug 02 2018 00:16
Taking the average of the EC scores
As the grade for the final
Stipulations = cannot hand in any EC before handing in the "attached" labs
So = hand in lab2 before EC 2, lab3 before EC3, etc etc
BUT
The extra credit stuff
Ya gotta do a ton of reading on yer own
It doesn't follow along with what she's been teaching up to now
Kyle Holm
@thekholm80
Aug 02 2018 00:20
you should get EC just for understanding how all that works
Smootimus
@Smootimus
Aug 02 2018 00:21
Absolutely LOL
I have to write up a craps game =\
It's got some crazy rules, too
lol
I dunno what it is about her putting out stuff with crazy rules
Kyle Holm
@thekholm80
Aug 02 2018 00:22
command-line or with a gui?
Smootimus
@Smootimus
Aug 02 2018 00:22
command-line
Kyle Holm
@thekholm80
Aug 02 2018 00:22
i guess it could be worse then
Smootimus
@Smootimus
Aug 02 2018 00:23
Could be
Smootimus
@Smootimus
Aug 02 2018 01:06
The next extra credit is gonna take an array, though
Splitting up a 4 digit number and adding all the numbers together
Kyle Holm
@thekholm80
Aug 02 2018 01:08
can't you just do that with math?
granted, i'm not a mathamagician
Smootimus
@Smootimus
Aug 02 2018 01:10
I can't think of a way using math to break up a number like that
But I can see it clearly splitting it up and assigning each digit to an element lol
I came up with a solution to the bar graph for population thing within mere minutes without arrays, I was getting mad frustrated trying to get it to work with arrays u.u
Kyle Holm
@thekholm80
Aug 02 2018 01:14
lol
Henry
@GitHub-Henry
Aug 02 2018 01:15
decided to run npm outdated followed by npm update now my webpack-dev-server won't work. can anyone id the error? the log is in the image.
Kyle Holm
@thekholm80
Aug 02 2018 01:18
have you read the change logs for all the versions you upgraded through?
Henry
@GitHub-Henry
Aug 02 2018 01:23
didn't know they existed
i just checked i only have debug logs in my debug log area. i don't know if change logs got generated, if so where they are located
Henry
@GitHub-Henry
Aug 02 2018 01:27
ohhhhh, ok. I've got some reading to do. looks like I'll just use the older stuff that works until I do that reading, thanks.
Smootimus
@Smootimus
Aug 02 2018 01:28
:)
That's all I do is read
Kyle Holm
@thekholm80
Aug 02 2018 01:28
this is why i never update anything
so many breaking changes
Henry
@GitHub-Henry
Aug 02 2018 01:29
i think i agree with your reasoning
Smootimus
@Smootimus
Aug 02 2018 01:30
It depends.
I turned in that LinkedIn REACH thing. Didn't even get a confirmation or anything
Kyle Holm
@thekholm80
Aug 02 2018 01:31
wow, you'd think they'd at least say "thanks, you were / were not part of the 400"
Smootimus
@Smootimus
Aug 02 2018 01:44
Right?
Xarri Jorge
@xarrijorge
Aug 02 2018 01:49
Heya, any help on this redux challenge? I can't seem to figure it out. Redux: Handle an Action in the Store.
Kyle Holm
@thekholm80
Aug 02 2018 01:58
@kodinglife i usually use switch() statements for my reducers. the eval would be action.type with a case for LOGIN that returns { login: true } and a default that returns state
Xarri Jorge
@xarrijorge
Aug 02 2018 01:59
I think the problem with FCC is the instructions are never clear enough. It is frustrating at times
Kyle Holm
@thekholm80
Aug 02 2018 02:00
i think that a lot. then i think "I should make a PR to make the instructions more clear" but I can never think of any wording that's better
so i watch cat videos on youtube instead
Xarri Jorge
@xarrijorge
Aug 02 2018 02:00
I've had to learn topics else where cause FCC is just inadequate in
Kyle Holm
@thekholm80
Aug 02 2018 02:01
anyway, i gave the answer above and i know it works
image.png
Xarri Jorge
@xarrijorge
Aug 02 2018 02:07
Okay. I think I was missing the type property on the action
Kyle Holm
@thekholm80
Aug 02 2018 02:08
redux confused the heck out of me, it took me forever to learn. and that was with Stephen Grider's course walking me through step by step
it's a lot to take in
hang in there
Xarri Jorge
@xarrijorge
Aug 02 2018 02:16
Yeah, I think MOBX is simpler, I started looking through the docs last night.
Kyle Holm
@thekholm80
Aug 02 2018 02:16
to be honest, i use react's context api and never even think about redux anymore
but my apps are simple and small, i'm sure that makes a difference
Xarri Jorge
@xarrijorge
Aug 02 2018 02:17
Yeah, I've heard folks talk about the context API, I'll look into it. Redux is pulling all kinds of crazy with me tonight.
Kyle Holm
@thekholm80
Aug 02 2018 02:18
i really like it, it makes more sense to me
Xarri Jorge
@xarrijorge
Aug 02 2018 02:19
Yeah, but for Job purposes, learning Redux is a real catch
Kyle Holm
@thekholm80
Aug 02 2018 02:19
oh i'm glad i learned it, it made me better at JS overall
andreb17
@andreb17
Aug 02 2018 02:22
Create a second p element after the existing p element with the following kitty ipsum text: Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.can someone help
Kyle Holm
@thekholm80
Aug 02 2018 02:22
what did you try?
andreb17
@andreb17
Aug 02 2018 02:23
<p> Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched</p>
Kyle Holm
@thekholm80
Aug 02 2018 02:23
can you share the rest of your code?
andreb17
@andreb17
Aug 02 2018 02:24
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
Kyle Holm
@thekholm80
Aug 02 2018 02:25
i mean, all of it - it's hard to debug with just one line of code
the lesson starts like this:
<h2>CatPhotoApp</h2>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
Xarri Jorge
@xarrijorge
Aug 02 2018 02:25
Hard? Try impossible
Kyle Holm
@thekholm80
Aug 02 2018 02:25
i need to see it after you add your code to it

but i'm guessing you just missed the last part of the instructions:

Wrap the paragraphs with an opening and closing main tag.

andreb17
@andreb17
Aug 02 2018 02:27

<h2>CatPhotoApp</h2>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

andreb17
@andreb17
Aug 02 2018 02:33

<h2>CatPhotoApp</h2>

<main>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run
catnip eat the grass sniff.</p>
Purr jump eat the rip the couch scratched sunbathe,shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched
</main>
</p>

its not working
Kyle Holm
@thekholm80
Aug 02 2018 02:33
close, you just have your last 2 closing tags in the wrong order
oh and you're missing the opening paragraph tag for your second paragraph
<h2>...</h2>
<main>
  <p> ... </p>
  <p> ... </p>
</main>
andreb17
@andreb17
Aug 02 2018 02:36
thanks man
Kyle Holm
@thekholm80
Aug 02 2018 02:36
:+1:
Slade
@Reaperoot_gitlab
Aug 02 2018 02:37
hey i have a pen where the justify-content-between is not working at all. idk why. https://codepen.io/GRIMROOT/pen/rrdPEm?editors=1000 via @CodePen
andreb17
@andreb17
Aug 02 2018 02:37
ok on to the next
Claudio Restifo
@Marmiz
Aug 02 2018 02:41

@Reaperoot_gitlab

justify-content-between

you mean:

justify-content: space-between
Slade
@Reaperoot_gitlab
Aug 02 2018 02:42
@Marmiz i know this the class justify-content-between is a boostrap class shortcut
bootstrap
Sorry i looked at the documentation i think it has to all be in a column.. correct me if im wrong
glitz20
@glitz20
Aug 02 2018 02:58
hey guys I am trying to route to a new page on click in react, but its not working. Getting Uncaught TypeError: Cannot read property 'push' of undefined
handleClick(e) {
        e.preventDefault();
        this.props.browserHistory.push('/description/' + this.props.obj._id);
    }

    render() {
        return (
            <tr onClick={this.handleClick}>
                <td>
                    {this.props.obj._id}
                </td>
                <td>
                    {this.props.ob
Moisés Man
@moigithub
Aug 02 2018 03:03
console.log everywhere...
most probably browserHistory is not on props (error says undefined)
did u wrapped ur component using withRouter HOC ?
chaitanya ashtekar
@chaitanyaashtekar
Aug 02 2018 03:08
@sabin20 check if you have this.props.history
glitz20
@glitz20
Aug 02 2018 03:36
@moigithub and @chaitanyaashtekar is there other way to route?
Yashwardhan Pauranik
@yashwp
Aug 02 2018 03:37
I want to make a website using MEAN stack (A - Angular 6) and host that. Can any one suggest or recommend the best the directory structure that I should use?
glitz20
@glitz20
Aug 02 2018 03:37
@moigithub yeah I have wrapped by component in route
@chaitanyaashtekar nope, there is no this.props.history.
So, what would be an alternative?
Claudio Restifo
@Marmiz
Aug 02 2018 03:42
@sabin20 are you using browser-router v.4?
^ react-router 4
chaitanya ashtekar
@chaitanyaashtekar
Aug 02 2018 03:43
@sabin20 have you binded your handleClick ? if not then try
handleClick = (e) => {  // this line
        e.preventDefault();
        this.props.browserHistory.push('/description/' + this.props.obj._id);
    }
`
glitz20
@glitz20
Aug 02 2018 03:53
@chaitanyaashtekar yeah I have binded it
@Marmiz 4.2.2
Claudio Restifo
@Marmiz
Aug 02 2018 03:55
@sabin20 are you actually importing react-router-dom?
if so, how's your provider and Route component shaped?
those are the two components that pass history - match - location props to the child :)
glitz20
@glitz20
Aug 02 2018 03:57
I have imported these two
import { Link } from 'react-router-dom';
import { browserHistory } from 'react-router';
@Marmiz
<Route path='/description/:id' component={Description} />
Manish Giri
@Manish-Giri
Aug 02 2018 04:02
learnt something new today
Claudio Restifo
@Marmiz
Aug 02 2018 04:02
@sabin20 if I recall correctly browserHistory is a v.3 thingy. In the v4 you need to create your own history api
any reason why not using the BrowserRouter provideD?
or in other words, what documentation are you following @sabin20 ?
@Manish-Giri which is? the power of friendship?
:sparkles:
Manish Giri
@Manish-Giri
Aug 02 2018 04:04
:sweat:
glitz20
@glitz20
Aug 02 2018 04:08
@Marmiz oh ok
how should I use browser router?
alpox
@alpox
Aug 02 2018 04:09
@sabin20 you have to wrap your app in it
Claudio Restifo
@Marmiz
Aug 02 2018 04:11
@sabin20 react router has an excellent documentation with lots of examples:
https://reacttraining.com/react-router/web/guides/quick-start
glitz20
@glitz20
Aug 02 2018 04:58
@Marmiz I have browser router on my index.js, rendering the same link, but how should I use it in handleClick?
Claudio Restifo
@Marmiz
Aug 02 2018 05:01
@sabin20 for 90% of the case you can just use the provided link component as navigation
but if that
*'s not the functionality you need, the provided exposes history as props, so you can manually history.push(newLocation)
glitz20
@glitz20
Aug 02 2018 05:04
still getting the same error
Cannot read property 'push' of undefined
Claudio Restifo
@Marmiz
Aug 02 2018 05:05
@sabin20 do you have a demo?
or can you set up one?
@sabin20 btw can't you just render a link component inside that tr? Or you want to handle it yourself for any particular reason?
glitz20
@glitz20
Aug 02 2018 05:09
@Marmiz so would it be tr onClick <link to=smth>?
Claudio Restifo
@Marmiz
Aug 02 2018 05:10
you want to link on the whole row click?
glitz20
@glitz20
Aug 02 2018 05:10
yeah
Claudio Restifo
@Marmiz
Aug 02 2018 05:11
unless you control what tr actually renders, I'd onClick
glitz20
@glitz20
Aug 02 2018 05:13
clicking on tr would take to a new page
so I want to get id from the row I click on, and then open a description page for that id
@Marmiz wait a moment, I will share the github link
Claudio Restifo
@Marmiz
Aug 02 2018 05:27
or go over https://codesandbox.io/ and make a small demo of it
alpox
@alpox
Aug 02 2018 05:36
@sabin20 you cannot access this.history because it is only accessible in components directly rendered inside of a route and not in its children
Claudio Restifo
@Marmiz
Aug 02 2018 05:36

@sabin20 what's

this.history.push

The component get history as props from the Route. So make sure you are actually passing the props correctly

you can wrap them in a withRouter HOC in case you don't want to manually pass props :)
:)
Claudio Restifo
@Marmiz
Aug 02 2018 05:37

also why

import { Link } from 'react-router-dom';
import { browserHistory } from 'react-router';

are in TableRow ?

@sabin20 Just to clarify. Routes are just like any other React Component. No magic behind.
So the same concepts of passing props applies here as well
Happy-Ferret
@Happy-Ferret
Aug 02 2018 05:56

Anyone know any Go? I'm losing my mind trying to cast a type inside a composite literal.

    appUser := &SOAPservice.ZxiWsLoginfo{
        Appuser: SOAPservice.Char32("DEWE1659"),
    }

Error: Cannot use SOAPservice.Char32("DEWE1659" (type SOAPservice.Char32) as type *SOAPservice.Char32 in field value.

Happy-Ferret
@Happy-Ferret
Aug 02 2018 06:39

I ended up doing

    username := new(SOAPservice.Char32)
    *username = "DEWE1659"

    appUser := &SOAPservice.ZxiWsLoginfo{
        Appuser: username,
    }

Any more efficient way, without creating that variable to reference the address?

Bjorn van de Peut
@bjorno43
Aug 02 2018 06:48
@Happy-Ferret I don't know anything about Go, but it looks like you can't instantiate an object inside a field value.
Happy-Ferret
@Happy-Ferret
Aug 02 2018 07:14

Well. I wasn't instantiating an object per se, merely casting a string to a custom type.

Turns out though that I needed to take the address and that's apparently not supported inside a string literal.

https://groups.google.com/forum/#!topic/golang-nuts/mKJbGRRJm7c

I'll see if I can make this little function work for me in the future
func ptrTo(s string) *string {
    return &s;
}
nalinpuri
@nalinpuri
Aug 02 2018 08:30
hello how can i bring navigation bar above?Pls tell https://codepen.io/nalinpuri/pen/EpLxoL
home features and contact
Pavlo Rudyi
@paulcarroty
Aug 02 2018 08:39
folks, is there a way to move your code from beta to stable freecodecamp?
'cause solve the same quizzes again isn't funny
Aditya
@ezioda004
Aug 02 2018 08:40
@nalinpuri Are you familiar with flexbox? Also, theres no navigation tag in HTML, theres <nav> though.
nalinpuri
@nalinpuri
Aug 02 2018 08:41
no i am not familiar
@ezioda004
pls tell me how can i take navigation bar through padding
on top
padding is only working on moving right
Aditya
@ezioda004
Aug 02 2018 08:50
@nalinpuri Padding wont do it, you can try negative margin, like margin-top: -100px; and margin-left: 500px;
Bjorn van de Peut
@bjorno43
Aug 02 2018 08:50
@nalinpuri I would suggest that you do FCC's curriculum before attempting code that you don't understand. Just like swimming, you can't dive into the ocean without getting your swimming certificates first. You'll simply drown and find yourself requesting help continuesly
Aditya
@ezioda004
Aug 02 2018 08:50
Its rather easy to do with flexbox, you might wanna try with that.
nalinpuri
@nalinpuri
Aug 02 2018 08:52
@bjorno43 i have done the html css curriculum
Claudio Restifo
@Marmiz
Aug 02 2018 08:56

you can't dive into the ocean without getting your swimming certificates first

witness me

Henry
@GitHub-Henry
Aug 02 2018 08:57
me too, but i've been swimming for years
nalinpuri
@nalinpuri
Aug 02 2018 08:58
@ezioda004 margin-left doesnt work
Bjorn van de Peut
@bjorno43
Aug 02 2018 08:58
@Marmiz Whahah :joy:
nalinpuri
@nalinpuri
Aug 02 2018 08:58
sorry margin-top
margin-left is working
Aditya
@ezioda004
Aug 02 2018 09:01
@nalinpuri You're applying on navigation element...which isnt a real element.
nalinpuri
@nalinpuri
Aug 02 2018 09:01
which element to use sir
Aditya
@ezioda004
Aug 02 2018 09:02
Change it to <nav>, seems appropriate.
Or a <div>, though <nav> should be parent.
nalinpuri
@nalinpuri
Aug 02 2018 09:04
sir what type of elements to use
so that code can work
besides div and nav
@ezioda004
Aditya
@ezioda004
Aug 02 2018 09:06
nav {
  margin-top: -100px;
  margin-left: 700px;
   }
Like others I'd suggest revising the concepts again, and learn flexbox because this is a dirty solution.
nalinpuri
@nalinpuri
Aug 02 2018 09:09
sir why is the image also moving when i use margin-bottom element
@ezioda004
i need help to this challenge
Claudio Restifo
@Marmiz
Aug 02 2018 09:30
what have you tried so far?
Paul
@legacy07_gitlab
Aug 02 2018 09:36
@Marmiz ....i have tried using just the reduce method like this..... var averageRating = watchList.reduce((sum,movie) => sum + parseFloat(movie.imdbRating),0)/watchList.length;
_
Claudio Restifo
@Marmiz
Aug 02 2018 09:40
@legacy07_gitlab well, are you considering only the Nolan movies?
May Kittens Devour Your Soul
@diomed
Aug 02 2018 09:40
only the bestest director movies :smirk_cat:
Claudio Restifo
@Marmiz
Aug 02 2018 09:41
or in other word, in the list there's a Cameron movie, that should not count for the average score / solution.
Paul
@legacy07_gitlab
Aug 02 2018 09:41
@Marmiz this is the instruction "The variable watchList holds an array of objects with information on several movies. Use reduce to find the average IMDB rating of the movies directed by Christopher Nolan. Recall from prior challenges how to filter data and map over it to pull what you need. You may need to create other variables, but save the final average into the variable averageRating. Note that the rating values are saved as strings in the object and need to be converted into numbers before they are used in any mathematical operations."
Claudio Restifo
@Marmiz
Aug 02 2018 09:42
@legacy07_gitlab I know. read them properly ^^

find the average IMDB rating of the movies directed by Christopher Nolan

Christopher Nolan

are they all directed by Nolan?

you sure about that?
Paul
@legacy07_gitlab
Aug 02 2018 09:50
@Marmiz i think this challenge has a little bug in the given instructions...
@Marmiz i need a code that works, so as to compare, thanks a lot for the help.
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 09:53
hi peeps, one of my friends said when they download stuff from a random site they made the doc type is random and not consistently pdf, doc, etc. i asked him to show me the code he can't atm - is there any obvious signs to the more experienced devs here as to why this might be happening?
Bjorn van de Peut
@bjorno43
Aug 02 2018 09:54
@darkphotonKN Most likely fallbacks. One system fails, the other picks it up. Or they simply don't have certain data available in every format.
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 09:55
@bjorno43 hi Bjorn :)
Bjorn van de Peut
@bjorno43
Aug 02 2018 09:55
:wave:
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 09:55
@bjorno43 i see, can you explain what the last sentence means? What doesn't have certain data available in every format - the site ro
or*
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 09:57
@legacy07_gitlab what in the challenge are you stuck with, and have you written anything yet?
Bjorn van de Peut
@bjorno43
Aug 02 2018 09:57
@darkphotonKN Ye the website. Not every website actually converts the data "on the fly". They have it saved in pdf and another in doc. When requested, they just give whichever one they have available
Paul
@legacy07_gitlab
Aug 02 2018 09:58
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 09:58
@bjorno43 ok but how is that decided, as he made the site, probably poorly as he's quite new, and when he downloads something from a link he put on the site it's not a consitent type. So is it what he put on this site himself?
@legacy07_gitlab yep i know, i was asking you what inside the challenge that you are stuck with :) and you should really attempt what you can first, but im happy to help if you are still stuck then or have some code to show so we can help you get on the right track
Ugo
@uvieugo
Aug 02 2018 10:00
Good morning @everyone
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:00
@uvieugo good morn bud
Ugo
@uvieugo
Aug 02 2018 10:01
i need some help if you dont mind @darkphotonKN
Paul
@legacy07_gitlab
Aug 02 2018 10:01
i have done that @darkphotonKN but it still wont pass the challenge .....var averageRating = watchList.reduce((sum,movie) => sum + parseFloat(movie.imdbRating),0)/watchList.length;
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:01
@darkphotonKN Without seeing his code I have absolutely no idea. There are many reasons why this could happen. Say for example you query a website with your code like: https://some_website.com/getfile.php?id=1 In this case the server has no idea in what format you want to download file id 1. It just knows you want that file. So it might pick a random format.
Paul
@legacy07_gitlab
Aug 02 2018 10:02
@uvieugo what help do u need?
Ugo
@uvieugo
Aug 02 2018 10:03
i'm trying to create a listing service, where registered users can post listings, these listings can be in different locations, instead of manually coding all the locations, what api do you recommend i use, and how can i store the locations in the database and how can users search for listings by location
i have been racking my brain, it seems easy but i'm not able to figure it out just yet, i wanted to try using google maps, not sure how to do that
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:05
@uvieugo That's like asking someone to teach you everything about programming from scratch, lol
Paul
@legacy07_gitlab
Aug 02 2018 10:06
@uvieugo you need to make a step so that we can know where to come in with the help
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:06
@legacy07_gitlab that's exactly what i told u to do for me lol to break down your question for me
Ugo
@uvieugo
Aug 02 2018 10:06
@bjorno43 lol i know right, i have gotten all other parts working, just this, and it really bothers me i cant figure this out quickly, so i thought to ask
Paul
@legacy07_gitlab
Aug 02 2018 10:07
@darkphotonKN well did you see what i mean ???
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:07
@bjorno43 i see, i will ask him for the code but i also gave him your tips
@legacy07_gitlab what was your output
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:07
You'll need a database. A secure login script. A search script. And well.. a ton of other stuff. This is not something that can be explained in just a few chat messages. It's like writing you an entire book
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:07
@legacy07_gitlab did you actually check the list man
@legacy07_gitlab your code is doing the calculation for the entire array
Paul
@legacy07_gitlab
Aug 02 2018 10:08
@darkphotonKN my output was 8.52
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:08
@legacy07_gitlab but it only asks for christopher nolan movies
@legacy07_gitlab thats a clue for you
Paul
@legacy07_gitlab
Aug 02 2018 10:08
@darkphotonKN yea and he is not still the only director in the array
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:09
@legacy07_gitlab yep so what do you have to do to make sure your answer does not include other directors
@legacy07_gitlab cuz your code doesnt consider which director it is at the moment, it does it for all
Ugo
@uvieugo
Aug 02 2018 10:10
@bjorno43 i think i just figured out what i need to do....
Paul
@legacy07_gitlab
Aug 02 2018 10:11
@darkphotonKN maybe i could use numbers to locate them
bjorno43 @bjorno43 watches how @uvieugo throws his computer out the window now...
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:12
@legacy07_gitlab have a think about it, there's something you are missing.. maybe a clue is you should consider what even goes into the calculation and do a check first :)
Claudio Restifo
@Marmiz
Aug 02 2018 10:14

@legacy07_gitlab the challenge is fine. Your solution however is wrong.

You are taking all the movie scores, and calculating the average. (btw your code works in that).
However the challenge wants you to calculate only the one directed by Christopher Nolan.
In the list, one of the movie is Avatar and that's a James Cameron movie.

So your code works fine, it's the calculation that's wrong :)

Bjorn van de Peut
@bjorno43
Aug 02 2018 10:14
@uvieugo Nah in all seriousness. You'll have to learn serverside development for that. Trust me. I know exactly how to realise something like that and it's not an easy project you're going to finish in a few days. Even an experienced developer would need at least a week to come up with a decent beta
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:15
@Marmiz yep ive been telling him and seeing if he can try figure out what he needs to do :P
Paul
@legacy07_gitlab
Aug 02 2018 10:15
@Marmiz thanks alot
nalinpuri
@nalinpuri
Aug 02 2018 10:15
hello how can i bring navigation bar above?Pls tell https://codepen.io/nalinpuri/pen/EpLxoL .I have tried flexbox buyt its not working.Pls can somebody tell me what to do
Claudio Restifo
@Marmiz
Aug 02 2018 10:15
@darkphotonKN told him like 20 minutes ago tho :sweat:
@legacy07_gitlab your code is almost correct. You just need and extra step
nalinpuri
@nalinpuri
Aug 02 2018 10:16
above and to extreme left
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:16
And with that, I'm gonna take a shower. Brb guys
nalinpuri
@nalinpuri
Aug 02 2018 10:16
sorry extreme right
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:16
@Marmiz haha yeah he's close.
@legacy07_gitlab u just need to make a check man, see how you can do your thing without including any other directors and you're golden
Paul
@legacy07_gitlab
Aug 02 2018 10:17
@darkphotonKN @Marmiz thanks a lot guys
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:17

@nalinpuri Here you go:

nav{
  position: absolute;
  top: 0;
  right: 0;
}

Problem solved

Paul
@legacy07_gitlab
Aug 02 2018 10:18
@bjorno43 lolzz
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:18
Ye c'mon. He's been asking for hours now :joy:
At some point you're like: Just screw it all and smash that thing in place
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:19
@bjorno43 yep but its still wrong :'D
@bjorno43 oh my bad i thought he wanted extreme left lool
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:20
:P
nalinpuri
@nalinpuri
Aug 02 2018 10:20
its not right bro i want a navigation bar on the right with margins
at the same distance to the image like in landing pages
Claudio Restifo
@Marmiz
Aug 02 2018 10:22

why can't you

align: "on-the-left-of-image"

it's 2018 people

nalinpuri
@nalinpuri
Aug 02 2018 10:22
lol
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:22
@nalinpuri I've got no idea what you're talking about. What landing pages? Which margins?
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:23
@nalinpuri be more specific what you want your page to look like
@nalinpuri do you have an example from a site
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:24
I swear if he's gonna give an image I'm gonna say <body style="background: url(image);"> :innocent:
Kidding ofc
Anyway. Shower! brb
nalinpuri
@nalinpuri
Aug 02 2018 10:27
how to take a image from desktop
here
Claudio Restifo
@Marmiz
Aug 02 2018 10:28
@bjorno43 :shower: :bath:
nalinpuri
@nalinpuri
Aug 02 2018 10:28
i want to upload a image here how to do
May Kittens Devour Your Soul
@diomed
Aug 02 2018 10:30
just drag it
to this window
it autouploads
Claudio Restifo
@Marmiz
Aug 02 2018 10:30
instead of uploading images, I'd advise you to revise html position and boxing model.
What are you asking is "per-se" a simple idea, and yet I see you try to "brute force" the position of each individual element instead of trying to understand how the parent (in this case the wrapping div) can help you define it
nalinpuri
@nalinpuri
Aug 02 2018 10:30
adda.JPG
thats how i want to align the nav bar
Henry
@GitHub-Henry
Aug 02 2018 10:32
@nalinpuri with all the time you've spent doing it your way, you could have read about flexbox, done a few lessons and be done with it by now.
nalinpuri
@nalinpuri
Aug 02 2018 10:33
i have watched a video on flexbox tutorial.I am not able to do this with it
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:35
Honestly, I'd just learn Bootstrap or Materialize CSS and be done with it. Those kind of navbars are pretty default
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:37
@legacy07_gitlab you manage to solve the problem?
@bjorn are you typing to us while showering
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:37
Nah already back, lol
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:37
@bjorno43 lol ok good
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:38
I don't need a freaking hour for a quick cleanup :P
May Kittens Devour Your Soul
@diomed
Aug 02 2018 10:38
he's coding nude, you guys, that's what's up
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:38
@bjorno43 tell that to my ex
@diomed whats up? dont go there man cmon
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:38
@darkphotonKN Give her the water bill. She'll be cured in no time :P
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:39
@bjorno43 hahahah. Btw do you do any nodejs?
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:39
Nah I live on the darkside of the web. PHP all the way!
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:40
@bjorno43 thats cool
@bjorno43 is it easy to make a contact form send an email to me? i use node js to do it but ive been considering just using php since I wont add to it
@bjorno43 node seems overkill i was plannign to get heroku hosting so it can support a node server etc. Marmiz helped with that. But now i feel like since my current hosting supports php to use that instead
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:41
@thekholm80 You see that? :point_up: 2 augustus 2018 12:40 You SEE that?!?! That's how you properly respond to someone programming in PHP! :laughing:
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:42
@bjorno43 :P so any tips master php
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:43
@darkphotonKN Ye it's pretty easy with PHP. Obviously the server must have a decent mail server installed OR you need to have mail server settings that you can use
Claudio Restifo
@Marmiz
Aug 02 2018 10:43

@nalinpuri let's hope this gets you started somehow

https://codepen.io/anon/pen/oMdLXy

Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:44
@Marmiz my favorite part about that is
@Marmiz lol, aliceblue
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:45
@darkphotonKN If you want to keep it really simple, I suggest using PHPMailer
Claudio Restifo
@Marmiz
Aug 02 2018 10:45
palevioletred aliceblue papayawhip are the holy trinity of web design.
prove me wrong
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:45
@bjorno43 ok so it has something which allows me to create email accounts, i created one and i can use that to send and receive emails like normal at my personalised url name e.g. @kranti.com. And with that i used node js to take the form info and mail it to me, using a code or some numbers provided on that email service. Is the same doable with php
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:47

@darkphotonKN Ye then there's a mail server installed. So in that case it's as simple as:

mail('your_mail@domain.com', 'Some Subject', 'The message');

That's all there is to it

Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:48
@bjorno43 wow ok thx man ill get working on that when im at home
@bjorno43 oh and the structure, i have html, css, and a js file atm, i know i should prob just learn php but is there a quick tip on how that code with extension .php would "fit in" to my web
@bjorno43 it needs to look at the input from my forms right, in the html file
@bjorno43 i say "look" but you know what i mean, get the value of or have a reference of etc
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:50
@darkphotonKN Ye that's pretty easy. Basicly you have a form on your website for example. In that form you probably have something like <input name="username"/> etc etc
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:51
@bjorno43 yep so how does the php file and code fit in
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:51
Well you start your form like <form method="post" action="your_php_file.php" accept-charset="utf-8">
May Kittens Devour Your Soul
@diomed
Aug 02 2018 10:52
papayawhip
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:52
@bjorno43 ahhhh ok and then that php file handles it
May Kittens Devour Your Soul
@diomed
Aug 02 2018 10:52
lol
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:52
i still like aliceblue better
May Kittens Devour Your Soul
@diomed
Aug 02 2018 10:52
@Marmiz I am lemonchiffon kinda guy
Claudio Restifo
@Marmiz
Aug 02 2018 10:53
heretic :fire:
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:54
Xanadu is the best, look it up
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:55
@darkphotonKN Then your PHP file will probably look like:
<?php

if(!empty($_POST['username'])){

    $to      = 'your_mail@example.com';
    $subject = 'the subject';
    $message = 'User '. $_POST['username'] . ' just sent you a request!';
    $message = htmlspecialchars($message);
    $headers = 'From: your_website@example.com' . "\r\n" .
    'Reply-To: noreply@example.com' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

    mail($to, $subject, $message, $headers);

        echo "Thank you for your message. It has been received!";

}

?>
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:56
@bjorno43 nice!! ok that makes so much sense i was afraid it would be convoluted. Is that with phpmail or not?
phpmailer*
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:56
No that's just basic PHP
May Kittens Devour Your Soul
@diomed
Aug 02 2018 10:57
@bjorno43 are u into twig
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:57
You don't need PHPMailer if you have a mailserver installed
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:57
@bjorno43 so that's all there is to it? and submitting that form will literally email me?
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:57
Yup
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:57
thats the coolest shit ive heard
thanks man
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:57
@diomed The only twigs I know are the ones falling from a tree :P
May Kittens Devour Your Soul
@diomed
Aug 02 2018 10:58
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:58
@darkphotonKN Ye PHP is pretty easy for basic stuff. Only becomes complicated when you want to do advanced stuff
Kranti Nebhwani
@darkphotonKN
Aug 02 2018 10:59
@bjorno43 sounds perfect for me :laughing:
Bjorn van de Peut
@bjorno43
Aug 02 2018 10:59
@diomed Ah. No I usually don't use PHP frameworks or libraries unless I have no choice. I'm a bit oldskool. Prefer to program everything myself
May Kittens Devour Your Soul
@diomed
Aug 02 2018 11:00
that's so hardcore
Bjorn van de Peut
@bjorno43
Aug 02 2018 11:02
Well I like it that way because then I know exactly what every line of code does and how it all works together
It's not always the best choice though
Especially when it comes down to continuity. It's a lot harder for other programmers to pick up on my work as they have no idea how anything is put together. While with frameworks or libraries they're already formilliar with, it'd be a lot easier for them
Henry
@GitHub-Henry
Aug 02 2018 11:40
@nalinpuri with flexbox, define two groups and use space between
image.png
phao5814
@phao5814
Aug 02 2018 12:09
Hey everyone, would appreciate if someone with some Vue experience could help me out with this really strange bug I’m getting in my Vue app: https://stackoverflow.com/questions/51653178/vue-warn-error-in-nexttick-notfounderror-failed-to-execute-insertbefore
Ene Catalin
@EneCatalin
Aug 02 2018 12:11
@diomed
Kyle Holm
@thekholm80
Aug 02 2018 13:14
@bjorno43 i hope you feel bad for ruining that poor kid's life. he had such a bright future before you turned him to the dark side
Xarri Jorge
@xarrijorge
Aug 02 2018 13:15
Forever lost, that kid is!
IamDorian
@IamDorian
Aug 02 2018 13:41
myVar = myVar + 1; should be changed
???
help?
Ene Catalin
@EneCatalin
Aug 02 2018 13:46
well
what's the context ?
IamDorian
@IamDorian
Aug 02 2018 13:46
freeCodeCamp might be bugged -_-
Ene Catalin
@EneCatalin
Aug 02 2018 13:46
link to the problem
Ene Catalin
@EneCatalin
Aug 02 2018 13:47
I very much doubt that bugged thing
Change the code to use the ++ operator on myVar.
what was your code ?
IamDorian
@IamDorian
Aug 02 2018 13:48
myVar = myVar + 1;
Ene Catalin
@EneCatalin
Aug 02 2018 13:48
it accepted my answer, not bugged
IamDorian
@IamDorian
Aug 02 2018 13:48
and then
Ene Catalin
@EneCatalin
Aug 02 2018 13:48
you need to delete that myVar line
IamDorian
@IamDorian
Aug 02 2018 13:48
myVar = myVar++;
i did this
Ene Catalin
@EneCatalin
Aug 02 2018 13:48
just use myVar++ without myVar=
I mean it probs works too ? Not sure, it's just standard,you'll get used to it
it's shorthand notation
IamDorian
@IamDorian
Aug 02 2018 13:49
yes it works :D
omg
im so...
Ene Catalin
@EneCatalin
Aug 02 2018 13:50
nah, it's ok, I actually checked your way too
it's logical
IamDorian
@IamDorian
Aug 02 2018 13:50
embarassed
thanks
Ene Catalin
@EneCatalin
Aug 02 2018 13:50
it's just one of those little things you need to see implemented once
np
May Kittens Devour Your Soul
@diomed
Aug 02 2018 13:54
ostrich thinks diomed knows vue. lol
who here knows javascript, you maniacs?
Ene Catalin
@EneCatalin
Aug 02 2018 13:55
I mean considering how much you tinker with the stuff
you...
May Kittens Devour Your Soul
@diomed
Aug 02 2018 13:57
I take stuff and fix them until they break
Xarri Jorge
@xarrijorge
Aug 02 2018 14:23
@danbel91 the repeat function takes a number and size as arguments. the number is the amount of times you want to repeat by the specified size.
eg. if you wanted 10 columns of 50px each, you would do grid-template-columns: repeat(10, 50px);
Dajan Bjelanovic
@danbel91
Aug 02 2018 14:25
@kodinglife I solved thank you now I see
lear
@DeDelear
Aug 02 2018 14:44
<p class="red-text";font-size: 16px;> is that ture?
who can help me?
Bjorn van de Peut
@bjorno43
Aug 02 2018 14:50
@thekholm80 Always the perfect answer! :thumbsup: :joy:
nalinpuri
@nalinpuri
Aug 02 2018 14:52
Hello sir pls check what is athe misake in this code.I want a blue box as output. https://codepen.io/nalinpuri/pen/MBGvyG
no result is coming
Bjorn van de Peut
@bjorno43
Aug 02 2018 14:56
@nalinpuri Your box is 0px width / height. That's why
nalinpuri
@nalinpuri
Aug 02 2018 14:57
no sir its 50%
Ene Catalin
@EneCatalin
Aug 02 2018 14:57
works if you use PX
instead of %
nalinpuri
@nalinpuri
Aug 02 2018 14:57
but in freecodecamp % is used
why is that
Ene Catalin
@EneCatalin
Aug 02 2018 14:58
maybe it's the child of something ?
I am not good with css but if it's the child of another div it could work ?
nalinpuri
@nalinpuri
Aug 02 2018 14:58
yes its working but why % in freecodecamp and px in codepen
Bjorn van de Peut
@bjorno43
Aug 02 2018 14:59
@nalinpuri 50% of nothing is still nothing.
Ene Catalin
@EneCatalin
Aug 02 2018 14:59
that's a flexbox
flexbox is a special thing
nalinpuri
@nalinpuri
Aug 02 2018 14:59
@bjorno43 what?
Ene Catalin
@EneCatalin
Aug 02 2018 15:00
@nalinpuri that linked example is of stuff inside a flexbox
NOT the same as a random div
Bjorn van de Peut
@bjorno43
Aug 02 2018 15:00
@nalinpuri Exactly. 50% of what? You can't magicly say "give me 50%". 50% of what?
and its still working
Bjorn van de Peut
@bjorno43
Aug 02 2018 15:03
HTML starts with <html> and obviously <body>. So give html and body 100%: html, body { width: 100%; height: 100%; }. So now if you do #box1 { width: 50%; height: 50%; }, it's 50% from a 100% body
nalinpuri
@nalinpuri
Aug 02 2018 15:04
Why oit isnt working on codepen
sir
Bjorn van de Peut
@bjorno43
Aug 02 2018 15:04
I mean, that's basic math. You can't take 50% from "something" if you don't know what something is
Works fine for me:
afbeelding.png
Christopher McCormack
@cmccormack
Aug 02 2018 15:06
@bjorno43 alt + Prt Sc will capture just the window I believe
nalinpuri
@nalinpuri
Aug 02 2018 15:06
on my computer it isnt working
Bjorn van de Peut
@bjorno43
Aug 02 2018 15:06
@cmccormack I'm lazy cuz of the heat :P
Christopher McCormack
@cmccormack
Aug 02 2018 15:06
@bjorno43 get an air conditioner :)
Bjorn van de Peut
@bjorno43
Aug 02 2018 15:07
@cmccormack Gimme moneyz. I'm a programmer! I'm poor!
Christopher McCormack
@cmccormack
Aug 02 2018 15:07
@nalinpuri you didn't add the html or body css that @bjorno43 suggested
@nalinpuri :point_up: August 2, 2018 8:03 AM
nalinpuri
@nalinpuri
Aug 02 2018 15:08
ok
Bjorn van de Peut
@bjorno43
Aug 02 2018 15:08
@nalinpuri Please do the FCC curriculum again and this time, read and learn the instructions. You said you've done them and yet you're asking very basic questions that you should definitely know
Kyle Holm
@thekholm80
Aug 02 2018 15:09
savage
Ene Catalin
@EneCatalin
Aug 02 2018 15:10
eh, he'll get better at it
nalinpuri
@nalinpuri
Aug 02 2018 15:10
i have not done fexbox and am currently doing and practicing it @bjorno43 .
Bjorn van de Peut
@bjorno43
Aug 02 2018 15:11
@thekholm80 Only because he's asking these kind of questions all day long. I really don't mind helping people. No matter how much patience I'll have to show. But at some point, you'll realise they hardly know anything and believe they didn't do the curriculum. Just my opinion
nalinpuri
@nalinpuri
Aug 02 2018 15:11
this question is from flexbox curriculum
Kyle Holm
@thekholm80
Aug 02 2018 15:11
@bjorno43 oh i get it, believe me lol
Christopher McCormack
@cmccormack
Aug 02 2018 15:12
@thekholm80 morning
Kyle Holm
@thekholm80
Aug 02 2018 15:12
@cmccormack :wave: how's life in your world?
Christopher McCormack
@cmccormack
Aug 02 2018 15:12
@thekholm80 busy but easing up!
I hope
Kyle Holm
@thekholm80
Aug 02 2018 15:12
those networks don't administrate themselves
Christopher McCormack
@cmccormack
Aug 02 2018 15:13
right?
I'm working a few big projects without a project manager and I'm suddenly realizing the benefit they provide
only took 10 years
Kyle Holm
@thekholm80
Aug 02 2018 15:13
lol
Bjorn van de Peut
@bjorno43
Aug 02 2018 15:13
Anyway, I'm off for a while. Got a headage and still much to do here. Ugh. Cya later guys
Kyle Holm
@thekholm80
Aug 02 2018 15:13
@bjorno43 :wave:
Christopher McCormack
@cmccormack
Aug 02 2018 15:14
@bjorno43 later sweaty guy

``` function sumAll(arr) {
let sorted = arr.sort(function(a,b){
a-b;
});
let newArr = [];
for (let i = sorted[0]; i<=sorted[1]; i++){
newArr.push(i);
}
let sum = 0;
for (let j = 0; j < newArr.length; j++) {
sum += newArr[j];
}
return sum;
}

sumAll([1, 4]);```

Christopher McCormack
@cmccormack
Aug 02 2018 15:20
@legacy07_gitlab you can wrap your code in three backticks on their own line like this to make it presentable (you can edit previous posts)
```
code
```
Paul
@legacy07_gitlab
Aug 02 2018 15:20
@cmccormack thanks
Christopher McCormack
@cmccormack
Aug 02 2018 15:20
function sumAll(arr) {
  let sorted = arr.sort(function(a,b){
    a-b;
  });
  let newArr = [];
  for (let i = sorted[0]; i<=sorted[1]; i++){
    newArr.push(i);
  }
  let sum = 0;
  for (let j = 0; j < newArr.length; j++) {
    sum += newArr[j]; 
  }
  return sum;
}

sumAll([1, 4]);
@legacy07_gitlab the backticks must go on their own line just like my example
@legacy07_gitlab i that you push is going to be 0, 1, 2, etc... you may need to add i to sorted[0], accounting for 0
Paul
@legacy07_gitlab
Aug 02 2018 15:23
@cmccormack i dont know why its not working
Christopher McCormack
@cmccormack
Aug 02 2018 15:24
@legacy07_gitlab backticks must go on their own line with no code before or after the backticks on that line
nalinpuri
@nalinpuri
Aug 02 2018 15:24
@legacy07_gitlab DOnt ask newbie questions or they all will ake out their wife's anger
lol
Paul
@legacy07_gitlab
Aug 02 2018 15:25
@cmccormack once i click the enter key to jump to the next line it launches the comment
Christopher McCormack
@cmccormack
Aug 02 2018 15:25
@legacy07_gitlab on the right of the chat input here in Gitter there's a little button that you can click to explain markdown
Paul
@legacy07_gitlab
Aug 02 2018 15:27
function sumAll(arr) {
  let sorted = arr.sort(function(a,b){
    a-b;
  });
  let newArr = [];
  for (let i = sorted[0]; i<=sorted[1]; i++){
    newArr.push(i);
  }
  let sum = 0;
  for (let j = 0; j < newArr.length; j++) {
    sum += newArr[j]; 
  }
  return sum;
}

sumAll([1, 4]);
@cmccormack thanks man much help that was.
Christopher McCormack
@cmccormack
Aug 02 2018 15:27
@legacy07_gitlab nice
@legacy07_gitlab and check above for my feedback on your code
Paul
@legacy07_gitlab
Aug 02 2018 15:27
@cmccormack thanks a bunch bro
@cmccormack by adding i u mean replacing sorted[0] to sorted [i]
Christopher McCormack
@cmccormack
Aug 02 2018 15:30
@legacy07_gitlab if your array is 1 to 4, then you would want to add 1, 2, 3, 4, right?
oh nuts sorry didn't realize you made i = sorted[0]
ignore :)
let me continue looking
Paul
@legacy07_gitlab
Aug 02 2018 15:31
@cmccormack alright
Christopher McCormack
@cmccormack
Aug 02 2018 15:33
@legacy07_gitlab fyi you can just use arr.sort, don't need to store it, sort is in-place
@legacy07_gitlab your code looks pretty good - what error are you getting?
Paul
@legacy07_gitlab
Aug 02 2018 15:36
@cmccormack am getting
sumAll([4, 1]) should return 10. sumAll([10, 5]) should return 45.
Christopher McCormack
@cmccormack
Aug 02 2018 15:36
@legacy07_gitlab ah I see
@legacy07_gitlab don't forget you need to return in your sort function
in arrow functions can you omit the return but you're using a standard function
Paul
@legacy07_gitlab
Aug 02 2018 15:38
@cmccormack returning it wont make any difference
Christopher McCormack
@cmccormack
Aug 02 2018 15:38
@legacy07_gitlab I mean, it won't make a difference if you don't want it sorted
Paul
@legacy07_gitlab
Aug 02 2018 15:39
@cmccormack nah it wont
Christopher McCormack
@cmccormack
Aug 02 2018 15:39
not sure why you state that though
IamDorian
@IamDorian
Aug 02 2018 15:39
can i get some help with this simple so obvious exercises for brainless people?? https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings
Paul
@legacy07_gitlab
Aug 02 2018 15:40
@cmccormack if i return it... i will still get the error message
Christopher McCormack
@cmccormack
Aug 02 2018 15:40
@legacy07_gitlab show me your code with the return added
@IamDorian best to provide what you have tried and what is failing
IamDorian
@IamDorian
Aug 02 2018 15:41
??
Christopher McCormack
@cmccormack
Aug 02 2018 15:41
@IamDorian you're asking for help but we don't know what you have tried so far
Paul
@legacy07_gitlab
Aug 02 2018 15:41
function sumAll(arr) {
  let sorted = arr.sort(function(a,b){
    a-b;
    return sorted;
  });
  let newArr = [];
  for (let i = sorted[0]; i<=sorted[1]; i++){
    newArr.push(i);
  }
  let sum = 0;
  for (let j = 0; j < newArr.length; j++) {
    sum += newArr[j]; 
  }
  return sum;
}

sumAll([1, 4]);
IamDorian
@IamDorian
Aug 02 2018 15:41
var myStr = "I am a \"double quoted\" string inside \double quotes\".";
whats wrong?#
Christopher McCormack
@cmccormack
Aug 02 2018 15:41
@legacy07_gitlab return a-b
@IamDorian you missed a "
Paul
@legacy07_gitlab
Aug 02 2018 15:42
@cmccormack oh sorry my bad
IamDorian
@IamDorian
Aug 02 2018 15:42
where??
Christopher McCormack
@cmccormack
Aug 02 2018 15:43
@IamDorian check each of your escape characters \ and see where a " is missing
Paul
@legacy07_gitlab
Aug 02 2018 15:43
@cmccormack thats where i missed it... it just passed, thanks a lot man
Christopher McCormack
@cmccormack
Aug 02 2018 15:43
@legacy07_gitlab np
IamDorian
@IamDorian
Aug 02 2018 15:44
thanks @cmccormack
Dajan Bjelanovic
@danbel91
Aug 02 2018 16:14
@legacy07_gitlab thank you brother
Paul
@legacy07_gitlab
Aug 02 2018 16:14
@danbel91 anytime bro
Slade
@Reaperoot_gitlab
Aug 02 2018 16:20
Hello world, I have been studying bootstrap awhile now and for some reason decided to skip the "@media" info. I have a pen where im trying to implement flex-wrap: wrap, but it isnt working. please tell me what I'm missing or doing wrong. https://codepen.io/GRIMROOT/pen/rrdPEm
Christopher McCormack
@cmccormack
Aug 02 2018 16:34
@Reaperoot_gitlab first thing I notice is container-fluid isn't spelled correctly
When something isn't working and you suspect it should be, it's often a spelling mistake :)
Slade
@Reaperoot_gitlab
Aug 02 2018 16:41
@cmccormack it's container-fluid in my code..
Manuel Reyes
@Androbat
Aug 02 2018 16:41
Guys, I need an advice. Right now I'm taking programming more serious and I'm practicing, so I decided to create a calculator as my first project with Js. I know know javascript enough but I don't know how to apply some kinds of theory to read world apps. So I found an article on how to create a calculator and I'm following in order to start knowing know real world apps work and learn how to apply theory. So, my question is... do you guys think that's gonna help me in learning how to create real world apps with javascript?
Christopher McCormack
@cmccormack
Aug 02 2018 16:41
is it though?
(hint check your media query)
Manuel Reyes
@Androbat
Aug 02 2018 16:41
I will thank a lot the advice.
Slade
@Reaperoot_gitlab
Aug 02 2018 16:42
ahhhh my man!
Christopher McCormack
@cmccormack
Aug 02 2018 16:43
@Androbat I think that it's a slow process and as long as you keep working at it you will learn what you need for the real world. Everyone struggles in a project but we get over the hump and succeed because we research what we're doing wrong, error messages, etc... and become more knowledgable because of it.
Slade
@Reaperoot_gitlab
Aug 02 2018 16:43
but it is still not working
Christopher McCormack
@cmccormack
Aug 02 2018 16:43
worked for me
Manuel Reyes
@Androbat
Aug 02 2018 16:44
@cmccormack So, do u recommend me to keep following the article?
Christopher McCormack
@cmccormack
Aug 02 2018 16:44
@Reaperoot_gitlab did you change something else? It was working for me until I refreshed
@Androbat I think you can learn a lot from reading something like that, then you can put that to use building your own project. I don't recommend copying their code though, but try to understand the methodology and what they may have accounted for that you didn't even consider
Slade
@Reaperoot_gitlab
Aug 02 2018 16:45
umm maybe lol, dang it.
Manuel Reyes
@Androbat
Aug 02 2018 16:46
@cmccormack Yes, that's what I'm trying... I don't copy the code and I always research for things I don't understand.
Slade
@Reaperoot_gitlab
Aug 02 2018 16:46
what should i have the @media part say? sorry for the trouble.
Christopher McCormack
@cmccormack
Aug 02 2018 16:47
@Androbat then you're probably on the right track
@Reaperoot_gitlab you have a specificity issue - if you look in the developer console - you can see that the media query is working
but your bootstrap nowrap class is more specific
Manuel Reyes
@Androbat
Aug 02 2018 16:48
Thanks for the advice... it has been so helpful, I've been struggling with this for a long time so now I cleaned up my mind. @cmccormack
Slade
@Reaperoot_gitlab
Aug 02 2018 16:49
its working thank you for your help
Christopher McCormack
@cmccormack
Aug 02 2018 16:49
@Androbat nobody gets this stuff quickly, they may get SOME of it quickly but understanding all of it takes a lot of time and practice. Anyone here that seems like they know everything doesn't, and they have put a lot of time researching and practicing
just like anything else really
@Reaperoot_gitlab np
@Reaperoot_gitlab I would recommend against using classes if you're going to change it in a media query. Bootstrap may have a class for flex wrap at different viewports; if not, maybe omit the class and do that yourself in CSS so it isn't confusing to anyone else reading or to future you
alpox
@alpox
Aug 02 2018 16:51
@cmccormack there is no such thing as knowing everything in programming, totally right :D
Manuel Reyes
@Androbat
Aug 02 2018 16:52
@cmccormack Thanks, man. Thanks.
Kyle Holm
@thekholm80
Aug 02 2018 17:03
i still don't understand this mongo shell remote connection thing
Kyle Holm
@thekholm80
Aug 02 2018 17:13
looks like it's a mongo version thing, maybe. on one vm i can connect to mlab using their provided connection string, on another vm i cannot
just strange
Smootimus
@Smootimus
Aug 02 2018 17:28
:D
I almost picked up a O'Reilly Mongo book today
From the library
Kyle Holm
@thekholm80
Aug 02 2018 17:29
i love mongodb
Smootimus
@Smootimus
Aug 02 2018 17:29
I didn't end up getting it >.>
Kyle Holm
@thekholm80
Aug 02 2018 17:29
how's your craps game coming?
Smootimus
@Smootimus
Aug 02 2018 17:29
I have a bunch of books checked out right now
Slowly lol
I've got it sketched out pretty much
But I took a break since I'm a pretty good bit ahead and started working on my TestOut material again
Windows Server Admin stuff
Kyle Holm
@thekholm80
Aug 02 2018 17:30
fun stuff
Smootimus
@Smootimus
Aug 02 2018 17:30
Yiis
Subnetting and whatnot
Kyle Holm
@thekholm80
Aug 02 2018 17:32
maybe you'll be able to explain to me what bridged connections are in small words and pictures drawn in crayons so i can understand
i'm assuming that's what my vms need in order for me to be able to connect to them outside the host computer
Smootimus
@Smootimus
Aug 02 2018 17:40
A bridged connection is different than a routed connection in that it usually connects network segments somehow
You see it alot in wireless networking
Where a bridge is necessary to link the wireless signal to a wired network segment
A virtual bridge might be a solution for ya
May Kittens Devour Your Soul
@diomed
Aug 02 2018 17:45
🦔
Safbek
@safbek
Aug 02 2018 17:52
Hi, guys! How to move one directory to another directory in linux??
Xarri Jorge
@xarrijorge
Aug 02 2018 17:52
@safbek mv firstDir secondDir.. the full path of each directory is need if they are not relatives
Also, if you're non-root you'll need to sudo for some locations/directories
May Kittens Devour Your Soul
@diomed
Aug 02 2018 17:56
@thekholm80 These 🥨🥨 are making me thirsty!!!
Safbek
@safbek
Aug 02 2018 18:01
@kodinglife but I need move not only the contents of the folder, but the folder itself (
Xarri Jorge
@xarrijorge
Aug 02 2018 18:04
The mv command moves everything in a specified directory to a new one. For more options, do 'man mv' in your terminal and look for the appropriate flag
May Kittens Devour Your Soul
@diomed
Aug 02 2018 18:07
where is JS 🧙 esioda004?
Safbek
@safbek
Aug 02 2018 18:09
@kodinglife thanks!
Yago Estévez
@yagoestevez
Aug 02 2018 18:13
Hi there
Xarri Jorge
@xarrijorge
Aug 02 2018 18:13
@yagoestevez :wave:
Yago Estévez
@yagoestevez
Aug 02 2018 18:13
Anyone had troubles passing the tests on the bar chart project?
I don't even know what the tests require me to do lol
Christopher McCormack
@cmccormack
Aug 02 2018 18:14
The tests should show an error message if it doesn't pass
not always super useful but should help identify where you might have an issue
Yago Estévez
@yagoestevez
Aug 02 2018 18:15
The data-gdp attribute and its corresponding bar element should align with the corresponding value on the y-axis.
Useless info as usual
lol
screen.png
That's why I think the example project is not right
Maybe its because of that that the test is yelling at me
Christopher McCormack
@cmccormack
Aug 02 2018 18:18
@yagoestevez it passed for me as well
I remember it being a small thing let me check
Yago Estévez
@yagoestevez
Aug 02 2018 18:20
Thanks
It's just that I don't know what's it asking me to do
ILOGU ANTHONY EBUBECHUKWU
@anebubechukwu_gitlab
Aug 02 2018 18:21

i need help with this link
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-algorithm-scripting/truncate-a-string

function truncateString(str, num) {
  // Clear out that junk in your trunk
  return str;
}

truncateString("A-tisket a-tasket A green and yellow basket", 8);

this is my code so far

@legacy07_gitlab good one...tnks
Christopher McCormack
@cmccormack
Aug 02 2018 18:23
@yagoestevez did you review the error in the stack trace?
May Kittens Devour Your Soul
@diomed
Aug 02 2018 18:23
wtf just happened?
Christopher McCormack
@cmccormack
Aug 02 2018 18:23
@legacy07_gitlab are you giving them the answer?
May Kittens Devour Your Soul
@diomed
Aug 02 2018 18:23
did you just give out solution?
@legacy07_gitlab this shall be reported to squirrel colony in North Pasadena and you WILL BE SUMMONED for questioning. you just wait
Smootimus
@Smootimus
Aug 02 2018 18:25
:O
The nerve...
Paul
@legacy07_gitlab
Aug 02 2018 18:25
@diomed sorry guys my bad
@Smootimus so sorry please it wont happen again
Smootimus
@Smootimus
Aug 02 2018 18:28
Tell it to the squirrel colony!
;P
Christopher McCormack
@cmccormack
Aug 02 2018 18:28
@legacy07_gitlab delete it?
gracias
Paul
@legacy07_gitlab
Aug 02 2018 18:29
@cmccormack just did that thanks
Yago Estévez
@yagoestevez
Aug 02 2018 18:33
@cmccormack i've seen the test reports and nothing cleared my mind yet
hehe
Kyle Holm
@thekholm80
Aug 02 2018 18:34
image.png
@diomed are those pretzels?
May Kittens Devour Your Soul
@diomed
Aug 02 2018 18:34
@thekholm80 yes, they are
Kyle Holm
@thekholm80
Aug 02 2018 18:34
i miss Seinfeld
Yago Estévez
@yagoestevez
Aug 02 2018 18:34
this is the pen, in case you can verify whats wrong :S
May Kittens Devour Your Soul
@diomed
Aug 02 2018 18:35
how come you don't see them? hmmmm
Christopher McCormack
@cmccormack
Aug 02 2018 18:44
@yagoestevez you are getting an error, try looking into this - TypeError: Cannot read property 'length' of null
Yago Estévez
@yagoestevez
Aug 02 2018 18:46
The console is clear. That error shows up only when the test runs
Right?
Kyle Holm
@thekholm80
Aug 02 2018 18:48

@Smootimus i said:

small words and pictures drawn in crayons so i can understand

Christopher McCormack
@cmccormack
Aug 02 2018 18:48
@yagoestevez yeah look at the test results it should show up in the stack trace
May Kittens Devour Your Soul
@diomed
Aug 02 2018 18:49

small words and pictures drawn in crayons so i can understand

that's all anyone could wish for

Yago Estévez
@yagoestevez
Aug 02 2018 18:50
I can't figure out nothing looking at the stack trace provided by the results, really.
I think I should move on and come back to it sometime later.. Lol
Christopher McCormack
@cmccormack
Aug 02 2018 18:51
looks like it's targeting something that should return an array and it's not getting it
you can actually look at the test itself by going to the url of the test bundle
it's huge though
Yago Estévez
@yagoestevez
Aug 02 2018 18:52
Good advice
I'll do igñt
It*
Christopher McCormack
@cmccormack
Aug 02 2018 18:52
I've had to for a few
the Pomodoro clock tests kicked my butt for a while
until I realized you had to have a leading 0 on the minutes :)
Kyle Holm
@thekholm80
Aug 02 2018 18:56
i have not tried the test suites on my old projects, i don't think that's a rabbit hole i want to go down
Christopher McCormack
@cmccormack
Aug 02 2018 19:00
it's not so bad, some are super simple, some made me want to hit my keyboard, like they designed it only for one person's implementation
I had to basically rewrite my pomodoro clock from scratch to get it to work to see where the issues were
Kyle Holm
@thekholm80
Aug 02 2018 19:02
also, my first projects are riddled with jquery. i don't want to reopen that chapter in my life
let the past stay in the past
Christopher McCormack
@cmccormack
Aug 02 2018 19:02
haha
Paul
@legacy07_gitlab
Aug 02 2018 19:06
@thekholm80 hahahahaah
Aditya
@ezioda004
Aug 02 2018 19:06
lol
Does the new curriculum have DOM manipulation with vanilla JS or they are still using jQuery?
Kyle Holm
@thekholm80
Aug 02 2018 19:07
blood magic, mostly
image.png
looks like you learn jquery then all the better ways of going about it
Paul
@legacy07_gitlab
Aug 02 2018 19:10
please i need a solution to this challenge....
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/seek-and-destroy/
this is my code so far..
function destroyer(arr) {
  // Remove all the values
   let args = Array.from(arguments).slice(1);
  for (let i = 0; i < args.length; i++) {
    for (let j = 0; j < arr.length; j++) {
      if (args[i] === arr[j]) {
        arr.splice(j,1);
      }
    }
  }
  return arr;
}

destroyer([1, 2, 3, 1, 2, 3], 2, 3);
Kyle Holm
@thekholm80
Aug 02 2018 19:10
do you know how to use filter()?
Aditya
@ezioda004
Aug 02 2018 19:11
From doing projects perspective I liked old curriculum, in the new one they suggest using React from the first project idk if that good for beginner.
Aditya
@ezioda004
Aug 02 2018 19:13
@legacy07_gitlab You're mutating the arr and looping through it, which is messing up the index.
Adding j-- would fix it but still mutating the array and looping through it sets up for bugs.
Yago Estévez
@yagoestevez
Aug 02 2018 19:16
@cmccormack I did check the bundle code. OH MY GOD.
Paul
@legacy07_gitlab
Aug 02 2018 19:16
@ezioda004 are you saying using the loop is a bad practice
Yago Estévez
@yagoestevez
Aug 02 2018 19:16
So stupid error and the tests wouldn't say a word
I formatted the Y values like $18,000 B
And the test wanted a plain 18,000
Aditya
@ezioda004
Aug 02 2018 19:18
@legacy07_gitlab I'm saying mutating an array and looping through it is a bad practice.
Yago Estévez
@yagoestevez
Aug 02 2018 19:18
Thanks @cmccormack !
Christopher McCormack
@cmccormack
Aug 02 2018 19:18
@yagoestevez ah right! I remember that now helping someone else
I guess I helped them and didn't actually do my own bar chart, now I'm working on mine :)
Yago Estévez
@yagoestevez
Aug 02 2018 19:26
Haha
A good way to learn is teaching others
😁
Paul
@legacy07_gitlab
Aug 02 2018 19:48
@ezioda004 i got it this time.. but i removed the loop
Kyle Holm
@thekholm80
Aug 02 2018 19:56
@cmccormack i've got a new million dollar idea ... some kind of tool that makes react index.js less ugly
i think my main server file has less code, tbh
May Kittens Devour Your Soul
@diomed
Aug 02 2018 20:34
jež
Melanie
@codeherlife
Aug 02 2018 21:52
I'm looking for a sort of mentor that i can go to and ask questions when I am stuck in understanding Angular- typescript and Java things.... I am currently an intern in software and looking for someone who can help guide me.... Please message me directly if you are interested ... thank you!å
Karma Drukpa
@coderkarma
Aug 02 2018 22:02
@thekholm80
Karma Drukpa
@coderkarma
Aug 02 2018 22:08
KYLEEEEEEE
@thekholm80 ARE YOU THERE ................................................... LOL
Kyle Holm
@thekholm80
Aug 02 2018 22:17
well that's not annoying
Karma Drukpa
@coderkarma
Aug 02 2018 22:19
I know you guys already figured out solution for this question
Kyle Holm
@thekholm80
Aug 02 2018 22:20
yep
Karma Drukpa
@coderkarma
Aug 02 2018 22:21
function convertHashToArray(hash){
 // convert hash into arrays 
  let newArr = Object.entries(hash);
 // sort it alphabately 
 let result = newArr.sort(function(a,b){
        return a[0] > b[0];
 });
 // return sorted result 
 return result;
}
i did that way, but test is not passing
its says TypeError: Object.entries is not a function
Kyle Holm
@thekholm80
Aug 02 2018 22:22
def convert_hash_to_array(hash):
  return [[el, hash[el]] for el in sorted([x for x in hash])]
thanks to @Manish-Giri for showing me the sorted() method
Karma Drukpa
@coderkarma
Aug 02 2018 22:23
you doing it all in one line
Kyle Holm
@thekholm80
Aug 02 2018 22:24
i did in JS
but i'm not showing you my JS solution until you solve it
Karma Drukpa
@coderkarma
Aug 02 2018 22:24
what is wrong with my code?
Kyle Holm
@thekholm80
Aug 02 2018 22:24
you said it doesn't work
Karma Drukpa
@coderkarma
Aug 02 2018 22:25
yeah but in repl it does give me right output
Christopher McCormack
@cmccormack
Aug 02 2018 22:26
@coderkarma you may need to select a later version of node
that's fairly new (Object.entries)
Kyle Holm
@thekholm80
Aug 02 2018 22:27
oh, yeah i had to switch to Node v8.1.3
on one of my katas, anyway. maybe not that one
Karma Drukpa
@coderkarma
Aug 02 2018 22:28
yahooo
yesss @cmccormack need to select different version
lol
Kyle Holm
@thekholm80
Aug 02 2018 22:29
:tada:
Karma Drukpa
@coderkarma
Aug 02 2018 22:29
show me your code sir @thekholm80
Kyle Holm
@thekholm80
Aug 02 2018 22:29
@cmccormack is the smartest
Christopher McCormack
@cmccormack
Aug 02 2018 22:29
:dancers:
Kyle Holm
@thekholm80
Aug 02 2018 22:29
@coderkarma :point_up: August 2, 2018 4:22 PM
Karma Drukpa
@coderkarma
Aug 02 2018 22:29
@cmccormack he is the man with big sharp mind
Christopher McCormack
@cmccormack
Aug 02 2018 22:30
sharp as a brick!
or river rock
Kyle Holm
@thekholm80
Aug 02 2018 22:30
and shaped like one too
Karma Drukpa
@coderkarma
Aug 02 2018 22:30
@thekholm80 how to get those emoji.. I don't know how to do that ? tell me
Christopher McCormack
@cmccormack
Aug 02 2018 22:30
Well I have been told I have a rocky disposition so...
Kyle Holm
@thekholm80
Aug 02 2018 22:30
rtfm
Karma Drukpa
@coderkarma
Aug 02 2018 22:30
?
Karma Drukpa
@coderkarma
Aug 02 2018 22:37
looking up that now.
Kyle Holm
@thekholm80
Aug 02 2018 22:47
that's awesome, gitter even labeled their docs that way
image.png
Karma Drukpa
@coderkarma
Aug 02 2018 23:05
thank you.
Smootimus
@Smootimus
Aug 02 2018 23:45
Just threw Debian on a VM
Getting that up and going
Thinking of asking my professor if he could hook me up with a Win7 iso and product key >.>
Would like to have that up and running since I'm going through this class and it does both 7 and 10
Kyle Holm
@thekholm80
Aug 02 2018 23:46
which version of debian?
Smootimus
@Smootimus
Aug 02 2018 23:46
9
I'm thinking of doing another Linux flavor as well
Just dunno what I would wanna do
Kyle Holm
@thekholm80
Aug 02 2018 23:47
i think you can get win 7 keys on ebay for like $5 each
Smootimus
@Smootimus
Aug 02 2018 23:47
I have a laptop running Lubuntu, so I'm good on any *buntus
I might be able to get it free from the school. Hoping lol
If not, I probably would do that
Would be sweet, cause I have 10 running on the laptop itself, have a server 2016 copy and just really need 7.
I really wanna update this Home edition to Ultimate though
Though... since I have server 2016 all the features I really want with Ultimate are on there >.>
Kyle Holm
@thekholm80
Aug 02 2018 23:49
i like xbuntu, xfce is my favorite wm
Smootimus
@Smootimus
Aug 02 2018 23:49
Mine too
Kyle Holm
@thekholm80
Aug 02 2018 23:49
but i really only use debian now
Smootimus
@Smootimus
Aug 02 2018 23:49
It's my goto
I threw Gnome on this one
Cause I have beast hardware
Now anyways lol
Kyle Holm
@thekholm80
Aug 02 2018 23:50
lol