Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Michael Irwin
    @dcpking_twitter
    ok. I'll take your advice ... but for now all it seems to be doing is showing me 3 or 4 lines of examples at a time ... like "here are 2 examples of the <h2> tag"
    Lily Romano
    @Lilyheart
    it picks up speed! promise!
    Michael Irwin
    @dcpking_twitter
    ok. How long till I get to where you are? (don't answer if you don't want to!)
    Lily Romano
    @Lilyheart
    Depends on your pace. I’m a full-time student (finally doing college after decades of employment).
    David and Rob are close and I think they started less than 2 months ago.
    And they both have full time jobs + lives.
    Conceptually you are ahead of the game, so I would guess you are going to get through the challenges quickly. The projects might be different (And honestly I haven’t really started any of them, only the ones I finished over winter break).
    Michael Irwin
    @dcpking_twitter
    Ah. Well, I've got a "Friends of North Wales Area Library" meeting to go to tomorrow (I run their web site and FB group), and some SQL to study, but aside from that only the cats to feed :smile:
    Robert Maylie
    @rmaylie9560
    hey @dcpking_twitter you should consider presenting SQL to the group!
    (reiterating the mention)
    Lily Romano
    @Lilyheart
    Already on the list!
    heh
    Michael Irwin
    @dcpking_twitter
    So what / how should I present? For example, should I assume that everyone knows absolutely nothing at all about SQL or even structured data?
    Lily Romano
    @Lilyheart
    We’ll do a survey beforehand
    I’ll email you once I get some details together.
    Michael Irwin
    @dcpking_twitter
    That sounds good. Actually, maybe we should start off with just "Data". Unstructured, semi-structured, and structured ....
    What do people use for presentations, or is it all done live?
    Robert Maylie
    @rmaylie9560
    screen share/live... whatever your comfortable with.
    Lily Romano
    @Lilyheart
    I’ll email you once I get some details together :p Not tryin’ to be a brat.
    Got some details to deal with first.
    Michael Irwin
    @dcpking_twitter
    Not being a brat at all!!! BTW, I'm sorry about not being there tomorrow. Does the Wednesday meet in Eaglesville happen every week too?
    Lily Romano
    @Lilyheart
    every other week through the summer.
    MontCode has seriously only been live for 21 days now so a lot of the details are still being worked up.
    Michael Irwin
    @dcpking_twitter
    Oh! I didn't realise. Crazy good group so soon!
    Lily Romano
    @Lilyheart
    I know right!!!
    I’ve been blessed.
    Jonathan Herman
    @lantech19446
    hey will anyone be around tomorrow, I'm going to need help on the JS challenge "Stand In Line" but totally don't have the brain power to put tacks to it tonight
    Michael Irwin
    @dcpking_twitter
    ok. I need to get stuff out of the dryer so I don't have to commando and topless to work tomorrow.
    G'nite all!
    (I'll not be at the meeting, Jonathan, but maybe I can help afterwards)
    Lily Romano
    @Lilyheart
    Sure thing! I’ll be around off and on throughout the day and I’ll be keeping an eye on the room while at the library.
    Jonathan Herman
    @lantech19446
    ok cool, I won't be at the meeting because work but I'll post my questions at some point. Most of the array stuff really has me thrown for a loop so maybe i'll hold off until I watch the videos for it too
    Robert Maylie
    @rmaylie9560
    Night
    Jonathan Herman
    @lantech19446
    night mike
    Lily Romano
    @Lilyheart
    I’m going to try to sleep hahahahahaahah so hopefully I won’t feel like a zombie tomorrow.
    Jonathan Herman
    @lantech19446
    ok Lily have a great night
    Robert Maylie
    @rmaylie9560
    .push(); puts an ideam on the front of an array. .pop(): takes it from the back. You can use them in stacks (FILO) and queues(LIFO) (in pretentious programmer talk)
    Lily Romano
    @Lilyheart
    push/pop are both end
    shift/unshift are front
    Robert Maylie
    @rmaylie9560
    Meh, I'm wrong. 😑
    Lily Romano
    @Lilyheart
    shift/unshift are backwards too by what my gut reaction is. what it is is shift removes the first (it shifts the pointer for the first item from the old index 0 to 1 making 1 the new 0.
    I only know @rmaylie9560 because I spent far to much time trying to understand the stupidness that is the names to shift/unshift.
    If I can’t logic it, I can’t remember it.
    Jonathan Herman
    @lantech19446
    yea I mean i get that stuff but some of the orders of it and where the variables are called are confusing me mix that in with tiredness and the fact that suddenly they have all this JSON stuff at the bottom where JSON has not been mentioned once and i'm completely clueless. Think I'm gonna sleep though I'll deal tomorrow
    David Castner
    @davidjcastner
    @lantech19446 feel free to tag me in your questions
    Jonathan Herman
    @lantech19446
    so I got the answer the part that keeps confusing me is seeing something like var testArr = [1,2,3,4,5]; and keeping in mind that I need to use the arguments to manipulate them, like i'm expecting to see somewhere in the code where arr and item are defined
    Jonathan Herman
    @lantech19446
    I'm so screwed up on JS though I think i'm going to finish the intro course and then mess with more of this.
    Lily Romano
    @Lilyheart
    Here is the entire code for reference
    
    function nextInLine(arr, item) {
      // Your code here
      arr.push(item);
      removed = arr.shift();
      return removed;  // Change this line
    }
    
    // Test Setup
    var testArr = [];
    
    // Display Code
    console.log("Before: " + JSON.stringify(testArr));
    console.log(nextInLine(testArr, 1)); // Modify this line to test
    console.log("After: " + JSON.stringify(testArr));
    So on the Stand In Line problem, at the bottom you can see the call nextInLine(testArr, 1)
    And at the top you see a very similar line function nextInLine(arr, item) {
    Even tho those lines are similar (both have nextInLine with two things in parenthesis, the first one in the function definition because it has the function keyword at the start.