• Breaking News

    Sunday, April 1, 2018

    learnlayout.com is a nice resouce for beginners in CSS learn programming

    learnlayout.com is a nice resouce for beginners in CSS learn programming


    learnlayout.com is a nice resouce for beginners in CSS

    Posted: 01 Apr 2018 01:23 AM PDT

    I found http://learnlayout.com earlier today, and I found it to be really helpful in wrapping my head around a few different concepts in CSS. Enjoy!

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

    What's a good 2D game library/engine to start with?

    Posted: 01 Apr 2018 08:24 PM PDT

    I want to try my hand at making a 2D game but what's a good one to start with? My strong languages are python, but I don't mind learning another language for a specific library/engine. Please don't recommend programs such as Scratch, as I've already tried that and it's too basic for my tastes. I want something I can package into a computer app or on an online website.

    I've also tried pygame, but that seems a bit daunting for me to learn. Is it actually hard to learn and use that?

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

    Trying to learn HTML,CSS and Javascript?

    Posted: 01 Apr 2018 07:56 PM PDT

    So,I'm studying for the MTA 98-375,and it requires me to have some pretty good knowledge in HTML,CSS and Javascript. I have zero programming knowledge,but I started studying 3 days ago. I feel like I'm in over my head,but I really want to take the test in atleast 2-3 weeks. Is this unrealistic for a beginner? The objectives are Manage the application life cycle (20–25%) Build the user interface (UI) by using HTML5 (25–30%) Format the user interface by using Cascading Style Sheets (CSS) (20–25%) Code by using JavaScript (30–35%) I'm using the Microsoft Virtual Academy and Official course book/CodeAcademy to study if anyone has any recommendation on study material im all ears.

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

    Starting a peer learning oriented c++ discord server

    Posted: 01 Apr 2018 07:13 AM PDT

    Hi everyone, we've recently started a discord server aimed at peer learning approach to mastering C++. It's open to all kind of folks, whether you are a complete beginner to the language or like to present relevant sections of the Standard in discussions 😛, everyone is welcome to participate. We're aiming to make this initiative fully community-driven, meaning that users will decide which direction we want to take this community towards. A lot of people have already joined and we're seeing interesting conversations going on in different channels.

    Here's an invite - https://discord.gg/thnM2uv

    Over the course of time, we'll add roles for distinguished community members(such as experts, moderators etc) which will provide a better experience to the overall community and especially complete beginners to the language. Currently, we've channels for -

    • Discussions - related to C++ and general programming

    • News - getting up to date with c++ and other articles

    • Weekly Katas - short problems posted every week and members are encouraged to come up with unique solutions

    • Code reviews - can post minimal(mcve) example and get reviews and suggestions from others

    • Tutorials - On-request, handcrafted tutorials posted for members by other experts in the community

    and many more that allow members to engage in meaningful conversations and learn things together.

    Apart from these, the community also offers projects based learning with separate dedicated channels for each project(since implementing small projects in a new language is an extremely effective way to learn concepts and idioms of that language) where people can ask and help other folks to implement them and learn to programme together. New projects and tutorials can always be requested(or submitted) so that community benefits through the contributions of other members!

    PS. The community was created because there weren't any communities/groups/meetups related to C++ in India, even though there are many people here using C++ in their daily jobs as well as far more people learning C++. Majority of universities teach C++ language and still with old blue-screen Turbo C++ IDE/compiler which leads folks to learn a weird non-standard dialect of C++ even in 2018. Lack of online resources and reluctance of universities to upgrade their study material lead us to create a peer learning group where we could share our experiences and problems, educating others and mastering the language together!

    PPS. The community is not limited to any certain region and is open to everyone :)

    Invite Link - https://discord.gg/thnM2uv

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

    If I were to start CS50, which year should I choose?

    Posted: 01 Apr 2018 02:16 PM PDT

    I have interest in CS50, but i'm not sure of the difference between the CS50 2018 or any others. any suggestions?

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

    I made a bold move and need your advice.

    Posted: 01 Apr 2018 05:35 PM PDT

    Hello All,

    So I may have made a crazy move. Hear me out: My original bachelors degree (liberal arts) was a jumble of philosophy, communications, and other non-science based courses. The only STEM courses I was credited for was a logic class and intro to psych. After I graduated, I faced a vapid job market and drifted back into the restaurant industry from which I've been working in since 14.

    Three of months ago I started programming out of sheer curiosity. I was bored one night and decided to give treehouse a look because there was a free trial. I started on the Python course and found myself hooked. So much that it changed my outlook and opened my mind to technology. Last month, I went back to my university and enrolled in the computer science program. I put in a two week notice at my job and I'm now moving back in with my father as he lives within close proximity to the school. I'm 24 years old and feel time slipping by. Now that I finally found something to strive towards, I figure it's time to go all in.

    My main question to all of you is if I'm in over my head? I haven't take a math or science course since high school. I looked into a Masters program, but they don't seem to offer the foundational classes as a bachelors. My university offers a variety of robotics courses and I'm seeking to specialize in that as I'm already learning Python. I already put an order in for a raspberry pi to start on my own. My dad is offering me a place to stay without rent as long as I'm enrolled full-time. I don't really have any responsibilities at this juncture besides student loans. Would you do it under these circumstances? Am I too old to truly be competitive in this field if I give it my all? Any advice you got for me (or criticism) will be much appreciated.

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

    I’m new to python and I’m having trouble on a small thing.

    Posted: 01 Apr 2018 07:57 PM PDT

    I have an assignment where I need to ask the user for they're zip code and my program is supposed to tell them what city they're in.

    I have everything set up with the text file and all the zip codes. The file is readable in my program.

    Where I'm having trouble is matching the user's input to the file. I'm supposed to send back an error when the user enters an incorrect zip How do I go about checking if what the user entered is on the text file?

    If I'm not being to descriptive I apologize. I'm new at this and need some help

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

    Looking for contributors, beginners welcome!

    Posted: 01 Apr 2018 03:08 PM PDT

    I'm working on a fairly basic python library. It incorporates some functionality that other libraries don't hit on. Looking to just expand the code base to areas you want to incorporate and would like coding up, really open to any area that would be pretty fun. Comment or message me if you want to chat, people of all skill levels are welcome!

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

    Creating an SMS social app?

    Posted: 01 Apr 2018 07:27 PM PDT

    Hello everyone! I'm new to this sub and I'm not sure if this is the right place. But I'm at a loss. I was wondering if anyone knows how to build an SMS service? I'm looking to make something for my school community, very similar to remind101. Where one user texts a question, and that question is received by all users of the service. Seems pretty simple in my head, but my guess would be it's not :) I can't find anything online but truth be told I probably don't know the keywords I should be searching for. Any help is appreciated!

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

    Any advice for a noob learning python switching from VS Code to Pycharm (JetBrains)

    Posted: 01 Apr 2018 07:50 PM PDT

    My first couple weeks of programming were spent learning HTML, CSS, and Java Script and VS Code definitely seemed to do the job. Now I am learning Python and multiple devs who I have met have told me I should use Pycharm. They were quick conversations and I wasn't entirely sure why but I just downloaded it and used my student email to get the pro version. Any advice or tips? Did those devs I that told me to switch know what they were talking about?

    More context on what I will be needing this for: I am in a coding bootcamp. Its completely up to us what text editor/IDE we use. I will be tasked with building web apps using Django, Python, CSS/HTML, and some kind of data base.

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

    Should I go to college or teach myself?

    Posted: 01 Apr 2018 10:02 PM PDT

    Hi there! So I attempted to teach myself a few different languages, but I didn't know which language to start with, then I just got confused and gave up. I like figuring out problems and debugging and things like that, and I hate my factory job. I really want to get into this. I feel like to get a coding job though, I should actually know how to code lol.

    In your guys' experience, would it be beneficial to do an online degree? (With my work schedule there is no way I could do a campus degree) Or should I teach myself? A lot of the online degrees I've looked at just have a shit ton of generals/fillers that don't even apply to software development. Would it be a waste of money to do an online degree?

    Thanks in advance friends :-)

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

    Podcasts

    Posted: 01 Apr 2018 12:46 PM PDT

    Want to listen to something educational on my hr drive to class everyday any good free podcasts I can get on iTunes?

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

    I need help with this C# forms

    Posted: 01 Apr 2018 11:36 PM PDT

    In this list I have different animals. I got these animals in a combo box displaying. Once a animal is selected it gets displayed. I am having trouble with the loop displaying 5 different animals, when I select one then I select another, the labels I am using both display the same animal. I with also appreciate if someone could show me how to remove a animal from the combo box when selected and displayed in the label.

    Here' s my code:

    List<string> userAnimal = new List<string>();

    userAnimal.Add("Cat");

    userAnimal.Add("Dog");

    userAnimal.Add("Bird");

    userAnimal.Add("Turtle");

    userAnimal.Add("Fish");

    userAnimal.Add("Mice");

    const int count = 5;

     for (int i = 1; i < count; i++) { if (i == 1) { if (cboAnimal.Text = "Cat") { lblAnimal1.Text = "Cat"; 

    } else if (cboAnimal.Text = "Dog") {

     lblAnimal1.Text = "Dog"; 

    } else if (cboAnimal.Text = "Bird") {

     lblAnimal1.Text = "Bird"; 

    } else if (cboAnimal.Text = "Turtle") {

     lblAnimal1.Text = "Turtle"; 

    } else if (cboAnimal.Text = "Fish") {

     lblAnimal1.Text = "Fish"; 

    }

     if (i == 2) { 

    else if (cboAnimal.Text = "Cat") {

     lblAnimal2.Text = "Cat"; 

    } else if (cboAnimal.Text = "Dog") {

     lblAnimal2.Text = "Dog"; 

    } else if (cboAnimal.Text = "Bird") {

     lblAnimal2.Text = "Bird"; 

    } else if (cboAnimal.Text = "Turtle") {

     lblAnimal2.Text = "Turtle"; 

    } else if (cboAnimal.Text = "Fish") {

     lblAnimal2.Text = "Fish"; 

    }

    this would repeat until 5 animals are chosen

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

    (LC-3) Assembly code to get system date and time

    Posted: 01 Apr 2018 10:55 PM PDT

    Anyone know if its possible to access the system or BIOS/CMOS date and time using specifically LC-3? I'm sure its something as simple as a memory access and movement command, but I'm not finding any information on how to access the needed memory location or registry outside of the LC-3 simulation. I can find plenty of examples on how to do this with standard Assembly, its specifically the LC-3 instruction set that I can't figure out how to do this with.

    Background, this is for a final project in a comp sci course. I'm not looking for someone to do the work for me, I'm just at a bit of a loss with this part. Honestly, LC-3 is seeming kind of like a pain in the ass. I'm fine with accepting and manipulating user inputs, as well as printing to the simulators console. But I really can't find a way to do half the things that can be done with standard Assembly. I'm sure if needed it wont be an issue for the professor to let me use not LC-3.

    Here's what I'm trying to work with: http://lc3help.com/tutorials.htm?article=Basic_LC-3_Instructions/

    Any help is appreciated! Looking for discussion and input here, thanks folks!

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

    Wanna join as Code-buddy, creating node.js sites from scratch

    Posted: 01 Apr 2018 10:54 PM PDT

    I got so much inspired by /u/austintackaberry 's post here from the other day in this sub and wanted to create as many node.js projects for now as I only know backend and Basic HTML, CSS.

    Later on will plan to learn front-end mostly with React.js and start implementing it on the projects.

    but for now,

    • I've been wishing to create following Node.js project as fast as possible like a "weekend hackathon"

    1- A login and register app.

    2- An Api to display football teams.

    3- A simple blog of writing posts.

    4- A School management system, with an api.

    If anyone wanna join that would be cool to do some pair programming,

    Or if you can comment any advice/suggestion/explanations are always welcome. I always get stuck after creating a skeleton as to what things or checkpoints I should complete to move further and complete building the site/webapp

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

    Some help with adding encryption to my code

    Posted: 01 Apr 2018 07:08 PM PDT

    So here is my assignment... ~~For each character in the String,

    • if character is letter 'z', change it to 'a'

    • if character is letter 'Z' change it to 'A'

    • if character is any other letter, move letter to next one. For example a to b, b to c, etc. and A to B, B to C, etc.

    • if character is not letter, keep it the same (no change)~~

    And then after I complete these tasks, I also need to write the code for decryption, which I can handle once I get this down...

    Here is what I have so far...

     public class Lab_11A { public static void main(String[] args) { String text = "Meet at 200 State Street April 20, 2018."; String encryptedText = encrypt(text); System.out.println(encryptedText); System.out.println(decrypt(encryptedText)); } public static String encrypt(String clearText) { String s1 = ""; String s2 = ""; int len = clearText.length(); for(int n=0; n < len; n=n+4) { char ch = clearText.charAt(n); if(Character.isLetter(ch)){ if(ch== 'z'){ ch = 'a'; }else if(ch == 'Z'){ ch = 'A'; }else{ ch+=1; } }else{ s1 = s1 + ch; } s1 = clearText.substring(n, n+4); s2 = s2 + s1.charAt(3) + s1.charAt(2) + s1.charAt(1) + s1.charAt(0); } return s2; 
    submitted by /u/bigkidplayground
    [link] [comments]

    What are the four best resources to solve a programming problem?

    Posted: 01 Apr 2018 07:07 PM PDT

    Context to My Question: I'd like to use Swift/iOS in the Front-End, Django & PostgreSQL in the backend. I am currently setting up my backend on a dedicated server I'm renting. I finished 2 Swift Programming courses already but I sometimes get stuck a bit while setting up stuff in the backend : )

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

    [Offer] I want to teach someone Python!

    Posted: 01 Apr 2018 12:17 PM PDT

    Hi everyone.

    Almost eight months ago, I wrote my first "Hello World" program in Python. My goal was to learn as much python as I could possibly manage before April, so I could move myself and my then-girlfriend out of the state, and to a nicer city.

    I've been blessed to have met a wonderful mentor along the way, align myself with a number of great resources, and start working on some really fun projects.

    For example - right now my mentor and I are working on a Django-based mobile exercise app, and today/tomorrow I'm getting started on building a small interactive website for a podcast my friends and I are wanting to start. (That's the coolest part - being able to build whatever you need!)

    I'm not an expert by any means, nor will I have all of the answers to every question. But I do know how to build things.

    If you're interested in having a mentor, leave a comment below letting me know where you're based out of, what your goals are with programming, what it is you want to build, and what you want in a mentor!

    Thanks everyone.

    Bishop.

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

    expression must have a pointer-to-object type

    Posted: 01 Apr 2018 10:39 PM PDT

    trying to make a function that passes through a number array and then calculates the function: double avg(int arr) { int arrLength = sizeof(arr) / sizeof(arr[0]);

     for (int i; i <= arrLength; i++) { } } 

    but it gives the error message: expression must have a pointer-to-object type. whats wrong with it?

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

    PHP AJAX Help

    Posted: 01 Apr 2018 10:11 PM PDT

    I have two files: https://pastebin.com/vW7eZsTG and https://pastebin.com/wb6yZ2sT

    I have to:

    1. Accept the data as JSON and turn that data into a table and put that table into the element whose id is 'getJSON'
    2. Accept the data as HTML and turn that data into a table and put that table into the element whose id is 'getHTML'
    3. Both tables need to be styled with a border, background color, and every second row a different color. Also ensure that the header at the top is styled with bold text and a different color than the rows of data in the rest of the table

    For the JSON part I inserted this:

     $.ajax({ url: "lab_07_GetTable.php", dataType: "json", type: "GET", data: {output: 'json'}, success: function(data) { var listData = ""; for(var key in data) { listData += "<tr><td>" + key + "</td><td>" + JSON.stringify(data[key]) + "</td></tr>"; } $("#jsonTable").append(listData); // doing this gives me: // undefined<tr><td>status</td><td>undefined</td></tr><tr><td>msg</td><td>undefined</td></tr><tr><td>transaction</td><td>undefined</td></tr> // console.log(listData); }, error: function(jqXHR, textStatus, errorThrown) { $("#p1").text(textStatus + "hello" + errorThrown + jqXHR.responseText); } }); 

    so basically made that for loop, but I don't know how to get the table. What I get is this: https://imgur.com/a/0cRsn

    But I should be getting a table.. right? Also..how could I do the same with clicking for HTML? This one should be easier.

    $("#getHTML").append.text(data[0]); ? This is probably wrong so any help is appreicated. I guess I'm having a tough time accessing my array like in the `listData` part I tried to come up with. Help is appreciated 
    submitted by /u/Math_Noob_
    [link] [comments]

    [C] Homework Help: Debugger showing different values in returned struct before return (in the function) than after return (back in main).

    Posted: 01 Apr 2018 09:57 PM PDT

    FYI it's been a while since I've ever even thought about C. I'm currently using Xcode for this project which uses lldb.

    So to start, I have two other files accompanying main.c. One of them implements a doubly linked list as a struct plus associated functions. That part is working fine. The other file contains a custom struct "wheel" containing a string (call it "char *name") and the head node of the doubly linked list.

    The function I'm having trouble with takes in a "wheel" and a file name and reads from a text file line by line. The first line fills "name" and each subsequent line fills nodes in the dll. The function returns a "wheel." The problem is lldb in Xcode shows that "name" within the "wheel" has the expected value as read in from the txt file while stepping through the function. However when returning to main, lldb shows the value of "name" as a memory address but all the data in the dll nodes look to be the expected values. Is there something fundamental I'm not understanding?

    I either can't find anything like this online or I don't recognize similar issues. Thanks all.

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

    (Java) How to move back up program to run for loop again?

    Posted: 01 Apr 2018 03:55 PM PDT

    Here's the code:

    int wSize = scan.nextInt();

     for(String w : dictList) { if(w.length() == wSize) { System.out.println("thanks"); break; }else if((dictList.indexOf(w) == dictList.size()-1) && w.length() != wSize){ System.out.println("Sorry, there are no words of that length. Try again"); wSize = scan.nextInt(); continue; } } 

    I'm trying to test if my list of words contains a word that is the same size as the user's input. They are asked how long they would like their word to be. I iterate through the whole ArrayList and check the length of each word. If we've reached the end of the list and it hasn't found a word of the user's length, then I want to be able to tell the user to type another length and have it iterate through the ArrayList again.

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

    Are there more YouTube channels that compile or are mostly tech talks?

    Posted: 01 Apr 2018 03:52 PM PDT

    I'm curious here. I didn't know this was a thing, but I've come across a channel called Coding Tech. It seems to be dedicated to re-uploading tech talks from a variety of events while giving full credit and a source link to the original video. I was wondering if there are more channels like this. Channels that have a lot of tech talks period, like the GDC channel (gaming development), are good too.

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

    Trying to learn to structure my code, OOP

    Posted: 01 Apr 2018 03:41 PM PDT

    Hi all, I'm having trouble learning how to structure my code. I know what I want to accomplish in terms of what I want to write, and I know how to write it. I just get tied up in where to put functions (classes? main?) and I wind up with functions that are excessively long. I also feel like my main function (I'm currently writing in C++) is too long. Is having a long main taboo? Any *pointers (hehehe) on how to better plan/structure my code? Thanks!

    P.S. I've started looking at design patterns on wiki after searching my question before I asked :) and it hasn't helped me that much. Thanks again!

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

    No comments:

    Post a Comment