• Breaking News

    Thursday, March 26, 2020

    Real Python is offering free video courses. learn programming

    Real Python is offering free video courses. learn programming


    Real Python is offering free video courses.

    Posted: 26 Mar 2020 08:01 AM PDT

    Real Python is one of the best source to learn Python in depth. Their video courses are usually premium, now they are offering redeem code for few of their video courses.

    https://realpython.com/free-courses-march-2020

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

    Udacity is offering a free Nanodegree course for a month.

    Posted: 26 Mar 2020 09:00 PM PDT

    Please review the Nanodegree catalog to choose which program is right for you. Be advised that this offer is only for the U.S. and Europe and is limited to one Nanodegree program per student. This is the first of a number of steps we're taking to support people in this uncertain time.

    https://blog.udacity.com/2020/03/one-month-free-on-nanodegrees.html

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

    Free and discounted programs/courses/sites to learn while quarantined

    Posted: 26 Mar 2020 05:20 PM PDT

    Maybe this could turn into a pinned or mega thread, maybe not. But I've seen a few posts either asking about, or posting about free or discounted websites, programs, courses, etc being offered by companies to learn while the world is on lockdown during COVID-19.

    I figured, I would compile a list as I see them and edit this post to include them.

    Here's what I've got so far, please feel free to send more my way in the comments and I'll add them.

    Thanks!

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

    What to do after you write a code?

    Posted: 26 Mar 2020 02:09 AM PDT

    Please, please help. This may sound really stupid to you non-newbies but I couldn't find anything useful.
    I know how to make algorithms and how to code in JavaScript.

    But now how do you actually create an app/program like, lets say some sort of a calculator.
    I don't want to be opening the code in terminal.

    How do I actually turn it into a real program with design to make it more presentable and useable..

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

    Moving from embedded to CS

    Posted: 26 Mar 2020 07:28 PM PDT

    Hi all,

    I'm an FPGA and embedded dev (mostly VHDL and c) with some hacky python to write tests and automation. My degree is in electronic eng. My country doesn't have many jobs in this field and those that it has are poorly paid compared to cs. I'm wondering what skills I should pick up if I want to make the transition. Most courses online are more geared towards beginner programmers (I don't really want to have to go through loops and variables again).

    I guess what I'm trying to figure out is how I should go about learning the gaps in my knowledge. Coding for me is mostly done without (many) libraries in a pretty limited environment doing low level stuff like writing to registers. When people talk about 'frameworks', 'back-end' and 'stacks' I get a bit confused.

    Also I have ADHD so really benefit from something like a structured course (the advice of 'just build something' doesn't really work for me - at least until I get some more fundamentals down)

    Any advice would be greatly appreciated.

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

    I want to learn to code again. How should I start?

    Posted: 26 Mar 2020 01:33 PM PDT

    I am a mechatronics student, I will graduate next year but I feel like I learned nothing in the past few years, specially regarding to programming and embedded systems. I "know" c++ and python but I wanted to start again. What courses, books, tutorials, programming languages do you recommend me? Thank you for your help.

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

    How to setup set up databases with SQL files?

    Posted: 26 Mar 2020 11:56 PM PDT

    I have database templates in .sql files for RTD.DB for thinkorswim.

    This needs to work to set up collect data. I'm so confused on what to do next.

    I got my SqlServerCe.4.0 downlaoded and connected.

    Now I have to configure tables. i extracted them and put the sql file in the same folder as the .sdf file.

    Not sure how to install them/set up the databse.

    https://www.stock-data-solutions.com/rtddb/configuring-tables.htm

    I don't think I was clear and not sure how to explain the issue more.

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

    How would I start to go about creating a live-stream website like youtube live or chaturbate?

    Posted: 26 Mar 2020 08:07 PM PDT

    I am competent in php, python, javascript, websockets, html/css, and setting up my own dedicated linux servers, so I have the skillset at least to get the job done.

    I just don't know a darned thing about video or video processing, chunking and sewing long videos back together on the fly, etc...

    And there don't seem to be many great tutorials out there for that... probably because it's not a popular thing to do?

    My yoga studio has been using "Zoom" web meetings (much like the rest of the world during this lockdown apparently according to their stock price) and I think it could be so much better... at least for our purposes... and I want to start working on it.

    But I don't know where to start unfortunately.

    I've looked into webrtc, and it seems great, lots of tutorials on how to link 5 to 10 people together in a video chat with no server in between... provided that those 5 to 10 people have great internet connections.

    If anyone could give me some pointers on tips on how I might go about:

    1) Recording video from one broadcaster, a yoga teacher in their home

    2) Uploading that video in realtime to a server

    3) Splitting that video into chunks (why? I have no idea... but that's what charurbate and youtube seem to do... I suppose so you can join the video at any point in time without watching it from the beginning?)

    4) Compressing the chunked video into various bitrates

    5) Disseminating those video chunks via websocket to all interested parties... who have visited a unique URL that they were given after making a donation to participate in this broadcast.

    If I could learn how to re-create zoom almost and send certain participants videos back to the broadcaster so that they could view and comment on the pariticpants poses, that would be great, but once I learn how to do steps 1 thorugh 5 I am sure that would be trivial.

    Any tips?

    Thanks for reading!

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

    Contributing towards Coronavirus problem using programming.

    Posted: 26 Mar 2020 11:45 PM PDT

    I have gotten a project for my 3rd semester in which the sir has asked (Backtracking or Search to solve COVID-19 problem) and its context with Data Structures. Can you guys give any idea of what programs can I make in C++?

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

    Saving and formatting my data on Electron

    Posted: 26 Mar 2020 11:43 PM PDT

    Finally! I'm ready to program the saving and handling of data. I am making a Pokemon app, the gist is it's supposed to display simple stats like pokemon frequency and winrate. These stats are calculated from the user's input. I'll have a table displaying these stats, currently I have an teamObject that holds a single pokemon team(composed of 4 pokemon) and a 'win' property that is true or false.

    I need some guidance as to what the best way of formatting this data and how the specifics work to get my program to accept and work with the data, so here's a list of questions maybe the community can answer:

    1. Would saving a text file with all the teamObjects be efficient? There's probably going to be hundreds maybe thousands of teamObjects in the future.

    2. I'm guessing I would have to set different buttons or conditions but how would I program a condition where it says if there is no "current" data create a save file, if there is "current" data just update it. Is there such a thing as file in use or current data or real time updating after submitting?

    3. What if I wanted to "throw out" certain teamObjects, how could I go about checking each case? probably a .length method or something? I would probably have to save teamObjects into a logArray or something.

    Please mention if you see I am missing something. Thanks

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

    please help me fix this error in python 2.7

    Posted: 26 Mar 2020 07:47 PM PDT

    if price_b==0:

    ^

    IndentationError: unindent does not match any outer indentation level

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

    Book Cipher in C++

    Posted: 26 Mar 2020 07:23 PM PDT

    I need someone to talk to about my logic in doing the book cipher.. Please help me

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

    How do we get such amazing things from binary???

    Posted: 26 Mar 2020 07:21 PM PDT

    I am a guy who needs to know the why to this kind of things. I know I should maybe start easy with maybe learning a programming language or using the tools at my disposal such as unity or else, but here's the thing, I don't feel satisfied not knowing how it all works! So I know maybe explaining would be too long, but any recommendations on books to read or else would be really appreciated. Things like how binary turns into a game engine or a picture i know there must be some relation to the hardware but I need an explanation.

    Edit: Thank you all for the answers you gave with so much effort and dedication to write them

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

    how to deploy .net applications on Linux or something similar?

    Posted: 26 Mar 2020 11:04 PM PDT

    Hey guys, I am wondering how deployment for .net apps to Linux work?

    For instance in Java, I can put a tomcat instance in some space in Linux and modify some custom configurations to get it working. Then just put the WAR file generated from code in the appropriate folder in Tomcat instance.

    How can I do something similar for .NET?

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

    Is using System.LINQ in C# considered "bad practice"?

    Posted: 26 Mar 2020 11:04 PM PDT

    So I'm a beginner to programming, and I decided to start self-teaching myself C# (since that's the language I'm learning in school, and I want to improve my skills). I've learned that by using System.LINQ, I can do stuff like find the sum of an array (using the sum method), or removing all duplicates in an array (using the distinct method), and so on. However, I feel the need to avoid using it, and go the long way in solving solutions, out of fear that it's "bad practice" and that "I won't learn anything if I keep using these 'shortcuts'". So my question is, is it actually bad practice, or am I just thinking about it too much?

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

    Favorite books on Computer Science fundamentals

    Posted: 26 Mar 2020 06:41 PM PDT

    Hello all, I'm a current data analytics bootcamp student and I'm struggling a bit with bringing my understanding full circle. We have learned front-end and back-end stuff as well as some database software but I'm struggling to see how these things interact with each other. I'm wondering if anyone has any book/video recs that may clear this up for me. Thanks!

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

    Finding the bug

    Posted: 26 Mar 2020 06:04 PM PDT

    Hi everyone! I recently had an interview for a new job which consisted of 3 different problems. One of them presented an already coded solution to a pretty simple problem. The solution itself was stated to have a bug in it, though it would still work for some test cases. I was tasked with finding the bug, and after going at it for 1 hour... failed. I'm honestly stumped since the problem itself is pretty simple (and so is the solution), so I'm hoping some of you guys might shine where I failed.

    The problem: Given an array of N integers (with N > 0), find the largest sum of any non-negative slice in the array. So, for example:

    [1, 2, -3, 4, 5, -6]

    The correct answer would be 9 (4+5), with other other slice's sum totaling 3 (1+2). If none of the elements in the array are positive, the function should return -1.

    Here's the solution presented to me:

    def solution(S): max_sum = 0 current_sum = 0 positive = False n = len(S) for i in range(n): item = S[i] if item < 0: if max_sum < current_sum: max_sum = current_sum current_sum = 0 else: positive = True current_sum += item if (current_sum > max_sum): max_sum = current_sum if (positive): return max_sum return -1 

    The test was done over Codility, with the platform itself only allowing me to modify existing lines of code, not add or delete any.

    I'll be honest, I consider myself a pretty decent programmer so this has been eating away at my self confidence at an alarming pace. Where is the damn bug?

    submitted by /u/nicolas-siplis
    [link] [comments]

    What are some good resources to learn about OOP and what language do I start with?

    Posted: 26 Mar 2020 03:48 PM PDT

    Been getting into programming since the UK is on lockdown and i was wondering how to get into OOP and expand my knowledge. also which language as well to use?

    my first ever post here so sorry if i broke rules :(

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

    Stuff with CSS Grid

    Posted: 26 Mar 2020 09:41 PM PDT

    Hey guys, I'm truly a mess right now. I'm trying to do a project for the Odin Project and make an etch-a-sketch, 16x16 grid. I was really proud of myself for writing the script on the first try without having to look anything up. But I can't for the life of me get the damn grid either centered if I manually set the height/width. Or as it is now, I can't figure out how to make the grid fit into the screen, without having to scroll. I've tried so many different things with justify-content, etc. but can't figure out what I'm doing wrong. I also tried putting the grid inside of another div, but I dunno. I know it's going to be something simple that I'm overlooking, but I've been messing with it for like two hours and I'm really stuck. What's going on here and what fundamental am I missing?

    HTML: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="shortcut icon" href="#" /> <link rel="stylesheet" href="basic.css" /> <title>Etch-a-sketch</title> </head> <body> <div class="wrapper"></div> <script src="script.js"></script> </body> </html> CSS: .wrapper { display: grid; grid-template-columns: repeat(16, 1fr); grid-template-rows: repeat(16, 1fr); gap: 0.3em; /* grid-auto-rows: minmax(1fr, auto); grid-auto-columns: minmax(1fr, auto); */ width: 100%; /* width: 800px; */ /* height: 80px; */ /* flex: 1; */ } .wrapper > div { display: flex; background: #eee; padding-bottom: 100%; } JavaScript to create grid: const wrapper = document.querySelector('.wrapper'); function createTable() { for (let i = 0; i < 256; i += 1) { const createDiv = document.createElement('div'); wrapper.appendChild(createDiv); } } createTable(); 
    submitted by /u/Tele_J
    [link] [comments]

    Interested in learning game coding

    Posted: 26 Mar 2020 09:39 PM PDT

    I want to learn fame coding what are some free programs I can download so I can learn game coding as I want to make a career out of it when I am out of high school.

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

    Making a Java program for class. I'm confused on how arrays work.

    Posted: 26 Mar 2020 09:34 PM PDT

    So I made an array of Ship(s). My Ship class has a Location data member called ShipLoc. The Location class has X and Y ints that both get assigned to a random number in pick().

    The error I'm getting is java.lang.NullPointerException

    public void deployFeet() { ships\[0\].ShipLoc.pick(); for(int i = 1; i <fleetSize; i++) { //deploys the rest of the fleet making sure do { //there are all in their own place ships\[i\].ShipLoc.pick(); }while(ships\[i\].match(ships\[i-1\].ShipLoc)); } } 

    Any help would be appreciated.

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

    Bash/Unix

    Posted: 26 Mar 2020 09:33 PM PDT

    I just downloaded a package bowtie2 and want to know how to add this new bow tie 2 directory to PATH. Apparently if I do this, and I run bowtie2 It will get the version I installed

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

    Where should I look to learn game engine design (specifically here, for a 2D fighting game)

    Posted: 26 Mar 2020 09:19 PM PDT

    I've written a small little engine for a turnbased game but I'm looking to move on and build something a bit cooler. Language doesn't particularly matter and I don't need to render super complex objects. I've got the book game engine architecture (third edition) but I'm not sure this book is the correct place to start with learning this more in depth (although it seems to be an encyclopedia of relevant information). I don't necessarily need a tutorial or anything but a course or even just watching someone do something similar so I can learn what the process is like would be super beneficial.

    I'm cool with pretty much any learning materials though - books, videos, courses, etc. Thanks in advance for any help. If you can offer specific help for the 2D fighting game genre that's a bonus, I was originally just going to use Unity but I think I'd rather just build something for myself.

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

    No comments:

    Post a Comment