• Breaking News

    Monday, February 25, 2019

    Hello world. I started programming at age 30, which was about 8 years ago. Today I had my last exam for my computer science degree. I've been programming at work for about 3 years now. Never give up my good peoples! learn programming

    Hello world. I started programming at age 30, which was about 8 years ago. Today I had my last exam for my computer science degree. I've been programming at work for about 3 years now. Never give up my good peoples! learn programming


    Hello world. I started programming at age 30, which was about 8 years ago. Today I had my last exam for my computer science degree. I've been programming at work for about 3 years now. Never give up my good peoples!

    Posted: 25 Feb 2019 02:19 AM PST

    As the title says, just keep at it and you'll get there. You'll have lots of highs and lows along the way, that is all a part of the journey! Happy to answer questions if any one has any. Happy coding!

    EDIT: I got asked a number of repeating questions so I figure I'll post the answers here.

    My history

    • I tried studying IT and programming after school at 17, I dropped out and partied.
    • I was a laborer for around 10 years. Before I was 30 I decided to change careers because my body was breaking down and I couldn't work as a laborer for another 30-40 years.
    • I started studying history and politics while I was a laborer. I stopped for surgery.
    • After surgery I moved into a new laboring role that used computers to program coordinates of a cutter. I really enjoyed working with technology and that inspired me to change my study stream. I didn't change it yet as I hadn't gone back to university.
    • I applied for any entry level IT jobs that I could, I was really lucky and won an entry level job as a business analyst in a software engineering team. They sent me off to do a diploma of IT, I was introduced to Java, Cobol (lol), and SQL. I did no programming at work besides some basic SQL. It took me a little over a year to finish my diploma. Once I finished I decided to do a degree in CS. I took a year off study before enrolling, because I had more surgery. In this year I tried studying Java again because I had no idea what I was doing. I studied for about 5 months until I realised my maths was terrible and stopped and focused on maths.
    • Around 4 years after joining and no programming at work, I went to a data analytics team, relearnt SQL, and worked in an enterprise data warehouse doing basic data analytics. My knowledge of the business got me that job, not my technical skills. At this stage I was doing my non-IT minor subjects. I fucked up and did 4 more subjects then I had to, I wasted a year of study. Woops. I was scared of doing Java at university, because I still had no idea what was going on. During my non-IT minor subjects and my fuck up, I was studying Java myself at the same time. By the time I did Java 101 at university I had basically finished my first textbook from my diploma. I felt reasonably comfortable with the basics. The textbook was Objects First With BlueJ for Java 1.7
    • Java 101 was when I finally felt comfortable programming. The textbook I got there was Introduction to Java - Comprehensive Edition - 10th Edition for Java 1.8. At this time I was able to start writing Java at work, writing Java programs and running them in a database.
    • A couple of Java database programs later and I got a job as a database administrator. I starting learning and writing Bash and Python scripts to automate my job, doing some data processing / cleaning / loading, and web scraping.
    • From there I went into my current role, a programmer in a data science team working on Apache Spark with Java, Python, and Scala.
    • I am trying to learn functional programming with Scala. I feel like I am back to beginning again. I have no idea what I am doing or how to think about it :D It is so different from imperative C style programming.
    • After Java 101 I did the next level Java class at uni, did web programming, Android programming, and some scripting.
    • I now program mainly in Java, Python, SQL, and trying to add Scala.

    TLDR - I was studying part time while working full time.

    Resources that really helped me

    Java

    Python

    Maths

    Bash / Linux

    Regular Expressions

    Studying In General

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

    Assembly Language is Destroying me

    Posted: 25 Feb 2019 07:44 PM PST

    So a quick bit of background: Like many others that frequent this subreddit, I'm a CS student (junior year). I've thoroughly enjoyed diving into programming/theory/etc classes, but assembly languages and computer architecture are so painfully boring to me. I've dabbled with X86 and Mic1 code up until this point.

    For those of you that have studied or work with assembly languages: Do you enjoy it? What about it is enjoyable/how did you come to enjoy it? Any insight would be great. I recognize how important the topics are and would like to find something compelling about assembly. Thanks!

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

    Where to read up on how to program for solving sets of linear and non linear equations

    Posted: 25 Feb 2019 09:15 PM PST

    Like i'm curious how some programs that i used in school do it such as MATLAB and want implement it for a side project that i have.

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

    Any good C++ open source I can contribute to?

    Posted: 25 Feb 2019 11:35 PM PST

    I'd like to keep my C++ skills sharp. Is there any open source that I can easily learn and contribute to within a month or so?

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

    I want to make a sheet for my guitar students with every possible combination of rhythms in 4/4 time with 1/8 notes or larger. How can I make a program that will give me every possible combination of the numbers 1-8 that = 8, in every possible order?

    Posted: 25 Feb 2019 10:21 PM PST

    I hope this won't be too difficult. I know a little C# from using unity, but I've never made a standalone program. The output should be something along the lines of 8, 1+7, 7+1, 2+6, 6+2, 1+1+6, 1+6+1, 6+1+1, etc.. The formatting doesn't matter, because I'll have to translate it to music notation myself anyways.

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

    Help me understand this statement

    Posted: 25 Feb 2019 10:52 PM PST

    when data is sent across the web, it is sent as thousands of small chunks, so that many different web users can download the same website at the same time. If websites were sent as single big chunks, only one user could download one at a time,

    I don't get what this means. Why would sending a website as a single big chunk means only one user could download one at a time? Please explain

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

    Most efficient way to learn web development as an experienced programmer

    Posted: 25 Feb 2019 09:53 PM PST

    I've been a developer for ~7 years now, mostly doing embedded system (C), desktop application (C#), and basic scripting (Python). A job opportunity has presented itself where I'd be doing web development and I want to try to prepare for that as much as I can. Since I'm still working a full time job doing other development, I'm trying to find the most efficient way to learn web development in my off hours. I've seen a few things mentioned, such as The Odin Project and few courses on Udemy (Colt Steele, etc), but those seem to be more aimed at people with no coding experience and I'd rather not waste a lot of time rehashing concepts I'm already familiar with.

    I tend to be a hands on learner, so watching lectures is not my preferred way of learning, but I can certainly try to push through it if that's my best option for really getting a solid background here. And for what it's worth, I've heard the terms ASP.NET MVC / Angular / JQuery thrown around in relation to this job as well, so it wouldn't hurt to target those if possible.

    Anyways, any advice is really appreciated. Feel free to point me back at one of the courses if that really is my best option.

    TL;DR: Trying to find most efficient way to learn web development to prepare for a new job.

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

    What exactly is an object, what is object-oriented programming, what is "data-hiding", and how does this all differ from procedural programming?

    Posted: 25 Feb 2019 02:42 PM PST

    tl;dr: I don't know what exactly an object, OOP, and "data-hiding" are, nor do I know why what seems to be my understanding of them cannot be implemented in procedural programming. The videos I had seen and the posts I had read today which attempt to describe them pretty much finish their example of an object and OOP by claiming that what they had shown is technically still procedural programming, so I'm a bit confused. Please help.


    The first language I had studied is C; in it, there are structs, which can be a type of data that stores other types of data (that's how I see it -- it has been a while since I've looked at C, so my memory might fail me). While functions cannot be stored in structs, function pointers can.

    We can access members of structs, by struct.member, and if one of the fields is a function pointer, then surely we can pass something to a function pointed to by a function pointer contained in such a struct.

    To me, this seems to be similar to what I'm looking at now in Java and a bit of Python: we have these things called "objects" that contains data (like members of structs), and "behaviors" (like the references of members of structs that are function pointers).

    I get that my naive understanding is likely wrong, at least that's because that's what everyone has said: "structs aren't objects". One of my friends had described objects as something that can be used to "hide data". Can't that be done by making a struct or a member private, or by using two structs, one for data and another for behaviors?

    I had been trying to watch some videos that explain exactly what objects and OOP are, as well as reading some posts. I had read that "Java Objects" aren't actually OOP objects (what?), and in every video I had watched that gave an example of an object and OOP, it seemed to still be like a struct, and even after their OOP example they'd say "But this isn't technically an object! It's still technically considered a type of procedural programming". (Here is the latest example. The first part is about OOP through Ruby, and she finishes her example in saying that.)

    What the linked video did help me to reaffirm is that an object seems to be an instance of a class. So, a class is what actually contains the coding for the data and behavior, and an object is just "a variable of type class", or something. However, despite that being what makes the most sense to me, had read that classes and structs are effectively the same, so that would make an object the same as a variable of typestruct in C, or something. Idk -- that's why I'm here.

    So, I'm a bit lost. What is an object, what exactly is object-oriented programming, what is "data-hiding", and why are all of these different from anything that can be done in procedural programming?

    I have looked at enough sources today and still don't have a clue. If someone can either explain it well or provide me with a good source that explains this well without any "but technically"s, then that would be great.

    Thank you.

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

    The more I work, the more I wish I had gone to school for CS

    Posted: 25 Feb 2019 10:03 AM PST

    TLDR; I regret not going to school due to large gaps in my knowledge.

    Skip this part if you don't care about me 😥 Skip to next emoji

    Hey everyone, so a bit about me - I am a working software developer who is self taught. Currently for work right now I manage and build wordpress sites and do one off projects with Laravel.

    So I wanted to make this post to maybe help someone in the future who is on the fence.

    I wish I had gone to school for Computer Science, as a matter of fact I still may go to school. I used to make posts trying to motivate people about self teaching and how great it was and how dumb people who got degrees were.

    Well I am 5 months into my first job and I can tell you that i am the dumb one. Not for being self taught but for not teaching myself properly. Allow me to elaborate.

    I set out in September of 2017 to learn Python and to this day I barely know Python. I couldn't get a job using it. Anyway I started learning Python with no goal in mind and managed to waste 3 or so months learning an irrelevant library that helped me create the start screen of a shitty game.

    I then realized making start screens for -A games wasnt a lucrative field. So I moved into PHP and spent a couple months fucking around trying to connect to a database and building arbitrary projects I would give up on after a few weeks. I was gaining knowledge so slowly and not efficiently.

    Then got an internship with a design company that I literally failed out of, not because it was too difficult but because I didnt follow directions well enough.

    I then decided to create a company, and it was actually not awful. I got together with another talented but inexperienced developer and we did a couple sites that the client paid for but never used. The code wasnt awful but the UI was. The company didn't work out because I flaked and got a job with an established company essentially leaving my codeveloper with nothing. He had another job so i didn't screw him over financially, but I acted very childish but ghosting him.

    STOP SKIPPING 😥

    I have been with this company for 5 months now and have learned an ass ton. However, I still feel like I am missing out on fundamental skills that build a foundation. Skills and knowledge like Git, HTTP and servers, how compiling works.

    These are things I would have learned in school along with a plethora of other major, important fundamentals. Having these gaps in knowledge are affecting my job in very real way and I am not contributing in the way I should be able to.

    I believe if you're going to self teach you absolutely need to spend a couple weeks building a curriculum if possible. This is hard to do if you have no experience however, it's like, let me build a curriculum of all this stuff that I don't know exists or why it's important.

    So you need to find someone online or a resource that is in depth enough to offer you a comprehensive curriculum on whatever software field you're going into.

    I'm positive my advice in the past has lead people astray and if you're reading this I apologize. I was wrong and I hope you came to your senses before I did.

    I am not qualified to be a working software developer, however I plan on working my ass off to become qualified. I hope this post helps someone do something.

    Thanks for reading.

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

    cannot understand this algorithm

    Posted: 25 Feb 2019 11:45 PM PST

    I'm a javascript developer, trying to practice coding problems but this solution example only has c++ solutions.

    some of the syntax I don't such as in FindMissing return FindMissingPostive(array+start,N-start); what does it mean to pass an (array + INT?) , in javascript it turns it into an string...

    //In this function we move non-postive elements to the start of the array //return the start index of start index of postive array int positive_array(int array[], int N) { int start_index = 0, i; for(i = 0; i < N; i++) { if (array[i] <= 0) { swap(&array[i], &array[start_index]); start_index++; // increment count of non-positive integers } } return start_index; } //In the given array this function finds the smallest missing number //N is size of the array //we mark the elements by making the elements at the postion(i-1)to negitive //after modifying the array we find index at which we find first postive(j) and j+1 is the missing number. int FindMissingPostive(int array[], int N) { for(int i = 0; i < N; i++) { if(abs(array[i]) < N+1 && array[abs(array[i]) - 1] > 0) { array[abs(array[i]) - 1] = -array[abs(array[i]) - 1]; } } for(int k = 0; k < N; k++){ if (array[k] > 0) { return k+1; } } return N+1; } //insted of finding the missing postive integer in whole array //we can find in postive part of the array fast. int FindMissing(int array[], int N) { int start = positive_array(array,N); return FindMissingPostive(array+start,N-start); } 

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

    I am iOS Developer - can I make personal website by reusing my skill as mobile developer?

    Posted: 25 Feb 2019 11:40 PM PST

    Hi,

    I feel like I can't elaborate myself clearly but I'll try my best. I am iOS Developer with solid foundation of Swift language. Also I used to be C/C++ developer for a couple of years. I'd like to create my personal website, something blog-like like a Wordpress or something more modern.

    Do I have to learn PHP/JavaScript/gazillion of front-end frameworks to accomplish that or can I build such website using maybe Swift language?

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

    [C++]How can I implement Conways game of with a given input file for the grid but still allow for the program to work with an arbitrary grid size?

    Posted: 25 Feb 2019 07:29 PM PST

    Honestly am really confused and don't know where to start. I know pointers and 2D arrays are needed to represent the grid, but I'm just completely lost. Anything that can help would be appreciated.

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

    I started learning Python yesterday. Terrible bad coding for a calculator. Help please?

    Posted: 25 Feb 2019 10:52 PM PST

    I am going through the 4 hour course on YT for Freecodecamp. I am also playing with the IDE to get to know it better. I decided to try to make a function for the calculator to run, but It is just a mess. What do?

    def calc(): num1 = float(input("Enter first number: ")) op = input("Enter operator: ") num2 = float(input("Enter second number: ")) if op== "+": print(num1+num2) elif op== "-": print(num1-num2) elif op== "*": print(num1*num2) elif op== "/": print(num1/num2) else: print("What the fuck do you think you're doing?") calc(): rerun = input("Would you like to run again?") if rerun== "yes": calc(): else: return Inline code: `a + b`. 

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

    What exactly is the Conceptual Schema (Databases)?

    Posted: 25 Feb 2019 10:34 PM PST

    https://en.wikipedia.org/wiki/Conceptual_schema

    From reading that Wikipedia article, I get a general idea of what takes place in the conceptual stage. In essence, establish the entities that are needed and form their respective relationships. Nevertheless, I just want clarification when it says...

    a high-level description of a business's informational needs

    What does high-level exactly mean here? I want to be sure I fully understanding what is being said there.

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

    How to setup c++ in vs code

    Posted: 25 Feb 2019 06:33 PM PST

    Hey guys can any one explain me how to setup my visual studio code for c++ programming as I am a beginner and don't know lot about dependencies and all please help.

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

    Create Application Specifically For Mac

    Posted: 25 Feb 2019 09:27 PM PST

    I have years of experience doing web development and some iOS mobile development, but I've never made anything for my mac specifically, mainly because I'm not sure how to. Are there any tutorials out there that walk you through the process of doing that? What technology is typically used to create applications for your Mac? I've been doing some digging and it looks like you can use Electron, but what else could you use? Thanks.

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

    Logging Things You Learn

    Posted: 25 Feb 2019 09:09 PM PST

    People say to write down things you learn or google, so that you can look back on it or remember it better. I was wondering if anyone does this. How do you do it? As in, how detailed is your log and how do you organize them? Can you provide an example? Thanks.

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

    Best way to learn Data Structures and Algorithms.

    Posted: 25 Feb 2019 09:05 PM PST

    Hello Everyone.

    I am a freshman pursuing a Computer Science degree. I am looking for a way to learn Data Structures and Algorithms. I have been coding for almost 7 months now and i can say that i am comfortable with Java. What would be the best way to approach learning Data Structures or Algorithms? Which one should i start learning first? Should i start with a book or an online course? I am relatively new to the game and i do not know where to start and which steps to take. Please do not hesitate to suggest me anything.

    Thank you for your precious time.

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

    Help in my python class

    Posted: 25 Feb 2019 08:58 PM PST

    Hello, I'm writing this post because I am really struggling in my python class, specifically introduction to python. and am having a hard time understanding the concepts. I am trying to make a career as a coder and am very worried that this will negatively impact me later on with future classes and chances of landing a job. The teacher is not a good teacher at all very inconsistent with grading, and is very unclear when it comes to grading criteria and doesn't really teach us anything and just wants us to do the work. Any tips or advice please, it would be very helpful on how I should proceed or what I should do.

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

    Want to create a specific program using C++, how skilled do I need to be?

    Posted: 25 Feb 2019 08:53 PM PST

    I want to make a small program like this.

    It's made by one guy, and seems pretty light, so maybe I can do it as well?

    Now I don't know what language he used to write it, or even remotely how long something like this would take. But I do want to seriously learn C++. However I'm still a beginner. I can make basic "select a number between 1-100" prompts for user input and spit that back out. I have less than 5 hours of practice.

    Don't know how to make UI's, have the software read through memory, etc. And also my issue is that there isn't any specific tutorial on how to make a program like that, so I will have to be creative and figure it out on my own.

    But I don't even know where to begin looking, and don't want to spend time learning parts of C++ that may not be relevant. Of course I will learn those later, but right now I have a specific goal in mind. How far off am I?

    Thanks guys!

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

    What field would I need to study to be able to use my source code to control the behavior of home made inventions (and learn how to make said inventions)

    Posted: 25 Feb 2019 08:33 PM PST

    For instance you wanted to make your own thingamajigger that squirts water at people who knock on your door too hard. Or an invention to start your car with a hand clap or something. I want to be able to build machinery and control it with my own programs.

    submitted by /u/-Kaneki-
    [link] [comments]

    Setting up to Work with Vue.js in Webstorm

    Posted: 25 Feb 2019 08:28 PM PST

    Hi all,

    So I'm trying to devote a week or so to learning Vue, to see if it is a good fit for me (I have experience in HTML, CSS, and JS already so I'm good to go there)

    My issue is just getting everything set up in Webstorm so I can start some basic simple projects... I'm having trouble finding a tutorial for the setup process in Webstorm specifically. It's probably really simple, but I'm trying to ensure I do everything right. (Most of what I'm currently stumbling across is people actually coding.. which I'm not all set up to do yet, lol)

    So if anyone knows any good videos on setting up Webstorm for Vue, I'd really appreciate it!!

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

    Geofencing

    Posted: 25 Feb 2019 08:16 PM PST

    I am looking for resources to start exploring geofencing. Can anyone point me in the right direction?

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

    OrientDB - The OrientDB Studio and pyorient driver shows different behaviour for the same query

    Posted: 25 Feb 2019 08:05 PM PST

    I have been trying out the OrientDB graph database. I mostly use it with the Studio web interface and the python driver pyorient.

    When I traverse a graph using

    outE()[<some condition on the edge property>].inV()

    function, the Studio does a full graph traversal as expected but in pyorient both the query() and command() functions just return the first vertex.

    Why is this happening? How do I use pyorient to traverse a tree structure in OrientDB only through edges that have a particular property?

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

    No comments:

    Post a Comment