Creating a simple ToDo application with Rails

Learn Programming - Fri, 03/16/2018 - 12:25

A tutorial for creating a simple ToDo web application wth Ruby on Rails from scratch.

submitted by /u/pok_rub
[link] [comments]

Python or C# Assistance with REST APIs

Learn Programming - Fri, 03/16/2018 - 12:24

I've got a project I want to complete but I've got a fairly low level of experience programming. I understand the basics, and typically when I want to do something like this there's a bunch of tutorials that give a framework and I can fiddle around until it works.

However, I'm wondering if there's anything a little more in depth around REST APIs than "Use RestSharp" or "use urlllib2". The full extent of the project would be a few gets/posts and things to do based on the results and potentially webhooks so I can be sent events and respond to those.

Is there something along those lines out there? If not, that's cool, I just wanted to check.

submitted by /u/Gozoku
[link] [comments]

Tutorials for networking with python?

Learn Programming - Fri, 03/16/2018 - 12:07

hello! I have my first interview coming up and i was wondering if anyone knew any tutorials focusing on python with networking. The company I'm interviewing for deals a lot with that and i was hoping to learn.

submitted by /u/Lotton
[link] [comments]

I see a lot of references online to, and TONS of videos by John Sonmez. Is John credible in the Dev community in terms of programming, or is he more of a 'Tony Robbins' of the industry?

Learn Programming - Fri, 03/16/2018 - 12:04

I've seen a number of his videos, and they contain some good info. I've also seen some other videos of his that really made me raise an eyebrow, such as his "let's take our shirts off..." videos. What? I get that he's uber marketing himself and he's his own brand. Being charismatic, which he is in spades, allows him to charge $300/hr and other fees in excess. Kudos to him though, I'm here sitting on my ass making $45/hr as a senior developer with myriads of responsibilities. I guess it's a catch-22. Everyone could do it. But not everyone can do it. I don't know, sorry for rambling.

One of the things that bothered me about him, is when he admitted to how he authored many Pluralsight courses. He said (one of his videos on YouTube) and I'm paraphrasing here..that he'll pick a topic that he may not know a thing about, spend a couple of weeks just devouring knowledge and info about it. Then teach a course about that topic on Pluralsight. I guess that tactic can be argued for, or against.

Interestingly, not much about, or of him on Reddit.

submitted by /u/TryMeOnBirdLaw
[link] [comments]

[MySQL] A better way to write this query?

Learn Programming - Fri, 03/16/2018 - 11:56

I'm new to sql, and really struggled to come up with this query. I am trying to create a query on my tables below, that returns: "meetings, where the number of attendees who have not declined, exceeds the capacity of the meeting room". Is there any way I can make it look nicer?

Query: SELECT m.* FROM meetings m WHERE m.meetid IN ( SELECT idCap.meetid FROM ( SELECT pa.meetid, rooms.capacity FROM participants pa LEFT JOIN rooms ON = ) AS idCap LEFT JOIN ( SELECT pa.meetid, COUNT(pa.meetid) AS paCount FROM participants pa WHERE pa.status != 'd' AND NOT IN ( SELECT room FROM rooms ) GROUP BY meetid ) AS idCount ON idCap.meetid = idCount.meetid WHERE capacity < paCount ) _______________________________ Tables (For reference, I can't change these):


CREATE TABLE `People`( `name` VARCHAR(40), `office` VARCHAR(15), `userid` VARCHAR(15), `group` CHAR(3) );

userid: unique user name, name: ordinary name, group: vip, tap, phd, office: a room or NULL


CREATE TABLE Rooms ( room VARCHAR(15), capacity INT );

room: the name of a room, capacity: the number of people that it will hold


CREATE TABLE `Participants`( meetid INT, pid VARCHAR(15), status CHAR(1) );

meetid: the id of the meeting, pid: a userid or a room, status: u(nknown), a(ccept), d(ecline)


CREATE TABLE `Meetings`( `meetid` INT, `date` DATE, `slot` INT, `owner` VARCHAR(15), `what` VARCHAR(40) );

meetid: a unique id, date: the date of the meeting, slot: 8,9,…,18, owner: the userid of the owner of the meeting, what: a textual description of the meeting

submitted by /u/NsfwOlive
[link] [comments]

How Zig Do?

Programming - Fri, 03/16/2018 - 11:50
Categories: Programming

Has anyone used Looking for some input, for I am a beginning my comp sci journey.

Learn Programming - Fri, 03/16/2018 - 11:44

I’ve already taken a course at my university, but I want to continue my learning about programming. I found coursera and it seems like a good bang for your buck online learning cite. Has anyone used it before/ have any input?

submitted by /u/Complexgoat
[link] [comments]

Reminder to those looking to make a career out of programming: don't forget to work on skills other than programming.

Learn Programming - Fri, 03/16/2018 - 11:21

I've been programming for six months and recently got my first gig. I have very little work on my Github and what is there is unimpressive.

What got me hired is less that I am good at programming, but that I have showed a willingness to expand and develop my toolbelt. On top of being a (now professional web designer), I am a professional photographer, I have taught children's martial arts for 4 years, and I am a published writer for a Mixed Martial Arts site. All of these along with showing the initiative to start my own community on Reddit and following through with it.

I think there is a way for less experienced people to start making a living in this industry, and that's to highlight and develop your other attributes. Of course this doesn't take the place of learning, but I think it's important to note. As a rule you should always be interested in the world around you and seeking to improve yourself.

This is something that I did not expect to find in this industry and maybe it's not common but it's worth taking into account.

submitted by /u/moonsout_goonsout
[link] [comments]

Learning PHP, MySQL and how do they interact with one another

Learn Programming - Fri, 03/16/2018 - 11:19

I am really loving to learn programming using udemy online courses.

Listening and watching a good programmer teaching is amazing, writing all that you understand and pausing and trying to figure it out whenever you don't.

With that mind, what are the most recommended PHP and MySQL online courses?

I am changing my field and learning to program by myself, I talked to a friend that works with PHP and MySQL and he told me that when I feel confident with PHP and MySQL I should talk to him again and he will pull some strings to get me a entry level programmer job.

submitted by /u/ThusRetarded
[link] [comments]

How to parse PDF files with C++ (Dev C++)

Learn Programming - Fri, 03/16/2018 - 11:01

Hello :)

I would like to read a pdf file and save its content in a vector of strings. I'm using DevC++.

submitted by /u/Raphael-Rose
[link] [comments]

Artificial Intelligence Humble Bundle

Learn Programming - Fri, 03/16/2018 - 10:44

Hello guys, I've been trying to get into machine learning/a.i. stuff the past couple of months, but I always end up feeling overwhelmed by the subject and dropping it to work on something else. Is the current Humble Bundle good for an a.i. beginner? Also, if I buy the whole bundle, what book should I start with? I was thinking one of the python books, but I'm not sure (I'm comfortable with all of the languages that are covered by those books, except for GO).

submitted by /u/HHmirceaDD
[link] [comments]

What's UML and Why Do You Need It?

Programming - Fri, 03/16/2018 - 10:41
Categories: Programming

Coming up with word features for POS Tagging

Learn Programming - Fri, 03/16/2018 - 10:36

I'm taking an NLP course and I have to come up with a few word boolean features for feature engineering. I already have a few (see and ) and I have added capitalization, hyphenation, stems and apostrophe. Any thoughts on what else I can add?

submitted by /u/staydreamy
[link] [comments]

Number of Active PC Assembly Languages

Learn Programming - Fri, 03/16/2018 - 10:34

So just a quick question. I've been working on C for a couple of months, and many of my tutorials show ways you can improve performance using Assembler. But the way I understand it, those languages are each tied to a CPU architecture... the only two I can think of off the top of my head are x64 and x86, but are there more? Am I potentially going down a rabbit hole of needing to "port" my code to dozens of languages so that it works on different computers?

I also understand that different types of Assembler are more like "dialects" than new languages, so if you learn the first one you can pick up the others much faster. I'm very interested in learning x64 and x86 if these are the only two commonly in use!

submitted by /u/ZWeakley
[link] [comments]

The odin project VS.........

Learn Programming - Fri, 03/16/2018 - 10:17

I started Top a few months ago. Really enjoying it. I just finished the html and css. I'm just wondering if theres any other supplementary material/courses I could look at to get a better grasp on what I'm learning in top. Doesn't matter if it's free or costs money either way. Thanks!

submitted by /u/aforkedpath
[link] [comments]