• Breaking News

    Monday, June 29, 2020

    What software and language should I learn to create a mobile app? learn programming

    What software and language should I learn to create a mobile app? learn programming


    What software and language should I learn to create a mobile app?

    Posted: 28 Jun 2020 10:28 PM PDT

    I only have basic knowlegde about computer programming. Can anyone recommend any software I can use for front/Back-end development to create mobile apps? What computer language I have to learn?

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

    If web apps should be "mobile first", doesnt that mean media queries should be written for desktops and not the other way around?

    Posted: 28 Jun 2020 10:02 PM PDT

    I understand mobile first as "all your core CSS is for a 360px wide phones, every other screen including desktops is in a media query" but I never see something like that. Have I understood this concept wrong?

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

    Too old for new career?

    Posted: 28 Jun 2020 12:09 PM PDT

    I'm 34, and while I understand I'm not too old to learn, am I too old to start learning now and hope to switch careers? I'm aware at this point people have been learning this since children and trying to be realistic to please be mildly harsh if necessary. I work in customer service currently, have a nearly worthless BFA and have always been interested in coding but have never learned besides very basic HTML

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

    [Code review] Snake Game made in Python

    Posted: 28 Jun 2020 06:28 PM PDT

    Github

    I made a snake game in Python using the Pygame module. Any feedback is appreciated.

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

    Graduating with a CS degree in a year, still not sure whether to be a programmer

    Posted: 28 Jun 2020 11:13 PM PDT

    This dilemma surfaced when I spent last summer interning in an IT financial service company as a back-end programmer. It honestly boils down to extending existing interfaces to work with more and more of their client's APIs and a crap ton of bug-fixing and MR reviews. They didn't express urgency on my work but I always feel bad when the lead dev stresses urgency on releasing x or y within the month. The commuting was awful since I could only afford 30-40 minute public transport, work and back. This was in a relatively small company (dev team of about 10 people), but they've since got a huge shareholder to stake in earlier this year and has almost doubled in size, so I'm not sure it's "corporate sickness" since they had a pretty laid back environment.

    I really like (not love) programming, especially when I actually know what I want to make, and I could spend a whole day not doing anything but working on my project. But considering I'm not interested in making a startup, and junior cs positions is basically 5 years of what I experienced, I'm not really sure I want to dive into this field anymore :(

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

    Share me some good beginner friendly DS and algos resources.

    Posted: 28 Jun 2020 08:32 PM PDT

    Hey guys,

    Need ur help here.I am looking for a frontend remote job right now.But i got rejected in the DS and Algorithm round.Since i am not from CS background i am not aware of this kind of round.

    I am freaked out when they asked me to traverse a tree, remove repetition in an array and a graph related question which i never understood.

    First of all i am thinking y do they ask these questions for a frontend dev role (React.js)

    Help me with this situation.

    Where should i start learning DS and algos ?

    Language i know -> JS

    submitted by /u/Michael-susey
    [link] [comments]

    Better methods for checking remainder of each loop iteration?

    Posted: 28 Jun 2020 10:18 PM PDT

    Take this for loop, we want to do something every 10 iterations of the loop:

    int n = 10; for(int i=0; i<BIG_NUMBER; i++) { if(i%n==0) //do something //rest of loop } 

    however the remainder operation takes a substantial amount of time, just this check doubles the time on one of my loops, so when I need to do a lot of iterations it adds up. I figured something like this would increase the speed:

    int n = 10, i_rem_n = 0; for(int i = 0; i < BIG_NUM; i++) { if(i_rem_n == n) { i_rem_n = 0; //do thing } i_rem_n++; //rest of loop } 

    turns out it increases the speed by 50%. Is there a better way to do this?

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

    Becoming Employable

    Posted: 29 Jun 2020 01:37 AM PDT

    Hello people. I have been taking programming seriously these past few months. My progress has been quite smooth. I am always working on a project. I was wondering if I should just pick up a bunch of frameworks/common languages in order to become more employable. Right now I am working on writing an HTTP server in C. This project isn't too easy for me, considering a month and a half ago I only knew JavaScript and Python. While this project is quite fun and challenging, I have been wondering if I should just learn a bunch of easier technologies/languages. When I have applied to places I notice that all the skills I have aren't really needed.

    Should I just put learning C on hold and learn more common/easier things such as: Node.js, Express, PHP, Laravel, random JS frameworks, etc

    I feel like if I do some projects using these more in demand technologies, I might have better internship results.

    submitted by /u/Material-Cockroach-8
    [link] [comments]

    initializing to 0 in C

    Posted: 29 Jun 2020 01:26 AM PDT

    When i allocate memory for a pointer like this " n= (int*) malloc(len * sizeof(int))" are all the addresses initialized to 0 already? if not how do i initialize them to 0?

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

    CMS for Web Customers, best options.

    Posted: 29 Jun 2020 12:57 AM PDT

    Hi all,

    Up until a few days ago I was enjoying tutorial videos showing VS Code workflow, Live Server, HTML, CSS, Javascript, Netlify for deployment. But when you step out looking for clients you realise all clients are different and maybe some clients already have or want a Wordpress site because of the CMS. Is it worth it keeping Wordpress skills up-to-date, knowing how to customize themes and so forth?

    I now have a potential client that wants a simple courier site with a contact form. Nothing fancy or super dynamic. Would you create this site in Wordpress and offer it through a CMS to a non tech-savvy client? If you would not create it in Wordpress, would you build it separately in for example VS Code using PHP and then upload it to a hosting server? Should a freelancer or a CS Student looking for full stack projects have Wordpress in his/her arsenal?

    The whole Wordpress concept clients can also modify the content to some extent (if you show them). So a few Wordpress questions:

    1. Should I not close my eyes for Wordpress as an alternative, make sure I am up to date with how I can deploy a Wordpress site easily and have that as an option for customers? Is it enough with any FTP to deploy a Wordpress site or do you need a special host? Will contact forms using PHP and everything work?
    2. Do you customise Wordpress themes at all?
    3. Plugins in Wordpress: Do you use them for your clients/projects, which are you go to plugins?
    4. Best way to use Wordpress, is it to find good themes and then customize them in Wordpress or does anyone have a suggest optimal workflow?
    5. Is anyone also using "Headless CMS" and is it even worth looking it?

    I would personally love to stay away from Wordpress, be able to only work in VSCode, have a little CMS system/setup of my own for my websites or use some framework for that.

    Can someone please suggest what software, systems and work flow would be best to satisfy the needs of smaller-new-clients that want a CMS and also how to go more advanced making better sites than just Wordpress would?

    What is the alternative? Is there a way to develop a website/web app using VSCode and then add a plugin or framework to give them a CMS for it? I have tried to read about Grav CMS and a few others but I can't seem to understand if you can actually implement them with your own standard projects.

    submitted by /u/cshark-dev
    [link] [comments]

    Documenting my learning?

    Posted: 29 Jun 2020 12:44 AM PDT

    Hey guys,

    So recently I started CS50 and the Odin Project and was wondering how you guys go about documenting your learning?

    Coming from a Science background, I've been taking notes on Microsoft Word and I am curious as to other approaches you guys may be using in order to record what you're learning.

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

    When do you really start to get the hang of programming?

    Posted: 28 Jun 2020 08:30 PM PDT

    I'm a complete beginner who's been learning python for a week now since that's what I found to be recommended for someone who doesn't know specifically what they wanna do. I'm interested in AI and machine learning and i'm still looking into it and reading up about it. I don't have a very deep understanding of coding yet since i'm still new but I feel like i'm learning fairly quickly and can apply what I learn to program basic things. How long does it usually take to really get the hang of programming? Is there a general timeline that attempts at displaying the level of skill people have after certain periods of time?

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

    Is there a multi-hour github tutorial that covers most git commands on YouTube?

    Posted: 28 Jun 2020 11:38 PM PDT

    I have a working understanding of git and github, and in the past I've watched many "learn git in 5/10/15/30 minutes" tutorials, and learn GitHub in some X time where X is less than an hour.

    I don't have an advanced understanding of what things are like cherry picking, or detached heads, or what -am does instead of -m, and I'd like to get more info on resolving pull conflicts.

    Any recommendations for a GitHub tutorial that is thorough instead of rapid?

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

    caption doesnt move

    Posted: 28 Jun 2020 11:18 PM PDT

    #include <stdio.h>
    #include <windows.h>
    int main()
    {
    COORD position; // Объявление необходимой структуры
    HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
    int chislo = 10;
    position.X = 12; // Установка координаты X
    position.Y = 150; // Установка координаты Y
    SetConsoleCursorPosition(hConsole, position);
    puts("Hello World!");
    position.X - chislo;
    position.Y - chislo;
    Sleep(5000);
    }

    Why is it? How am i can update the console?

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

    Has Discrete Math or Statistics helped you in your CS career?

    Posted: 28 Jun 2020 01:28 PM PDT

    Please tell me if and how Discrete Mathematics or statistics has helped you in the field of CS?

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

    How do you type a chater in c#

    Posted: 29 Jun 2020 01:40 AM PDT

    Im trying to make a c# console app that types some charters on the keyboard,

    eg: type hi then press enter

    If anyone could help then that would be very helpful

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

    REST API Architecture Gaining Popularity in the Digital Industry?

    Posted: 29 Jun 2020 01:40 AM PDT

    REST API Architecture is easier to use for the major important part, is more adaptable and has the following edge when compared to SOAP. Read More

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

    JetBrains academy free 6 month offer

    Posted: 28 Jun 2020 07:31 PM PDT

    I found this offer in the official web site https://www.jetbrains.com/academy/ , no card or info asked, only email and a password and I think the projects are really good. Go and give it a look ! :D

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

    How to use Github?

    Posted: 28 Jun 2020 07:34 AM PDT

    Hey guys. My name is Pavan and I am 13 years old. I recently asked a question and got several answers within a night. So can you guys tell me some video or course to help me learn how to operate GitHub and host websites?

    Thank you,

    -S.Pavan

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

    What are some best places and ways to learn DS & ALGO..

    Posted: 29 Jun 2020 12:33 AM PDT

    I'm a cs grad tryna brush up my coding skills, so to do that efficiently, DS & ALGO are necessary like head n heart for a person. I have neither practical knowledge nor in-depth theoretical knowledge about DS n ALGO, but I must master those (DS, ALGO), also have no idea HOW? So here am i, looking forward for your suggestions of kindness n love. Thanks.

    Tldr: Asking sources (both books and online courses), methods(like how you did it, from XP.) on How to master Data Structures & Algorithms.

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

    How would you apply the BEM methodology to this HTML?

    Posted: 28 Jun 2020 08:30 PM PDT

    I applied BEM to my HTML, but it ended up looking very messy. Can my HTML be improved?

    My base html:https://jsfiddle.net/1xnhbj7g/1/

    My implementation of bem: https://jsfiddle.net/um9pfjr7/

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

    Managing state in JavaScript

    Posted: 29 Jun 2020 12:03 AM PDT

    I'm writing an app for drawing on the HTML canvas. I have several different tools that you can use to draw onto the canvas. These tools are available for selection from a sidebar. The tools have names like "brush", "rectangle", "circle", etc. Only one of these tools can be selected at a time. I have associated radio buttons with the tools so I know which tool is selected.

    Each tool has a "start", "draw", and "finish" function. I then have a main set of "start", "draw", and "finish" functions that check which tool is selected. These functions are then called in the "mousedown", "mousemove", and "mouseup" event listeners respectively. The following is simplified version of my current code for the sake of brevity.

    function startBrush(event) { // brush code } function startRectangle(event) { // rect code } function startCircle(event) { // brush code } function drawBrush(event) { // brush code } function drawRectangle(event) { // rect code } function drawCircle(event) { // brush code } function finishBrush(event) { // brush code } function finishRectangle(event) { // rect code } function finishCircle(event) { // brush code } function start(event) { if (brushRadio.checked) { startBrush(event); } else if (rectRadio.checked) { startRectangle(event); } else if (circleRadio.checked) { startCircle(event); } } function draw(event) { if (brushRadio.checked) { drawBrush(event); } else if (rectRadio.checked) { drawRectangle(event); } else if (circleRadio.checked) { drawCircle(event); } } function finish(event) { if (brushRadio.checked) { finishBrush(event); } else if (rectRadio.checked) { finishRectangle(event); } else if (circleRadio.checked) { finishCircle(event); } } canvas.addEventListener('mousedown', start); canvas.addEventListener('mousemove', draw); canvas.addEventListener('mouseup', finish); 

    This code feels REALLY poorly written. I have 7 or 8 tools now, and the if statements keep growing. There has got to be a much better way to manage this, but I can't think of significantly better solutions. My best alternative solution is to create variables for "start", "draw", and "finish" and then assign each tool's specific start/draw/finish functions to those variables when the corresponding radio button is clicked. However, this just seems to delegate the role of the if statements to radio button "onclick" event listeners. I believe this will be even more verbose. Any help in working out a better organization strategy will be appreciated. Thanks.

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

    Beginner's Advanced Guide to Building an App II – Your First Prototype

    Posted: 28 Jun 2020 12:36 AM PDT

    Guys, I was blown away by the reception to Part 1 three weeks ago 😭

    As promised, here is part two.

    Beginner's advanced guide to building an app II - Your first prototype

    For the absolute beginners, I wrote a second article that helps you setup your development environment before you get started on Part II. Basically, I give an overview of what frameworks and libraries are, your file structure, and what version control is.

    Beginner's guide to starting a software project

    Please feel free to leave feedback (positive or negative)!! If you're a medium user, please leave a comment on the article if you liked it 😁

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

    Python : Adding items to dictionary using 'for' loop.

    Posted: 28 Jun 2020 11:40 PM PDT

    Hello all,

    I'm trying to store data in dictionary but due to some error it's storing only last items.

    What I'm to do?

    I want to store the Menu ( NAME, DESCRIPTION, PRICE ) from https://www.doordash.com/store/577215

    My code:

     NAME = 'NAME' DESCRIPTION ='DESCRIPTION' PRICE = 'PRICE' Menu = {} menuname = self.driver.find_elements_by_class_name("gImhEG") for a in menuname: print(a.text) Menu[NAME] = a.text menudescript = self.driver.find_elements_by_class_name("huydyu") for b in menudescript: print(b.text) Menu[DESCRIPTION] = b.text menuprice = self.driver.find_elements_by_class_name("hpbvJT") for c in menuprice: print(c.text) Menu[PRICE]= c.text 

    On doing print (Menu) I'm getting only one line (last) . How to store all of these values?

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

    No comments:

    Post a Comment