Self-taught programmers, how long did it take you to get your first job? learn programming |
- Self-taught programmers, how long did it take you to get your first job?
- First Ever Video - Github Basics for the Unacquainted
- [C++] why does getline sometimes gets skipped?
- [php/html forms] Having trouble with the isset() funciton, returning true even when nothing filled out in textbox. Am I doing something wrong? How can I get it so that the text is only printed when I've hit submit AND there's text in the textbox?
- Leet Code Help - Faulty "Wrong Answers"
- 10 Week "Python Projects" class [Santa Clara] Nov28-Feb13
- Can somebody ELI5 function pointers and why somebody would use them?
- becoming an android developer?
- How to implement an IP check for a voting application
- [Java] Read a byte array off incoming stream
- Free code camp vs The Odin project
- Certification courses for CS freshman for Internships
- If am getting into learning, what is the best method? Should I take CS50 or read a book like Automate the Boring Stuff with Python?
- Is the main function of git branches for version control?
- Dev C++ Alternative to Linux?
- Dumb question about why to use scripting languages.
- [c++] I have to do this program where I find the total weight of 5 people using arrays. whats wrong with this?
- Learning C++ programming, but what about compiling?
- How to build a scanning web app?
- code compiles and runs but the two arrays I'm trying to compare are not comparing correctly, when two inputs in the same spot of each array match, the code is not recognizing it. Any help greatly appreciated.
- [JavaScript] JSON From API Can't be Read
- [SQL] A Big List of SQL Server Queries and commands
- So, where did my git pull wind up?
- Wjat would you want to know about a bootcamp before starting?
Self-taught programmers, how long did it take you to get your first job? Posted: 26 Nov 2017 01:29 PM PST For people who are completely self-taught and do not have any degree related to computer science:
[link] [comments] |
First Ever Video - Github Basics for the Unacquainted Posted: 26 Nov 2017 10:15 AM PST I just made my first video for GitHub. Check it out! Any feedback is appreciated. [link] [comments] |
[C++] why does getline sometimes gets skipped? Posted: 26 Nov 2017 10:57 PM PST I started my code with getline but later on, after using cin multiple times, getline gets skipped when I run my code. What causes this? [link] [comments] |
Posted: 26 Nov 2017 09:26 PM PST Here's my code: Basically, when I hit submit, "submit and text were both set!" still prints EVEN WHEN I've not put any text in the text box. Therefore, somehow isset($_POST['text']) is returning true somehow but I would think this is only the case when there is actually text in the textbox. Otherwise, what is the point? When is it ever false. Am I doing something wrong? Also, I just now noticed that the text is also printed when I put my cursor in the textbox, type no text, and hit enter. I would imagine that it should only pass when there's text AND I click submit. I really don't understand :( [link] [comments] |
Leet Code Help - Faulty "Wrong Answers" Posted: 26 Nov 2017 10:30 PM PST
In Visual Studio my output is 2718 making my program run fine, but I'm confused as to what the issue is in Leetcode.
What would "minimal" be in my example code? I'm not sure where I went wrong so I'm gonna display it all. If there's a way to condense my code I would love the feedback to improve as a programmer and also with reddit's formatting. }; [link] [comments] |
10 Week "Python Projects" class [Santa Clara] Nov28-Feb13 Posted: 26 Nov 2017 10:19 PM PST Dear Neighbors, For Software-Techies, I invite you to my Project Based Python Programming class: https://register.asapconnected.com/CourseDetail.aspx?CourseId=136006&ext=1 It meets on Tues night 7pm to 10pm. The location is Santa Clara Adult Education Campus. Address: 1840 Benton St. Room F4 The class has 10 meetings: Tues Nov 28 through Feb 13. Cost: $329 [ covers class and significant e-mail support ] Class pace is FAST and topic list is VAST; you will get your money's worth. If you fall behind, dont worry; I will answer help-requests during the session and after Feb 13. Also the class offers an online forum to help you connect with the instructor and other students. Format:
Lecture Topics:
If you have questions, e-me: bikle101 at gmail [link] [comments] |
Can somebody ELI5 function pointers and why somebody would use them? Posted: 26 Nov 2017 09:02 PM PST I'm currently reading about function pointers in a CS textbook and I'm a bit confused by them. How and why would you use a function pointer? [link] [comments] |
becoming an android developer? Posted: 26 Nov 2017 09:02 PM PST Hello developers, I'm a 26 year old man graduated last year with degree in engineering but have no coding experience and have recently wanted to become a android developer.
thank you [link] [comments] |
How to implement an IP check for a voting application Posted: 26 Nov 2017 10:03 PM PST So voting sites such as www.strawpoll.me implement a system that checks for duplicate IP addresses so that users can't vote more than once by simply logging into a different browser or clearing their cookies if there is a cookie checking block. I need to know how this is accomplished so that I can implement it into my own project. [link] [comments] |
[Java] Read a byte array off incoming stream Posted: 26 Nov 2017 09:48 PM PST I'm looking for a way to wait until bytes are available in the stream and then read an entire byte array of x bytes, (pushed onto the stream as a byte array on the sender's end)? I envision a while loop waiting for bytes to be available on the input stream, read the bytes into a byte array when bytes become available and then goes back to waiting for more bytes. Thanks. [link] [comments] |
Free code camp vs The Odin project Posted: 26 Nov 2017 02:15 PM PST I feel very stuck between the two. While I think I'd rather learn javascript and the MEAN stack over Ruby and RoR (which i am also interested in) I much prefer the odin projects way of doing things. Everything on FCC seems to be in browser and you don't get a feel for a real development environment. TOP on the other hand dive straight into setting up your own environment and teaching you git , github and heroku. I feel like I'll learn exactly what i want with FCC but have no experience with a real development environment while with TOP I'll learn something similar but get lots of practice in other important areas. Any suggestions on which to go with based on that? Is there any other free course that I've missed that covers FCC content but in your own dev environment? [link] [comments] |
Certification courses for CS freshman for Internships Posted: 26 Nov 2017 09:27 PM PST My younger brother recently started his Undergrad in Computer science. This coming winter break I want him to self study and gain some certification(s) to help him land an internship this coming summer. Can you please recommend some beginner level IT or Programming courses with certifications (preferably cheap) that I can recommend to him. He is studying in an US institution as an international student. He is currently taking two intro level Computer science courses which uses Python. [link] [comments] |
Posted: 26 Nov 2017 08:49 PM PST |
Is the main function of git branches for version control? Posted: 26 Nov 2017 10:18 PM PST So my list of branches initially look like this:
After I make changes I'll create a new branch called So eventually a while later my git branches would look like this:
etc Am I on the right track? [link] [comments] |
Posted: 26 Nov 2017 11:01 PM PST Hi! I managed to install DevC++ on my machine but i can't use it.Can someone suggest me another alternative ? I have tried Geany, but i don't seem to have a nice time with it. [link] [comments] |
Dumb question about why to use scripting languages. Posted: 26 Nov 2017 08:33 PM PST So I still don't really understand the point of scripting languages and I'm embarrassed. I'm a programmer professionally for a few years now and I don't really understand what the point of ruby, python, and Javascript is. I get that the languages themselves have things that are useful like some features of ruby. I've been working in c languages mostly and c# professionally. I had a project that my girlfriend gave me an idea for. A program to make some aspects of her job easier. I thought this would be a good time to learn a good scripting language since I was told they'd be good to have under my belt. I looked into ruby or python and... I didn't see a reason to use them. It's for a windows computer, I wanted a gui and if I pick a compiled language I can package the program up for her to install and use. I even use Javascript at work but I tend to stick mostly to doing things in c#. So, why would I use ruby where I could use Java or c#? I would need an interpreter and it doesn't seem easier unless there's an aspect of ruby for example that I need. [link] [comments] |
Posted: 26 Nov 2017 10:11 PM PST include <iostream>using namespace std; int main() { double total(double value[], int size); double avg(double value[],int size); const int size = 5; double weight[size]; for (int a=0;size>a;a++) { double totalNew = total(weight,size); cout<<"Total weight: "<<totalNew<<endl; return 0; } [link] [comments] |
Learning C++ programming, but what about compiling? Posted: 26 Nov 2017 07:52 PM PST I've been programming in Python for a few years. I'm about to start working my way through Accelerated C++ by Koenig & Moo to get up to speed with C++. I realize Accelerated C++ doesn't cover C++11 and C++14, but the idea is for me to use a relatively short (but good) book like Accelerated C++ to get the basics of C++, and then I'll use another resource to pick up the latest features of C++11 and C++14. I have Stroustrup's Programming, Principles and Practice as a backup reference, along with C++ Primer by Lippman, Lajoie and Moo. My goal is to learn C++ as fast as possible with the goal of doing scientific computing (which I'm currently able to get away with doing in Python). Anyway, one thing I realized about most C++ tutorial books (including the above 3 books, which everyone says are amazing) is that none of them actually go into details about compiling C++ code. Compiling C++ code looks daunting to me -- there are a ridiculous number of flags for command line compiling, and then there's the whole rabbit hole of Makefiles. One resource that I found useful for learning a little bit about compiling is something like www.learncpp.com. I know that online tutorials such as that website are not recommended for actually learning C++ programming itself, but the ~1-2 intro lessons about compiling a Hello World program looks useful; see http://www.learncpp.com/cpp-tutorial/06-writing-your-first-program/. Also, for example, the Accelerated C++ book comes with C++ source code downloadable from their website, and that has a bunch of Makefiles in it (useful even though I plan to write out each example code snippet myself to learn better). My question: I use a macbook, and apparently I should be using clang to compile my C++ code. Is that right? What would happen if I compiled my code using CC, GCC, gcc, gcc++, or clang++? All of those commands work on my terminal. Thanks! [link] [comments] |
How to build a scanning web app? Posted: 26 Nov 2017 07:37 PM PST I'm thinking of making it like a web app, but I'm not sure how that would work. We can use templates. In this database, I would be able to add items (scan), the database can automatically update inventory based on incoming and outgoing transactions, the database will be accessible to other staff members with permission. I can create locations for items in the database. Other users with permission can select the items they want, schedule pickup time, and submit, the database will send a notification to me(backend). [link] [comments] |
Posted: 26 Nov 2017 07:27 PM PST } } [link] [comments] |
[JavaScript] JSON From API Can't be Read Posted: 26 Nov 2017 07:08 PM PST I'm making a GET request to an API that I've written and is running locally on a different URL and port. From the Network tab in the console I can see that I get the JSON that I expect, so i think my request is fine. In my code I've tried show the result with and but on both of these the site just displays {} and the console gives the error My GET request function is [link] [comments] |
[SQL] A Big List of SQL Server Queries and commands Posted: 26 Nov 2017 02:35 AM PST Link to GistReddit has messed up the formatting, you can visit the above gist to see them in proper format.To create a Table ``` ``` To create a copy of table( doesnt create constraints like primary key, not null , indexes ect) To create a copy of table with its data (create and insert) ``` SELECT expressions INTO new_table FROM tables [WHERE conditions]; SELECT employee_id AS contact_id, last_name, first_name INTO contacts FROM employees WHERE employee_id < 1000; ``` The format of new_table is determined by evaluating the expressions in the select list. The columns in new_table are created in the order specified by the select list. Each column in new_table has the same name, data type, nullability, and value as the corresponding expression in the select list. Inserting Data from another table ( only insert) Inserting Multiple values To add a column To add a auto increment To add a column with computed value To delete/drop a column To drop a table To modify a column To update a row To update a row from select clause To add a primary key ``` ALTER TABLE table_name ADD CONSTRAINT constraint_name PRIMARY KEY (column1, column2, ... column_n); ``` To find the name of constraints To find name of Primary key constraint Drop primary key To rename a column (alter command doesnt work here) To rename a table To top 10% of records To find when a table was altered To find which table contains a given column ``` SELECT * FROM INFORMATION_SCHEMA.COLUMNS; ``` To find which table has which constraint and on which column.
Selcting based on case ``` SELECT CASE WHEN <test> THEN <returnvalue> WHEN <othertest> THEN <returnthis> ELSE <returndefaultcase> END AS <newcolumnname> FROM <table> ``` Adding row numbers to the result //here we are creating While Loop ``` DECLARE @MaxCount INTEGER DECLARE @Count INTEGER DECLARE @Txt VARCHAR(MAX) SET @Count = 1 SET @Txt = '' SET @MaxCount = (SELECT MAX(RowID) FROM ConcatenationDemo) WHILE @Count<=@MaxCount BEGIN IF @Txt!='' SET @Txt=@Txt+',' + (SELECT Txt FROM ConcatenationDemo WHERE RowID=@Count) ELSE SET @Txt=(SELECT Txt FROM ConcatenationDemo WHERE RowID=@Count) SET @Count += 1 END SELECT @Txt AS Txt ``` Try / Catch Statements To get date in DD/MM/YYYY format To get datatype, size of columns of a table To get empty string after concatenation of a string with NULL When SET CONCAT_NULL_YIELDS_NULL is ON, concatenating a null value with a string yields a NULL result. For example, SELECT 'abc' + NULL yields NULL. When SET CONCAT_NULL_YIELDS_NULL is OFF, concatenating a null value with a string yields the string itself (the null value is treated as an empty string). For example, SELECT 'abc' + NULL yields abc. To compile without executing Updating data from another table Check if column exists in table Converting Multi row data into a comma separated string To remove duplicate rows Check if the table exists Find tables with given column name Find all user tables Allows explicit values to be inserted into the identity column of a table. DECLARE and SET Varibales Add a Foreign Key Add a NULL Constraint Set Default Value for Column Create an Index Check Constraint Single Line Comments Multi-Line Comments User Defined Function Pivot - To convert rows into columns WITH (NOLOCK) is the equivalent of using READ UNCOMMITED as a transaction isolation level. While it can prevent reads being deadlocked by other. Finding the last identity inserted into a table
@@IDENTITY and SCOPE_IDENTITY will return the last identity value generated in any table in the current session. However, SCOPE_IDENTITY returns the value only within the current scope; @@IDENTITY is not limited to a specific scope. That is, if there was a second IDENTITY inserted based on a trigger after your insert, it would not be reflected in SCOPE_IDENTITY, only the insert you performed. IDENT_CURRENT is not limited by scope and session; it is limited to a specified table. IDENT_CURRENT returns the identity value generated for a specific table in any session and any scope. For more information, see IDENT_CURRENT. Identity doesn't guarantee uniqueness. If you want that, make a PK or add a unique index. [link] [comments] |
So, where did my git pull wind up? Posted: 26 Nov 2017 08:49 PM PST If push sends stuff to GitHub, am I right in assuming that a pull is a download? If so, where does it wind up if you don't do anything to specify a location? [link] [comments] |
Wjat would you want to know about a bootcamp before starting? Posted: 26 Nov 2017 06:10 PM PST There's some mixed feelings about bootcamps here and since I'm considering one and have the opportunity to ask them questions before I make a decision, I ask you, Reddit, what would you want to know before signing on? Statistics on graduation and hiring rates are available on their site as well as the curriculum. [link] [comments] |
You are subscribed to email updates from learn programming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment