• Breaking News

    Saturday, January 18, 2020

    How can I brush up on a programming language for interviews? learn programming

    How can I brush up on a programming language for interviews? learn programming


    How can I brush up on a programming language for interviews?

    Posted: 17 Jan 2020 03:17 PM PST

    It's been a while since I learned Java, even though I feel somewhat comfortable with the language. However, at times I feel as though questions from Leetcode or HackerRank are simply too complicated for me to answer, yet places such as Codecademy are too easy (or at least the pacing is too slow). What resource or website is best for individuals who can brush up on a language and practice but isn't necessarily for beginners?

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

    I've heard of people self-studying and landing 6 figure developer jobs, is it really something I should dedicate my energy to (because it is pragmatic and a viable career through self study) or would I be wasting my time because I missed some key ingredient?

    Posted: 17 Jan 2020 05:17 PM PST

    I desperately want to get out of my current career field (construction) and make more money, have a better work-life balance, and be able to have a stable future (I put my health at risk and could be injured at any moment which would be financially disastrous with my unacceptably low income).

    I'm very hesitant because programming seems so daunting to me as someone who has no programming experience. However, I do learn quickly and type very fast, I'm comfortable around computers, I've built my own PC's from scratch so I know the hardware side of things. But without an undergraduate degree and IT experience, I'm unsure if I can actually become a developer and earn the big money that I hear is possible.

    If it would take me a year of self study to go from ZERO to earning good income as a developer then I'd be willing to invest that time and energy into it. But if I would just be sitting there stuck with all of this knowledge that is not supported by a degree, etc, then I don't want to waste my time learning something that won't give me a financial upgrade in my life.

    Can someone please help me, as I have very little direction right now and am researching online daily for ways to increase my income, possible career paths for people without degrees, etc... It's driving me insane that I can't settle on any idea or make a final decision that I'm comfortable with.

    I'd greatly value the guidance from someone experienced in this matter.

    Thank you

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

    How do I know if I’m retaining my knowledge?

    Posted: 17 Jan 2020 12:19 PM PST

    Hi, I've been working on FullStackOpen for 3 weeks now and am finishing up part 3. I've been loving the course and the exercises were a perfect level of challenge for me as a complete beginner to MERN and JavaScript. I only had a bit of c and java experience going in.

    The only thing I'm worried about is that after only about a week going into part 3 (nodejs and mongoDB) I feel like I'm already forgetting a decent amount that I learned during my past two weeks(mostly react). Should I start on a side project to keep my knowledge in check or focus on finishing the course? I've been trying to supplement the course with freecodecamp to get the basics of HTML css and JavaScript but freecodecamp is so boring for me and I lose focus very quickly.

    Do you guys normally look at old exercises and projects for reference? How much knowledge do you retain? I feel like many beginners have this same problem.

    Also, is there any good resource for understanding promises and promise chaining? I don't feel like I'm fully grasping the concept.

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

    I suck at problem solving...

    Posted: 17 Jan 2020 08:03 PM PST

    Man no matter how hard I put my head into it, I just can't figure out how to solve the problems on HackerRank. I legit don't know what to do. Do I need to know EVERYTHING in python(the language I am coding in) and be proficient in maths? How good are you guys at problem solving? Please help me out. Any help would be highly appreciated!

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

    How in-depth should I know computer hardware to succeed as a programmer?

    Posted: 17 Jan 2020 03:48 PM PST

    I only know the basics, I can remove hardware parts and put them back, I know what all of them do, I can maintain and clean and maybe build a reasonably good PC but I'm no engineer. Should I focus on hardware too?

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

    Easiest way to develop or practice programming remotely with only browser access?

    Posted: 17 Jan 2020 01:34 PM PST

    So basically, at work I get a lot of time to myself where I'm not doing anything and would like to spend that time doing practice, coding exercises, working on projects, etc, but I'm not allowed to install anything on my work computer.

    So I've been trying to figure out the best solution for me. I tried using a vps, but realized I only had ssh access and would have to develop from the terminal or something like that.. that was a no go for me, I need an ide like vs code. I tried repl.it and working on some typescript stuff but I couldn't even get console.log to work.

    So I'm open to suggestions at this point. Would love if I could just remote desktop into my home desktop by browser without having to install anything, or if there was an online ide that was almost as good as just working from home with vscode.

    My current focus is learning typescript, react, express, as well as making static sites with 11ty and headless cms like ghost.

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

    I coded something which taught me a new concept and helped me in Math!

    Posted: 18 Jan 2020 12:27 AM PST

    I coded a Series Frame Work thingy. Basically it allows for definition and usage of series.
    I've shown two small examples of its use too, one that uses a definite formula for the nth term, and the other which doesn't use one. It allows for the definition of series that don't have a formula for the nth term like Primes.

    I initially made all the Series to be long, then double then BigDecimal, but I faced a problem of poor user-friendliness. Then I learned about generic types and implemented that :D.

    Any comments on my code would be appreciated!

    Code

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

    First functional language

    Posted: 17 Jan 2020 02:27 PM PST

    What functional language should I start with? I've done some python and c++ if that helps at all

    submitted by /u/64Bit_Ninja
    [link] [comments]

    If I have a dashboard with a panel in left and area to show data in the right, how would I implement the right side to change with every option selected on the panel?

    Posted: 17 Jan 2020 11:45 PM PST

    Will it be toggle? Css visibility? Something else entirely? I would just need a common method so I can research it..

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

    I want to run checks automatically on all my code, but I don't know what it's called or where to look

    Posted: 17 Jan 2020 07:53 PM PST

    When I commit a piece of code to a git repo, I'd like to have a script run that checks for certain situations then adds something to my todo list. For example, if I commit a file that starts my application on Linux, I'd like to run a command that checks for security issues, then calls a URL to add to my todo list if the command output say the code isn't secure. Since I have multiple git repos (I control the git server), I'd hopefully be able to setup something once and apply it everywhere (in other words, if I can have it run on the server since I could be updating code on my laptop or desktop, that'll be great).

    I don't know what that's called or what to google for, or if it's even possible.

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

    I need advice how to use curl for a specific task

    Posted: 17 Jan 2020 11:35 PM PST

    Hi! What I specifically need to know it how to send both a file and JSON data with curl. Sending a file with curl can be done e.g.

    curl -F "file=@path/to/the/file" address.com 

    What I would like to do is to send some name attributes with the file. How would I do that?

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

    (Java) Question about this code that finds all prime numbers within a range

    Posted: 17 Jan 2020 03:55 PM PST

    public class Prime{ public static boolean isPrime(int n) { if (n%2==0) return false; if(n==2) return true; //if not, then just check the odds for(int i=3;i*i<=n;i+=2) { if(n%i==0) return false; } return true; } public static int nPrimes(int low, int high) { int numPrime = 0; for( int i = low; i <= high; i ++ ) { if (isPrime(i)) { numPrime ++; } } return numPrime; } } 

    I'm really confused about the for loop in isPrime(). How can we know for sure n is a prime number by stopping once i*i is greater than n? I can understand so long as i<=n/2 but this one I can't figure out.

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

    What is a good way to automate starting your work environment?

    Posted: 17 Jan 2020 11:08 PM PST

    I am using windows and want to automate starting up my virtual environment for python. Is there a way to automate the command line inputs?

    Every time I restart the computer I have to cd to my path and workon myenvironment. Is there a way to write this part in something so I can just click and go?

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

    Has anyone tried the learntocode courses on sale at the moment on the New York Post?

    Posted: 17 Jan 2020 11:07 PM PST

    Hello all,

    I am learning python right now and am making some good progress, I have a conceptual idea for a language learning program that I want to eventually make and am working on it after work and on weekends. Mostly right now I am building my Python skills, eventually I want to use ML to create a language recognition and learning resource through a SRS system.

    I came across the following offer:

    https://store.nypost.com/sales/the-2020-premium-learn-to-code-certification-bundle

    It has a bunch of courses and is currently going for $39.

    Has anyone here done these courses and has a thought on them and if not, has anyone heard anything?

    Apologies, English is my third language (I am french).

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

    Software developer full time remote jobs

    Posted: 17 Jan 2020 07:00 PM PST

    What are your experiences with working remotely from home full time as a software developer?

    What are good places to look for remote jobs?

    Is the interview process for remote job different from the regular?

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

    Any advice on learning data structure?

    Posted: 17 Jan 2020 10:43 PM PST

    I'm a complete newbie to programming, done some problem solving but don't know data structure yet...... Can anybody please advice some source for it?

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

    Classes

    Posted: 17 Jan 2020 05:56 AM PST

    I was struggling with the concept of classes harshly, and yesterday, I wasn't even studying and pff, something just clicked in my brain and started to modify a selenium script that I wrote and managed to shrink it from over 500 lines of code to 350, it felt awesome and I think I can do better.

    I know I might sound silly, but it is a great feeling!

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

    Using Instagram embedding into custom Lightbox?

    Posted: 17 Jan 2020 10:43 PM PST

    Hi, is there a way to use Instagram embedding to load into a custom Lightbox, ie fancyBox?

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

    So i just learned all of python's built in functions like min(5, 10) is a class and is performing a prebuilt function. I checked the python docs. It doesn't explain the code or show the code inside the language. Where can i find this for all the prebuilt functions and more?

    Posted: 17 Jan 2020 11:21 AM PST

    https://docs.python.org/3.8/library/functions.html#min here is the link to the function min() but it doesnt show the part where i assume it does the internal workings of comparing the inputs and returning the lowest one. Where can that be found. all my google searches kind of kick back to the pydocs.

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

    unusual behaviour from pandas merge.

    Posted: 17 Jan 2020 10:36 PM PST

    I have a three data frames for which i should merge them and output a merged data frame.The common column in each data frame is "COUNTRY" .

    Case1:

    before merging the three data frames i have set the index of each data frame to "COUNTRY" and did the pd.merge(leftdf,rightdf,left_index=True,right_index=True,how="inner") i am getting the required answer.

    but when i am not setting the indices of each data frames to "Country" and leaving them as columns and performing the merge pd.merge(leftdf,rightdf,on="Country",how="inner") this is giving me a resultant data frame of reduced size.i am loosing some rows.

    why is this happening?i could not understand.

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

    How to be a better programmer?

    Posted: 17 Jan 2020 10:34 PM PST

    Hello guys, I`m a 20 year old guy from Brazil and I`ve been studying programming for the last 2 years, but I got into a problem that I can`t fix.

    I always learned by project, I got the project and then learned how to do it, but the problem is, sometimes, we can`t learn til the deadline, and it got me stuck, like, I`m a python programmer, that has a lot of big projects, but sometimes I go into a code challenge that are for people that just started programming and I do not know how to do it, what can I do to become a better programmer?

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

    and or

    Posted: 17 Jan 2020 04:31 PM PST

    So i thought that && means that both conditions have to be true and || means only one or the other has to be true.

     string time; cout << "Enter a time in 24 hour format: "; getline(cin, time); int split = time.find(":"); hours = time.substr(0, split); minutes = time.substr(split+1, 5); if(split !=1 && split !=2) { throw 99; } hour = stoi(hours); minute = stoi(minutes); 

    but here for my if statement I want to throw an exception if the ":" isn't found in the 1st or 2nd index, since time can only have 1 or 2 numbers. But using || doesn't work, && makes it work.

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

    What is Closure? "In a language agnostic way".

    Posted: 17 Jan 2020 10:17 PM PST

    It does not have to be an overly simple explanation, but one where the concept is explained. I would also like the explanation to be language agnostic so, anyone that thoroughly understands "Closure" can explain the concept no matter what language they use, and also anyone can understand it for the same reasons.

    If you do want to use your specific programming language, please include comments to explain what is going on in your code.

    So, What is closure in functions? How are they different from functions without closure? Why are the used in programming and/or in mathematics? What can I use them for? I vaguely understand how it looks in a language like JavaScript but I fail to understand the concept behind it that's my problem.

    Could not understand the article on Wikipedia, or its explanation in the books I have on JavaScript, that's why I want the explanation to be from other languages as well (but with the syntax explained) .

    If I don't find the answer now, when I do I will comeback to update this post. Because I believe it would be of help to other people struggling with this concept, Thank you.

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

    Learning Ruby, New to programming - Need help putting an idea into code.

    Posted: 17 Jan 2020 10:15 PM PST

    In order to keep my interest, I have to learn things by continuously doing them. So I've completed a quick course on Ruby programing and now attempting to write a CLI program. I'm using TTY-Prompt and have a simple prompt on a loop.

    Instead of using a bunch of 'case' statements or something similar I thought it would be easier to have a method that takes the input from the user and searches an array of known methods and if it exists, calls it, if not throws an error and returns to the prompt.

    The error throwing part I'm pretty confident I can figure out, but the other I'm not so sure. This is beyond what I'm currently capable of comprehending in code. Is there a place where I can find examples of something like this?

    I'm creating an interactive shell that does various things, like searches for files, zips, unzips, and performs various file related tasks. I figure it's a good way to learn about the things I'm interested in.

    My end goal is using Ruby as a stepping stone to Crystal-Lang.

    Edit: grammer

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

    No comments:

    Post a Comment