• Breaking News

    Sunday, December 31, 2017

    I've created a tutorial for creating a module Angular 5 Dashboard from scratch learn programming

    I've created a tutorial for creating a module Angular 5 Dashboard from scratch learn programming


    I've created a tutorial for creating a module Angular 5 Dashboard from scratch

    Posted: 30 Dec 2017 06:44 PM PST

    Hey peeps, I've almost always been on the receiving end of tutorials and today I finally managed to write my first tutorial since I wasn't really able to find much tutorials related to admin panels and dashboards in Angular 2/4/5. I'd like to share it with you and perhaps be able to help someone out who's wondering about how to create one themselves. The content of this tutorial walks you through the process of building the 'skeleton' behind a dashboard which you can easily extend as you see fit! I think building one of these from scratch helps understand quite a few concepts and gets you thinking more about what actually goes down when you need to create dynamic responsive panels, over using a polished template for your dashboard!

    https://medium.com/@nima_ap/creating-a-responsive-dashboard-in-angular-5-from-scratch-147f6a493d9e

    title: modular*!

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

    What are fun python projects to learn machine learning? [ENTRY LEVEL]

    Posted: 30 Dec 2017 08:20 PM PST

    Hey guys! I'm really interested in learning machine learning but not really interested in learning how to make various projects to learn programming (like a calculator or notepad). I want to learn how to take some available data and have the machine help me make a prediction. I've been playing around with python and machine learning but I don't know where to look. Who can give me some resources? Thank you, much appreciated.

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

    Games With Golang - a twitch stream teaching programming

    Posted: 30 Dec 2017 08:36 PM PST

    I will be starting a live stream on Jan 2 2018 where I will teach programming by making a series of games in Golang. Everything will be done with cross platform, free open source tools, so anyone is welcome to follow and code along. We will start with the basics, work our way up in complexity. The primary focus will be teaching programming fundamentals, but I will get into some gamedev specific things as well, like SDL2, procedural generation, and openGL. More details here:

    http://www.gameswithgo.org/

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

    My first week as a software engineer

    Posted: 30 Dec 2017 08:18 AM PST

    I have made a couple posts about how I got to where I am so I'm not going to go into an incredible amount of detail on that here. In summary I'm self taught, highly motivated, and primarily focused on javascript and found a full time job by going to meetups and being honest, willing, and friendly. We happen to have an excellent javascript community in my area.

    I was incredibly nervous on my first day, and almost certain they had the wrong person and only hired me because my name was similar to someone else and they mixed it up. Now I don't think that was the case, and I'm honored that I was selected to be a part of the team, these are great people I get to work with.

    On a technical ability level, there isn't much more I could have done to prepare myself to work on real production software (maybe working more on a large open source project, but I'm not certain about that). Although my hyperfocus on Javascript may have been more well suited if tempered with some lower level language. The particulars of what we are working on don't matter. I think the general idea here is that working on 'projects' for a portfolio is a world away from actual saleable products that have teams maintaining them. The structure and patterns used are something that I understand in a vague way, but nothing like what I've built on my own or even experienced working with a startup. Come to think of it, some of the sessions I had the chance to go through with an experienced developer (friends are great) feel very similar to the orientation I've been getting from the team.

    It has only been a short week, but I'm even more excited to see how things progress now than before my first day. I mean, I get to hang out all day with people who are smarter than me, and learn from them while contributing to a project. How awesome is that?! As much as I have miles to go, I find the environment invigorating. It's like coming home.

    Things that have served me well:

    • understanding the basics of how code is compiled and run
    • understanding coding standards and naming conventions (even though they arent the same ones the team uses)
    • Knowing git and how to make commits and use the command line
    • working in both a windows and mac environment
    • communication skills both written and verbal (this includes admitting when I dont understand something)

    the list of things I need to learn would be way too long to post, but I plan to tear through it as quickly as possible! Im happy to answer almost any questions here, I wont post or link to portfolios or github without collateral information (because strangers on the internet), and I wont discuss the specifics of pay but you can see my other post for the gist of it.

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

    How do I make an actual application

    Posted: 30 Dec 2017 12:28 PM PST

    I'm learning Java to make Android apps, and it's frustrating AF. I know how to use loops, and arrays, and how to create classes and interfaces, print to console, all that basic stuff.

    But I don't know how that translates into an actual usable application. Like how do I have a UI with animation, and how do I save user info. Is there a specific class or book that teaches that kind of stuff?

    I watched some "beginner" YouTube videos, and they were really confusing. All they do is use a bunch of random classes from the library I know nothing about. There was very little of the stuff I learned like nested arrays and sorting algorithms.

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

    getting "access is denied" in command prompt when trying to run c file

    Posted: 30 Dec 2017 05:10 PM PST

    https://www.tutorialspoint.com/compile_c_online.php That is the code I am trying to run from my command prompt stored in a file called main.c I have windows 10, and am using minGW for the compiler. When I type in "gcc main.c -o main.exe" it creates main.exe When I then type in "main.exe", it simply says "access is denied" and deleted main.exe from where it was stored.

    The strangest part is is that other files I have compiled and ran were successful. This is the only one saying "access is denied". Also, I am running administrator command prompt. Anyone have any idea how I can fix this?

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

    [meta] I need a mentor.

    Posted: 30 Dec 2017 11:49 PM PST

    I'm trying to learn coding from the very beginning and need a mentor to guide me. Sorry for the extremely short spam-esque text. I just need someone to prepare a curriculum for me, and keep me accountable. I am a dropout and I can't do this shit alone.

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

    Any programming competitions?

    Posted: 30 Dec 2017 12:51 PM PST

    are there any upcoming online coding competitions within january that I can participate in? been coding for exactly 1 year now

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

    2018 code-buddy for #100DaysOfCode

    Posted: 30 Dec 2017 07:47 AM PST

    Hey, I feel great about 2018. From 1 January I will be taking the #100DaysOfCode challenge. In this 100 days I intend to cover: * Javascript * React and Native React * Python

    I'm looking for someone who is highly motivated. 100 days are a lot. Continuity is essential.

    We will have have daily or weekly technical discussions about what we have learned, share resources etc.

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

    How does memory work?

    Posted: 30 Dec 2017 11:18 PM PST

    I'm sorry if my title is vague. I just want to know, how do hex addresses work? I know every variable has a memory address and I know somewhat of what pointers are. I plan to learn assembly but I need to know this first. What are memory addresses associated with? Does every address have a value? If anyone can explain and/or give me a reference I'd appreciate it.

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

    [Lua]Read if a certain directory exists inside of my personal dropbox

    Posted: 30 Dec 2017 08:49 PM PST

    I've used the following code to upload a certain file from my computer to dropbox. https://pastebin.com/scCAiU7N

    I'd now like to use curl to read if a certain directory exists inside of my dropbox. I've done some googling and couldn't find much information, so I thought I'd ask here. The code above I got working without much understanding of how it worked, so this one has me stumped.

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

    Am i wasting time trying to learn when it's really confusing for me?

    Posted: 30 Dec 2017 10:34 PM PST

    Hi all, I'm applying for a web development bootcamp and have to take an assessment. I went through the practice materials which are in javascript, and am really struggling with being able to answer the simplest questions.

    I took one semester of CS in college, but switched majors because programming literally didn't make sense to me. I could see the examples, and they would make perfect sense. I could reverse engineer code to make it do what I need it to, but once I have to write something from scratch, i get completely lost.

    Does it get better once I reach a certain level of aptitude, or am I just wasting my time

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

    Having difficulty connecting to a database using SQL

    Posted: 30 Dec 2017 02:48 PM PST

    I am prompted in the terminal to: Use CONNECT or CREATE DATABASE to specify a database SQL> My question is how do I connect/create a database?

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

    [DELPHI DEBUG]Login system has inconsistent results when just when loading a new form

    Posted: 30 Dec 2017 06:00 PM PST

    First of all, I'll like to say that I know that Delphi is very very old and is not very well supported but I have no choice because my school uses it... =.=

    So the start of my programme has a login screen where it reads data from a dataset and just checks through "for" loops whether the username and password exists. However, if I make a user, then create a new user with the same username, I made it so it would give me an error message... Which it does.. But when I go back to the Login Form, it no longer can find the user??? Here is a video to describe my issue

    Youtube Video

    Here is the related code (Apologies for it being so large):

    procedure TLoginFrm.LoginBtnClick(Sender: TObject); var Username, Password : String; i, NoOfRecords : Integer; IsMatch : Boolean; begin NoOfRecords := modFile.UsersDataSet.RecordCount; if NoOfRecords = 0 then begin NewUserFrm.Show; Application.Messagebox('There are currently no users. Please create new user.','Error'); UsernameBox.Text := ''; PasswordBox.Text := ''; end else begin IsMatch := False; Username := modFile.UsersDataSet.FieldByName('Username').AsString; Password := modFile.UsersDataSet.FieldByName('Password').AsString; modFile.UsersDataSet.First; for i := 1 to NoOfRecords do begin if (Username = UsernameBox.Text) and (Password = PasswordBox.Text) then begin LoginFrm.Hide; MainMenuFrm.Show; IsMatch := True; end else begin modFile.UsersDataSet.Next; Username := modFile.UsersDataSet.FieldByName('Username').AsString; Password := modFile.UsersDataSet.FieldByName('Password').AsString; end; end; if not IsMatch then begin Application.MessageBox('Incorrect username or password. Try again.','Error'); UsernameBox.Text := ''; PasswordBox.Text := ''; LoginBtn.SetFocus; end; end; 

    procedure TNewUserFrm.ApplyBtnClick(Sender: TObject); var IsAvailable : Boolean; i, NoOfRecords : integer; Username : String; begin NoOfRecords := modFile.UsersDataSet.RecordCount; if (NewUsername.Text <> NewUsername2.Text) or (NewPass.Text <> NewPass2.Text) then begin Application.MessageBox('The usernames or passwords do not match. Try again', 'Error'); NewUsername.Text := ''; NewUsername2.Text := ''; NewPass.Text := ''; NewPass2.Text := ''; ApplyBtn.SetFocus; end else begin IsAvailable := True; modFile.UsersDataSet.First; Username := modFile.UsersDataSet.FieldByName('Username').AsString; for i := 1 to NoOfRecords do begin if NewUsername.Text = Username then begin IsAvailable := False; modFile.UsersDataSet.Next; Username := modFile.UsersDataSet.FieldByName('Username').AsString end else begin modFile.UsersDataSet.Next; Username := modFile.UsersDataSet.FieldByName('Username').AsString; end; end; if IsAvailable then begin if not modFile.UsersDataSet.Active then modFile.UsersDataSet.Open; modFile.UsersDataSet.Append; modFile.UsersDataSet.FieldByName('Username').AsString := NewUsername.Text; modFile.UsersDataSet.FieldByName('Password').AsString := NewPass.Text; modFile.UsersDataSet.Post; modFile.UsersDataSet.SaveToFile; NewUsername.Text := ''; NewUsername.Text := ''; NewUsername2.Text := ''; NewPass.Text := ''; NewPass2.Text := ''; NewUserFrm.Hide; end else begin Application.MessageBox('Username has already been taken. Try again.','Error'); NewUsername.Text := ''; NewUsername2.Text := ''; NewPass.Text := ''; NewPass2.Text := ''; ApplyBtn.SetFocus; end; end; end; 
    submitted by /u/Ming_Lau
    [link] [comments]

    [Rails] Why on earth is the update action setting my models field which I am using in replacement of the id field.

    Posted: 30 Dec 2017 04:36 PM PST

    In one of my models i have a token field which is a randomized url token, that is created with before_create.

    In routes.rb i am using it instead of id, like: resources :model_name, param: :token

    So for example the edit route is now model_name/:token/edit.

    In my actions i am doing find_by(:token, params[:token]).

    Now this works fine, for everything except for update. I can load the edit form just fine, all the fields filled in, all good.

    When i click the submit button though for some reason it decides its going to do /model_name/:id instead of /model_name/:token.

    The best part is if you look at the params sent, it has literally set the token field to the id. So the value of params[:token] is say, 5.

    I have no idea why this is happening and iv been debugging it for over a day now.

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

    Hawk Authentication vs. HTTP Digest Authentication

    Posted: 30 Dec 2017 08:51 PM PST

    What is the difference between these two? I keep getting them mixed up because of their common use of HMAC. Can someone please break it down for me?

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

    What are the best ways to learn data structures in Java ?

    Posted: 30 Dec 2017 02:14 PM PST

    I just passed Programming Fundamentals last semester, and I need to be on top of my game for data structures next semester. So, what are the best ways to learn data structures in Java?

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

    Can I programmatically google search for keywords and find a word that comes before that keyword?

    Posted: 30 Dec 2017 02:38 PM PST

    I am finding ways to make a small script for it. I want to look for a keyword and find a word that comes right before that keyword from the google search. With python how could I go about programming that part to find the keyword?

    Examine one character at a time backwards from my search word until a space appears ?

    Surely there is a better way.

    submitted by /u/fifth-throwaway
    [link] [comments]

    Planning on teaching BASIC to kids

    Posted: 30 Dec 2017 07:19 PM PST

    So I'm planning to start a coders group for kids below 10 to encourage more into STEM. My husband suggested BASIC, but I need more inputs on what else I can take up to teach.

    I'm thinking logic design circuits too, but will 10 year olds understand?

    Where can I find material to prepare myself and get materials necessary

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

    What does the back propagation model for a multi-hidden-layered neural network look like in semi-plain english?

    Posted: 30 Dec 2017 10:46 PM PST

    I'm building a neural network with multiple hidden layers. I managed to successfully build one with one hidden layer, 30 neurons, then one hidden layer, 120 neurons. Figured why not scale it all the way to 6 layers, 1000 neurons per layer. computer melting noises.

    My issue is, it doesn't seem to be learning. I suspect that I'm not taking the partial derivative correctly - currently all I'm doing is repeating the same process that one layer uses on multiple, however, shouldn't the partial derivative include all of the prior sheets? Is there a "simple" example out there for multi-layered NN?

    I'm using sigmoid functions, gradiants, and my programming "language" is Excel

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

    Absolute beginner, struggling with finding a starting point on where and how to learn to code. More info in the post.

    Posted: 30 Dec 2017 06:40 PM PST

    Hey all!

    I'm a very tech driven individual. I have a job that deals with internet technology and a lot of social media. I want to take my skills to the next level and learn the fundamentals of how to code.. more specifically I would love to get into indie game development (I'm a very creative and artistic person). I have no issues adapting to how to use the software (back in the day I used Flash quite a bit mixed with Dreamweaver and Photoshop) but I'm really struggling getting off on the right foot with code. I'd like to start using Unity. C# primarily and Javascript as a back up, but a lot of the online tutorials simply show the instruction on how to achieve a certain goal without explaining the code they are using. For example, why am I using a private float versus a public float? What is a float?

    I feel like there has to be a class or tutorial out there that gives an absolute breakdown from the beginning up but I just haven't found it. Any help is appreciate!

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

    Which is better for IT/ coding skills, Classroom or online learning?

    Posted: 30 Dec 2017 10:10 AM PST

    Wondering about going back to college to study IT and Software development, or should I stick to online courses?

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

    Which language is the best if I want to make GUIs and do most of the stuff I can do in Python?

    Posted: 30 Dec 2017 10:49 AM PST

    I started learning Python 9 months ago. It's really been on/off learning but mostly I use Python now for automating day to day tasks. However, if I want to move a script to another PC or giving it to a friend, I have to install the Python and the script dependencies on it all over again. I haven't yet started making GUI in Python. The modules I regularly use on Python are selenium, requests, BeautifulSoup, openpyxl (Excel) and pyperclip (clipboard functions).

    I am looking for a programming language to do what I can do in Python but give it a GUI while also being to run it on another computer without any additional or minimum installations.

    The options I am considering right now are PHP and C++ but I am not sure whether PHP can do a lot, although I have seen it do some amazing stuff and whether C++ has the libraries to do these stuff.

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

    Do you always need to call the __init__ method from a base class?

    Posted: 30 Dec 2017 01:37 PM PST

    I'm wondering if it's generally OK to do something like this:

    class Rectangle: def __init__(self,base,height): self.base=base self.height=height def perimeter(self): return 2*(self.base*self.height) def area(self): return self.base*self.height class Square(Rectangle): def __init__(self,sidelength): self.base=sidelength self.height=sidelength 

    I know that typically you'd want to include something like super().init(self,base,height) and then take care of the additional arguments you want for the subclass, but in this case I want the subclass to have fewer arguments than the base class (I want a square to be created using just one argument instead of the two required to create a rectangle).

    The code works (I can create instances of squares with one argument and print their perimeters and areas) but the editor is giving me the message "init method from base class 'Rectangle' is not called" so I'm wondering if it's a bad idea to do this?

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

    No comments:

    Post a Comment