by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Cody Schindler
    @quiksand
    s happening?
    I stopped getting the emails, but I heard through the grapevine somebody might be staying them up again?
    Starting, that is
    Max Helmetag
    @mhelmetag
    Besides the last one about rails and actioncable?
    I mean that was recent...
    One should be coming soon
    Cody Schindler
    @quiksand
    Yeah for some reason I missed the invite. Oh well
    John Magee
    @jemagee
    I'm still out here - i've mostly been focusing on building projects so I can finally move forward, my blog still works (though I have a spammer I don't know how to get rid of yet) and I'm trying to do this #100daysofcode - is anyone else?
    Cody Schindler
    @quiksand
    I've been working on a python script for graphing things at work since we don't have excel on some of the test computers. Probably try to learn some c# after I'm done with that since that's what our software is written in
    John Magee
    @jemagee
    I did find while research the Squeel gem that you can write multi table joins like this
    Person.joins(:articles => {:comments => :person}). I realize more and more folks are working on JS libraries - but is there anyone with some solid active record query stuff out there I can talk to?
    Max Helmetag
    @mhelmetag
    So are you trying to do pure arel?
    Because I feel like since you’re just grabbing values, you could with select_rows and executing sql would be just fine...
    Like we do that a bunch a work when there isn’t a pretty way to do it in arel
    That being said… almost everything can be done in arel
    But also that arel to sql guy that commented on your gist had a pretty great answer
    Max Helmetag
    @mhelmetag
    I also really like how the two joins shortened in arel… that does make things cleaner (albeit a bit more complex to understand)
    John Magee
    @jemagee
    I didn't want to use arel - i wanted to use pure active record query and so far I have as I'm slowly learning the process...
    Max Helmetag
    @mhelmetag
    ...
    Sorry I use the term arel and the active record relation api synonymously. If I understand correctly I think I was agreeing with you though
    John Magee
    @jemagee
    The using the same table twice thing is a bit gnarly - so I'm not sure i'll be able to do it without using 'pure' SQL but I've been studying more and figured out some things using scopes, merges, joins, and sort of working 'backwards' from SQL thinking...starting with the 'end' table and then working backwards does seem to work. I was able to write the query that allows me to find all statistics for 'home' participants versus 'away' participants, based on the home/away scope IN participant, and writing a scope in Statistic that merges it. Learning about the difference between and active record relation and what it can and can't do was pretty important - ive taken a step back and am using some floor level tutorials and reviewing rails guides and the basics before trying to build the more complicated stuff (and documenting it on my blog as well cause you never know - someone might read it)
    John Magee
    @jemagee
    I started a new project on github that was inspired by some stuff from Twitter, it's based in rails since that's what I know but I'm actively seeking input from all areas and levels if anyone is interested http://www.github.com/jemagee/code_connection
    markclynch
    @markclynch
    Hey anyone here?
    Teaching myself to code on FreeCodeCamp looking to get involved in the meetup if I can
    Melch
    @melch
    I still get notifications from this chat, but I haven't been involved in the meetup at all the past couple of months.
    nhan99dn
    @nhan99dn
    can you guys help me out with this problem ?
    The following pseudocode describes how to turn a string containing a ten-digit
    phone number (such as "4155551212") into a more readable string with parentheses
    and dashes, like this: "(415) 555-1212".
    Take the string consisting of the first three characters and surround it with "(" and ") ". This is the area
    code.
    Concatenate the area code, the string consisting of the next three characters, a hyphen, and the string
    consisting of the last four characters. This is the formatted number.
    Translate this pseudocode into a Python program that reads a telephone number into
    a string variable, computes
    the formatted number, and prints it.
    this is my code, I really tried but did not know whats problem with that.
    number_digits=float(input("Type out your 10 digits of your number: "))
    print("Your number is" : "(number_digits[:3])", "number_digits[4:6]", "-","number_digits[7:10]")
    Cody Schindler
    @quiksand
    Hi nhann99dn. I think the problem is you're interpreting the strong as a float, then trying to use steering slicing on it
    I forget if python automatically interprets numbers from input as a string or float/int
    But try interpreting the input without float()
    If that doesn't work, use str() instead of float()
    Oh, also I see that you have your slices wrapped in double quotes
    String slices return strings, so you shouldn't need double or single quotes around them
    Cody Schindler
    @quiksand
    number_digits=str(input("Type out your 10 digits of your number: ")
    print("Your number is: "(number_digits[:3]) + number_digits[4:6] + "-" + numdig[7:10])
    That won't work
    But it's close to what you're looking for. Good luck!
    impetusengine
    @impetusengine
    Is there any way to import visuals into spyder without getting an error message that the module does not exist?
    Has anyone here taken a program on www.udacity.com?
    impetusengine
    @impetusengine
    Anyone here taken/taking the specialization course in coursera for robotics? Or taken/taking the AI micromasters or robotics micromasters on EDX?
    Hayden Betts
    @haydenbetts
    Hello everyone I am new here. I've been working through the Flatiron School's webdev curriculum. Does this group do in-person meet ups anymore?
    Cody Schindler
    @quiksand
    Hi haydenbetts. It's been a while I think since the group has had an in person meetup (unless I'm just not getting the emails anymore).the Santa Barbara rails and JavaScript meet ups are fairly active though and definitely worth checking out
    markclynch
    @markclynch
    You have links to those groups?
    brettdavidcarpenter
    @brettdavidcarpenter
    @impetusengine I'd strongly recommend starting on udacity, having I've taken several courses on udacity and their nanodegree programs i think they are by far the best online education out there
    Hayden Betts
    @haydenbetts
    Is anyone interested in doing Princeton's Algorithms MOOC with me? The next term starts on 12/25. I've started and failed to complete this in the past because it is quite hard! Very interested in working through it with someone in the are! https://www.coursera.org/learn/algorithms-part1
    *area
    Dillon Kearns
    @dillonkearns
    Hey @/all, I'll be sending an annoucement email soon, but we're starting to get things going with Learn to Code again. I was away in Detroit doing some consulting for Ford if you weren't around back when that happened, and now that I'm back I'm getting things rolling again! I think that it will be easier for a lot of people to have another slack room rather than a whole other chat client, so I'm moving this chat over to this slack, please join us over there! https://join.slack.com/t/learntocodesb/shared_invite/enQtMzU3MzYxOTE1OTg3LTY2MDIzODc5OGFjNDM4NWYwYTk2Zjk1YTU1ZWFhMGVjMDc0NjIxZTAxNGU4NTA1Mjg1YzFkMWY5YWU2YjI5ZGE