• Breaking News

    Friday, November 1, 2019

    I want to teach someone programming. learn programming

    I want to teach someone programming. learn programming


    I want to teach someone programming.

    Posted: 01 Nov 2019 01:02 PM PDT

    Edit 0: Holy crap! RIP inbox. I'm going to wait for a little while and let the responses stream in. If you haven't been responded to, please know that it's not that I'm not interested. I'm going through and talking to each person individually. Talk to you soon!

    Edit 1: Since I didnt know how big this was going to get, for further requests if you know the type of technology or language you'd like to learn please include it, along with any other info that can help me see if I'm a good fit for you.

    Edit 2: AS OF 7:35 MOUNTAIN TIME I WILL NO LONGER BE ACCEPTING REQUESTS. There is now a fairly large pool of people wanting to learn and it would be cruel if I didn't let you know that I can't address your inquiry. For all others who messaged or commented before that time, I will ensure to address you directly through chat or messages.

    I'm an experienced senior software engineer who works mainly with web technologies and I want to teach you how to program for free. All you need is a computer and some time to remotely meet up.

    Why am I doing this?: I enjoy teaching people new things and I prefer personal 1 on 1 sessions with those I teach.

    My target audience: I'd prefer someone who has little to no programming experience. This person is willing to learn on their own time. Ages 14-60 (exceptions made with parent's consent and with whether or not I want to teach you). Your qualification to these lessons will be at my discretion.

    My experience: I've been in the software industry for 6 years, made hundreds of websites, a couple applications in both Apple and Google Play app stores, and I'm self taught. I didn't go to college to learn my skills, so I know what it feels like to start something brand new with no prior knowledge. I started my journey in 2013, three years after I graduated high school and have continued honing my skills ever since. I primarily work with: javascript, php, bash, powershell, python, java, mysql, html, and css. I use a variety of frameworks to help develop the right solution for the problem.

    The languages I can teach you make creating whatever you want very possible, whether on the web or on the desktop. By the time we part ways, you should easily be able to get a job in this field.

    If you're curious, please comment or send me a message so we can discuss it further, but I will only be taking one person on at the moment.

    Again, this is completely free, no strings attached. You want to stop? Stop. Want to keep going? Cool. This is not an ad for a paid service or a trial for a paid service. I just like doing it and don't have enough opportunities to express myself through teaching.

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

    Here's an overview of how to choose a programming language and escape tutorial purgatory.

    Posted: 01 Nov 2019 09:06 AM PDT

    A few weeks ago, I posted about my experience attempting to learn JavaScript, C#, Python, and more from Codecademy, Udemy, and freeCodeCamp, along with escaping from tutorial purgatory and actually making progress as a developer (my experience has since been shared on freeCodeCamp).

    I've created a video version of the post in case it's helpful for someone out there in search of a programming language to learn or stuck in tutorial purgatory: https://www.youtube.com/watch?v=_KdyCdsIYBk

    Hope it helps!

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

    Thoughts On Launch School?

    Posted: 01 Nov 2019 06:17 PM PDT

    Does anyone have any experience using Launch School to learn programming? I recently came across this resource and I'm looking to see if anyone can provide some feedback on the results.

    They implement a mastery based learning teaching style which seems like a fantastic way to learn. Has anyone gone through the curriculum and care to share their thoughts on it?

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

    I want to use my spreadsheet for a website. Any suggestions on where to get started?

    Posted: 01 Nov 2019 10:54 PM PDT

    I want to turn this into a coinmarketcap style website. I looked into online classes but they don't cover this topic.

    submitted by /u/30Spread
    [link] [comments]

    can be developer without any computer science background?

    Posted: 01 Nov 2019 10:38 PM PDT

    Guys, I wanna be a game developer but I have Absolutely no knowledge Guys is there a way please guide me.

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

    [OOP] - What is the proper way to handle business logic in methods?

    Posted: 01 Nov 2019 09:13 PM PDT

    I am still a student, and this is something that I always questioned but don't seem to find the exact answer online.

    Let's say that you have a "Player" class and a "Team" class. A team has a collection of players and other attributes.

    Some business logic implies that a team can not have more than 3 players and that the players should all be different (can't add a player to the team if the player is already part of the team)

    When implementing the "addPlayer" method in the "Team" class; what is the best way to deal with the two scenarios stated above?

    • A: Throw an exception like "IllegalArgumentException" or "UnsupportedOperationException" or similar
    • B: Throw a custom exception (like "PlayerAlreadyInTeamException" and "TeamIsFull" exception)
    • C: Make the "addPlayer" method return type boolean (return true if add was "Succesful" and false otherwise, but missing the cause of the "failure")
    • D: Not checking this scenarios in the addMember method, but do the checking "outside" (like in the class that is going to use that method)
    • F: Something else that I didn't come up with.
    submitted by /u/TheGargaglione
    [link] [comments]

    Copying the clicked entire row from google spreadsheet in google chrome extension.

    Posted: 01 Nov 2019 11:44 PM PDT

    Hello I am trying to build a chrome extension where I want to copy the value from google spreadsheet and paste it on the required form any website. The form needed to be complete by just pasting the value that we clicked from the spreadsheet. I just don't know how can I do this. I want to make function that help me to copy as object of the specific row .

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

    Java float vs Float?

    Posted: 01 Nov 2019 11:44 PM PDT

    Float f1 = new Float(-1.0/0.0); Float f2 = new Float(0.0/0.0);

    I saw this code explaining the method isNaN(). What's the difference between float and Float? And string vs String? Can you even use string (lowercase)? How is this code different from just saying

    float f1; f1 = -1.0/0.0; float f2; f2 = 0.0/0.0;

    ? Also what does the new mean? Thank you

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

    Insight of Programming Material

    Posted: 01 Nov 2019 11:33 PM PDT

    I want to be at the point of making apps or games in programming but in Java assortment of PDF book I'm busy reading basically go on about loops(for,while and do) an build in method. Any advice on how to surpass this level. I've been thinking algorithm books but haven't read one yet though the books on game development are a bit useful

    And anyone interested in teaching me or showing me the ropes to programming

    Thanks in advance

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

    21 Day Code Challenge

    Posted: 01 Nov 2019 06:38 AM PDT

    The Canadian bootcamp Lighthouse Labs is hosting a 21 day code challenge to help people learn/practice JavaScript.

    I've wrangled some friends together to form a team and thought I could extend it to r/learnprogramming. Join my team here: https://coding-challenge.lighthouselabs.ca/teams/join/bits-and-bytes. If you end up joining I've also created a Discord where I post daily and help my friends as they tackle the challenges; let me know if you want an invite!

    Ps. There are lots of daily prizes!

    Edit: Link to the Discord where I post about the challenges and folks can ask for help/help each other: https://discord.gg/VbVhwn

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

    Is there anywhere I can find guides that will show me how to do reinforcement learning games similar to these videos?

    Posted: 01 Nov 2019 10:42 PM PDT

    https://youtu.be/sx6eoXg-19k

    https://youtu.be/VMp6pq6_QjI

    https://youtu.be/wL7tSgUpy8w

    I would absolutely love to make something like these but I can't seem to find any guides that really show the entire process. I usually learn best by following a tutorial and then expanding on it. This is how I got really comfortable with web development. I would love to do the same thing here.

    If anyone knows any guides please let me know! Thanks in advance.

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

    Python OOP Tutorial 4: Inheritance - Creating Subclasses

    Posted: 01 Nov 2019 09:58 PM PDT

    great video about class and inheritance in Python !

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

    Help me understand the references and pointers please?

    Posted: 01 Nov 2019 09:57 PM PDT

    Why are they different? If a pointer is literally an int containing the memory of address to whatever it points to, then surely &myChar would be the equivelant of a "literal", in that it is the memory address of that myChar?

    If i make a function that takes a char reference as an argument, can I just pass a pointer to a char in, since both the dereferenced reference and the dereferenced pointer would be the exact same (the memory address).

    I'm basically confused over the interchangeability of these two and how they interact. An example would be when people say "new creates a new instance on the heap, and then returns a pointer to it", well isnt that pointer also a reference? since it's essentially just the memory address of the instance on the heap?

    Thanks for any and all answers!

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

    Newbie - Is there any term i should know?

    Posted: 01 Nov 2019 06:03 PM PDT

    I read the Terminology and Vocab section on the FAQ, but i would like to know if there is any term that is used in the programing field, and that wasn't covered in there.

    submitted by /u/Dolly-BR
    [link] [comments]

    Using open-source code in my side projects

    Posted: 01 Nov 2019 05:45 PM PDT

    I have created a simple side-project that uses code from a source that has a BSD license and another source that has a GNU Lesser General Public License. Should I just put both licenses in a folder and then upload to GitHub? Or will it suffice for me to link to the respective GitHubs of the code that I found? What is best practice especially if I am going to be showing this project off to employers?

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

    Simple replacement question for strings in Python

    Posted: 01 Nov 2019 09:30 PM PDT

    How could I go about replacing the multiplication done by parenthesis to a normal * sign? I'm currently working in python.

    Example of one would be

    ' 3 ( 5 )- 15 + 85 (12) '

    to

    ' 3 * 5 - 15 + 85 *12 '

    Or

    ' (-2/6) + (5(9.4)) ')

    to

    ' (-2/6)+ (5*9.4) '

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

    [C] freads() and Image Files

    Posted: 01 Nov 2019 09:28 PM PDT

    I am trying to use freads() with parameters "rb" to get the contents/raw binary of image files (.jpg, .png, .gif, etc).

    Here is the code I'm using, and corresponding output:

    #include <stdio.h> #include <stdlib.h> int main() { long f_size = 0; FILE *f = fopen("picture.png", "rb"); fseek(f, 0, SEEK_END); f_size = ftell(f); fseek(f, 0, SEEK_SET); char test[f_size]; int count = fread(test, 1, f_size, f); printf("count: %d\n", count); printf("test: %s\n", test); exit(0); } 

    Output:

    count: 25125 test: PNG 

    The interesting/confusing thing to me is that although count displays that 25125 bytes transferred (which I've checked matches the actual file size), you can see clearly that only the file header for the png file is written to test.

    This same behavior occurs with any image type I've tried (jpg, gif, etc.). However, when I pass it any file with text, it works fine, with the contents of the file within the buffer.

    I originally thought that this was an issue with the fopen() mode, but it's set to rb so I am not sure what the issue is.

    Any insight would be appreciated.

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

    Help? C#, WPF

    Posted: 01 Nov 2019 09:26 PM PDT

    Hi! So I'm working on a project right now and I've been searching for HOURS on how to make the scrollviewer work with touch input. I need it so that the user can touch anywhere inside the scrollviewer and drag to move vertically. I tried to set the Stylus.IsPressAndHoldEnabled to False and PanningMode to VerticalOnly. I also tried following this: https://stackoverflow.com/questions/14781005/click-and-drag-scrolling-using-scrollviewer, and I also wanted to somehow use custom Thumbs but don't really get it. And then most forums I find are from like 10 years ago.

    But, to no avail :{ Does anyone have some secret I'm missing? Any help or suggestions would be great, thank you!

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

    Help with Flask

    Posted: 01 Nov 2019 09:17 PM PDT

    So I'm very new to Flask and Python in general. I have a database that has a table called Car that holds values. Currently I have a form that can write to the database. I need to make it so that I can edit this entry through a similar looking form. So the data that has already been entered, should be displayed and a user can edit it.

    Routes

    @app.route('/editVehicle/<int:car_vin>', methods=['GET', 'POST', 'PUT']) # trying to edit current users #@login_required # vehicle info def editVehicle(car_vin): car = Car.query.get(car_vin) owner_id = Car.query.all() if request.method == "POST": car.car_vin = request.form.get("New VIN") car.car_make = request.form.get("New Make") return redirect('login.html', owner_id=owner_id) return render_template('editVehicle.html', owner_id=owner_id) 

    Forms

    class EditVehicleForm(FlaskForm): car_vin = StringField('VIN Number', validators=[DataRequired()]) make = StringField('Make', validators=[DataRequired()]) model = StringField('Model', validators=[DataRequired()]) color = StringField('Color', validators=[DataRequired()]) mileage = IntegerField('Mileage', validators=[DataRequired()]) submit = SubmitField('Submit') 

    Models

    class Car(db.Model): id = db.Column(db.Integer, primary_key=True) car_vin = db.Column(db.String(16), index=True, unique=True) make = db.Column(db.String(120), index=True) model = db.Column(db.String(120), index=True) color = db.Column(db.String(64), index=True) mileage = db.Column(db.Integer, index=True) owner_id = db.Column(db.Integer, db.ForeignKey('user.id')) def __init__(self, car_vin, make, model, color, mileage): self.car_vin = car_vin self.make = make self.model = model self.color = color self.mileage = mileage def __repr__(self): return '<Car VIN {}, Car Make{}>'.format(self.car_vin, self.make) def return_car_vin(self): return '<Car Make {}>'.format(self.make) 

    HTML

    {% extends "base.html" %}

    {% block content %}
    <div>
    <a href="{{ url\_for('index') }}">Home</a>
    <a href="{{ url\_for('login') }}">Login</a>
    <a href="{{ url\_for('RegisterCar') }}">Add Vehicle</a>
    {% if car == cars %}
    <!-- <p><a href="{{ url\_for('editVehicle') }}">Edit your profile</a></p>-->
    {% endif %}
    </div>
    <h1>Edit Vehicle</h1>
    <form action="" method="post" novalidate>
    {{ form.hidden_tag() }}
    <input type="integer" name="new VIN" value="{{ car.car\_vin }}" method="post">
    <!-- <p>-->
    <!-- {{ form.car_vin.label }}<br>-->
    <!-- {{ form.car_vin(size=32, value= 1)}}-->
    <!-- {% for error in form.car_vin.errors %}-->
    <!-- <span style="color: rebeccapurple;">[{{ error }}</span>-->
    {% endfor %}
    <!-- </p>-->
    <!-- <p>-->
    <!-- {{ form.make.label }}<br>-->
    <!-- {{ form.make(size=32, value= car.make) }}-->
    <!-- {% for error in form.make.errors %}-->
    <!-- <span style="color: rebeccapurple;">[{{ error }}</span>-->
    <!-- {% endfor %}-->
    <!-- </p>-->
    <!-- <p>-->
    <!-- {{ form.model.label }}<br>-->
    <!-- {{ form.model(size=32, value= car.model) }}-->
    <!-- {% for error in form.model.errors %}-->
    <!-- <span style="color: rebeccapurple;">[{{ error }}</span>-->
    <!-- {% endfor %}-->
    <!-- </p>-->
    <!-- <p>-->
    <!-- {{ form.color.label }}<br>-->
    <!-- {{ form.color(size=32,value= car.color) }}-->
    <!-- {% for error in form.color.errors %}-->
    <!-- <span style="color: rebeccapurple;">[{{ error }}</span>-->
    <!-- {% endfor %}-->
    <!-- </p>-->
    <!-- <p>-->
    <!-- {{ form.mileage.label }}<br>-->
    <!-- {{ form.mileage(size=32,value= car.mileage ) }}-->
    <!-- {% for error in form.mileage.errors %}-->
    <!-- <span style="color: rebeccapurple;">[{{ error }}</span>-->
    <!-- {% endfor %}-->
    <!-- </p>-->
    <p>{{ form.submit() }}</p>
    </form>
    {% endblock %}

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

    Recommended Books on C Sharp

    Posted: 01 Nov 2019 08:57 PM PDT

    Mobile, sorry for formatting.

    (Titled C Sharp and not C# because for some reason I can never get the search function on the subreddit to work using the pound sign.)

    So...

    I'm learning C# and have been for the last couple of months. I -have- looked at the FAQ and the section on books that links to Github, but there are so many that I don't have a clue what to touch. I briefly looked over "The Yellow Book" and it looks pretty great so I'm definitely going to check that out. It's an immediate link in the FAQ so I'm not going to even ask if it's good, I'll assume it is.

    My current book of choice is "Learn C# in one day and learn it well" by Jamie Chan. I'm not sure if it's me, or if it's the book but it's not really clicking with me for some reason. I don't like writing something but not knowing why it works. I find myself a lot of the time realizing that I understand the concept, but not the reasoning. It's also very, I guess the most concise way would be, "This is this, next. This is this, next," which doesn't work for me. In looking at "The Yellow Book" I see that the author, at least in the first few pages goes into detail about each part of the program you're writing and explains it. This is the sort of thing I'm looking for.

    While clicking through the Github "Free books" I looked under the section for C# but while it's linked here I'm not sure if the actual Github is made by a subreddit trusted source or if any Tom, Dick, and Harry can add to it. Basically I've been burned by Amazon, there's a few C# books that have family members or such giving it good reviews but it's actually terrible. It's probably more anxiety than anything, but I'd appreciate some guidance.

    I'm learning C# because I'm enjoying it, and I'm not sure what I want to do with it, I feel the "I want to make a game" is a little too cliche. I DO want to play with Unity eventually, but my goal right now is to just grasp the language at a base level and move up from there, possibly into a career. I'm not looking to change languages at this point.

    After that ramble...

    Where should I start apart from "The Yellow Book"? What are some great C# books you'd recommend, or you've heard people have had a good experience with? What is a "must read" from the Github Free Book C# section? Any guidance in this area is more than appreciated.

    Thank you so much for taking the time to read this.

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

    How to efficiently search a database?

    Posted: 01 Nov 2019 08:57 PM PDT

    I making a python program which is using sqlite for storing data and I can't figure out what will be the best method for searching it.

    For example I have these two tables:

    document_id title type
    1 How to search databases pdf

    document_id tag
    1 tagA
    1 tabB

    I want these searches to show the same result:

    • how to search
    • search database
    • tagA pdf
    • how to tagB

    My approach is, break the query into words, then use the LIKE command on each word to search in title, type and tags then combine those results.

    My question is, is this method okay? and is there a better way doing this? also, I'm planning to add a "description" column which probably could contain large text.(I could make search in description optional too if it won't work as fast).

    Any help would be greatly appreciated!

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

    500 error using IIS

    Posted: 01 Nov 2019 08:49 PM PDT

    When I try to view a webpage built for internal domain use only I get a 500 error and can't view the page. This is happening on a separate machine from the server. Any thoughts?

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

    A minimal portfolio template built with nextjs for all .

    Posted: 01 Nov 2019 08:41 PM PDT

    This is a very minimal single page portfolio boilerplate that i created for anyone who likes to keep it simple.

    It is built with Next.js along with react as it's frontend.This boilerplate fetches all your github repos to display as projects.

    And for other additional details you just simply define them in /conig/index.js . And thats it .🚀

    Repo : https://github.com/RocktimSaikia/portfolio-v1

    Demo : https://rocktim.now.sh

    Hope you all like it. If you want to make any additional changes to the repo , you're more than welcome to make pull request.

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

    No comments:

    Post a Comment