• Breaking News

    Wednesday, December 25, 2019

    My 2020 resolution is to help even more people break into programming. To take my first steps toward that, I'd like to give away... learn programming

    My 2020 resolution is to help even more people break into programming. To take my first steps toward that, I'd like to give away... learn programming


    My 2020 resolution is to help even more people break into programming. To take my first steps toward that, I'd like to give away...

    Posted: 25 Dec 2019 08:15 PM PST

    Mock Interviews and Tech Chats.

    Feel free to book yourself for any appointments for either or. Please do your best to only book 1 appointment person. If you want additional time, feel free to email me after our meeting and we'll see what we can do!

    Mock Interviews

    Appointment Link: https://calendly.com/therightquestion/mockinterview

    Who it's for: I would recommend Mock Interviews for people that have been getting interviewed already but may be struggling to either pass them. If you haven't yet done any coding projects prior, I would recommend waiting out on this and scheduling a tech chat instead.

    What it is: We'll do a 45 minute interview, followed by a 15 minute review. The interview will consist of a behavioral portion where I will ask you about your background and past experience (just projects are great). Then we'll jump into a live coding exercise where you will be asked a problem and have roughly around 30-40 minutes to solve it.

    Prep: I recommend leetcode as a great source of practice! I would recommend solving this problem prior to booking. If you're unable to no avail, but I would recommend the Tech Chat as a better usage of time :). This is a required to book the interview slot. Implement this on http://repl.it in any language of your choice. As a courtesy to others, if you are unable to solve this problem within 30 minutes, please book a Tech Chat instead or post your questions below. Lets use the honor system.

    Part 1: Ask the user to enter a fraction, and the print it out formatted nicely. You can't use decimal places. Part 2: How would you reduce a fraction to its lowest terms? For example, 9/18 should be 1/2. Part 3: How would you add two fractions together? For example, 16/17 + 4/53 = 916 / 901 

    Tech Chat

    Appointment Link: https://calendly.com/therightquestion/techchat

    Who it's for: Anyone and everybody considering/interested in becoming a software engineer at some point.

    What it is: We'll spend 30 minutes answer any questions you may have. Examples include, but are not limited to:

    • Going over your resume
    • What language should you learn?
    • Any technical concept I'm aware of you'd like help with.
    • General problem solving.
    • What is a SWE day to day?
    • The struggles of programming

    Prep: The more questions you come with the more efficiently we'll use the time. But otherwise I'll be glad to just spend the time chatting?

    About Me

    I've been coding for almost 10 8 years and have worked at Google, Facebook, Microsoft, and a few more. I'm a huge believer in how programming can help change peoples lives, especially by removing financial burdens and providing a slightly less stressful work-life balance. This year, I worked with 2 individuals who went from having 0 coding experience to now working as SWE's making over 90k. One of those never thought coding was for them, but now is excited to be working in one of the biggest companies in the world. I look forward to helping others get started on their coding journey as well. It's never too late :)

    Edit: Also consider this an AMA. Will try and answer questions to the best of my ability!

    Edit 2: Please book Mock Interviews only AFTER solving the Tech problem within 30 minutes. I will be canceling any without a solution link. Lets use the honor system to keep it for 30 minutes for coming up with the solution. Sorry for the changes! I want to make sure the interviews are a good use of your time.

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

    It's possible folks, keep learning!

    Posted: 25 Dec 2019 11:05 AM PST

    Just managed to solve an LC medium DP problem, without any hints or major headaches or struggle.

    Don't want to brag, but the people around me really don't understand the value of this, so I have no one else to share my excitement with, hoping to keep myself motivated. I'm self-taught and hope to change my life with a software engineering career.

    Here's my solution:

    def rob(self, nums: List[int]) -> int: if not nums: return 0 if len(nums) < 4: return max(nums) def calc(nums: List[int], left: int, right: int) -> int: first = nums[left] second = max(first, nums[left+1]) for i in range(left+2, right+1): third = max(nums[i]+first, second) first, second = second, third return second return max(calc(nums, 0, len(nums)-2), calc(nums, 1, len(nums)-1)) 

    Happy New Year!

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

    How to not write spaghetti code.

    Posted: 25 Dec 2019 01:26 AM PST

    This fall I've had a big project we're I tried to make a virus that makes me able to remote controll another computer. I did this so I could prank my friend and it was a blast. I was really proud that I was able to make something like that, but most of my self esteem dies when looking trough the code. I don't understand most of it and adding things to it is mostly adding more if statements.

    I really like programming, but I want to be able to make larger projects without needing to decipher what I've already written. Are there some exercises, good practices or anything that helps with this. I have a hard time planning ahead too since most of what I've planned changes due to me realizing problems with my original solution.

    I need help :(

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

    First IT related job after making career switch

    Posted: 25 Dec 2019 07:51 PM PST

    Hi Reddit,

    I really just need to ask for some advice. This is really long but I feel like I have to be very detailed for people to understand where I'm coming from.

    I've been really interested in programming for a few years now. I was working a very stable and well paying job but I was not happy with what I was doing. Initially, I got into programming out of necessity because I needed to solve some business problems. I started with automating some simple personal tasks. Then later, the boss had a problem and I stepped up and said I could do it since the dev team was busy with other projects. I made a gui app that took in PDF files and automated some form processing that people needed internally. They loved it and got me to start doing things like that on the side when the dev team was busy.

    This in all lasted about 3 months from beginning to learn to doing side work for my boss before the business filed bankruptcy and I found a different job. Same industry, much more flexible hours, much better pay. I was coasting. No programming for 2 years due to moving, new baby, new house. Then I got that itch again and wasn't happy. I applied for hundreds of jobs. Figured I'd start off with something easy that I was good at like data analytics to break into something IT related and go from there.

    Except I hit the jackpot. I got a job as a systems analyst at a software company located in California. I live outside CA and so it's a remote position where I work from home. Great salary and benefits. Company is super small and I have the potential and ability to make this go my way and choose my path if I do well. I've already solved multiple problems for the company data analytics/SQL wise for the company in the first month. Second month, boss had a problem and I stepped up since the dev team was busy. I made a fully functional Django web app that saves the company a whole load of FTE's all in a month.

    And so it seems like I'm doing really well. But so then why do I feel like I'm an imposter. Experience wise, I've been doing this for for less than 6 months. I'm working on a new Django app for a different project now and I'm realizing I don't know JavaScript, HTML, or CSS for the things I want to do. I have no formal schooling and am only self taught. I feel like I'm going to get found out and fired and won't be able to support my family and it's causing me to have panic attacks. Does this feeling of being an imposter ever stop? On top of that everyone at work uses terminology I just don't understand. I feel like everyone's discussion goes over my head. Any recommendations for courses I can take to help put me at ease for this or does it just come with experience?

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

    I take public transit for an hour every day. Is there anything I can do on my phone during this daily hour that can make me a better programmer? Like stuff to study etc

    Posted: 25 Dec 2019 09:56 PM PST

    Ok so basically I'm on the bus for an hour a day and I would really like to use this time productively. Is there any kind of app on phones or whatever that I can use for an hour a day to improve my programming skills or computer science knowledge? It can even be a quizlet study set or something. I just want to put that one hour to good use.

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

    What's the best resource for someone who's only ever used object-oriented languages to learn C?

    Posted: 25 Dec 2019 05:07 PM PST

    I have experience in Python and Java, and I know all the basics of coding in most languages. I'm clueless when it comes to C (I know the absolute basics), but I'd like to learn it. What are the best resources for someone like me? Thanks in advance!

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

    How do I can convert my codes into a software/an app/or execute it?

    Posted: 25 Dec 2019 06:57 PM PST

    If a write a code which can perform a task and I need it into a useable form How will I do so?

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

    How does blockchain and torrent technology locate other computers to form a consensus/share files with?

    Posted: 25 Dec 2019 05:26 AM PST

    I have a hard time figuring out how this can be done without some form of centralization.


    [link] [comments]

    Is there a free API for real-time financial markets data?

    Posted: 25 Dec 2019 08:38 PM PST

    I'm OK with free-with-limits for testing purposes, but streaming is critical.

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

    Creating a Desktop Environment as a program

    Posted: 25 Dec 2019 10:48 PM PST

    I hope there is someone who has tried a similar thing, since I dont happen to find anything related to that niche topic.

    What I would like to do is to create a program that is able to display the windows opened on my computer and to let me work with them within this program. So basically a second desktop I can start and use in fullscreen instead of the actual operating systems desktop environment, which I would then customize. I'd like to do this in a 3D engine like Unity or Unreal to combine it with VR, but I could not find a way to embed other windows within my own program so far. Is this even possible without getting down to os-level?

    Maybe its obvious but I managed to miss the right buzzwords to get to useful results, in any case thanks for your suggestions in advance.

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

    File Organizer Program

    Posted: 25 Dec 2019 04:29 PM PST

    File Organizer Program (Python)

    Hello, guys!

    I was lazy to manually organize files in my Downloads folder which was full of all kinds of files.
    So, I wrote a simple program that automatically organizes files into corresponding sub-folders in my Downloads folder.
    Ex: pdf type files into PDF folder; docx type files into Documents folder.

    I am happy to receive any feedback! Feel free to share any ideas and criticisms.

    Thanks

    Below is the code in Python:

    #importing modules

    import os

    import shutil

    for filename in os.listdir(r"C:\Users\byunw\Downloads"):

    if filename[-3:]=="pdf":

    shutil.move("C:\\Users\\byunw\\Downloads\\"+filename,"C:\\Users\\byunw\\Downloads\\PDF")

    elif filename[-4:]=="docx":

    shutil.move("C:\\Users\\byunw\\Downloads\\"+filename,"C:\\Users\\byunw\\Downloads\\Documents")

    elif filename[-3:]=="txt":

    shutil.move("C:\\Users\\byunw\\Downloads\\"+filename,"C:\\Users\\byunw\\Downloads\\Text")

    elif filename[-3:]=="exe" or filename[-3:]=='msi':

    shutil.move("C:\\Users\\byunw\\Downloads\\"+filename,"C:\\Users\\byunw\\Downloads\\EXE")

    elif filename[-3:]=="zip":

    shutil.move("C:\\Users\\byunw\\Downloads\\"+filename,"C:\\Users\\byunw\\Downloads\\ZIP")

    elif filename[-3:]=="jpg":

    shutil.move("C:\\Users\\byunw\\Downloads\\"+filename,"C:\\Users\\byunw\\Downloads\\Images")

    elif filename[-4:]=="pptx":

    shutil.move("C:\\Users\\byunw\\Downloads\\"+filename,"C:\\Users\\byunw\\Downloads\\Powerpoint")

    print("Every file in the Downloads folder is now sorted into corresponding folders")

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

    Python tkinkter variables outside function

    Posted: 25 Dec 2019 06:04 PM PST

    How would I use variables outside of a function, for example, I want the first and second number to be shown as label and the print statement to be shown in tkinkter

    This is the error I'm getting:

    Traceback (most recent call last):

    File "<input>", line 1, in <module>

    File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.2.2\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile

    pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

    File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.2.2\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile

    exec(compile(contents+"\n", file, 'exec'), glob, loc)

    File "C:/Users/user/Desktop/supremebot1/supremebotwithgui/redditquestion.py", line 23, in <module>

    number_chosen = Label(root, text=first_number).place(x=10, y=80)

    NameError: name 'first_number' is not defined

    This is the code:

    from tkinter import *
    from PIL import ImageTk, Image

    def number():
    root = Tk()
    root.title('Name')
    root.geometry("400x400")
    global first_number
    global second_number
    first_number = input("Enter a number")
    second_number = input("Enter another number")
    if first_number > second_number:
    print('First Number Is Bigger')
    else:
    print("Second Number is bigger")

    root = Tk()
    root.title('Test')
    root.geometry("600x400")
    root.configure(background='Cyan')
    number_one = Label(root, text='First Number').place(x=10, y=40)
    number_chosen = Label(root, text=first_number).place(x=10, y=80)
    number_two = Label(root, text='Second Number').place(x=150, y=40)
    second_chosen = Label(root, text=second_number).place(x=150, y=80)
    biggest_number = Label(root, text='Larger Number').place(x=250, y=40)
    bigger_number = Label(root, text='').place(x=250, y=80)
    root.mainloop()

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

    [C] Why doesn't this loop stop?

    Posted: 25 Dec 2019 05:02 AM PST

    Hi! Just when I start to think I am finally understanding how floats work this happens

    float y; for ( y = 0.1; y != 1.0; y+= 0.1) printf ("%f\n", y); 

    Thanks!

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

    What do I need to learn to be employable?

    Posted: 25 Dec 2019 11:03 AM PST

    Hi guys, sorry if this type of post is put up here all the time, but I'm having a hard time figuring it out. So I know that OOP and Data Structures and Algorithms are very important, but what else do I want/need to learn?

    Mind you I don't care about the language, that I can find out on my own and any job I go to I just have to figure out the "dialect" for lack of better terms. I really just want to know what are the "guts" I need to learn for data science/programming

    submitted by /u/Fred-U
    [link] [comments]

    Are any of you hired tutors, and if so where do you work and are you able to tutor remotely (via webcam)?

    Posted: 25 Dec 2019 08:31 PM PST

    Hello,

    I am looking for part-time work as a tutor and was wondering if anyone else is doing this and if so, how happy are you? Do you enjoy it? Are you able to work remotely?

    Any input is appreciated. Many thanks in advance.

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

    Possible to work remotely straight out of uni?

    Posted: 25 Dec 2019 04:35 PM PST

    Is it possible to work remotely as soon as you graduate uni with a Comp Sci degree?

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

    Murach’s Java Programming 5th Edition?

    Posted: 25 Dec 2019 03:08 PM PST

    Hey guys, I'm trying to learn Java but I don't know if this is a good book to start with. Has anyone used this book before? Is it any good?

    I am taking a class in college that is for Java, I never payed much attention to job because I only used HTML and CSS to create basic web applications or at least the UI. Java is a requirement for my degree but I forgot most things about OOP programming languages. I can only understand the basics but I never read the book. Do you guys think that this is a good book to become a good back-end programmer?

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

    Character counting in a for loop in C

    Posted: 25 Dec 2019 01:57 PM PST

    #include <stdio.h> #define EOL '\n' main() { double nc; int c; for(nc = 0; getchar() != EOF; ++nc){ if (c == EOL){ printf("%f\n", nc); } } } 
    submitted by /u/UpperTest
    [link] [comments]

    Looking to build my first web app (with database)

    Posted: 25 Dec 2019 08:39 AM PST

    Hi all,

    I am a Python/Java developer but have never developed a web app from the ground up myself before.

    I want a web app users can use to track films they have seen. I want to build an SQL database to store all the films, as well as databases for Users etc etc.

    I have minimal experience in front end HTML / CSS but have done bits in the past.

    Whats the best way for me to approach this?

    Is Flask still a good idea? For the front end, is Bootstrap still used nowadays? Flutter.io?

    Any advice / guides would be appreciated please

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

    I made a couple short tutorials on getting started with Redis (a key value database for caching)

    Posted: 25 Dec 2019 11:19 PM PST

    If you're doing some taxing database queries or calling an API for the same data over and over again, it's probably smart to do some caching to save power, bandwidth and money by caching.

    Redis is a Linux program that you can use to fix that problem. I thought Redis was something really difficult to get started with but it turned out to be really simple!

    I created two ~15 minute tutorials and Github reference code for Redis in Node JS and in Python. In both we're caching an API call to prevent us from making the same request over and over again.

    Redis and Python Github

    Redis and Node JS Github

    I hope these videos and example code help!

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

    Userscript that inserts button into Facebook newsfeed

    Posted: 25 Dec 2019 11:13 PM PST

    Hi! I'm trying to make a userscript on Tampermonkey that inserts a button into each both on the Facebook newsfeed (I'm having it insert after the _q7o div on Facebook because I've had success modifying another userscript to make a border around those divs, so I know the userscript can find/work with them). I can't figure out why the button won't appear. My code is below. Many thanks!

    // ==UserScript==

    // u/nameButton2

    // u/namespacehttp://tampermonkey.net/

    // u/version0.1

    // u/description try to take over the world!

    // u/authorYou

    // u/matchhttp://*/*

    // u/grantnone

    // ==/UserScript==

    function polymerInject(){

    // 1. Create the button

    var button = document.createElement("button");

    button.innerHTML = "Do Something";

    // 2. Append somewhere

    var storyOptions = document.getElementsByClassName("_q7o")[0];

    body.appendChild(button);}

    waitForKeyElements("[aria-label='Story options']", polymerInject);

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

    All in one programming?

    Posted: 25 Dec 2019 11:02 PM PST

    sup fellas, to make this simple, Over the next few years I want to learn android app development, game development, and making robots with raspberry pi/arduinos. I've made phone apps in java and I've sorta made a game in c#, but would it be better to simply learn c# because it can do all my future projects well. Right now java is my best known language with c# following behind, but if I learn three different languages for my three different goals it would take a long time. Should I just spend my time being a master a C# instead of becoming intermediate at Java, C#, and Python?

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

    No comments:

    Post a Comment