Feeling so disheartened and worried about progress

Learn Programming - Thu, 09/20/2018 - 15:42

Hi everyone,

I started to seriously learn JS back in around May, with the goal of becoming a front end developer. I had played around with HTML and CSS as a teenager and really enjoyed it, and a few friends who are developers told me I should go for it. I started learning on my own using Treehouse and Codecademy and it seemed to be going relatively well. I then signed up for a bootcamp and's SO MUCH harder than I ever imagined. I have struggled every day. In the first week of the bootcamp we were already learning about recursion, prototypes, spies, etc. and we soon moved on to async code. I honestly just feel like it's beyond me. I consider myself a fairly intelligent person, but this is tougher than anything I've ever done. We never seem to really get to learn anything in any depth, just get a brief overview and then we're expected to sit and do katas all day with another person. Either they're far stronger than me and get frustrated (a lot of people have a CS background and/or are straight out of university, while I'm in my thirties) or they're around the same level and it's like the blind leading the blind. I just feel like it's all moving way too fast and there's no time to digest the stuff. Maybe I was very naive about how hard it was going to be. Honestly, I am really not enjoying it at all. Most days I consider quitting and feel like it isn't for me after all. Is this normal? The tutors tell me it is, that the material is hard, and it's normal to feel this way, but everyone else seems to be enjoying it while I'm not. I spend all day at the bootcamp and then come home and study for several hours, and I feel like I'm burning out, with 10 weeks to go. I've never in my life put so much effort into something for so little result. I don't know if I should just give up now and chalk it up to a learning experience, or persevere. Any insight?

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

Is The Web Developer Bootcamp By Colt Steele good?

Learn Programming - Thu, 09/20/2018 - 15:28

the main concern i have is it a scam. it says its 10.99 95% off. is this a one time payment? is it worth it?

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

[make] Unable to take the advantage of implicit rules

Learn Programming - Thu, 09/20/2018 - 15:15

I only have one file (ex1.c) which I would like to be able to compile using Makefile. Since I was taught make uses the following implicit rules:

%.o: %.c $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ %: %.o $(CC) $(LDFLAGS) $ˆ $(LOADLIBES) $(LDLIBS) -o $@

That's how I gathered that if I want to create the executable ex1 from ex1.c, all I need is the following. This is my Makefile:

CFLAGS = -std=c99 -pedantic -Werror -Wall CC = gcc all: ex1

However, this doesn't work, this is the message I get when I attempt to run make:

make: *** No rule to make target `ex1', needed by `all'. Stop.

But it should know how to make the target: first using the second implicit rule and then the first one. How come this doesn't work?

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

[Assignment] Applying for a C# developer job

Learn Programming - Thu, 09/20/2018 - 15:09

Hey guys.

Yay I am sort of applying for my first developing job. And I have pretty simple question.. The assignment for me is to create Winform app, which will have also custom db connected with two tables. My question relates to sending my app to them. I should send the application, database, compileable code and any documentation to the email address. And my question is, how do they possibly mean that? I am not really familiar with sending/exporting any database, if there was a remote db, i would definitely understand that, but this message just really confuses me :D

So the question is pretty simple how do i send them complete application which will right away work? Or how do they simply mean? Sending create script? I guess it would be different anyway. :)

Thank you for your response.

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

[Flask] Passing request.form value to url_for

Learn Programming - Thu, 09/20/2018 - 14:58

I have a Flask template that displays a page with a dropdown list of owners, a table with the owner's win-loss record, and a radio to toggle between regular season record and playoff record.

The desired workflow is:

  1. If navigated to the page through the navigation bar, it should default to /matchup-history/regular. (this works)
  2. Else it should route accordingly whenever the radio is toggled. (this doesn't work)


{%- extends "base.html" -%} {% block nav_matchups %}active{% endblock %} {%- block content -%} <form action="{{ url_for('show_matchup_history', matchup_type=request.form['matchup_type']) }}" method="post"> <label> <select name="owner_id" onchange="this.form.submit()"> {%- for o in owners %} {%- if request.form['owner_id'] == o['owner_id']|string() %} <option value="{{ o['owner_id'] }}" selected>{{o['first_name'] + " " + o['last_name'] }}</option> {%- else %} <option value="{{ o['owner_id'] }}">{{o['first_name'] + " " + o['last_name'] }}</option> {%- endif %} {%- endfor %} </select> </label> {% block matchup_type_radio %}{% endblock %} </form> {%- if records|length > 0 %} <div class="stats-table"> <table> <tr> {%- for th in table_headers %} <th>{{ th }}</th> {%- endfor %} </tr> {%- for r in records %} <tr> {%- for cn in column_names %} <td>{{ r[cn] }}</td> {%- endfor %} </tr> {%- endfor %} </table> </div> {%- endif %} {% endblock -%}


{%- extends "matchup-history.html" -%} {% block matchup_type_radio %} <label><input type="radio" name="matchup_type" value="regular" onclick="this.form.submit()" checked>Regular Season</label> <label><input type="radio" name="matchup_type" value="playoffs" onclick="this.form.submit()">Playoffs</label> {% endblock %}


{%- extends "matchup-history.html" -%} {% block matchup_type_radio %} <label><input type="radio" name="matchup_type" value="regular" onclick="this.form.submit()">Regular Season</label> <label><input type="radio" name="matchup_type" value="playoffs" onclick="this.form.submit()" checked>Playoffs</label> {% endblock %}

@app.route('/matchup-history/<string:matchup_type>', methods=['GET', 'POST']) def show_matchup_history(matchup_type): table_headers = ["Opponent", "Wins", "Losses"] column_names = ["opponent_owner_name", "wins", "losses"] owners = queries.get_owners() if request.method == 'POST': owner_id = request.form['owner_id'] else: owner_id = owners[0]['owner_id'] if matchup_type == REGULAR_SEASON: records = queries.get_matchup_history_regular(owner_id) else: records = queries.get_matchup_history_playoffs(owner_id) return render_template("matchup-history/{matchup_type}.html".format(matchup_type=matchup_type), title='Matchup History', table_headers=table_headers, column_names=column_names, owners=owners, records=records)

The page correctly loads /matchup-history/regular when clicked on, but fails whenever the radio button is toggled: - - [20/Sep/2018 08:32:53] "GET /matchup-history/regular HTTP/1.1" 200 - - - [20/Sep/2018 08:32:56] "POST /matchup-history/ HTTP/1.1" 404 -

It seems like request.form['matchup_type'] is empty when matchup-history.html is rendered, so submitting the form will not have the desired effect. How can I refactor to route url_for to different matchup_type?

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

Suggestions for language to make a little side income.

Learn Programming - Thu, 09/20/2018 - 14:49

I read the FAQ and various flow charts to see what I'd like to start with. The only problem is that I don't really have a certain thing in mind, other than the ability to make money doing some freelance stuff eventually. I think it'd be fun doing front and/or back end web stuff or iOS/Android app development too. I've read countless posts and I see a wide array of suggestions of what to learn. PHP/Html/Javascript or crossplatform app stuff.

I'm a system and network admin by day, and I plan on keeping this up full time, but I have enough downtime in my life to dedicate to learning a programming language. My end goal is to become good/proficient with a language, or area, to be able to do a few freelance gigs here and there.

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

Help and advice with new programming project I’m being assigned?

Learn Programming - Thu, 09/20/2018 - 14:16

Hi all!

So I recently have jumped into programming and learning languages this year. I started with a building a simple intranet website for my company using CSS and HTML and overall it was a success and ran smooth! I’m jumping into learning more Technical languages like C++ and JavaScript but am unsure if these are the languages I should use for my next big project. Pretty much my company has a manual system of inputting resumes and information of applications they receive from potential future employees into our database. My IT director wants to facilitate the process by making it so all the information received in a resume/application is automatically put into the database without the need to manually enter in every single one. I don’t want to back away from this challenge but would greatly appreciate any help on how I might want to get started with this and what language I should use to make this possible. I’d also appreciate any tutorials that could help ease the process of learning and putting this together. Thank you for any help and I can try to clarify any questions about the project to the best of my ability!

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

Learn Java Tutorial for Beginners, Part 5 For Loops

Learn Programming - Thu, 09/20/2018 - 14:14

Learn Java Tutorial for Beginners, Part 5 For Loops

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

Drupal noobie needing a little help. How do I order these blogs by newest first?

Drupal - Open Source Content Platform - Thu, 09/20/2018 - 14:11

Hi All,

Sorry is this is a dumb questions. How do I order these blogs by newest first?

Thanks in advance!

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

WordPress plugins? Do I have to pay for WordPress to make them?

Learn Programming - Thu, 09/20/2018 - 14:01

I can't find a straightforward answer anywhere. Do I have to pay for business account to make and upload them? It says in one place you can submit them for approval, but how am I supposed to submit something I can't test in their environment? I swear I'm not an idiot, why can't I find an answer to this?

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

N-Body simulation using WebAssembly

Programming - Thu, 09/20/2018 - 14:00
Categories: Programming