• Breaking News

    Wednesday, October 7, 2020

    I can't understand Docker learn programming

    I can't understand Docker learn programming


    I can't understand Docker

    Posted: 06 Oct 2020 07:28 PM PDT

    Hello!

    I just can't get the concept of it. Mind you, I'm a intern and actually uses containers, but I am unable to understand It. I tried YouTube, colleagues, Professors..

    If someone could help me and try to explain the basics of Docker containers like i'm five, i would really appreciate it.

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

    Where can i find people undertaking programming projects for fun in a casual environment?

    Posted: 06 Oct 2020 08:51 AM PDT

    Im familiar with basic programming concepts. I know a decent level of python and web programming fundamentals and i also know some of the basic concepts of deep learning. Im currently waiting to join at work after getting placed from college. I have stagnated as a result of staying at home for so long. So I want to find place where i can team up with random people and work with them, learn with them and undertake colloborative projects but in a casual environment. I miss the human connection with people of roughly my age which i had in college and today when i was playing an online game (League of legends) and i had a lot of fun duoing with a guy and i realised how cool it would be if i did that while learning programming. I also feel like there would be more accountability for me to actually take up and finish projects. So can you give me advice regarding this? Thanks :)

    tl;dr : Beginner wants to find people to learn programming and undertake projects with but in a casual environment. I want to find people who are my level or slightly more knowledgable than me.

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

    Tic Tac Toe in Python

    Posted: 06 Oct 2020 10:32 PM PDT

    My first game in python

    Tic Tac Toe

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

    How do I get started with Authentication and Authorization?

    Posted: 06 Oct 2020 12:27 PM PDT

    I am a beginner who is learning Web Development. I want to learn how to authenticate users in a web application. In the course I'm following, they do it using Bearer token. I was curious about other ways of doing it and found some names like API Key, OAuth, OpenID, SAML etc.

    I need some advice on what to learn and use in my professional and personal projects. I would like to know what is the "industry standard" or what authentication method would a professional web developer use as best practice. I would also love any link to resources that will help me learn.

    Thank you in advance.

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

    Could you recommend any active Discord programming channels?

    Posted: 07 Oct 2020 12:59 AM PDT

    Hi everyone,

    I was a member of a Discord programming channel but after a brief break, I came back and the place was death. Last post was from about two months ago. Would anyone know any active programming communities on Discord? I'm a web oriented learner, if that matters.

    Much appreciated.

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

    what coding should i learn for wordpress?

    Posted: 07 Oct 2020 01:30 AM PDT

    just a backstory, i was planning to try blogging for money then i learned i need to make a website first. was about to get a host and stuff then i learned you can practice with xampp offline. while playing around with the templates, i realized that someone coded them. so now, i was wondering if i can learn to code the templates i have been playing around with.

    i am almost 40 and was really interested in it when i was young but eventually chose a different course - economics. interested means wanting to learn it cuz i love playing games. aside from my economics background, i only have call center/telemarketing work experience so i don't know if that helps in anyway.

    i am always overwhelmed when thinking of trying a programming language thinking it might be useless eventually like how gadgets are in time. given, i am giving blogging a shot might as well learn some programming if possible. do you think it's doable? if so can someone please give me an idea about timeline, starting point and a reality check about the challenges i would be having. tia!

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

    What is your secret recipe to learn something new while working full time ?

    Posted: 06 Oct 2020 05:38 PM PDT

    I'm currently working as a full timer. But i don't have enough time or energy to learn or read about new things.

    What are you doing to get of it ?

    submitted by /u/Ahmad-Ibrahim
    [link] [comments]

    How are you supposed to manage the intense discomfort of learning something you're really struggling to understand?

    Posted: 07 Oct 2020 02:46 AM PDT

    It's not always the case but sometimes when I get a challenging programming concept then it's not just that it's difficult to learn, it makes me feel intense discomfort trying to push through and understand it.

    For some reason sometimes I just cannot conceptualise how something works or how it would be possible to solve a particular problem and it actually hurts my brain trying to think about it.

    This is something I've noticed more in programming than in anything else I ever tried to learn and I find it so off putting and quite stressful.

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

    Looking for a learning companions.

    Posted: 07 Oct 2020 02:04 AM PDT

    I have been been learning web development for the past few months, and I found it really fun and intuitive. But I was not happy about the fact that I couldn't talk to anyone about the programming stuff and the errors I have. It also took me a lot of time to build a proper good-looking page. So after thinking about it I decided that I need learning companions who I can talk with and program with. I am available on reddit, twitch, YouTube, discord, reddit and steam. Reply to this post if you have any questions or want to join me :)

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

    Building first app, need help with designing the database

    Posted: 07 Oct 2020 01:59 AM PDT

    Hey!

    I am building my first web-app (Telegram Bot for now, but probably I will make a proper app later) for couple budgeting. I use Python (aiogram) + sqlite3 for DB.

    I want the app to take an amount spent (from user's message, i.g. "250 cafe"), put it in the right category and then compare it to the daily/monthly limit budget with features like week/month/year statistics. Just like the common budgeting apps.

    However, I want to add a feature of budgeting for couples, where one user would invite the other to a "party" and then each one of them could add some joint expenses and see, who spent more and who owes whom.

    My SQL tables for now are:

    1. budget, two columns:
      - budget_id (INTEGER, PRIMARY KEY) — which would probably be the user_id;
      - daily_limit (INTEGER);
    2. categories, four columns:
      - category_id (INTEGER, PRIMARY KEY);
      - category_name (VARCHAR(255));
      - is_base_expense (BOOLEAN) — basic expenses like rent, mobile network, etc.
      - aliases (TEXT) — aliases so the user could just write "250 cafe" where 'cafe' is an alias for the category "eating_out" or something;
    3. expense, five columns:
      - expense_id (INTEGER, PRIMARY KEY);
      - amount (INTEGER);
      - created (DATETIME);
      - category_id (INTEGER, FOREIGN KEY) — I haven't decided yet on what should I use here: id or some kind of a code name;
      - raw_text (TEXT) — for user's raw message.

    This is a database I have come up with for basic budgeting FOR ONE. What if I want my app to work with multiple users? Should I make a separate database for each user or can I just use one?
    For example, I can add a table "users" with user_id so that the table "expenses" would have another foreign key for user_id. But doesn't it make my table confusing?
    And what do you think about budget for couples? How can I design a table for that? And should I? It would basically be another instance of an expense table.

    Thanks for reading till the end.

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

    Hello. I got a few questions about x86 and embedded Assebmly

    Posted: 07 Oct 2020 01:21 AM PDT

    1. What tools do I need to learn x86 Assembly on Windows or Linux?
    2. Which are the best (if that even makes sense)?
    3. What's being used in the industry?
    4. What assemblers do you recommend for Atmel or ARM chips?
    submitted by /u/AstroDude01
    [link] [comments]

    Did CS50 and CS50x, now doing a React Course. Should I dive into building apps with React + Django, or should I move onto learning Node and Express and getting the whole MERN stack under my belt first?

    Posted: 06 Oct 2020 09:14 PM PDT

    I've spent a lot of quarantine learning how to program in my free time and have made quite a bit of headway with CS50 and CS50x. Those courses taught me a good bit of python and django, and I can build applications on that stack (about at the level where I can clone instagram). Now I'm halfway through Stephen Grider's Udemy React course (which is awesome by the way) and have some ideas in mind for personal projects I now feel like I can start making. With some quick googling, I can see that it's possible to use React + Django, but I'm wondering if it's worth tackling. I'm eager to get to working on some more projects, but don't waste time learning the intricacies of using React with Django if they aren't meant for each other and no one uses them together in the real world.

    Am I completely off base with thinking that they are not really compatible frameworks? Should I just go for it? Would love to hear what you guys think.

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

    How can I make this hideous python function more readable?

    Posted: 06 Oct 2020 12:03 PM PDT

    The function below is giving me a headache. The function probably won't make sense to you and that is okay because it is taken out of context. I am looking to make this function more readable, moreso, the if/else structure and try except make it mind boggling to read over. Also seems to be a lot of code repetition. Please help I've been trying for hours and this is the best result I have thus far.

     def handle_request(self): try: while True: ext_ID = self.conn.recv(2) if ext_ID: _id = int.from_bytes(ext_ID, byteorder='little', signed=False) print('\nReceived message id: ' + str(_id)) if _id == self.EXIT_MSG_ID: self.remove_client(self.get_clients()) break else: ext_length = self.conn.recv(4) if ext_length: _length = int.from_bytes(ext_length, byteorder='little', signed=False) print('Received message length: ' + str(_length)) ext_payload = self.conn.recv(_length) if ext_payload: print('Received message payload: ' + str(ext_payload)) self.send_to_external(ext_ID, ext_length, ext_payload) self.get_payload(_id, ext_payload) else: self.remove_client(self.get_clients()) break else: self.remove_client(self.get_clients()) break else: self.remove_client(self.get_clients()) break except Exception as e: print(f'Error: {e}') self.remove_client(self.get_clients()) 
    submitted by /u/codingquestionss
    [link] [comments]

    Youtube educational creators

    Posted: 07 Oct 2020 12:15 AM PDT

    What youtubers do you guys watch who make content in programming and coding genre? Not crash courses and stuff. Interesting videos and kind of fun to watch.

    submitted by /u/Open-Cause3272
    [link] [comments]

    What does this code mean?

    Posted: 06 Oct 2020 11:30 AM PDT

    I am new to coding and am working with html and css.

    Specifically I am working on landing page for FCC...

    In the example code I noticed this in the css section on codepen...

    .logo > img {

    Width: 100% Height:100% } Etc.

    What does the > mean. Like I get .logo is the class but I don't know what > img or > means?

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

    Should I Continue with Java?

    Posted: 06 Oct 2020 04:19 PM PDT

    So I'm currently learning Java in my computer science class and while I'm fine with the language and things we've learned so far, I really want to go ahead and do some learning independently. I would love to stick with Java but I have been able to find any resources that I'm happy with and wondering if I should go with Python or JavaScript while continuing learning Java at school?

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

    How does Sync for Reddit access Redgifs mp4/webm video direct urls?

    Posted: 06 Oct 2020 11:06 PM PDT

    The prefix is never the same for different videos. Sometimes it's thumbs1.redgifs, sometimes it's thcf1, thcf2, 3..., 9.

    I've checked all the values that the JSON returns for redgifs and none of them have a direct url to the video. Before with gfycat all you had to do was add -mobile.mp4 to the end of the link. How does Sync do it?

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

    Android or Flutter for Chest X-Ray Diagnosis App ?

    Posted: 07 Oct 2020 02:45 AM PDT

    My idea is still hazy right now but I want for my graduation project that deals with Chest X-Ray diagnosis in deep learning, to implement an app that takes a picture and returns the diagnosis but based on different architectures implemented ( ResNet-50, DENSE-121...). I want to use Flutter since it will have both iOS and Android versions but, complexity wise, what will be more suitable to use to implement my app, android or Flutter ?

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

    Having a roadblock in learning JavaScript, where do I start again?

    Posted: 06 Oct 2020 08:13 PM PDT

    I was taking a udemy course for a couple of weeks and got through half it it but then I realized I wasn't 100% understanding most of the stuff when I looked back at the code... last week I barely studied and now feel like I don't know shit. I feel like I need to backpedal to the beginnings but don't know how I feel about starting from the beginning of the course...

    I tried some other resources like freecodecamp which worked great for me for HTML & CSS but for for js. I'd really like to be a front end web dev (and I still plan to learn back end) but I just don't know anymore. I'm having trouble seeing how I'd implement some of these things I've learned so far in a real world app.

    I think ima sleep on it tonight as I'm going to bed and try again tomorrow..

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

    How would you go about programming a function that returns a string of self similar fractal like ascii art

    Posted: 06 Oct 2020 10:10 PM PDT

    I'm trying just for fun to write a function in python that takes an integer and returns a string which is a fractal ascii art based on that integer (below are examples for the first 4 integers) but I'm not sure how to even get started on this. I think I would have to use recursion but I'm not sure how you would go about editing the middle of a string like that. Like I said I was trying to do it in python but I am more interested on the logic of how it would be done so I guess my question isn't really language specific.

    n=1 x n=2 x x x x x n=3 x x x x x x x x x x x x x x x x x x x x x x x x x n=4 x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x 
    submitted by /u/Traveleravi
    [link] [comments]

    Completely new to coding - how hard, on a scale of 1-10, would you say the app I want to build is?

    Posted: 06 Oct 2020 07:34 PM PDT

    So essentially I want to make an app that calculates averages of players scores in a game.

    I currently use a spreadsheet which asks how many player's scores will be calculated. Next it then generates the amount of rows for each player. In those rows the player's score needs to be filled in. Their name can also be filled in. Once this happens the average of all the players is calculated and displayed.

    As an excel spreadsheet this is very very simple. But my question is, how hard would you say it would be for someone without any programming or coding knowledge at all to turn this concept into a basic but workable app which can be placed on the App Store?

    Feel free to throw in any advice you might have about the best way to approach this project because I am as green as mint.

    Cheers team!

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

    Question: How do I debug an MVC app I don't code myself (I have the code)

    Posted: 07 Oct 2020 01:28 AM PDT

    Hello,

    so, the scenario is the following:

    we inherited an application from another company and is acting up, the code is ASP.NET MVC.

    I can see the issue that is happening in the front end and I can replicate it. but I don't know where in the code this translates to put a breakpoint and start debugging, the application is quite big and as I'm not familiar with it I don't know where to search. is a form that is not filling the information.

    how should I proceed?

    here is a screenshot of the vs solution if it helps.

    edit: removed the screenshot because of rules :)

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

    How do websites convert their website into iOS or android apps?

    Posted: 06 Oct 2020 09:31 PM PDT

    What does this process look like? How difficult is it and what programming languages do iOS/Android teams usually use?

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

    Can I get a high paid job with an engineering degree?

    Posted: 07 Oct 2020 01:03 AM PDT

    I have no idea if this is the right sub, if it is not, please suggest me the right sub.

    I will get a degree in Computer Science applied in Engineering. What I want to know is if I could work as a programmer, not an engineer, at an important programming job such as Google or Facebook who require a CS degree.

    PS: google and Facebook are just some examples, I was referring to the kind of jobs that are unavailable to someone without a degree at all.

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

    No comments:

    Post a Comment