• Breaking News

    Sunday, April 4, 2021

    After many years of prison I was released, learn to program, and was hired as a mobile developer. If you are learning to code and need the extra support reach out. learn programming

    After many years of prison I was released, learn to program, and was hired as a mobile developer. If you are learning to code and need the extra support reach out. learn programming


    After many years of prison I was released, learn to program, and was hired as a mobile developer. If you are learning to code and need the extra support reach out.

    Posted: 03 Apr 2021 04:24 PM PDT

    I went to prison when I was a teenager for many years. I learned to program and now work as a software engineer developing iOS mobile apps.

    Last year I started an org called Underdog Devs dedicated to supporting the formerly incarcerated (and those from disadvantaged backgrounds) who want to become software developers. If you need the extra support/network reach out. On Twitter, Insta, and LinkedIn at UnderdogDevs.

    Also.... we are currently hosting a month long event called Spring into Swift. Tons of free talks all April focused on programming, getting into mobile development, and the programming language Swift. There are talks for everyone from beginner to advanced.

    Reach out ot us on Twitter or directly to me here here

    Sign up for our event here

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

    Stanford University now offering a free course on Python

    Posted: 03 Apr 2021 02:33 AM PDT

    https://codeinplace.stanford.edu/

    Hey guys,

    If you're interested Stanford University opened applications to their attempt at online learning of the CS 106A "Programming Methodology" course they offer. Applications are open from the 2nd of April to the 8th of April. It's a 5 week course. You can check out more here: https://news.stanford.edu/2021/03/22/famous-stanford-coding-course-free-online/

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

    Don't listen to anyone

    Posted: 03 Apr 2021 11:31 PM PDT

    Some years ago ( I am 16) my teacher asked us what we do as hobbies and what we want to do when we grow up when she asked me I said I like coding in my free time and I want to be an app developer one day or something around this field. She laughed and said "what are you coding?" She didn't let me response and said " you are not good at subjects like history and latin how could you someone trust you to code their app." At that time I thought she was right and I didn't reply anything I just saved my head. But It really hurted me because that time is when I started learning python and I had already build some websites in html and css. Now I have 2 apps uploaded on playstore I am building a hat for blind people for a school project and I also have build a command line chatroom. Those are the big projects for me I also have other stuff going on. My point is don't let anyone ever tell you something even if I am 16 this had hurted me and I still remember it. If anyone tell you that you can't do something just wave your hesd at them and do it anyways.

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

    Online Reading Material Java (Online)

    Posted: 04 Apr 2021 12:12 AM PDT

    I am currently working away and can't stream videos. Does anyone know of some good reading material for learning Java?

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

    How would I connect backend to frontend?

    Posted: 03 Apr 2021 02:50 PM PDT

    I understand the difference between the two, but I'm learning Python right now and if I wanted to connect my Python backend to JS frontend what would be the best way to do this? More specifically, and forgive me if I'm asking a silly question, but if I have a button on a page how would I tell Python what to do when said button is pressed?

    submitted by /u/bill-nye-the-spy
    [link] [comments]

    Have a goal, pointers please!

    Posted: 03 Apr 2021 11:34 PM PDT

    I have a job that requires me to manually copy/paste stuff from a spreadsheet to a website, and then copy/paste some of the website content back onto the spreadsheet.

    Now this is incredibly time-consuming and I was wondering if there would be a way of automating part or all of the process.

    Would it be possible to have pointers on what kind of thing to look into/study to make this little vision a reality?

    Any pointer is very appreciated!

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

    Google Example Coding/Engineering Interview Video doubt

    Posted: 03 Apr 2021 11:32 PM PDT

    https://www.youtube.com/watch?v=XKu_SEDAykw&t=753s&ab_channel=LifeatGoogle

    In this example interview video of Google, isn't the last solution he came up with also take up O(nlogn) time? because find() function of set takes O(logn) time and we are performing it on each element of array.. Correct me where I'm going wrong ?

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

    College Student Who is Only Minoring In CS, What Classes Should I Take Between Databases, Intro to Algos, Software Engineering, and OS?

    Posted: 03 Apr 2021 11:31 PM PDT

    I will only be taking two or three level 500 CS courses, which ones should I take? I might transition to software engineering/developing in the future (or at least would hope to).

    Some combinations I was thinking of are intro to algorithms and software engineering. Databases, OS, and software engineering. Or intro to algorithms and databases.

    What do you guys think? What will be most beneficial in my situation?

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

    What's the reason for adding [0] when changing an elements value in JS?

    Posted: 03 Apr 2021 05:30 PM PDT

    Not sure if this is a silly question but I'm basically wondering why the first line works but the second doesn't, what's the purpose of [0]?

    document.getElementsByName("message")[0].placeholder ="Do you have another message?"; document.getElementsByName("message").placeholder ="Do you have another message?"; 
    submitted by /u/Zenemm
    [link] [comments]

    How to prevent two people from booking the same seat in a ticket booking system?

    Posted: 03 Apr 2021 03:50 PM PDT

    This question follows from : https://softwareengineering.stackexchange.com/questions/117643/how-does-a-movie-theater-seat-booking-system-prevent-multiple-users-from-reservi

    I was thinking of putting some unique constraint on the booked seats in a MySQL database and the subsequent operations to book the same seat will fail which can be reported back by the application layer.

    But the answer from SO suggests getting a lock at the application layer itself rather than letting it propagate it to the DB layer.

    The thing it says is to get a tentative lock for that seat and it will prevent further people from selecting the same seat for some time like 10mins.

    But the next question is, if people select the sear at the exact same time for booking then who gets the lock?

    It definitely looks the the problem has been pushed from DB layer to the application layer but the problem still remains unsolved.

    How do I implement this safely without overbooking?

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

    How to get started in Blockchain development.

    Posted: 03 Apr 2021 11:17 PM PDT

    I've been watching the blockchain technology for the past few months now and it's going crazy because of the crypto hype so i was thinking that if I could learn it but don't know where to start ?

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

    Laravel 6 or Laravel 8 : Where to start?

    Posted: 03 Apr 2021 10:42 PM PDT

    I want to start learning Laravel and most of the recommendations that I found on the internet is to start with the Laravel tutorial in Laracasts, but I'm kinda confused because there are two versions of the tutorial, Laravel 6 and Laravel 8. I don't really have an idea on where to start and I don't know if there is a significant difference between the two versions, also the Laravel 8 tutorial series is still in development.

    I tried posting in the laravel sub reddit, but my post is still waiting for an approval for like an hour now and I want to jump into learning already.

    submitted by /u/I-dont-really-know--
    [link] [comments]

    At what age can a child understand basic programming concepts without the coding element?

    Posted: 03 Apr 2021 06:47 PM PDT

    Maybe a bit of an odd question, but at what age would a child be able to learn small basic programming concepts without programming?

    Like I'm talking about very simple processes like a simple loop to find the maximum number in the list:

    int max = 0; for (int n : num) { if (n > max) { max = n; } } 

    Or maybe basic sorting algorithms (selection sort, etc) or searching algorithms (binary search, etc).

    I'm not talking about actually understanding how to code them. I'm talking about conceptually understand the process of how it works with the coding element completely removed.

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

    Help converting a TXT to a CSV

    Posted: 03 Apr 2021 04:12 PM PDT

    I am not sure if this is even the right subreddit but, I was wondering if anyone knows how I could do this: I have a TXT document filled with notes (note content and title) that are all formatted the same and have the date included. Would it be possible to convert this document to a CSV file with the headers date and note content?

    Example

    I am really new to programming (python) so I don't really know where to start. This is my first real-world program and I am looking for help. TIA

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

    Have any of you joined to Microverse program?

    Posted: 03 Apr 2021 09:52 PM PDT

    I Want to know your thoughts, because it's too good to be real😂😂

    https://www.microverse.org/

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

    C++ question, Why Im I getting an error on line 37? It says getline is undefined from trying to read out the out.txt but I dont know if I did something wrong.

    Posted: 03 Apr 2021 09:46 PM PDT

    /* Write a program that uses an arrays of at least 20 string . It should call a function that uses the linear search algorithm to locate one of the name. Read list of name from an input file call "StudentName.txt" The function should keep a count of the numbers of comparisons it makes until it finds the value. The program then should call a function that uses the binary search algorithm to locate the same value. It should also keep count of the numbers of comparisons it makes. Display these values to a file call "out.txt" */ // Required header files #include <fstream> #include <iostream> #include <iomanip> #include <cstring> #include <cstdlib> #include <ctime> #include <vector> using namespace std; // function prototypes int linearSearch(string names[], string search, int cnt, int& comparisionCnt); void binarySearchlinearSearch(string names[], string search, int cnt, int& comparisionCnt); int main() { //Declaring variables const int SIZE = 20; string names[SIZE]; string search; int cnt = 0, comparisionCnt = 0; ifstream dataIn; ofstream dataOut; dataIn.open("StudentName.txt"); // Open the StudentName.txt file. if (dataIn.fail()) { cout << "** File Not Found **"; return 1; } else { dataOut.open("out.txt"); //Reading the data from the file while (getline(dataIn, names[cnt])) { cnt++; } dataIn.close(); cout << "Enter Name to search :"; // Prompt the user to enter name for search getline(cin, search); // Read the value given by the user int index = linearSearch(names, search, cnt, comparisionCnt); if (index != -1) { cout << "No of comparisions in Linear Search :" << comparisionCnt << endl; // Displaying the number of comparisions in Linear search dataOut << "No of comparisions in Linear Search :" << comparisionCnt << endl; comparisionCnt = 0; binarySearchlinearSearch(names, search, cnt, comparisionCnt); // Calling the BinarySearch function and Linear Search function cout << "No of comparisions in Binary Search :" << comparisionCnt << endl; dataOut << "No of comparisions in Binary Search :" << comparisionCnt << endl; dataOut.close(); } else { cout << search << " not found in the array" << endl; dataOut << search << " not found in the array" << endl; dataOut.close(); } } return 0; } int linearSearch(string names[], string search, int cnt, int& comparisionCnt) { // function definition for (int i = 0; i < cnt; i++) { if (names[i].compare(search) == 0) { return i; } comparisionCnt++; // Increment the comparision count } return -1; } void binarySearchlinearSearch(string names[], string search, int cnt, int& comparisionCnt) { // function definition // Declaring varibles int low = 0; int flag = 0, pos; int high = cnt - 1; while (high >= low) { int middle = (low + high) / 2; if (names[middle].compare(search) == 0) { flag = 1; pos = middle; break; } if (names[middle].compare(search) < 0) { low = middle + 1; comparisionCnt++; } if (names[middle].compare(search) > 0) { high = middle - 1; comparisionCnt++; } } } 
    submitted by /u/KYR_MOSES
    [link] [comments]

    [Success short story] Finally learning enough git to become dangerous in an professional environment!

    Posted: 03 Apr 2021 04:15 AM PDT

    Background: Working in a small company with highly skilled colleagues - I feel competent in programming stuff, but I lack many skills such as debugging network issues, git beyond "clone, add ., commit, push.", debugging issues related to programming environment (i.e. some library is missing). Time is quite precious for us, and any work I can do is worth quite a lot. (There is so much too learn and I am grateful for that opportunity!) So anyways...

    Yesterday I finally had a breakthrough that demystified much of git to me! These kinds of revelation-moment are usually the product of much time spend on learning something, but I still wanted to share the process of what I have done.


    What did I do?

    I wanted to learn what a rebase does.

    1. Create a new folder and create a new git repo.

    2. Create two files with some text in them: main.code and lib.code + commit them.

    3. Create two branches: "potionbrewing" and "rocketflying", in each do some modifications and commits.

    4. View the result with the tool "tig".

    5. Rebase one branch onto the other (with a tab open that tells me how to do it)

    That was is basically! I played around a bit more, with more branches, but that was mainly it. Not much, but it felt sooo good to finally understand what it going on.


    What was helpfull about this process?

    • Focus on git: I reduced the "coding" to a minimum. With each commit, I added/changed 1-2 lines. That way, I spent most of my time on learning git.

    • Get visual feedback with tig (gitk is another good alternative): Felt pretty satisfying and made sure that I did the right things.

    • Focus on one new thing at the time: In this case, on rebase.


    That's it, I hope I could inspire at least someone to also just get their hands dirty instead of reading tutorial #32 ;) Next up for me: Fast-forward, getting competent in merging scenarios (Also important: "how to provoke conflicts?" by merging, by checkouts, by popping stash, ...)

    Happy hacking!

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

    File Format?

    Posted: 03 Apr 2021 08:46 PM PDT

    Hello,

    I have an electronics assembly machine that uses a few files for storing part library info. I'm not familiar with the format and don't know where to start. I'd like to be able to manipulate them via excel or another way instead of having to use the machine's software. So far I've tried using Notepad++ to maybe change how the files are interpreted, but don't know what I'm doing. Here is a link to the files: https://github.com/Robproject/PnP-Files Any pointers are greatly appreciated!

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

    Do you think some people have a special talent for programming?

    Posted: 03 Apr 2021 10:42 AM PDT

    You probably know the kind of people who are obviously very good at programming, excel at it and seem to have an affinity for it. I think it's easy to identify these people especially in college.

    They always do their assignments perfectly and even learn extra. They have a lot of complex personal projects and don't have a problem understanding complicated source code.

    It's easy for me to notice this because I know I'm far from this ideal. I struggle to finish my college homework and most of the time I'm behind even though I study for hours every day, so it's pretty clear that I'm not even getting to the stage where I'm working anything extra. I often sit and listen to my peers the same age as me talking about programming and I always have the same thought in my mind "wow, how much stuff he knows. i've never even heard of this".

    What's the secret? How do these people manage to learn so much, to organize their time so well? It's clear they learn much faster than others. Is it talent or above-average intelligence?

    I know, you'll probably say that it's all about putting extra work. I totally agree, but what should I believe when I see that I study for long hours almost everyday and still can't get the same results? I'm at a point when I barely have free time.

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

    Degrees > Certs?

    Posted: 03 Apr 2021 08:23 PM PDT

    Okay, there are two pathways for my educational journey here.

    One, is to take English (I hate and suck at it) and college for 2 years before going into university

    Or two, go to college without having to learn english and then enter the workforce. (well i could go to university if im like the top 10% nationwide which is unlikely..)

    So I was thinking, if I chose option two and not get into a university, I could still get certs and get a job, right? And are degrees more valued by employers than certs?

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

    I was so blind and lazy the whole time

    Posted: 03 Apr 2021 06:24 AM PDT

    For a couple of years, I've been using Github only for my personal files. I recently started working on Python and found out that there are just hundreds of projects, exercises and simple projects. To be clear, I always knew that there are open projects on Github but never dig into them, nor I explored any of the projects. Maybe I was too afraid. It just seemed like everything that others were already working on was too complicated for me. That mindset is just wrong. Don't be afraid of analysing other projects or code. Comment on projects, report a bug or an issue, ask a question. It's really worth it! Don't be lazy like I do.

    TLDR: I've been using GitHub for years without seeing the whole potential of this platform.

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

    Should I be obsess with programming language or framework?

    Posted: 03 Apr 2021 08:19 PM PDT

    Should I be obsess with programming language or framework?

    Thank you

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

    Java SE vs JDK

    Posted: 03 Apr 2021 08:10 PM PDT

    What is the difference between Java SE and a JDK. Or is Java SE just another name for Oracle's JDK. Im new to Java

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

    No comments:

    Post a Comment