• Breaking News

    Friday, November 27, 2020

    How difficult is it to make money with programming by yourself? learn programming

    How difficult is it to make money with programming by yourself? learn programming


    How difficult is it to make money with programming by yourself?

    Posted: 26 Nov 2020 07:33 AM PST

    When I say "by yourself" I mean creating some sort of project,site, app or automation that generates money.

    If you have some experience, weather positive or negative, then please share.

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

    I quit the bootcamp and got a full refund.

    Posted: 26 Nov 2020 09:23 PM PST

    Programmers are not teachers. Just because you're an expert at something doesn't mean you can teach. People think about teaching as low resolution with a simple mind. What do you think teachers do for four years at university to become qualified?

    These boot camps don't understand the first thing about comprehensible input or scaffolding and they don't use assessments properly and then they blame the students as not having enough intrinsic motivation or grit to succeed

    So I had meeting with the director with my contract and provided evidence of their failing and they refunded my tuition 2 days later.

    I quit my job and moved to a new city to attend this camp but quitting was the right move. Now I'm in a tough situation without income and fighting for my mental health by exercising a lot.

    Eric Matthes books are so popular because that guy is a teacher first and programmer second. He is the kind of teacher I want. Is there a way I can learn from teacher? I want to learn front end by the way.

    I don't think I can be self taught though. I do need someone to teach me in a way that I can understand instead of just telling me what I need to learn. Anybody can say, learn React and that will get you a job. So I spent 9 months with online courses too and I can't transfer that knowledge into working projects.

    Sorry this post is not flowing right. I'm depressed.

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

    Can I call myself a programmer yet? Feeling proud I just released my first project

    Posted: 26 Nov 2020 03:02 PM PST

    Covid's been a shit year, and I haven't accomplished much, but I have done one thing I'm really proud of, and that is learn basic python, enough to make my own webapp.

    I've also been trying to follow some of the state-of-the-art stuff happening in AI language generation, and got lucky enough to get into the beta for GPT-3.

    I knew I had to try to make something with it, and so I made GiftGenius.ai, a gift recommendation tool, but one unlike anything you have seen. The power of GPT-3 allows it to make incredibly accurate recommendations for any prompt given (80% of the time at least). It will also never give the same recommendation twice.

    I hope this isnt too self promotional, I'm just feeling really proud, and I wanted to share it with a community that has helped keep me motivated.

    Happy Thanksgiving!

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

    Are hard-to-understand algorithms to you back then easier to understand now?

    Posted: 26 Nov 2020 11:59 PM PST

    I'm trying to understand this merge sort without recursion algorithm and it has taken me 4 hours to finally understand the code through debugging (there were no visuals that I could find with this merge sort)

    Will I be able to understand algorithms that I can find online with just code (no documentation or visuals) better in the future? Does practicing trying to understand code without documentation benefit me in the future? Or should I focus on other aspects if I want to make a living out of this

    Thanks!

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

    Lack Of Motivation/Productivity To Code

    Posted: 26 Nov 2020 10:49 PM PST

    Greetings! Looking for advice from you, fellow programmers

    I have been trying to learn C++ from codecademy but it seems a little bit difficult.But the real problem is lack of consistency or motivation. Whenever i try to learn it , it seems difficult and then i leave it . It seems like i want to learn coding (obviously as i study computer science -1st semester) but i can' t do it due to lack of focus.

    I guess it's not just me , everyone must have faced this issue.

    So how do u guys tackle this issue ? How to stay motivated while coding?

    Also mention some helpful resources or courses for learning C++.

    Thanks in advance

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

    Basics of computer science

    Posted: 26 Nov 2020 01:53 PM PST

    Where can I learn more about basics of how things work in computer?

    I mean stuff like cache, memory pages, cpu threads.. these are mentioned everywhere and I have some idea of what they mean, but I'd like to get more understanding of how things work.

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

    Should I switch to another language ?

    Posted: 26 Nov 2020 07:28 AM PST

    I'm 15 and I've been seriously learning C for about 4 months, and I think i'm pretty comfortable with it, let me show you what I mean by that :

    • I've built a calculator, which takes a string in the form "2 * (2 + 2)" and returns an answer by following the order of operations .
    • I made a program that sorts a .csv file by it first, second, or any column, and by alphabetical or numerical order .
    • My latest project so far was a Tic Tac Toe AI that uses the minimax algorithm and the Tree data structure, it works pretty well and here is the source code : https://github.com/Mobento/TicTacToe-AI
    • I have a lot of different projects and a good knowledge of basic algorithms and data structures .

    So my question is : Should I start learning another language

    I obviously know that i'm not going to continue with C, i'm not saying that it's a bad language but some other programming languages have more useful features, which can help boost my productivity.

    So please give me an answer to this question, it would be really great, and if you can give me some advice, I wouldn't reject them !

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

    Installing Anaconda on Linux, is it a good idea?

    Posted: 26 Nov 2020 11:02 PM PST

    I wanted to ask a question and get everyones consensus. In the past I've heard people say they think installing Anaconda on Linux isn't the greatest idea as it's not done via Apt-Get (assuming we're on a Debian based distro) and updates, dependencies, etc are not tracked by Apt.

    What does everyone else think who is using Anaconda and Linux?

    Thanks

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

    Not solving FreeCodeCamp problems on my own, what´s the next step?

    Posted: 26 Nov 2020 05:45 PM PST

    Hi

    I have been following the FreeCodeCamp Javascript course from the beginning over the past 2 months. I am now at the Intermediate Algorithm Scripting section, but honestly, I am not managing to solve the problems on my own and end up reviewing Youtube or the hint section.
    Is this normal?
    Should I pause and do some more in depth course like CS50?

    Thanks in advance

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

    I don't know what knowledge I am missing to understand this JS function. Can you help me?

    Posted: 27 Nov 2020 12:58 AM PST

    From an Angular Forms tutorial on YT

    export function forbiddenNameValidator(forbiddenName: RegExp): ValidatorFn { return (control: AbstractControl): {[key: string]: any} | null => { const forbidden = forbiddenName.test(control.value); return forbidden ? {forbiddenName: {value: control.value}} : null; }; } 

    As someone that writes TS and Java, this syntax is really confusion to me. Now, I don't know if it's because of my ignorance of Angular, TS, or JS, so I am having a hard time as to finding out which fundamentals am I lacking.

    And some of my questions:

    1. Is ValidatorFn a function or a type? Like, how can I return a function?
    2. Is the confusing syntax of " {[key: string]: any} | null " a TS oddity or JS oddity?
    3. How does this validator work? The ternary operator at line 4 returns an object or null instead of true or false, which is how I imagined a validator might work.
    4. As I previously said, what fundamentals should I work on so syntax like that wont make my head spin so much?
    submitted by /u/BigBootyBear
    [link] [comments]

    Why does my re.sub keep subbing the first letter although it is not in the pattern?

    Posted: 27 Nov 2020 12:49 AM PST

    user_response = input("What categories do u want to analysis on ?")

    pattern = re.compile(r'^[a-zA-z\s]')

    user_response = pattern.sub("",user_response)

    print(user_response)

    No matter what input i put in it subs the first letter

    sample input("data")

    output("ata")

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

    PhD in container security, Ask Me Anything

    Posted: 27 Nov 2020 12:36 AM PST

    I finished a couple of month ago my PhD in container security. I'm now going to be a researcher in this topic.

    When I started programming (around 15) I had no idea where to start to learn programming and what actually was the life of software developpers/engineers/researchers. Hence my learning was really inefficient.

    I think that I would have loved hear the feedback of people with experience in these domain, preferably that graded not too far ago, since computer science change damn quick.

    So, if you have any question on the life of CS researcher, PhD, engineer, learning a language, coffee or anything, feel free to ask me, I'll do my best to answer.

    To orient a bit questions, I mostly with the linux kernel doing C and Assembly (yes, I like pain). I also work with several container engines such as Runc, Docker, Lxc, Kubernetes ... I used to work in Java and Python so feel free to ask me questions about these languages too.

    submitted by /u/0xCAFED
    [link] [comments]

    Interested in learning more about databases

    Posted: 26 Nov 2020 06:33 PM PST

    I took my first databases course last semester and I absolutely loved it. I did well and would like to pursue this area further.

    I looked at my university's page for database research and this is what I found under research areas:

    • database systems
    • spatiotemporal and image databases
    • information retrieval
    • content-based information retrieval
    • data management issues on the web and social networks
    • querying and indexing novel data types
    • knowledge discovery in databases
    • indexing
    • data mining
    • spatial data mining
    • web mining
    • database aspects of multimedia
    • bioinformatics
    • logic programming and artificial intelligence

    So apparently it's much more than just SQL. How on Gods green earth is someone supposed to learn all that.

    Any resources that would tackle even one of those points would be greatly appreciated thank you.

    submitted by /u/Sharp-Fortune936
    [link] [comments]

    I need some help with my mobile app!

    Posted: 27 Nov 2020 12:26 AM PST

    I need to find out how to add a 1 on 1 chat system in my app kinda like offer up using Adobe Xd and then importing it to flutter. I want to try to make a texting feature in my app but I need to know how to code it in flutter when I import it from Adobe Xd.

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

    2 outputs are not the same, Need help for python 3

    Posted: 27 Nov 2020 12:16 AM PST

    Here is my code for writing a word into bmp file(LSB stegonagraphy).

    import numpy as np from PIL import Image import os import PIL i=0 data = "011011000110010101100100011001110110010101110010" #ledger with Image.open("blah.bmp") as img: width, height = img.size print(img.mode) arr=list(img.getdata()) #print(arr) empty=[] for pixel in arr: empty.append(list(pixel)) #print(empty) print() for pixel in empty: for n in range(3): if(i < len(data)): pixel[n]= (pixel[n]| int(data[i])) i+=1 #print(empty) arr = np.asarray(empty) print() print(arr) img=Image.fromarray(arr) img.convert('RGB').save("blah_1a.bmp") img.close() 

    The output is below.

    [[ 0 255 251] [ 1 255 251] [ 0 255 250] ... [ 0 255 250] [ 0 255 250] [ 0 255 250]] 

    However, when I tried to open this with this line of code below.

    with Image.open("blah_1a.bmp") as img: width, height = img.size arr=list(img.getdata()) print(arr) 

    The output is totally different. Here is a snippet of this output.

    [(0, 0, 0), (255, 255, 255), (251, 251, 251), (1, 1, 1), (255, 255, 255), (251, 251, 251), (0, 0, 0), (255, 255, 255), (250, 250, 250), (1, 1, 1), (255, 255, 255), (250, 250, 250), (0, 0, 0), (255, 255, 255), (250, 250, 250), (1, 1, 1), (255, 255, 255), (251, 251, 251), (1, 1, 1), (255, 255, 255), (250, 250, 250), (1, 1, 1), (255, 255, 255), (250, 250, 250), (0, 0, 0), (255, 255, 255), (251, 251, 251), (1, 1, 1), (255, 255, 255), (251, 251, 251), (1, 1, 1), (255, 255, 255), ......(250, 250, 250), (0, 0, 0), (255, 255, 255), (250, 250, 250)] 

    This 2 outputs should be the same. But they're apparently not. What's the problem here?

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

    Would you advise a beginner to start with a simpler stack before moving to a complicated one or vice-versa?

    Posted: 27 Nov 2020 12:13 AM PST

    For example, if I'm a beginner who wants to build a full-stack app, would you recommend a simpler stack (Ruby + Vue) compared to a more complicated one (Nodejs + React), or vice versa?

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

    How to make a python script program itself to execute itself at each startup ?

    Posted: 27 Nov 2020 12:12 AM PST

    Hello,

    So my question is simple BUT it might look more simple than it truly is. Let me explain :

    I have a python script and I would like that when I start it the first time on any machine the script change whatever settings/configurations needed so that from now on every time the computer with the program on it boots, the script will start.

    The subtility is that the goal is not to manually schedule a cron job but more so that the program itself does the configuration on the first run

    Thanks so much for any answer or guidance ! :)

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

    Software Engineer

    Posted: 26 Nov 2020 08:09 PM PST

    What is the difference between Software Developer and Software Engineer? What do they do?

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

    Bison/lex homework help-polynomial evaluator

    Posted: 26 Nov 2020 08:01 PM PST

    I need to make a super simple parser that evaluates polynomials and does assignments. So like it should do: a=2x2+3 and then a[3] should give 21. I have some starter code on pastebin but I keep getting errors with yylex. Pastebin links: bison: https://pastebin.com/nztzYbz0 lex file: https://pastebin.com/xVT12mFx more functions she gave us: https://pastebin.com/xyeHVurU i have to define functions from this file: https://pastebin.com/xQQ4UGcE

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

    Can we learn programming by reading a textbook first and doing the assignments within the textbook ?

    Posted: 26 Nov 2020 04:08 PM PST

    I have no programming experience and im trying to self learn C++ but I'm really overwhelmed with where to start. I read the FAQ thread within this subreddit, but I just wanted more clarification, is it possible to get a good grasp on programming by reading a textbook and doing assignments without taking a course or using other online resources ? Thanks!

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

    I want to be a front end developer, do I need to know any back end?

    Posted: 26 Nov 2020 11:18 PM PST

    Someone told me I should learn a little back end but they didn't say what exactly. Should I learn back end languages like Node.js? Should I learn about databses? etc

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

    Accessing private members of a class from a static function. Is it bad? (C++)

    Posted: 26 Nov 2020 11:09 PM PST

    I am trying to write a text-based game, and I figured it would be convenient if each interactable object could pass out some collection of functions that could be called based on the player's input. Originally, I wrote something like this:

    class original { public: original() { funcs.push_back(foo); } void foo() { std::cout << someSpecificValue << std::endl; } std::vector<void (*)()> getFuncs(); private: std::vector<void (*)()> funcs; int someSpecificValue; }; 

    But this caused errors, because foo() is bound to the original class, so it can't be placed in the vector without making the vector specific to function pointers from this class (something I don't want to do).
    I was playing around with some code though, and I came up with this:

    class newClass { public: newClass() { funcs.push_back(foo); } static void foo(newClass nc) { std::cout << nc.someSpecificValue << std::endl; } std::vector<void (*)()> getFuncs(); private: std::vector<void (*)()> funcs; int someSpecificValue; }; 

    Because foo is now static, I can add it to my generic vector. But to my surprise, when I tried to access nc's somethingSpecific from foo, it actually worked. I learned that I am taking advantage of the fact that the private keyword is class based, instead of instance based, but is this ok? It would certainly be useful to me, but I want to write nice code as well.
    If I'm honest, it feels hacky to me. But I'd appreciate some more experienced opinions on the matter.

    submitted by /u/19Ant91
    [link] [comments]

    I NEED A C++ for dummies tutorial. PLEASE HELP!

    Posted: 26 Nov 2020 06:27 PM PST

    I need an automate the boring stuff (Python) equivalent for C++. Any suggestions?

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

    Need Help with code I'm new

    Posted: 26 Nov 2020 09:58 PM PST

    Hi, I'm very new and started doing problems. But I keep seeing a name error specifically meal_cost not defined. I'm not sure why is that so, please help! This is python 3

    import math
    import os
    import random
    import re
    import sys
    # Complete the solve function below.
    def solve(meal_cost, tip_percent, tax_percent):
    if __name__ == '__main__':

    meal_cost = int(input())

    tip_percent = float(input())

    tax_percent = float(input())

    tip = meal_cost * tip_percent/100.0
    tax = meal_cost * tax_percent/100.0

    total_cost = meal_cost + tip + tax
    return total_cost.round()

    solve(meal_cost, tip_percent, tax_percent)

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

    No comments:

    Post a Comment