• Breaking News

    Monday, June 29, 2020

    I've been working on an autonomous car that will teach people how to code their own autonomous vehicle for 16 months now learn programming

    I've been working on an autonomous car that will teach people how to code their own autonomous vehicle for 16 months now learn programming


    I've been working on an autonomous car that will teach people how to code their own autonomous vehicle for 16 months now

    Posted: 29 Jun 2020 03:10 PM PDT

    You can check it out here: https://www.circuitmess.com/wheelson/ https://www.circuitmess.com/wheelson/
    What do you think about it?

    I've designed a unique block-based programming interface for it here:
    https://www.circuitmess.com/circuitblocks/

    I'd appreciate your honest opinion about this and perhaps some improvement suggestions.

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

    Freelancers, what did you wish you knew?

    Posted: 29 Jun 2020 02:39 AM PDT

    I'm a 100% self-taught programmer, who has managed to transition to freelancing online through Upwork.

    Until recently, I was an English teacher and I've never worked in an IT company. Despite this I've been able to build up enough repeat clients that I don't think I'll be looking for another job any time soon.

    While this is all great and has exceeded my expectations by a long way, I know I'm missing a lot by not having worked in a company. I literally know nobody who is into coding. I have no point of reference for how good or bad I am at what I do and no guidance of what to concentrate on next.

    Has anyone else been in a similar position?

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

    Overwhelmed. What is the best method of learning web dev?

    Posted: 29 Jun 2020 10:59 AM PDT

    I'm extremely overwhelmed.

    What is the all in all best method of learning web dev? There's so many courses, books and websites I just don't know what to stick to. I know basic HTML/CSS already from what I've learned. Is there a pathway to take (which includes resources/courses) for this?

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

    Hey Guys, I'm trying to figure out how to convert a python .py file into an apk for android on windows. I've googled a few things but can't find any good tutorials. I am a beginner. Anyone have any advice?

    Posted: 29 Jun 2020 11:19 PM PDT

    Hey Guys, I'm trying to figure out how to convert a python .py file into an apk for android on windows. I've googled a few things but can't find any good tutorials. I am a beginner. Anyone have any advice? A good tutorial would be helpful.

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

    I am writing a Tkinter app, and I am trying to check the Variable in a Checkbutton. I am running into a couple problems. I either get a 0 output on the console for every keypress when checking against an IntVar(). Or I get just whitespace when checking against StrinVar() at some points I get nothing

    Posted: 29 Jun 2020 08:55 PM PDT

    I tried to check the state of my variable in my Tkinter Checkbutton. using the .get() method and print to do it. At some points I just got the string I wanted to concatatenate, without the variable output. At others the output is just a 0 for any mouse click on the Checkbutton. And other is just giving me a whitespace output. It is no longer giving me an error message. I want to be able to get the state of the variable check it in an if else statement. And print something to the console.

    Here is my code

    import tkinter as tk class GUIapp_pg2: def __init__(self, task1, task2): self.task1 = task1 self.task2 = task2 def main_gui(self, window_2): self.window_2 = window_2 window_2.title("Task tracker app") self.frabe_a = tk.Frame(master=window_2) self.frabe_a.grid(row=0, column=3, sticky="ew") self.frame_b = tk.Frame(master=window_2) self.frame_b.grid(row=1, column=2) self.frame_c = tk.Frame(master=window_2) self.frame_c.grid(row=1, column=3) self.labelMain = tk.Label(master=self.frabe_a, text="Welcome, please check off your tasks", relief=tk.RAISED, borderwidth=1, bg="green", fg="white",) self.labelMain.grid(row=0, column=0) self.label = tk.Label(master=self.frame_b, text=self.task1, relief=tk.RAISED, bg="red", fg="white", borderwidth=1, width=8) self.label.grid(row=0, column=0) self.label_b = tk.Label(master=self.frame_b, text=self.task2, relief=tk.RAISED, bg="red", fg="white", borderwidth=1, width=8) self.label_b.grid(row=1, column=0) self.str_check = tk.StringVar() """string_total = "Today completed tasks: \n """ def add_values(): print(self.str_check.get()) self.Checkbutton = tk.Checkbutton(master=self.frame_c, text="Check if complete", variable=self.str_check, command=add_values, onvalue="hello", offvalue="bye") self.Checkbutton.pack() '''self.Checkbutton_b = tk.Entry(master=self.frame_c, relief=tk.GROOVE, borderwidth=1, width=20) self.entry_b.grid(row=1, column=0)''' self.window_2.mainloop() 

    The code is not throwing any error messages, so I do not know what I am doing wrong.

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

    Struggling to keep myself accountable learning JavaScript

    Posted: 29 Jun 2020 01:32 PM PDT

    I started learning JavaScript on FreeCodeCamp three weeks ago. A lot of it was easy and not mentally taxing. I enjoyed it. Towards the end of the JavaScript Basic module, things started to get difficult and I would spend 2-3 hours trying to grasp something fully.

    I.e. nested For Loops or a simple profile lookup function.

    The course material kept going, assuming I grasped all the concepts and knew what I was doing.. but I had no clue what I was doing.

    After that, learning JS became a chore in my mind and I didn't want to do it again. I felt pretty stupid. I don't think that forcing yourself to do something is a good strategy for long term learning. But here I am, wanting to learn Javascript, but not wanting to be interested in Javascript because failure hurts.

    It's been about a week and I haven't progressed any further. I'm afraid to start again because I assume I'm going to hit a roadblock and no matter how much I try to get past it, I just don't the required concepts down yet.

    While I enjoy FreeCodeCamp, I think I need to find a different resource to learn JavaScript. I'm thinking about taking an online class somewhere just because it would keep me accountable and push past the imaginary roadblocks I set for myself.

    But that leads me to a new problem: most people say online classes aren't very good and they also despise bootcamps. I'm not sure where to go next. Vent over.

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

    C++ question with classes, catch, throw, reference, etc

    Posted: 29 Jun 2020 01:45 PM PDT

    Hey!

    I've been working on this code, but I have a question about it.

    • Why does the program display 10 when executed?
    • Can somebody give me a step by step explanation of what is going on here?

    I am a beginner, so anything helps!

    Thanks

    #include <iostream> using namespace std; class X{ public: X(void) {cout << 1;} ~X(void) {cout << 2;} }; X *exec(){ X *x = new X(); throw string ("0"); return x; } int main(void){ X *x; try { delete exec(); } catch(string & s){ cout << s; } return 0; } 
    submitted by /u/EmeraRose
    [link] [comments]

    How to use special-key in swagger?

    Posted: 29 Jun 2020 09:05 PM PDT

    In the first line, it mentions about using special-key to use api key but how do I use it, there is no example explained, it would be used a a parameter or header?

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

    Self Teaching TensorFlow

    Posted: 29 Jun 2020 03:04 PM PDT

    I plan to learn TensorFlow soon since I think the ideas of AI and writing code that can learn are cool, and I want to learn how to write some. Is it possible to self-teach TF with the help of some YouTube videos? I found a 2 hour boot camp on FreeCodeCamp for example. I have a good understanding of Python and programming concepts but I'm still a bit confused when it comes to the idea of things like neural nets and layers.

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

    why i am getting extraneous input '\n' expecting {'\', ':', '=', Space, IdentifierChar} in Spring boot application.properties file?

    Posted: 29 Jun 2020 08:55 PM PDT

    I have started learning Spring Boot Hybernate and in my projects i have written only 3 lines in my application.properties file and there is a maven file ofcourse generated by Spring Tool Suit itself and in application.properties file when i am doing:-

    spring.datasource.url=jdbc:mysql://localhost:3306/crudapi 

    It is giving me error as:-

    Multiple markers at this line - extraneous input '\n' expecting {'\', ':', '=', Space, IdentifierChar} - 'spri' is an unknown property. Did you mean 'spring.activemq.broker-url'? 

    This is the only line in which i am getting error.

    I am posting application.properties file and maven file below.

    spring.datasource.url = jdbc:mysql://localhost:3306/crudapi spring.datasourse.username = root spring.datasourse.password = abcdefgh 

    And maven code:-

    <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.1.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>io.springbootHybernate</groupId> <artifactId>SpringBootHybernate</artifactId> <version>0.0.1-SNAPSHOT</version> <name>SpringBootHybernate</name> <description>Demo project for Spring Boot</description> <properties> <java.version>1.8</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> <optional>true</optional> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> </project> 

    I have used this url in JDBC code and never encountered with this error, is there is any problem with maven (pom.xml) file am i not including any dependencies.

    Please help me to get out of this rid.

    Thanks in advance.

    I will appreciate your advice....

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

    Been kicked out of uni and I really need help

    Posted: 29 Jun 2020 05:01 PM PDT

    Long story short I failed some required assessments for my first year at university and have now been withdrawn. I was doing a course in games development, especially c# and unity and I have struggled. Seeing everyone else finding it really easy has made me feel even more worthless and now I just have no idea what to do. I'm 19 and I'm afraid I won't be able to go back to uni to study as my parents who funded for my first year won't be inclined to try again with me. I need help and advice on how to move forward, even little words of encouragement can help

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

    Closing a Component onClick in React

    Posted: 29 Jun 2020 08:41 PM PDT

    After I have created a recipe I want to be able to close the recipe but I am unsure how.

    In Box.js have tried some stuff with rendering a component if true or false but I haven't be able to get it to work. The exit button is what I am referring to on the Recipe.js component.

    https://codesandbox.io/s/gifted-frog-4543x?file=/src/Box.js

    Any Help is Appreciated!

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

    has the method of learning c++ changed at all?

    Posted: 29 Jun 2020 08:33 PM PDT

    Title isn't very in depth but i've been looking into learning c++ lately and read up on old post from 4-5+ years ago about how books were the way to go for learning c++ and i'm wondering whether a book is still the best way or has a new method like a online websites taken the crown.

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

    I need tips on focusing - I can't concentrate anymore!!

    Posted: 29 Jun 2020 04:40 PM PDT

    Okay, I never had that great of an attention span, but I could at least think out the problems in my head in a way that let me remember them as I was writing them down! I admit, I took a long 'break' (months of laziness) from programming and spent many days on my phone just scrolling, and now I can barely start a problem without my mind drifting. Nowadays, I'm so obsessed over focusing that it's a distraction in itself. Does anyone have any tips on regaining focus/concentration?

    submitted by /u/uhohthatsnotgood-
    [link] [comments]

    What do people mean by "framework"?

    Posted: 29 Jun 2020 09:21 AM PDT

    It's a term that is clearly non-language specific, and I'm confused if there is a deeper meaning to the word than just a collection of code

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

    I got my first job offer! Now what?

    Posted: 29 Jun 2020 04:07 AM PDT

    Hi Reddit

    Before I continue with my post, thank you /r/learnprogramming for always having faith and believe for self-taught engineers.

    So, I got my first job offer! I'll be doing full-stack development, projects are very interesting, team is okay, but I have some questions:

    1. It's my first real, big, job. I'm expected to learn and also to contribute as fast as I can, but what if I don't manage to do this? I'm scared I'll waste their time just so they can later find out I'm totally useless.
    2. I'm not the smartest. So I'm afraid I'll be thrown into the shadows by other teammates :(
    3. I have no idea how those methodology works, I guess i'll be receiving tasks to do. What if I don't do it? Can I tell anyone i'm struggling with something?
    4. How can I seize this opportunity, take most out of it, what are some small/big things to do, besides asking senior engineers (since one of them is gonna mentor me), from going to the job to leaving job. I never felt more overwhelmed by how MUCH I have to learn, anxious and thrilled at the same time!

    Please, any advice, any comment, anything is more than a welcome. Love ya all guys

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

    javascript projects!

    Posted: 29 Jun 2020 11:22 PM PDT

    i'm learning colt steels web dev course and finished the front-end of things but i feel like i don't fully understand javascript yet. Are there any projects i can do to understand it better.?

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

    Questions from a prospective CS student

    Posted: 29 Jun 2020 07:35 PM PDT

    Greetings Reddit!

    In short, I just got out of the military doing a highly technical job (only basic algebra I used daily) and I want to bank on my gift of learning technology and software with ease. However, I have a history with struggling with math and left off with completing Algebra II in high school (haven't been to school since). I am interested in CS and have no real knowledge of the field other than what I have been reading on reddit these past few weeks. With the fall semester approaching, I am trying to get on track with an academic plan. Hopefully this is the right place for the questions I have and I hope someone can point me in the right direction...

    1. Is there a curriculum or common path on which most programmers started? Is it recommended to start with C++, Swift, Java, etc? I find that many people on reddit start in different places and somehow are able to understand the big picture of programming.
    2. Should math courses be taken in conjunction with CS courses? Should I at least be starting pre-calc before I even start CS? (I want to re-do Algebra II for the sake of refreshing)
    3. My local community college offers a CS program with the Intro Computer Science C++ and Intermediate PC Appl w/Prog as the first classes. Are these normal to start with? Opinions?

    I appreciate any and all advice! Thanks!

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

    Trouble extending some code to convert Arabic numbers to Roman Numerals

    Posted: 29 Jun 2020 11:02 PM PDT

    I am having some trouble extending some code I found to convert numbers to roman numerals. I am using C/C++ (and am extremely beginner in these languages), but here is my extended code. I am getting warnings when compiling:

    warning: multi-character character constant [-Wmultichar] 

    and errors

    character too large for enclosing character literal type 

    Which has occurred after adding the special characters. I am trying to understand how to add them so that my program is okay with is (I think I might need to use UTF-32??) but I am really unsure of how I go about doing this. There is help out there for converting characters to unicode, but I don't understand it, so please ELI5!

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

    The Social Network

    Posted: 29 Jun 2020 10:51 PM PDT

    Is it me, or does anybody else find The Social Network motivational as a programmer?

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

    Why doesn't this swap function work?

    Posted: 29 Jun 2020 10:49 PM PDT

    code 1:

    void swap(int *a, int *b) { int *temp = a; a = b; a = temp; } 

    code 2:

    void swap(int *a, int *b) { int temp = *a; *a = *b; *b = temp; } 

    Shouldn't code 1 switching the memory address locations work? (a and b switch memory addresses assigned to them, but the values in the memory locations stay the same.)

    Why isn't code 2 effectively the same as a swap function that doesn't use pointers and just changes the local a and b variables. (Isn't *a = *b the same as a = b since * just gets the value of the variables?)

    I'm obviously misunderstanding pointers, but I'm not sure where.

    submitted by /u/-diplomacy-
    [link] [comments]

    Ressources to learn algorithms and data structures by practising ?

    Posted: 29 Jun 2020 10:46 PM PDT

    Hi everyone,

    So i'm learning programming, I took CS50's Introduction to CS and CS50 Web programming courses from OpenCourseWare, I know how to program in C, Python, and JS now, although i'm far from being an expert of course,

    I'm interested in learning algorithms and data structures now, so I looked for some courses, I saw Algorithms and Data Structures from San Diego university, Algorithms from Princeton, however I really feel tired of only watching videos and then do an exercise, I feel like it's not anymore for me I really want to learn by practicing, so I post this to ask you if you have any resource to learn algorithms and data structures by practicing ?

    I've seen the FAQ linking to competitive programming websites for exercises, do you think it would be appropriate ? If yes can you tell me why and give me some good websites ?

    Thanks :)

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

    Just curious if any of you have left accounting to go into tech?

    Posted: 29 Jun 2020 10:42 PM PDT

    I'm graduating this December in accounting and I'm already bored. I plan to use my degree to work in accounting to pay the bills while I go back to school to major in CS. I try my best to code on my downtime. Accounting is a great profession, but it's too boring in my opinion. I'd much rather create stuff than do stuff that's basically necessary due to "government." With that said, I really hope I'm making the right decision because it's a big choice to make and can most definitely impact my future. My long term goal is to make a language learning software or product that can help people learn languages. That's a side project though. My goal is to get into FAANG and work very hard, and hopefully, one day be able to have a stable career going for myself.

    submitted by /u/Mystik-Palace
    [link] [comments]

    No comments:

    Post a Comment