• Breaking News

    Saturday, June 29, 2019

    What have you been working on recently? [June 29, 2019] learn programming

    What have you been working on recently? [June 29, 2019] learn programming


    What have you been working on recently? [June 29, 2019]

    Posted: 29 Jun 2019 09:11 AM PDT

    What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

    A few requests:

    1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

    2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

    3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

    This thread will remained stickied over the weekend. Link to past threads here.

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

    Is the "Automate the boring stuff" Python course ($10) a good resource for learning Python?

    Posted: 29 Jun 2019 07:20 AM PDT

    Title. Or are there better resources out there? I'm completely new to Python if that is relevant.

    Edit: wow this blew up while I slept, thanks for the input everyone!

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

    Learn Java Programming For Free

    Posted: 29 Jun 2019 07:22 PM PDT

    Hi ,

    I am planning to conduct free java classes to people who want to learn programming . The purpose of this training is to help people and community .

    If any one is interested , feel free to message me .

    Duration of course is : 10 days

    Cost : free

    Pre requisite: None . Will be teaching everything from scratch .

    Mode of Training : Online (Using Zoom or GoToMeeting)

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

    Books that INSPIRE you to want learn programming.

    Posted: 29 Jun 2019 07:12 PM PDT

    Kushner's "Master's of Doom" about the personalities in id software, their passion for games, coding, and their love of creating things inspired me to want to learn to code.

    The passages about Carmack in his 20s, when he was working on the first Quake engine, and instead of thinking about girls, he would think about rotating polygons in space, were so cool to me.

    Can anyone recommend similar books to this? I feel like there are a ton of resources to actually teach you how to code, but a book like "Masters of Doom" made me WANT to learn to code.

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

    Looking for a remote side job, which language will be better to learn?

    Posted: 29 Jun 2019 11:32 PM PDT

    I am currently working as a Xamarin full time with some .NET / Azure background but would like to find some part-time or remote jobs to pay the bills. I tried looking for remote Xamarin work but can't find one. I'm thinking looking for .NET part time work but don't want to be forever in the Microsoft ecosystem and would like something to still help in my mobile background. So I'm thinking of focusing more on React / React Native or C++ (since a lot of cross platform hard core stuff in mobile is done in c++). But then i'm thinking of brushing up on Ruby / Rails since I see a lot of remote work being posted looking for Rails devs. I will appreciate any input thanks!

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

    Need guidance with mobile app database

    Posted: 29 Jun 2019 05:29 PM PDT

    I'm a third year computer science student, and recently took on a project that's a little out of my comfort zone. We're making a cross platform mobile application (iOS, android) that is supposed to have a user login/password. I'm not exactly unfamiliar with databases, but I've never actually built one myself before. What kind of program should I use to construct it? The app is supposed to store a very small amount of data about the user, should that be stored in the database or somewhere locally on a phone? Are there any guides as to how I could go about it? Sorry in advance if any of this doesn't make sense, again I'm trying out something completely different to me. Any kind of suggestions would be much appreciated!

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

    Some questions about the code I should use for a grade book program (beginner PHP)

    Posted: 29 Jun 2019 07:51 PM PDT

    So I need to create a while loop that reads each name and includes 4 grades per name and display them. However my code only shows one grade per name ( code <?PHP

     // Suppress Error Notices error_reporting(E_ALL & ~E_NOTICE); //Post from web form $textFile = $_POST ['textFile']; print ("<table border>"); // open text file in read mode $readFile = fopen($textFile, "r"); // read each line of data from text file $student = fgets($readFile); // Initialize variable for number of students and average grade $totalGrossPay = 0.0; $studentCount = 0; // explode / parse each line of data while (!feof($readFile)) { // student counter $studentCount++; list($studentName, $grades, $hourlyWage) = explode (",", $student); //Calculate grade by grades / 4 if ($grades >=90 ){ $ltGrade = "A" ; } else if ($grades >=80 && $grades <=89 ) { $ltGrade = "B" ; } else if ($grades >=70 && $grades <=79) { $ltGrade = "C" ; } else if ($grades >=60 && $grades <=69) { $ltGrade = "D"; } else if ($grades <=59) { $ltGrade = "F" ; } $totalGrossPay = $totalGrossPay + $grossPay; // display student name, invidual grades, average grade, letter grade print ("<tr>"); print ("<td> $studentName </td>"); print ("<td> $grades </td>"); print ("<th> $ltGrade </th>"); print("</tr>"); //read next line of data ((from text file ))!!! $student = fgets($readFile); } // close the file fclose($readFile); print ("</table>"); // Display Highest Grade Average print ("<h3> Highest Grade Average " .number_format($highestGradeAverage, 2)."</h3>"); print ("<h3> Total Number of Students:$studentCount</h3>"); // Create/open text file in Append mode $appendFile = fopen("Ingram10HighestGrades.txt" , "a"); // Add company and total payroll to text file fputs ($appendFile, "$textFile, $totalGrossPay\n"); // Close text file fclose ($appendFile); // Create Hyperlink to view append text file print ("<p> <a href=\"chapter10TotalPay.txt\" target=\"_blank\">"); print("View Total Gross Pay Text File </a> </p>"); ?> end of code) 

    Also How would I go about finding the highest grade average per text file and saving just that to a txt file

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

    Just failed a codility test and feel discouraged.

    Posted: 29 Jun 2019 01:18 PM PDT

    I was given 30 minutes by an employer to solve 3 tasks in codility. And I only successfully completed one of them. They were very simple problems, but I didn't feel like I had time to seriously think about a solution and write the code in 10 minutes. Oh well, I'll keep chugging along.

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

    Developing a Speech Recognition for microcontroller

    Posted: 29 Jun 2019 10:59 PM PDT

    I'm planning to develop a speech recognition software(?) from scratch for my thesis/project as an CS student. I can't rely on libraries/APIs/framework as they are prohibited, but I only need my speech recognition software to learn simple phrases as I intend to create a 'voice-controlled walker trainer'.

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

    Is this book still relevant?

    Posted: 29 Jun 2019 10:57 PM PDT

    Hi programming peeps,

    So I know a bit of java, R, FORTRAN and MATLAB. I'm looking to learn C++ as I'm mildly interested in making a game or two, I was wondering whether the book I own (C++ ALL-IN-ONE for dummies 3rd Edition) is still relevant or if I should even be bother going through the whole book given that I already know 4 other languages and should just learn the syntax.

    In advance I'd like to say thanks for any help.

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

    Is there a way to reset file counter on Netbeans 8.2?

    Posted: 29 Jun 2019 10:53 PM PDT

    Whenever I create a new project/file on Netbeans the new file will automatically increment a new number at the end.

    https://i.gyazo.com/4527cb5a776363c270aebf4f778349e0.png

    It's really bugging me and I can't find a way to reset it unless I reinstall Netbeans. Tried to delete the cache and it didn't work.

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

    What's the point of learning programming if organizations like Boeing aircraft have been laying off experienced programmers so that they could hire $9 an hour programmers from India? Nobody in USA can survive off that rate. (Reason for 737 Max crashing and killing hundreds of people.)

    Posted: 29 Jun 2019 11:32 AM PDT

    I am so frustrated and confused.

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

    Don't know what to learn next

    Posted: 29 Jun 2019 06:56 PM PDT

    I've been developing android apps as a hobby in Java for the last couple of years.It seems that the market Is now shifting towards Kotlin. I don't consider myself a beginner on Android,however there are many things i still don't know regarding other aspects.I've created some basic programs in Python but i've never coded using JavaScript or Kotlin.I also use Windows and i noticed that a lot of programmers code on Linux. How should i invest my spare time on the next months?Should i learn web developing,kotlin or getting accustomed on Linux?I know It depends by what i want to do but for example how important Is It for a mobile developer to know JavaScript? Thx.

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

    [not homework] [practice] Trying to find approximate frequent pattern? I'm getting caught up in my own Traceback Error.

    Posted: 29 Jun 2019 10:26 PM PDT

    heyo guys. thanks for always being here. here's the error I'm etting. and here's the code.

    problem is with the patternp. computer can't seem to make new patterns.

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

    [not homework] [practice] Trying to find approximate frequent pattern? I'm getting caught up in my own Traceback Error.

    Posted: 29 Jun 2019 10:26 PM PDT

    heyo guys. thanks for always being here. here's the error I'm etting. and here's the code.

    problem is with the patternp. computer can't seem to make new patterns.

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

    What kind of front end frameworks are used for dynamic graph visualizations within a web app?

    Posted: 29 Jun 2019 09:57 PM PDT

    I have a project idea that I am starting to work on, but the project requires a front end. I've always been much more of a back end developer, so I'm not deeply familiar with a lot of the front end tools and best practices.

    I'm envisioning something similar to what AppDynamics uses. Biggest things are I want to have some pretty looking graphs, and I want the nodes and edges to be dynamic (display information when hovered over or clicked).

    I'm not sure if they would use something like React for that, or if they'd use something else. If you guys could point me in the right direction for where to start looking, that would be awesome!

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

    Need help with adding After Effects animation to my website (I only know a little bit of coding)

    Posted: 29 Jun 2019 09:35 PM PDT

    So I am having an issue with trying to get my text animations onto my website, built on sitebuilder.com. I was attempting to turn my after effects animation into html code. I was using the AE extension Bodymovin to convert my file to a .json, which worked fine, but I am having issues with figuring out how to make it work in html. I found some tutorials online that I followed to the letter, but every time I preview my html it comes up completely blank. If I understood coding a bit better I could probably diagnose the issue myself (because I feel like it is a really simple thing I'm missing), but I only have a few basic skills. Below is my html code, css code, and js code that is all associated with this file. I really need help because this is very important to me and I feel quite helpless at the moment.

    My code: 'index.html'

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="main.css">
    </head>
    <body>
    <div id="bm"></div>
    <script src="lottie.js"></script>
    <script src="index.js"></script>

    </body>
    </html>

    -----------------------------

    My code: 'main.css'

    body, html {
    height: 100%;
    margin: 0;
    }
    body {
    display: grid;
    justify-items: center;
    }
    #bm {
    width: 250px;
    }

    -----------------------------

    My code: 'index.js'

    var animation = bodymovin.loadAnimation({
    container: document.getElementById('bm'),
    renderer: 'svg',
    loop: false,
    autoplay: true,
    path: 'illustrator.json'
    })

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

    Intro to DynamoDB and NoSQL?

    Posted: 29 Jun 2019 05:24 PM PDT

    I am trying to learn how to use it for a side project with friends.

    I tried to learn by myself, but found myself hitting a wall. A lot of tutorials for DynamoDB assumed that the person reading had a background in databases already and was mostly teaching just syntax. I have only dabbled with SQL in the past and found myself with information overload.

    I found out it is a type of NoSQL database, but I'm not sure if this is just an umbrella term for databases that are not relational? My impression is that it's possibly a hash table of a bunch items where each item would be like a row identified with a key and the item attributes are like columns? This is most likely completely wrong because I pulled it out of my ass, but just to give an idea of how lost I am.

    What are some good resources to get started?

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

    Coding my own HTML, CSS, and JS with HUGO

    Posted: 29 Jun 2019 08:48 PM PDT

    Hello, I am quite comfortable coding with HTML, CSS, and JS, but i need to create a large static website that utilizes the saem header/navbar and footer. I have started learning about HUGO but I am still quite confused on how to code this thing. Anyone out there know about HUGO and willing to be a resource I can ask questions about going forward?

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

    Apps programming languages or frameworks help

    Posted: 29 Jun 2019 06:55 AM PDT

    Hi,

    I have started programming last year and wanted to try programming some apps. I have learnt to use html, css, javascript, node js (express, react, mysql), C#, asp net core, a tiny little bit of python. What should I learn to program apps?

    I know that I could learn Unity to program games using C#, but I want to start with stuff that are not games. What could I use?

    I appreciate any guidance and help.

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

    When web scraping, if a websites robot.txt has no specified delay interval, what is appropriate to use?

    Posted: 29 Jun 2019 04:36 PM PDT

    I am beginning web scraping and am trying my best to not be a jerk. I need to make about 10k request per day (and have multiple domains to pull the data from), so faster is better as long as its polite. What delays should I use for, say a large well known site, and a generic site?

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

    [C++] My validation loop goes haywire when I enter a string instead of an integer. How do I fix this?

    Posted: 29 Jun 2019 08:11 PM PDT

    I need to make sure the user inputs a '2' or a '3' to decide the size of an Array.

    I have the following validation loop:

    if (sizeOfArray != 3 && sizeOfArray !=2){ while (sizeOfArray !=3 && sizeOfArray !=2){ cout << "Invalid input. Please enter 2 or 3." << endl; cin >> sizeOfArray; } } 

    This works fine if I input a different integer other than 2 or 3. If I input '100', for example, it redirects me and asks to reenter 2 or 3.

    But when I enter a string like "bear", it goes haywire and throws into an endless loop.

    What do i do?

    edit: was able to solve it. thanks for suggesting looking up cin.clear and cin.fail and also verifying if it's an integer or not. really helped with the google-fu

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

    Flex/Bison decimal numbers

    Posted: 29 Jun 2019 07:58 PM PDT

    I am having a simple issue with defining a decimal token. I know the dot is a metacharacter and needs to be escaped. I have attempted to create a different token just for the dot, removing brackets, question mark, etc. Unfortunately, Flex still fails to recognize the token - lexical error. It's so simple but what am I doing wrong?

    I have it set up: Decimal [0-9]*[\.]?[0-9]+

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

    learning a programming language according to reported need of one's geographic location

    Posted: 29 Jun 2019 07:32 PM PDT

    so I was curious to look up resources for seeing what programming languages are most needed / in demand in relation to one's state/geographic region and saw this:

    https://www.thinkful.com/blog/what-programming-language-should-you-learn-according-to-your-state/

    Anyone give much weight to the above?

    a lot of the listings are similar per each state. i guess that is sensible when one sees the general listing of popular/demanded programming languages listed here:

    https://www.businessinsider.com/the-10-most-popular-programming-languages-according-to-github-2018-10#2-java-9

    and here:

    https://hackernoon.com/8-top-programming-languages-frameworks-of-2019-2f08d2d21a1

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

    How many ways to program are there?

    Posted: 29 Jun 2019 02:42 PM PDT

    More specifically, i started programming in high school and after in the university i learn the "object orientated programming" in c++ method to create a program. Unfortunately i not study the subject more deep in that time and now when i want to learn more with python this question comes to me. Is something like "no object oriented programming"? i mean, i hear about something called "procedural programming" but i don't know where you apply this or his rules to create a program. Anyways i expect you understand my question and sorry for the errors in the text, English is not my native language.

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

    No comments:

    Post a Comment