• Breaking News

    Sunday, March 24, 2019

    What have you been working on recently? [March 23, 2019] learn programming

    What have you been working on recently? [March 23, 2019] learn programming


    What have you been working on recently? [March 23, 2019]

    Posted: 23 Mar 2019 09:09 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]

    Wondering if I should take a basic math course (like algebra or calculus) to help me understand concepts in CS

    Posted: 23 Mar 2019 10:11 AM PDT

    The gist of this post is to pose the question: *Should I take a general mathematics course to help me better understand the BASIC principles of computer science? *

    I am having a crisis, though, right now, and it's over this new Coursera course I'm taking and it's supposed to be the "fundamentals" but I absolutely do not understand it. I don't quite know how to work this Coursera site yet, so maybe there are resources that I'm just unaware of yet.....but I feel so stupid. I don't know how to figure out algorithms, basic mathematical equations, and I feel like what math skills I have clearly aren't even enough to get me through a "Programming Fundamentals" course and that scares me. I think I'm really struggling to not be crushed by how much of CS there is to learn, everytime I learn something new in CS, it makes me think of all the other things that I don't know, e.g. mathematics in this Coursera course.

    I think a math course could help me figure out patterns in numbers, knowing more about how to write equations, basics of functions, I don't remember any of that and I can't do this math problem without it. It's hard to visualize and I feel very discouraged.

    Rant over. If you have any advice on math courses, please let me know. If you had this same fear, what helped you through it? If you read this and thought "she's making up problems for herself--she's just got to keep trying", you are right.

    edit: THANK YOU TO EVERY SINGLE ONE OF YOU THAT COMMENTED. I'm going to take an algebra class, then precal and eventually.....a discrete math "just for fun". You all helped me in so many ways, thank you all so much.

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

    What advice you wish you knew when you started your first programming job?

    Posted: 23 Mar 2019 09:28 AM PDT

    I started my first job as a programmer (front-end developer with React) and I'm super excited but also a bit intimidated due to my lack of experience working in the industry. That's why it would be great to read some advice from you all. Thanks!

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

    The Rabbit Hole of Coding Tutorials — and How to Get Out of It.

    Posted: 23 Mar 2019 09:20 PM PDT

    I thought this tutorial could be useful here. I see a lot of people asking about this, so this is a short little read that might answer some people's concerns.

    Here's the article

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

    I want to code everyday. But how?

    Posted: 23 Mar 2019 09:11 PM PDT

    Im learning to program C. Its also my first programming language. I want to start programming in it everyday but I don't have any projects or anything that I want to make that I can with what I know now. So the question is, how do I keep programming everyday? What are things I can do to keep practicing and improving until I am at the level where I can make what I want to make?

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

    If I don't like front-end, where should I focus?

    Posted: 23 Mar 2019 07:25 PM PDT

    I started with "programming" about 15 years ago with HTML. Since then, I've worked with php and css for a couple projects. I do not feel like this should be called programming today. Maybe JavaScript would qualify. Recently I've taught myself Java and I really enjoy that. I think I'd like to learn Kotlin and work on Android programs. The problem is that I really really do not enjoy front-end/UI/UX development. I like the logic-y aspects of programming, but I hate figuring out what pixels work with what screen-type and all that jazz.

    What can I focus on for a career that will keep me from encountering front-end Dev stuff.

    Thanks

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

    PreVue - All-in-one Prototyping Tool to help you easily learn Vue

    Posted: 23 Mar 2019 09:38 AM PDT

    PreVue is a simple to use desktop application that can be used to easily prototype your Vue application architecture and then export your ready-to-run code.

    My dev friends and I were formerly React developers. Eventually, we discovered Vue and realized how well-thought out the framework was.

    Our goal for this project was to give Vue developers and designers the tools necessary for creating clean, organized, and intentional code from the beginning of the development process, but we realized it's also a great tool for new programmers to learn how a front end framework works.

    Here is the Github.

    I'd be happy to hear any feedback on the project, regarding documentation, how to use, what we used to create it, etc.

    If you like the idea, please give it a star :)

    We're still under development and will be adding new features to make developing in Vue as easy as possible.

    It's open sourced so contributions are welcome!

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

    Does anyone have any recommendations for a good Udemy course on basic web development?

    Posted: 23 Mar 2019 07:22 PM PDT

    There are quite a few courses out there and I was just curious if anyone had a good experience with any course in particular.

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

    one/two's complement arithmetics question.

    Posted: 24 Mar 2019 12:16 AM PDT

    When you're doing subtraction or addition of a binary number which is represented in one's or two's complement, is there a way to just convert the final result and not convert 3 times?

    For example say I want to subtract 11110100(2) from 11011111(2), (both are in a 1's complement form) and get a 1's complement binary number as a result.

    Solving it by the book means you have to convert the operands to a normal form, do the operation in normal form and get an outcome, then convert that outcome back to 1's complement. which means I need to convert 3 numbers for one equation. Is there a way to shorten this process? like just calculate the binaries in whatever form they are in, and then convert the answer to get the final outcome?

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

    Just started learning JS. Not understanding the methods used for template literals and placeholders

    Posted: 23 Mar 2019 11:48 PM PDT

    I just started to learn JS on codecademy. I'm currently at the part with template literals and the placeholder. They had me do this exercise to create a variable for my name and city inside a template literal. For example:

    var myName = 'FlyinTeddyBearz'; var myCity = 'Los Angeles'; console.log(`My name is ${myName}. My favorite city is ${myCity}`); // My name is FlyinTeddyBearz. My favorite city is Los Angeles 

    They are showing me to use the placeholder ${var} but I'm not sure why. What is the purpose and main reason of using ${}? Am I able to place a definition or technical term to it instead of "use it just because we told you to?"

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

    Javascript Multidimensional Array

    Posted: 23 Mar 2019 11:37 PM PDT

    Given a multidimensional array with 3 rows and 4 columns, how does one use a for..of loop to display a value at a specific index[][]? It could be done with traditional for loops but I'd like to learn how to use the for..of properly in this case.

    var someArray = [ ['AAA', 'aAA', aaA', 123], ['BBB', 'bBB', 'bbB', 456], ['CCC', 'cCC', 'ccC', 789] ]; for (let [index, value] of someArray.entries()) { console.log(someArray[index][value]); } } 

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

    Progression

    Posted: 23 Mar 2019 11:33 PM PDT

    So I'm in the process of learning python.

    I've pretty much spent the last two days going through tutorials and whatever else I can find. via tutorials online. I've put together about five or so little gadgets for example a Dice and the game pong. So I noticed something very interesting throughout my experiments I went from maybe understanding a couple lines or a phrase so to just about understanding all the lines of code after typing it out and fallowing along. I've gotten pretty good at catching my mistakes mostly by just running each new line that I write.

    I'm trying to understand if this is going to hinder me when I try to breakout and attempt a project on my own? I don't feel like I'll be able to step out on my own any time soon. Any suggestions?

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

    'Float' object is not iterable problem

    Posted: 23 Mar 2019 11:29 PM PDT

    The code make the error is bellow, I'm using python 3.7.2

    mod2.py

    PI=3.141592 class Math: def solv(self, r): return PI(r*2) def sum(a,b): return a+b

    ifname=="main": print(PI) a=Math() print(a.solv(2)) print(sum(PI, 4.4))

    And when I type 'python mod2.py' in the interpreter the result is like below

    3.141592 12.566368 Traceback (most recent call last): File "mod2.py", line 13, in <module> print(sum(PI, 4.4)) TypeError: 'float' object is not iterable

    Well both 3.141592 and 4.4 is a float. So I don't get why this error is occurring.

    PI=3.141592 def sum(a,b): return a+b

    print(sum(PI, 4.4))

    Seems to work. It's seems the same, why isn't the first one not working?

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

    Can i make a living on sites like Toptal, UpWork, Freelancer.com or rentacoder.com?

    Posted: 23 Mar 2019 07:41 PM PDT

    Have any of you tried some of these sites to get independent or small team contract work?

    I'm speaking to these and similar sites:

    upwork.com

    toptal.com

    freelancer.com

    rentacoder.com

    +many more..

    My theory is, if i can get enough consistent and high quality work through these sites, i may be able to go independent and have more freedom of when/where i work.

    My worry is the usual...

    Will i win bids?

    Will it actually pay well?

    How long until i make a competitive wage?

    Am i going to be drown out by tons of competition?

    Are the projects crap?

    Will i get screwed if there's a disagreement?

    Will i enjoy these projects?

    How do i know its a trustworthy client?

    So i am curious to hear if any of you have tried a similar path, and what your experience was as a developer using these sites for work.

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

    Urgent help in Karel programming!

    Posted: 23 Mar 2019 11:24 PM PDT

    Hey guys!

    So here is my code: (only the part I have problems in not the complete one)

    function main(){

    putBeeperLine();

    nextLine();

    }

    function putBeeperLine(){

    putBeeper();

    while (frontIsClear) {

    move();

    putBeeper();

    }

    }

    function nextLine() {

    turnLeft();

    if (facingNorth) {

    move();

    turnLeft();

    }

    When I do this, karel turns left until the bolded part above and faces the north. But although it faces upwards it doesn't move and turn left but just stays there instead? I have tried the same thing with if (rightIsBlocked) too but karel refuses to move although the (frontIsClear) function above works? I have a test on this in two days so it would be a great help if you guys could help me find my error quickly! Thank you so much :)

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

    Cpp

    Posted: 23 Mar 2019 11:17 PM PDT

    I want to learn cpp...as I am studying it in my college but I can't understand it there.What are the best site or tutorials to learn cpp?

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

    Looking for a good resource to learn what goes on under the hood in Python

    Posted: 23 Mar 2019 03:06 PM PDT

    I initially learned to program in C++ and Java so I'm used to being familiar with everything going on in your code since there's less that the language would take care of for you. Now, as a senior in college, I'm interested in data science and machine learning so I really want to master Python. While studying for interviews, I realized that if I asked about things like space and time complexity, I would be lost without knowing how the data structures are implemented. Does anyone know of a good resource to help me out with this? Preferably a 'cheat sheet' kind of thing, but if you have any good textbook suggestions, I'd love to hear those as well.

    TIA

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

    For those going an nontraditional route(no CS bachelors)How long did it take you to get your first job and what do you think was the most important thing you did to get it?

    Posted: 23 Mar 2019 05:48 PM PDT

    I am making a switch from Bio undergraduate degree to software engineering and was wondering how long it took others that did something similar to break into the industry. I am currently taking CC courses and online tutorials and such.

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

    Path error when trying to use appletviewer with jGRASP. Any help?

    Posted: 23 Mar 2019 09:32 PM PDT

    Whenever I attempt to run my code I am met with an error saying my path is wrong. This is the message I receive.

    ----jGRASP exec: appletviewer jgrasphta.html

    ----jGRASP wedge error: command "appletviewer" not found.

    ---- This command must be in the current Working directory

    ---- or on the current PATH to use this function.

    ---- working directory is "C:\Users\Carson\Desktop\Java".

    ---- PATH is ";C:\Program Files\Java\jdk-12\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Calibre2\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\Skype\Phone\;C:\Users\Carson\AppData\Local\Microsoft\WindowsApps".

    ----jGRASP: operation complete.

    The problem is not that I don't have jdk isntalled. I have reinstalled jdk 12 multiple times as well as jGRASP with no results. I have all over the internet for a solution and couldn't find one.

    This is the code I'm trying to run:

    java

    import java.awt.*;

    import java.applet.*;

    public class Java0408 extends Applet

    {

    public void paint(Graphics g)

    {

    Expo.drawLine(g,100,100,900,550);

    Expo.drawLine(g,100,550,900,100);

    Expo.drawLine(g,100,325,900,325);

    Expo.drawLine(g,500,100,500,550);

    }

    }

    It's supposed to make a graphic in applet but it doesn't even open it up. I only get the error saying the path is wrong. Any help would be greatly appreciated as this is a homework assignment and I can't complete it without first solving this issue.

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

    Not sure about what languages I like or what to learn next

    Posted: 23 Mar 2019 05:38 PM PDT

    I'm definitely not really new to programming, as I've been on and off-ing for 2 years by now.

    I initially started with Java, then jumped to C#, then Python, then C, a bit of C++. I also tried Rust and even messed a bit with the web development trio (without frameworks). Only Java was remotely likeable for me (I don't mean they're bad languages, they just didn't click for me).

    I've been thinking about less popular and more obscure languages like Lisp and such to see what it's like since they're different, but I'd like some opinions.

    Keep in mind, for me programming is still just an hobby on my free time for fun. I might make it a job one day but I really just want to have fun with a language that I really enjoy...

    For context, I'm self taught and not even an adult yet.

    Thanks a lot if you help!

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

    Just got my first programming job and my 2 month review is coming up

    Posted: 23 Mar 2019 12:10 AM PDT

    Just got my first full time programming job. I've always worked doing some sort of retail or manual labor jobs up until now. I've taken some programming classes but no professional experience. I've worked managing inventories but this is the first time that is my dedicated job.

    Currently I'm working in bay area as a database programmer. They hired me off a personal reference knowing I didn't have a lot of experience writing code but I've always had an interest in it and they also wanted assistance organizing and adding part numbers to their database.

    So far I love the job and I've brushed up on python to write a web scraping script to collect and organize data into csv files to be added to their database. The company itself is pretty small(but successful) and I'm the only person currently on salary who is a dedicated programmer/database manager, everyone else is sales although they do track down products customers are asking about.

    The biggest issue I have now is they matched my previous salary of $40,000 with an agreement to a 2 month review with the implication that they would adjust my salary based on what I can do with a statement that the salary will be 'significantly' higher if i can maintain their website also.

    I feel like I picked up python pretty quick and they seem pretty happy with my database work. They have also offered to start paying for classes if there was anything I wanted to learn that would assist me in doing the job better, so I have to assume they are planning on keeping me around. My 2 month review is next week and I dont think I should be making $20000 more but Google says the low end of a database programmer salary is $60000. Before I got this job I was considering moving out of the sf bay area because the cost of living is so high. This job is really the only reason I'm sticking around but I'm having a difficult time at my current wage.

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

    [Java] Really stuck with some homework

    Posted: 23 Mar 2019 01:04 PM PDT

    So I'm really new to the whole programming world and I thought taking some Java classes would be nice to do. This has turned out to be a bit of a mess. I'm struggling immensely in the class and don't really know where to go from here so I thought maybe Reddit would be able to help. I hope this doesn't come off as me wanting people to do my homework for me because it really isn't. Programming in java is supposed to be my major and I'm just not understand what is going on in the class and I want to be able to. Any help is appreciated.

    I requested help from the teacher as well and while she tried to help, it only got me to another wall and I can't find much else on the internet or the videos she gave us to watch about the topic.

    What my teacher wants us to do is use indexOf to find how many occurrences of certain characters there are in a given string, which is "Aardvarks get big and bigger as You feed them big and bigger ants who Feed on apples". I'm not very confident in what I have since the last 2 assignments have been extremely difficult for me to understand.

    Below is the code so far (I apologize if the formatting isn't very good, as I said, a bit new to this):

    package string_methods; // Starting Template import java.util.Scanner; public class MyStringMethods { private String myStr=""; public void readString() { Scanner scan = new Scanner(System.in); System.out.print("Enter in the desired String: "); String myStr = scan.nextLine(); } public void setString(String s) { myStr =s; } public int countOccurrences(String s) { int index; index = myStr.indexOf(s,4); int counter = 0; counter++; return 0; //abcdabcdabcd //use indexOf and return the number of occurrences of the string "s" in "myStr" } public int countOccurrences(char c) { int index; index = myStr.indexOf(c,4); int counter = 0; counter++; return 0; // use indexOf and return the number of occurrences of the character "c" in "myStr" } int countUpperCaseLetters() { for (int i = 0; i< myStr.length();i++) { myStr.charAt(i); } // return the number of upper case letters in "myStr" } int countLowerCaseLetters() { for (int i = 0; i< myStr.length();i++) { myStr.charAt(i); } // return the number of lower case letters in "myStr" } public void printCounts(String s, char c) { System.out.println("***************************************"); System.out.println("Analyzing: myStr="+myStr); System.out.println("Number of Upper case letters="+ countUpperCaseLetters()); System.out.println("Number of Lower case letters="+ countLowerCaseLetters()); System.out.println("Number of "+s + " is "+ countOccurrences(s)); System.out.println("Number of "+c + " is "+ countOccurrences(c)); } public static void main(String[] args) { MyStringMethods msm = new MyStringMethods(); msm.readString(); msm.printCounts("big", 'a'); msm.setString("Parked in a van down by the river bank .... The van evan vanished near a lot of other vans"); msm.printCounts("van", 'a'); MyStringMethods msm2 = new MyStringMethods(); msm2.setString("the elephant in the room wouldn't budge"); msm2.printCounts("the", 'i'); } 

    }

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

    How competitive is the remote developer position?

    Posted: 23 Mar 2019 08:18 PM PDT

    I'm a new mom who's learning front end web development and I was wondering how competitive is the remote developer position?

    What do I need to be above the crowd?

    How good is good enough?

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

    Fancy java words

    Posted: 23 Mar 2019 08:13 PM PDT

    Is there was a way to print out text bolded, italicized or underlined in java through an editor such as eclipse?

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

    What to learn for building my own website

    Posted: 23 Mar 2019 08:05 PM PDT

    What languages should I look into for building my own site? I heard HTML/css is good. And JavaScript is also useful but is there a reason I should learn one over the other?

    Any other technologies/programs/things to keep in mind while I make my website will also be appreciated.

    Thank you

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

    No comments:

    Post a Comment