• Breaking News

    Thursday, April 30, 2020

    I'm giving back - here's a free book on Python - keep learning during lockdown! learn programming

    I'm giving back - here's a free book on Python - keep learning during lockdown! learn programming


    I'm giving back - here's a free book on Python - keep learning during lockdown!

    Posted: 29 Apr 2020 06:11 PM PDT

    I started writing "Slither into Python" a little over a year ago and I have recently completed it. I decided to release it online for free as a thank you to the programming community, in particular the Python community. I know a lot of you out there are learning Python at the moment and I hope this resource can serve you well.

    If you have any questions, or feedback for me, then please let me know, my email is on the site!

    I know this is a difficult time for many of us but we can use it to our advantage! Many of us have a lot more free time now then we ever had before, so use this time to continue learning and really ramp up your skills!

    Check it out here: www.slitherintopython.com

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

    I did it!

    Posted: 29 Apr 2020 01:17 AM PDT

    Hi all, I've been a lurker on this sub for a while now. I started coding full-time last year(25-30 hours a week) and focused on building my own projects and portfolio.

    I got my first job offer as a UX Developer and start next week! It's been an awesome journey and one I cant wait to continue of with all the new stuff I'm going to learn.

    Just want to say thanks for variety of recommendations and motivation!

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

    I am new to programming and want to write a very basic, very simple discord bot but I don't know where to begin

    Posted: 29 Apr 2020 11:20 PM PDT

    I started learning programming about 60 days ago and I don't know where to begin. Ideally, I'd like to look at a discord bot that was written step-by-step so I could follow along with the programmer's code as he added features, etc...

    Can anyone point me in the right direction of how I would learn how to write a very simple, very basic discord bot?

    submitted by /u/Interest-Alore
    [link] [comments]

    what flavor of js to learn to complement my current tech stack ?

    Posted: 30 Apr 2020 04:35 AM PDT

    Still in college and on a job hunt recently i came across a lot of places asking for js experience. I am well versed with python,golang,c i mostly work on the backend/devops side building api's,microservices,container tools etc.Still in college though.All my experience comes from previous internships . What flavour of js is recommended,there seem to be so many out there.

    I cant decide Between Node/react(which is again full stack) and vue.Everyone seems to recommend react/angular. I am not really into frontend stuff,more of a backend person.

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

    Good websites for website templates based on BootStrap/CSS/JS?

    Posted: 30 Apr 2020 04:12 AM PDT

    Hi, I'm new to front end web development but I have an idea of HTML, CSS, Bootstrap and JS. I tried creating a website on my own, but seeing the number of website templates already pre made, I felt it's easier to start with the template and modify along the way. Please DM me any good websites or resources for front end templates if you dont want to share your secrets!

    Your help will be highly appreciated.

    Thanks in advance.

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

    Python For Finance Youtube Tutorials (Back-testing, Stock Screening, Email Alerts+More)

    Posted: 29 Apr 2020 04:51 PM PDT

    Hi everyone!

    I just posted another episode in my python for finance Youtube series. This series walks you through step by step many relevant python programs and is perfect for beginners as I start right from downloading python.

    Episode 6: Calculate Pivot Points and Resistance

    The new episode shows you how to automatically calculate key pivot points and resistance in a stocks price action. . Here is an example of what it looks like for Tesla: https://imgur.com/ElCqTy5

    This program can be easily linked with a python email alert system to notify you when a stock breaks through resistance.

    If you are interested here is the link to the newest episode:

    https://www.youtube.com/watch?v=Gdpaita5GcE

    I have also linked below the other episodes.

    Episode 1: Intro to Python for Finance

    This should be the first one you watch if you are new to python. I go through everything from downloading the language to accessing and manipulating stock data

    https://youtu.be/myFD0np9eys

    Episode 2: How to Back-test Strategies (Moving averages+ more)

    I show how to set up a program that can test any strategy where you can codify entry and exit signals. It can test performance going back decades and outputs Batting average, Average Gain, Average Loss, Max Gain, Max Loss, Average days held for Gains, Average days held for losses and Total Return.

    https://youtu.be/eYK2SNygAog

    Episode 3: How to make a Stock Screener (Mark Minervini Criteria)

    This episode covers how to set up a program that can screen for any technical criteria. I use Mark Minervini's trading template as an example. It's very easy to modify.

    https://youtu.be/hngHA9Jjbjc

    Episode 4: Green Line Calculator

    This episode shows how to calculate Green Line Values and write them to excel. Green line values are prior ATHs that are significant resistance.

    https://youtu.be/m90HHpbHzlw

    Episode 5: Email Alerts

    This episode shows you how to set up email alerts that you can use to alert yourself of any technical criteria. It is easy to modify and use with any strategy

    https://youtu.be/Ut_CpsF4qcs

    I hope you guys find these tutorials helpful. I've found that coding helps strengthen discipline and remove emotion from your trading. These tools have helped me improve my process.

    Take care and stay safe!

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

    At What Point Did Coding Become Fun for You?

    Posted: 29 Apr 2020 05:07 PM PDT

    Hello,

    New learner here. I was just curious about what point coding become fun for you? Right now all I'm doing is writing and learning but am in a slump. I can't seem to generate much enthusiasm for it cause I feel like I'm just in the learning stage (honestly feel really bored with it- but idk whether it is just me not finding a good solution to enjoy) but really would like to have a goal/ an experience to look forward to.

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

    1K Coding Challenge

    Posted: 29 Apr 2020 08:31 PM PDT

    The 1K Challenge is a competition that I've been running with a small group each May for a few years.

    It's been great fun, and we've all become the better at programming because of it.

    This year we thought we'd open the challenge to everyone, as a fun project to keep yourself interested and occupied during lock-down.

    1K involves writing a short program (< 1000 lines) in any language, but please include a readme with instructions of how to compile and run your program if you choose something unusual.

    This is not meant to be a huge time commitment, hence the 1K limit, feel free to write less if you wish.

    NOTE: Add-ins, such as python modules to not count towards the total lines, but if your program consists of multiple files, the lines in each file will add to the total.

    To submit a piece of code, post a link in the comments from which a .zip of your code can be downloaded, along with a short description on what the code does.

    Download links can be set up easily through google drive or git-hub.

    Source code only please, no pre-compiled .exe's - to reduce the risk of people submitting malware.

    Everyone is a judge; the winner will be the most upvoted submission to this post as of the 31st of May.

    The prize up for grabs consist of fame, glory, and fake internet points!

    Most importantly, enjoy the project. Coding is fun, and i think that we could all use something fun right now.

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

    Excel for beginners

    Posted: 30 Apr 2020 01:46 AM PDT

    Hi guys.

    I would like to take a course on Excel for beginners. Ideally free or for a low fee. There is plenty of resources out there and I am a bit lost. Any recommendations from someone that tried one and they were satisfied?

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

    what is the best major to learn programming

    Posted: 30 Apr 2020 03:49 AM PDT

    i always showed interest in programming and now that i graduated high school i want to learn about the majors since there is a lot i heard about computer science but there is a lot of different things i hear about making you a good programmer

    since i never reached a conclusion i came here

    thanks in advance

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

    console.log() output to website

    Posted: 30 Apr 2020 03:41 AM PDT

    Using an API that generates a key and prints it with console.log().
    How can I make the key visible to the person that will use it without looking in devtools?

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

    What should I do when I don't remember any of the built in functions in python?

    Posted: 30 Apr 2020 03:34 AM PDT

    I am beginner at programming. I started learning python a month ago. But as things move forward i tend to forget what i have learned before. Also how should i practice python each day in order to be more advance. Help is required

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

    Made a portfolio website with html and css

    Posted: 29 Apr 2020 07:13 PM PDT

    Hey guys, I'm a undergraduate with a big passion for computer science.I just made a portfolio website using HTML and CSS. Here's the link:

    yogeshp.netlify.app

    And the resources link is here:

    https://github.com/Yogeshp0012/My-Resume

    Please let me know what you guys think. Feedback, suggestions, and comments are much appreciated!

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

    Click moment javascript

    Posted: 30 Apr 2020 02:09 AM PDT

    Hi everyone! When was your click moment in JS programming? How did you learn this skill? Durning isolation (5 weeks now) i practise JS, about 4hr a day- I build a simple projects(100 js task) and FreeCodeCamp portfolio, and I struggle with some things. E.g. "Fcc: basic algorithm scripting" - one task takes few hours for me(!). There are moments I had to look for answer because I cant resolve the task by myself in 100%. Its soo frustrating. The thing is, I dont want to give up, I love to coding, Im pissed of and motivated as well and I come back to coding next day. But every time I struggle my opinion about me is: am I stupid? Do you have any advice? Or am I stupid and I should look another hobby?

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

    Error "Cannot find symbol" even though classes are in the same package

    Posted: 30 Apr 2020 05:36 AM PDT

    Hi everyone,

    I'm stilly quite new to programming. I tried to extend one of my classes today / use methods from other classes in the same package. When I compile it, with javac *.java everything works out fine. I also can run the Test class without any problems, but as soon as I get into the Test_Extend class, I get the error "cannot find symbol".

    I tried Googling but I am literally not finding anything and I am so done! Someone please help :(

    Here's the picture of both codes and the cmd

    https://preview.redd.it/fic4jlaj8yv41.jpg?width=1546&format=pjpg&auto=webp&s=830bef80741b3312552ab166856867d257d7abe2

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

    Are everything in Java, objects, other than primitive data types?

    Posted: 30 Apr 2020 05:36 AM PDT

    Are there only two things in Java that can hold memory? 1)Variables pointing to memory of primitive data types, and 2)objects of classes?

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

    I am almost done with (starting) developing desktop applications with Python (What should I do?)

    Posted: 30 Apr 2020 05:32 AM PDT

    I have been learning programming for a while, done a few of projects, and don't misunderstand me, I am really enjoying Python.

    However, for a while I want to start developing a desktop application, with GUI and everything. However, options for Python are killing me.

    I wanted to learn PyQt, but there is lack of documentation. Tkinter seems fine, but the GUI looks really old. Unlike other languages like Java, Python depends on 3rd party GUI libraries, excluding tkinter since it is included, and while it is not supposed be something concerning, it seems like the reason of downsides I face with every GUI library suggestion someone comes up with.

    I have started to think maybe I should use my python skills for writing small scripts, as backend to web applications, and other stuff; and find a more suitable language for cross-platform desktop apps. I thought about Java, but its design is really killing me.

    Sorry for sounding frustrated. I just don't like designing stuff anyways, and things like this discourage me even more.

    What are your suggestions? Am I on the right path thinking I should go with another language?

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

    Vba Subscript out of range but resuming fine after pressing F5

    Posted: 30 Apr 2020 05:24 AM PDT

    Hello,

    I have a little program for work and whenever I try to start an userform I get Subscript out of range. But if I then press F5(Continue) the code runs fine and as expected. Does anyone know how this works?

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

    why is there no output ?

    Posted: 30 Apr 2020 04:45 AM PDT

    function factorial(x)
    {

    if( x == 0 || x == 1)

    {
    return 1

    }
    else

    {

    return x * factorial(x - 1);

    }
    }
    factorial(5)

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

    Question on Single-Cycle Processors

    Posted: 30 Apr 2020 04:42 AM PDT

    I'm a bit confused by these things and would love any help I can get in understanding them.

    In a single-cycle processor, where can states be represented? I know they can be found in the program counter, registers, and status register, but is it possible for them to be represented in the memory?

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

    how would one build an algorithm in visual basic to find an image below a certain width and height and delete it (visual basic)

    Posted: 30 Apr 2020 04:41 AM PDT

    basically i want it to go through a folder and delete any files smaller than 59x59 in image size i know you would have to put the file in bin but nothing else if anyone cna help please do

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

    Not sure which language to use or how to write a script for dautomating a set of google searches with different parameters for a literature review

    Posted: 30 Apr 2020 04:33 AM PDT

    I am doing a literature review for my field (genetics) and I want to write a script for some of the searches I am doing as I have like 20+ DNA targets that I want to look for in association with other key terms. I have searched online for my issue but I get a lot of SEO and google ad stuff. To explain in better detail:

    Say I have

    DNA-1

    DNA-2

    DNA-3

    and I want to run 3 searches for

    DNA-1 Immune System

    DNA-2 Immune system

    DNA-3 Immune system

    in one go (albeit in three tabs), how can I automate this? Once I have this script then it would be really handy so I can change "immune system" for "Asthma" and run another three searches at once easily looking for those three targets. It's just this is for 26 DNA sequences so manually doing this is becoming tedious very fast.

    Apologies for the noob question, this isn't my field and I would spend time learning myself but I am pretty wrapped up in this review!

    Thanks in advance.

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

    Not sure how to write my project README for Github

    Posted: 30 Apr 2020 04:31 AM PDT

    Just finished my first little project and I want to push it onto Github.

    My issue is that I'm not sure how to write a README as to how other people can use it as my app 'lives' on Heroku.

    In order to launch the app, you have to input the below into the terminal:

    //heroku open --app "app name derived from my personal Heroku dashboard"

    and then you have to enter your Heroku credentials on the terminal.

    Do I just tell people to do this on my readme or is there a cleaner way for other users to access and try out the app?

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

    C#/.NET Async/Await

    Posted: 30 Apr 2020 04:24 AM PDT

    Why does everyone in .net/C# uses "async/await" even if it doesn't make sense.
    For example "var test = await ........FirstAsync(...)". So why are people doing this. The await is in the same line as the async method. Are there any benefits for this?

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

    [C] Need help regarding effect of logical operators outside conditions

    Posted: 30 Apr 2020 04:13 AM PDT

    So during a quiz, we were given this block of code and asked what output it would generate.

     #include <stdio.h> main() { int x = 1, y = 0, z = 5; if(int a = x && y || z++) printf("%d", z); } 

    Normally this code prints 6 but if i switch the AND and OR operators or try any other combination the code prints 5 instead.I have no clue how this happens and would appreciate if someone could elaborate on it.

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

    No comments:

    Post a Comment