• Breaking News

    Friday, April 6, 2018

    Worth a shot learn programming

    Worth a shot learn programming


    Worth a shot

    Posted: 05 Apr 2018 08:35 PM PDT

    I was browsing r/learnprogramming maybe sometime last week and came across a thread or or maybe it was a reply to another thread. It was about a man I believe he was around 44 or so studied computer science on his own via all free courses and got a job at Amazon after being declined by Google. He posted his full journey all online but I can't seem to find his blog.

    And if I remember correctly he even has all his course listed out on hit Github as well - just don't recall the guy's name :(

    Anyone know who I'm talking about?

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

    Practice your Unix skills with this Raspberry Pi project building a YouTube playlist filestore

    Posted: 05 Apr 2018 09:44 PM PDT

    Here's a comprehensive guide for setting up a headless raspberry pi that stores a daily updated database of your favorite youtube playlist (including your favorites ;)

    You'll set up a cron job that invokes youtube-dl through a shell script.

    https://hackernoon.com/backup-up-your-youtube-playlists-with-a-raspberry-pi-hdd-7aa332b2c5a6

    submitted by /u/bitcoin-dude
    [link] [comments]

    I created a vanilla js rich text editor, and it is extremely small (2kb)!

    Posted: 05 Apr 2018 04:46 AM PDT

    I have been teaching myself programming for a while now and yesterday I created this. It is my favorite project up to date and I would like to share it with you. I think that this is a big step for me in becoming a web developer. Here is the link: https://jedit.herokuapp.com/

    EDIT 1: I have found a bug, on click event is not triggering on a touch screen devices, will update it quickly.

    EDIT 2: I added on touch event, but it looks like that document.execCommand is not implemented very well on android, and some older browsers. I think that I have found a solution. I will update if I find a fix.

    EDIT 3: Fixed a bug with ul and li, it was an css bug, so i just added a maring, and now lists are shown

    EDIT 4: Fixed another bug when image is displayed as broken, and links as null

    EDIT 5: I have added keyboard shortcuts, ctr + b for bold, ctr + i for italic, and ctrl + u for underline

    EDIT 6: I have fixed the visual issue with the lists buttons. All changes are live now

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

    best way for child to learn to program?

    Posted: 05 Apr 2018 08:54 PM PDT

    so my nephew is 8 years old and he's very curious about how things work, and he already got some "programming" games in my brother's ipad, but i want to buy him like a toy or kind of robot, or something like that, for him to play and learn coding. not an app, or a software, i really want something physical so he can also interact. thank you!

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

    How long did it take you to learn web development?

    Posted: 05 Apr 2018 10:38 PM PDT

    I'd like to be able to make an income from building websites by September, so I was curious, how long did it take you guys to get proficient enough in html/CSS/JavaScript that you could get paid for it, and how long did you spend every day on leaning it?

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

    [Bin Packing problem]. I think my prof is trolling me

    Posted: 05 Apr 2018 10:58 PM PDT

    The question is "Prove that Best Fit is not necessarily better than First Fit, i.e., provide a sequence of items for which the number of bins opened by Best Fit is more than that of First Fit"

    Is there a trick to solving this?I tried different combinations and came to the conclusion that finding the answer brute force would take thousands of years. What am I missing here?

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

    Resources for learning testing frameworks?

    Posted: 05 Apr 2018 09:39 PM PDT

    I've been having terrible luck trying to find a development position over the past year. Mostly due to lack of knowledge of enterprise technologies, no internships during college (I thought my tutoring role{1.5 years} would be sufficient--it was fullstack WordPress, plus a bunch of digital tools), and do not believe I can get a security clearance(nor do I want one, frankly), so I'm starting to broaden my search to include testing roles in hopes of finding an entry level position.

    What resources would you recommend for learning a few different testing frameworks? (Jira, Arquillian, JUnit, Selenium, for example, but I'm not limiting myself to Java)

    I'm starting to think I wasted a lot of time and money on my degree, and don't want to be too far out of school for companies to consider hiring me, so I'd really like to find something involving development, rather than resorting to IT help desk positions.

    Thanks in advance.

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

    Best programming books to recommend that aren't educational (i.e. manuals, guides....)

    Posted: 05 Apr 2018 12:49 PM PDT

    Don't know if I'm clear on the title (not a native english speaker) but I'm referring to programming books that aren't purely educational (like "Learn Javascript Design Patterns") but that are somehow related. I'm talking about non-fiction books about the tech industry, titles that show you the mindset of a programmer...

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

    Which IDE do you guys prefer for java?

    Posted: 05 Apr 2018 08:46 PM PDT

    I'm just starting to learn java (via online course) and was wondering if you guys had a recommendation for an IDE? (I've heard good things about Intellij and Eclipse).

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

    Kotlin App: Inspiration Needed

    Posted: 05 Apr 2018 09:31 PM PDT

    I am looking for inspiration for a final cs project that I need to make.

    Requirements: - must use a new programming language - must be a non trivial project (Sophomore in college)

    My idea is to use Kotlin and make an Android app, but I would really like to incorporate my raspberry pi into my project as well. Possibly control something on my raspberry pi through the app?? I want it to be something practical that could actually serve some purpose. Those are my current thoughts... help me find some inspiration please/thanks.

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

    Learning java - sorting arrays. I am trying to practice how to sort an array. At what point do I "cheat?"

    Posted: 05 Apr 2018 06:17 PM PDT

    First time taking java class. Completely new to programming.

    I'm trying to learn how to sort an array in java. I didn't want to just follow a tutorial and wanted to learn it myself. I have been stuck and been doing it through eclipse the whole time.

    When do I look up the answer?

    Is my approach wrong? Should I be doing it on paper?

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

    Why use AngularJS?

    Posted: 05 Apr 2018 02:42 PM PDT

    I'm asking a lot but... like what is a simple example case where you're trying to do this thing and it would suck to do but da da-da-da AngularJS saves the day?

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

    Resources for coders to learn a new language?

    Posted: 05 Apr 2018 04:52 PM PDT

    Hi, I'm interested in picking up some new languages, specifically Python, and was wondering what type of resources are available for someone who already has previous coding experience. I have used C++ throughout my undergraduate career and have a strong foundation in programming, so I was hoping to find some resources that are a little faster paced than the intro codeacademy courses. Thanks in advance!

    submitted by /u/1L2Ts
    [link] [comments]

    How to start journey to becoming a full-stack developer?

    Posted: 05 Apr 2018 10:32 PM PDT

    Hello, I am currently interested in becoming a full-stack developer, but I am not sure where I should start. I have read some reddit posts about starting with java then learning javascript. I have learned to code in python, C++, and assembly language, so I figured I can skip on java and head to javascript. If anyone has any advice or certain resources I should check out, it will be greatly appreciated!

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

    Teaching how to make Balloon World with unity. With all the networking stuff out of the way, I can focus on the game.

    Posted: 05 Apr 2018 06:39 PM PDT

    Many MANY game engines to ease programming and motivate learning.

    Posted: 05 Apr 2018 03:43 PM PDT

    Some people like myself need a goal or quick pretty results way more than good resources or even a good language. For those people I suggest easy scripting languages for video game engines and video games that teach some coding too. Game engines with easy programming. Some of the specific entries in the main list are not super great.

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

    Validating data from JWT

    Posted: 05 Apr 2018 11:47 PM PDT

    I write a small API to brush up my skills. Everything's been going fine, I wrote some tests to check if flow is correct and I wanted do rewrite some endopints to use JWT, but I don't know what's appropriate solution.

    The Situation:

    endpoint will be called /endpoint/

    As a user I POST data on /endpoint/ and if it is valid, I get a response with resource_id. I saved this user as one of the people who can modify this resource (doesn't matter how others can obtain access to it).

    When I want to make changes to said resource, I have to provide resource_id AND username in PATCH. Then I have to do some validation. Everything works fine.

    BUT

    I thought about using JWT token which would encode username and resource_id. This token would be passed in headers. Data in token is not top secret, but it shouldn't be modified.

    The Problem:

    How much validation should I do to data decoded from token? Can I assume that everything passed in token decoded with environment secret key is correct? It would make my validation smaller (e.g. I know that username and resource_id match).

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

    Best NoSQL Database?

    Posted: 05 Apr 2018 11:32 PM PDT

    For a schoolproject my team and I thought of using a NoSQL Database because our teachers like it if we try out new things and we this is our final project. I just wanted to ask what a good service would be to use if we have a server and we wanted to save data in a customer based system.

    We basically plan on making a service where customers can buy services and we offer a platform for the providers of the services to reach the customer.

    Thanks for your help!

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

    A new simple project !

    Posted: 05 Apr 2018 03:14 AM PDT

    I am learning phyton for a week and I'm enjoying very much. I would like to know if you know some small and very easy projects, for me to practice. Sorry for bothering and I would be very happy if you could help me. I am new at this community so sorry if I made any mistake.

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

    Trouble with pingpong simulation using signals (C language)

    Posted: 05 Apr 2018 10:56 PM PDT

    I have 3 programs that communicate via signals to simulate a ping pong game.

    Whenever ping receives SIGUSR1 from pong, it sends SIGUSR2 to pingpong, waits for a SIGUSR2 from pingpong, and then sends a SIGUSR1 to pong.

    Whenever pong receives SIGUSR1 from ping, it sends SIGUSR2 to pingpong, waits for a SIGUSR2 from pingpong, and then sends a SIGUSR1 to ping.

    Whenever pingpong receives a SIGUSR2, it prints "Ping" if the signal was from ping and "Pong" if it was from pong, then sends a SIGUSR2 back.

    Here's my code:

    ping

    pong

    pingpong

    Run them in the order listed.

    The problem:

    pingpong suddenly terminates, usually at the point where it should print its first "Pong". The console says "user defined signal 2" or something like when it terminates the process.

    Please help.

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

    My time_t string is printing twice and I don't know why, please help!

    Posted: 05 Apr 2018 09:58 PM PDT

    Codeacademy Pro and Pro Intensive worth it?

    Posted: 05 Apr 2018 01:08 PM PDT

    @20bucks/month, Pro doesn't seem terrible. Anyone here try it?

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

    How does Google Hangouts work?

    Posted: 05 Apr 2018 09:49 PM PDT

    Hello,

    Really interested in web based conferencing and conference calls in general. Curious how do apps like Hangouts and Uberconference work? Do they use the Web Based MediaStream API? How are they able to record meetings?

    Thanks for your help

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

    should I study the basics of ML, blockchain and go back to front-end so I can later if needed roll into these hot fields?

    Posted: 05 Apr 2018 09:48 PM PDT

    I have bachelor in comp sci.Because it's easier to get a job in web dev - I want to study it first. But ML and blockchain are very hot & promising. So I want to study the basics of those, make some github basic projects, so any time in the future, I can show those and be junior, employable job-ready?

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

    '{': no matching token found

    Posted: 05 Apr 2018 09:08 PM PDT

    Guys, I've literally been having trouble with this for the last two hours, I have identified the problem but I just dont know where abouts, I know there is a brace out of place, but I just can't see where!!!

    If anyone could help me out I will very very much appreciate it.

    Here is the part of code where the problem is:

    string generateWord() {

    string line; string word; string definition; int count = 0; int randomLine; ifstream in_file; in_file.open("1500 most common noun text file.txt"); if (in_file.fail()) { cout << "File open failed" << endl; } // Check for failure after opening else { cout << "File opened successfully" << endl; while (getline(in_file, line)) { count++; } cout << "The file contains " << count << "1500 words.\n"; int randomLine = rand() % (count - 1) + 1; cout << "The line we are looking for is " << randomLine << "\n"; //resetting file to the start in_file.clear(); in_file.seekg(0, ios::beg); // reading for the specified number of random lines -1 for (int i = 0; i < (randomLine - 1); i++) { getline(in_file, line); } in_file >> word >> randomLine >> definition; cout << left << setfill(' ') << word << " " << right << setfill('0') << setw(02) << line << " " << left << setfill(' ') << definition << endl; } //acceptGuess() int main() ; { return 0; 

    }

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

    No comments:

    Post a Comment