I am a bootcamp grad and will teach myself computer science in 2018. Who wants to join? learn programming |
- I am a bootcamp grad and will teach myself computer science in 2018. Who wants to join?
- Some quick cliche advice for beginners
- Entering the world of Programming.
- I want to create a database, no experience
- VS 2017, every C++ project says "Project out of date"
- I already know the basics really well, but I can't get past them.
- It’s amazing to me!
- [Homework] I'd like to create a Morse Code Keyboard for my Java final project and need some initial guidance
- I'm out of motivation to learn to code.
- overriding equals method in java
- Need help with VBScript; trying to automate task with IE interaction
- Learn Programming, Web Development, Hacking With These Free and Discount Udemy Coupons
- Confused on how to make an adjacency list
- Getting kinda stuck at the start of programming
- Which programming language for creating event finding services?
- Does anyone know a good way to write TI-BASIC for TI-89 on PC and compile for calc instead of writing on the calculator?
- Not sure what this line of code achieves?
- [Java]Trying to understand Vigenere Cipher code
- [SQL],[ASP.NET] Inputting data into database using stored procedure.Getting the error in passing parameter to a stored procedure
- How to *host* a TCP Socket Server? (Not on your own computer)
- How do I deal with dll in NASM?
- How do I run this Go program in OS X?
- [C++] What is the difference between capturing a queue by reference in a lambda vs std::ref?
- Need to make web scraper- javascript output hidden?
- Resources for machine learning... Looking for advice.
I am a bootcamp grad and will teach myself computer science in 2018. Who wants to join? Posted: 09 Dec 2017 03:05 AM PST Hi there, As a bootcamp grad, I often feel like a fraud when I build my projects as I often miss the correct computer science foundations to understand deeply the topics I am dealing with. This is why I will dedicate my 2018 year to teaching myself CS. I will follow the Teach Yourself CS curriculum (https://teachyourselfcs.com/) and will try to go through it in 1 year. Who would like to join me in the challenge? Maybe we could create a community? Here is a blog post where I explain my approach: https://dlet.me/stopping-my-imposter-syndrome-by-teaching-myself-computer-science-9ec1e0474060 Edit: Whaou !! I am so excited!!! Thanks a lot for the awesome answers!! Please check my own answer below for more info about how we can set this up and to participate to the debate!! :D https://www.reddit.com/r/learnprogramming/comments/7im77l/i_am_a_bootcamp_grad_and_will_teach_myself/dr01m27/ [link] [comments] |
Some quick cliche advice for beginners Posted: 09 Dec 2017 05:13 PM PST When I first started programming, I started by taking the Udacity Intro to CS course. Throughout the course, they teach you the basics with python, and you gradually build a web scraping program throughout the course as you level up. Their goal, I'm sure, was for you finish the course and reflect on the program and be surprised how far you have come. My reaction was maybe a little bit of that, but it was mostly me thinking "wow I could never do that on my own". A separate moment I recall, was when I first started going to meetups maybe a month or two after I started programming. There was a bootcamp grad who was showing me his final project which was a full stack web app with a login and it used all these different APIs, and I thought to myself "He did that after 3 months? Will I really be able to do that?" Fast-forward 6 months, and I've built 5ish full stack web apps and currently I'm building a web app that scrapes webpages for job listings. The difficult thing to realize when you start is that the only difference between you and everyone else is that they have 100s or maybe 1000s of hours more practice than you do. If you know this, internalize it, and focus mainly on short term goals with long term goals in the back of your mind, then you'll make a ton of progress without even realizing it. [link] [comments] |
Entering the world of Programming. Posted: 09 Dec 2017 09:23 PM PST Hey guys! So I really wanted to learn programming but I was really kind of on and off while actually trying to practise. A few days ago some awesome fellow reddit user posted a free code to an online course. After spending 1 week I finally created a small program that guesses the number that you have in your mind. I'm new to Reddit and Programming so here I am sharing one of my first programs. Tell me what you guys think about it. I would like to have your reviews and advice. Feel free to use this program in any way if you wish to. Here's the link to the Python code. EDIT: Here's the Pastebin Link https://pastebin.com/sd8YYNf9 [link] [comments] |
I want to create a database, no experience Posted: 09 Dec 2017 08:04 PM PST I'd like to create a database for work, but I have no experience coding or anything like that. I'm good in excel and can create the various macros to do what I want, but my boss wants a real database. My first question, what do you even call this, wanting to create a database? Does this fall under "programming", "coding", some other word? Is it all effectively the same? Is one language better than another for what I want to do? Here's a description of what I want it to do: We prepare a Cost of Production for our agriculture clients (we're an accounting firm), and we want to compile all this data we have into a database. We want to be able to show a client what stats fall under the top and bottom 20% performers, compare performances by region, compare performances by cow breeds (for example), age of the farmers, etc etc. We have all of this on a case by case basis, but nothing compiling everything together with queries to pull what we want. Our partners would be prepared to hire this work to be done, but they were quoted 30k-100k.. I think they're overestimating the level of comprehensiveness we're looking for. Anyways, if you want more information to make a better suggestion, ask away. Basically I'm ready to start the learning process for this, but I don't know if this is different than "just learning Python", because I don't know if a database is very different than creating a program, or whatever.. Thanks a lot [link] [comments] |
VS 2017, every C++ project says "Project out of date" Posted: 09 Dec 2017 06:19 PM PST Every time I try when I run debug Win32, it shows that the project is out of date every single time. I thought maybe I had done something to my project, so made a new one and did nothing to it, and when I ran it, I had the same dialogue warning me the project was out of date. I've looked all over the place, and can't find anything for it. I've set the debug output to detailed, and it shows that no headers are missing or anything, like all of the other solutions suggested. [link] [comments] |
I already know the basics really well, but I can't get past them. Posted: 09 Dec 2017 10:05 PM PST As the title says, I already know the basics of programming overall, but I can't get past them. I don't know what to make or where to start. I ask for a sense of direction from someone. [link] [comments] |
Posted: 09 Dec 2017 07:05 PM PST It's amazing to me how often you hear the idea that object oriented programming reflects the way we think about the world. I have never found it natural or easy! Logic and functional programming on the other hand just 'fit'. What paradigms just clicked with you? [link] [comments] |
Posted: 09 Dec 2017 07:08 PM PST You guys are busy so feel free to skip the rambling background... So at the moment I'm starting on a Morse Code translator. It's going to work by you pushing the - and + (substituted this for ".") to input morse code and then getting out a character of english. I was going to to this by getting a scanner and making a shit ton of if statements to translate each set of inputs as a normal character. So then I had the great idea to turn it into a virtual keyboard (I was a bit annoyed by the blatant unrelated typing in many of my classes so I wanted to make something that would make it more discreet). As in when this is running if I type the sequences of "-"s and "+"s I get english out of it (or whatever language have you). But the issue is that I'm not sure how I'd make the output and how I'd signal the end of each morse code. TL;DR: I want to make my shitty final project of a morse translator into something actually practical, a morse virtual keyboard for more discreet typing. Questions:
I'm definitely hoping that this is feasible, I want this project to be like a jumping off point for me to start writing actual usable applications instead of the usual shitty java exercises. [link] [comments] |
I'm out of motivation to learn to code. Posted: 09 Dec 2017 10:17 PM PST Hello! Couple months ago, I started learning Python. I loved it and everything was fine but now I'm out of motivation to continue learning! Could anyone suggest me something for motivation or other IT jobs (I'm looking into sys. administration)? [link] [comments] |
overriding equals method in java Posted: 09 Dec 2017 09:20 PM PST I am supposed to override the equals method in this code to pass test3 in the code. not sure what to do where it says //fill in. any help is much appreciated [link] [comments] |
Need help with VBScript; trying to automate task with IE interaction Posted: 09 Dec 2017 11:21 PM PST The goal I'm trying to achieve here is to be able to run this script, and have it open up the pdf of the latest NOTAMs from an airport (NOTAMs are notices to pilots, and need to be briefed before they fly - so it's a pretty repetitive task). Ultimately, I'm copying the NOTAMs from the pdf into a ppt slide, so if it's possible to have it automatically update the ppt slide too that would be amazing. But for my purposes, just getting the pdf is a huge help. What follows is a frankensteined block of code from examples I found online. When I run it on my home computer (Windows 7, IE 11), it seems to work ok. But when I run it at work (Windows 10, IE 11), it opens up to the correct NOTAMs page, but runs into a bug before it downloads the pdf. I get a "The object invoked has disconnected from its clients" in reference to the Loop While line. I'm not a programmer by trade, so I know this is probably disgusting, but any help/tips/advice is greatly appreciated. [link] [comments] |
Learn Programming, Web Development, Hacking With These Free and Discount Udemy Coupons Posted: 09 Dec 2017 11:05 PM PST ======>FREE UDEMY COUPONS <======++++++++++++++++++LIKE OUR FACEBOOK PAGE++++++++++++++++++Follow Us: https://twitter.com/TechnoXperts1LIKE US: https://www.facebook.com/Technoxperts1/++++++++++++++++++LIKE OUR FACEBOOK PAGE++++++++++++++++++Health and FitnessMaster Your Mind with Meditation http://texperts.it/deal/master-mind-meditation-udemy-coupon/ Fitness Nutrition: Build Your Perfect Diet In 5 Easy Steps http://texperts.it/deal/fitness-nutrition-build-perfect-diet-5-easy-steps-udemy-coupon/ Heal Your Back Pain With Acupressure Points & Kundalini Yoga http://texperts.it/deal/heal-back-pain-acupressure-points-kundalini-yoga-udemy-coupon/ Getting in shape: The Basics http://texperts.it/deal/getting-shape-basics-udemy-coupons/ DesignBeauty of Dodge & Burn in Photoshop http://texperts.it/deal/beauty-dodge-burn-photoshop-udemy-coupon/ Illustrator CC: things beginners want know how to do http://texperts.it/deal/illustrator-cc-things-beginners-want-know-udemy-coupon/ Learn How To Build Websites Using Site Factory http://texperts.it/deal/learn-build-websites-using-site-factory-udemy-coupons/ Digital Illustration Tricks in Adobe Illustrator http://texperts.it/deal/digital-illustration-tricks-adobe-illustrator-udemy-coupon/ The Essential UX/UI Designer Course http://texperts.it/deal/the-essential-ux-ui-designer-course-udemy-coupon/ DevelopmentBasics Of PHP For absolute Beginners http://texperts.it/deal/basics-php-absolute-beginners-udemy-coupon-2/ Create a premium Educational Website using WordPress http://texperts.it/deal/create-premium-educational-website-using-wordpress-udemy-coupon/ React and Redux Masterclass http://texperts.it/deal/react-redux-masterclass-udemy-coupon/ ES6 JavaScript Reloaded http://texperts.it/deal/es6-javascript-reloaded-udemy-coupon/ Become a Swift Developer from Scratch http://texperts.it/deal/become-swift-developer-scratch-udemy-coupon/ Learn HTML CSS JAVASCRIPT for web development http://texperts.it/deal/learn-html-css-javascript-web-development-udemy-coupon-2/ PHP From Scratch : Practical Beginners Introduction – Udemy Coupon http://texperts.it/deal/php-scratch-practical-beginners-introduction-udemy-coupon/ Enhance Your Skill Set with Perl http://texperts.it/deal/enhance-skill-set-perl-udemy-coupon/ Machine Learning iOS 11 – Udemy Coupon http://texperts.it/deal/machine-learning-ios-11-udemy-coupon/ Oracle SQL for Beginners - The fundamentals http://texperts.it/deal/oracle-sql-beginners-fundamentals-udemy-coupon/ Java: Socket Programming Simplified http://texperts.it/deal/java-socket-programming-simplified-udemy-coupon/ Master Shopify - Create a Shopify Store in 1 Hour http://texperts.it/deal/master-shopify-create-shopify-store-1-hour-udemy-coupon/ Build a Javascript deeply nested object cloning utility http://texperts.it/deal/build-javascript-deeply-nested-object-cloning-utility-udemy-coupon/ The Web Developer Course with Project http://texperts.it/deal/web-developer-course-project-udemy-coupon/ WordPress for Beginners Master WordPress in No Time http://texperts.it/deal/wordpress-beginners-master-wordpress-no-time-udemy-coupon/ ES6 / EcmaScript 6 for beginners - the essentials http://texperts.it/deal/es6-ecmascript-6-beginners-essentials-udemy-coupon/ Essentials in JavaScript ES6 - A Fun and Clear Introduction http://texperts.it/deal/essentials-javascript-es6-fun-clear-introduction-udemy-coupon/ Linux Server Administration Made Easy with Hands-on Training http://texperts.it/deal/linux-server-administration-made-easy-hands-training-udemy-coupon/ Basics Of PHP For absolute Beginners http://texperts.it/deal/basics-php-absolute-beginners-udemy-coupon/ How to Make an Online Store w/ WordPress - eCommerce Website http://texperts.it/deal/make-online-store-w-wordpress-ecommerce-website-udemy-coupon/ Quickly Build a Website for Your Business / Hobby / Blog http://texperts.it/deal/quickly-build-website-business-hobby-blog-udemy-coupon/ HTML: Become an Expert in HTML5 In 2 Hours - For Beginners http://texperts.it/deal/html-become-expert-html5-2-hours-beginners-udemy-coupon/ Python 3000: Tactical File I/O http://texperts.it/deal/python-3000-tactical-file-o-udemy-coupon/ Learn Python 3.6 for Total Beginners (2017) http://texperts.it/deal/learn-python-3-6-total-beginners-2017-udemy-coupon/ IT Skills & SoftwareHow Hackers Create Malware and Infiltrate Victim Machines http://texperts.it/deal/hackers-create-malware-infiltrate-victim-machines-udemy-coupon/ Cybersecurity Awareness Training http://texperts.it/deal/cybersecurity-awareness-training-udemy-coupon/ Cloud Computing With Amazon Web Services http://texperts.it/deal/cloud-computing-amazon-web-services-udemy-coupon/ The Complete Mainframe Professional Course : VSAM http://texperts.it/deal/complete-mainframe-professional-course-vsam-udemy-coupon/ Fundamental Computer Information Technology Video Lectures http://texperts.it/deal/fundamental-computer-information-technology-video-lectures-udemy-coupon/ Microsoft Project 2016 Beginner to Intermediate Course – Udemy Coupon http://texperts.it/deal/microsoft-project-2016-beginner-intermediate-course-udemy-coupon/ Business and MarketingAgile Reporting - Beginner To Rock Star http://texperts.it/deal/agile-reporting-beginner-to-rock-star-udemy-coupon/ Business Analysis Fundamentals for Management Consultants http://texperts.it/deal/business-analysis-fundamentals-management-consultants-udemy-coupon/ Facebook Marketing - How to CRUSH it on Facebook http://texperts.it/deal/facebook-marketing-crush-facebook-udemy-coupon/ Employee Recruitment | How to recruit the best candidates http://texperts.it/deal/employee-recruitment-recruit-best-candidates-udemy-coupon/ WordPress SEO Tips and Content Creation Guide http://texperts.it/deal/wordpress-seo-tips-content-creation-guide-udemy-coupon/ Discover How to Get Reviews for Your Kindle Book in 2018 http://texperts.it/deal/discover-get-reviews-kindle-book-2018-udemy-coupon/ The Management Consultant's Toolkit http://texperts.it/deal/management-consultants-toolkit-udemy-coupon/ Impact of Social Media on the Logistics – Udemy Coupon http://texperts.it/deal/impact-social-media-logistics-udemy-coupon/ Complete Cryptocurrency Investment Course 2017 (In-Depth) http://texperts.it/deal/complete-cryptocurrency-investment-course-2017-depth-udemy-coupon/ Facebook Ads Crash Course http://texperts.it/deal/facebook-ads-crash-course-udemy-coupon/ How to build an etsy ecommerce home business in record time http://texperts.it/deal/build-etsy-ecommerce-home-business-record-time-udemy-coupon/ Email Marketing: Beginner's Email Blueprint http://texperts.it/deal/email-marketing-beginners-email-blueprint-udemy-coupon/ Social Media Management Tool: Be Your Social Tutorial http://texperts.it/deal/social-media-management-tool-social-tutorial-udemy-coupon/ Putting Social Media to Work for Your Coaching Business http://texperts.it/deal/putting-social-media-work-coaching-business-udemy-coupon/ Project Management Fundamentals - Stake Holder Management http://texperts.it/deal/project-management-fundamentals-stake-holder-management-udemy-coupon/ Personal DevelopmentSEDUCTION -- 10+ ways to be more attractive http://texperts.it/deal/seduction-10-ways-attractive-udemy-coupon/ OnePagerr Project Management http://texperts.it/deal/onepagerr-project-management-udemy-coupon/ Mastering Thinking Skills Vol 2: Become a Creative Genius http://texperts.it/deal/mastering-thinking-skills-vol-2-become-creative-genius-udemy-coupon/ Mastering Thinking Skills Vol 1: The 12 Fundamental Skills http://texperts.it/deal/mastering-thinking-skills-vol-1-12-fundamental-skills-udemy-coupon/ Learn Festival Drawing: Step by Step, for Kids & Beginners http://texperts.it/deal/learn-festival-drawing-step-step-kids-beginners-udemy-coupon/ Learn 100+Tips and Techniques to Boost Your Memory http://texperts.it/deal/learn-100tips-techniques-boost-memory-udemy-coupon/ OnePagerr Project Management http://texperts.it/deal/onepagerr-project-management-udemy-coupon-2/ How To Get Your First Job? Graduate Job Search Crash Course http://texperts.it/deal/get-first-job-graduate-job-search-crash-course-udemy-coupon/ Get That Big Raise: How to Double Your Salary in 4 Years http://texperts.it/deal/get-big-raise-double-salary-4-years-udemy-coupon/ ======>DISCOUNT COUPONS <======++++++++++++++++++LIKE OUR FACEBOOK PAGE++++++++++++++++++Follow Us: https://twitter.com/TechnoXperts1LIKE US: https://www.facebook.com/Technoxperts1/++++++++++++++++++LIKE OUR FACEBOOK PAGE++++++++++++++++++Web DevelopmentBuild Responsive Real World Websites with HTML5 and CSS3 http://texperts.it/deal/build-responsive-real-world-websites-html5-css3-udemy-coupon/ Build Modern Responsive Website With HTML5, CSS3 & Bootstrap http://texperts.it/deal/build-modern-responsive-website-html5-css3-bootstrap-udemy-coupon/ Projects in HTML5 http://texperts.it/deal/projects-html5-udemy-coupon/ Easy HTML5 + CSS3 + Bootstrap Web Design for Beginners http://texperts.it/deal/easy-html5-css3-bootstrap-web-design-beginners-udemy-coupon/ HTML5 Mastery—Build Superior Websites & Mobile Apps NEW 2017 http://texperts.it/deal/html5-mastery-build-superior-websites-mobile-apps-new-2017-udemy-coupon/ The Complete Node.js Developer Course (2nd Edition) http://texperts.it/deal/complete-node-js-developer-course-2nd-edition-udemy-coupon/ Node with React: Fullstack Web Development http://texperts.it/deal/node-react-fullstack-web-development-udemy-coupon/ Node with SocketIO: Build A Full Web Chat App From Scratch http://texperts.it/deal/node-socketio-build-full-web-chat-app-scratch-udemy-coupon/ PHP for Beginners - Become a PHP Master - CMS Project http://texperts.it/deal/php-beginners-become-php-master-cms-project-udemy-coupon/ Thoughtful Web Development Course: HTML, Vue.js, PHP, MySQL http://texperts.it/deal/thoughtful-web-development-course-html-vue-js-php-mysql-udemy-coupon/ Learn PHP Programming From Scratch http://texperts.it/deal/learn-php-programming-scratch-udemy-coupon/ PHP OOP: Object Oriented Programming for beginners + Project http://texperts.it/deal/php-oop-object-oriented-programming-beginners-project-udemy-coupons/ The Complete PHP MySQL Professional Course with 5 Projects http://texperts.it/deal/complete-php-mysql-professional-course-5-projects-udemy-coupons/ Angular 5 (formerly Angular 2) - The Complete Guide http://texperts.it/deal/angular-5-formerly-angular-2-complete-guide-udemy-coupon/ The Complete Angular Course: Beginner to Advanced http://texperts.it/deal/complete-angular-course-beginner-advanced-udemy-coupons/ The Complete JavaScript Course - Beginner to Professional http://texperts.it/deal/complete-javascript-course-beginner-professional-udemy-coupons/ React 16 - The Complete Guide (incl. React Router 4 & Redux) http://texperts.it/deal/react-16-complete-guide-incl-react-router-4-redux-udemy-coupon/ Modern React with Redux http://texperts.it/deal/modern-react-redux-udemy-coupon/ The Complete React Web Developer Course (with Redux) http://texperts.it/deal/the-complete-react-web-developer-course-with-redux/ The Complete JavaScript Course: Build a Real-World Project http://texperts.it/deal/complete-javascript-course-build-real-world-project-udemy-coupon/ JavaScript: Understanding the Weird Parts http://texperts.it/deal/javascript-understanding-weird-parts-udemy-coupon/ Javascript - From Beginner to Pro-Build real world JS apps http://texperts.it/deal/javascript-beginner-pro-build-real-world-js-apps-udemy-coupons/ [link] [comments] |
Confused on how to make an adjacency list Posted: 09 Dec 2017 11:01 PM PST So I have a school project I'm trying to finish that's just wracking my brain. I am trying to implement Dijkstra's algorithm, which should be simple enough. My problem is in the fine print of my project. I am to read in a file of locations and weights in the following format: from_city to_city weight There's obviously going to be duplicates and there could be any number of vertices. I don't know how to deal with the duplicates while reading from the file efficiently. So I have no idea how to assign a unique location/index to each of the cities since I would have to search for duplicates and then add on to the list. Using vectors has given me so much grief since using both vname.at(i).push_back(node *) and vname[i].push_back(node *) aren't working. Any ideas? I really am struggling with understanding what to do without making my program either super slow or unnecessarily convoluted. Any ideas? I'm a beginner so please be very detailed with your answers if possible. [link] [comments] |
Getting kinda stuck at the start of programming Posted: 09 Dec 2017 10:32 PM PST I know how to make a public class and methods on jGrasp and other things, but when it comes to loops and stuff it stresses me the heckity hecks out, like I cannot figure out how it works until I try messing around with some things until it works. What's worse is that I almost always get stuck after making the main method cuz I am bad at starting my own code. I sit there for like an hour thinking "okay what do I want my code to do???" And it's a awful cycle to go through. I would love to be able to get past that frozen state of mind, and get right to coding, any advice would be great, and thanks in advance! [link] [comments] |
Which programming language for creating event finding services? Posted: 09 Dec 2017 09:43 PM PST I have no programming experience, but I want to learn. To learn, I'm estimating my long term goal of creating an event finding service and brainstorming short term projects I can create that will motivate me to continue learning. Please let me know which language would be suite my needs based on the following. Thanks! Long term goal: I'm interested in developing a service that learns people's interests and can suggest real world events to them with a high degree of accuracy that participants will enjoy the events. I want to eliminate the need for antiquated services like local newspaper classifieds, craigslist events postings, Facebook Events page, etc that require users to browse through long, cumbersome lists. To do this, I want to see if I can use machine learning to well, learn people's interests. Maybe that will depend on Facebook integration, but hopefully not. I'm also interested in potentially creating a service that uses blockchain technology. Maybe I could create a network that filters people's (learned) interests into tribes with other users's who share those same interests. Even more optimistically, the network can self-generate events for people to participate in by linking people's interests with their geographic locations. I would maybe use some incentive system (like tokens) to incentivize venue owners to open their venues for hosting events. These are all vague ideas, but hopefully it expresses the type of services I want to create and the type of skills I would need to learn to be able to build them. Short term projects to help me apply beginning programming skills: 1. Create a program that converts a list of random event details into calendar form. 2. Create a program that scans craigslist ads for event details and posts them to the calendar. 3. Create a program that posts these events to a visual map. 4. Create a program that can sort events based on the Yelp ratings of their respective venues. I have no idea where to begin with machine learning, so I haven't thought of any simple projects for that. So, any idea on what programming language I should learn or if I should be trying to move more towards data science/analytics? I do not intend to be a technical founder, but I would like to have a decent idea of how to develop programs so I can know how to manage them and know at least a little of what's possible. Thanks for any help. [link] [comments] |
Posted: 09 Dec 2017 09:38 PM PST So far I've found some information on syntax (https://en.wikibooks.org/wiki/TI-Basic_89_Programming), but it seems like most of the IDE/compilers I've found are for -83/84 and not 89, which apparently changed some stuff. Really don't want to type everything in to a calculator. [link] [comments] |
Not sure what this line of code achieves? Posted: 09 Dec 2017 09:16 PM PST Hello reddit!! I'm currently revising for finals and theres this one line of code thats confusing me slightly. If you need the entire program I can provide it later, but for now the line is: space = Sentence.indexOf(' ', previousSpace);' I'm aware of the function string.IndexOf(); (it returns the position of a value you might be searching for, if i'm correct?) however, what confuses me is what the ' ' in the bracket achieves? and why was eclipse giving me an error when theres ' ' as opposed to ' ' in that bracket? [link] [comments] |
[Java]Trying to understand Vigenere Cipher code Posted: 09 Dec 2017 09:09 PM PST I'm going over the code from Rosetta Code for the Vigenere Cipher. The encryption method has two parameters: String text, String key. In the for loop, i is set equal to 0 along with j, but only i is incremented. The result string is initialized in the beginning of the method and concatenated as so: My question to you all is: If the first letter of the input text is 'I' then the encrypted letter is 'D'. How does the algorithm subtract numbers from characters along with multiplying and dividing characters by numbers? EDIT: Here's the Rosettacode link. https://rosettacode.org/wiki/Vigen%C3%A8re_cipher#Java [link] [comments] |
Posted: 09 Dec 2017 09:03 PM PST Yeah I'm trying to connect and pass data to database but I keep getting the error message "Procedure or function 'insert_into' expects parameter '@FirstName', which was not supplied." I have checked for typos. I dont know asp or c# that welll (beginner) so I have no idea what I am doing wrong. If anyone can tell me what I did wrong I would really appreciate it. Screenshots of my code: https://imgur.com/a/VE8li [link] [comments] |
How to *host* a TCP Socket Server? (Not on your own computer) Posted: 09 Dec 2017 04:49 PM PST Hey, My end goal is to make a 2D 2 Player Card Game (mechanics similar to TCG-esque card games like Magic, Yugioh, Hearthstone etc rather than rummy, poker etc). I'm currently using Python 3 for this Recently I've learned the basics of sockets and have managed to connect a client computer to a server computer. My networking goal with this is to send commands from one client to the server to affect the visuals on a second client. The server itself should only need to send a text command that would trigger a conditional statement. IE Client 1 draws a card, then sends the information to 'client 1 drew a card" to the server and then the server sends that onto client 2 which upon receiving 'client 1 drew a card' converts it to str then checks it against a conditional which should in turn add a face-down card from the visual of client 2's opponents deck to their hand. I believe relatively simple as game servers go. Still a ways away yet. I've managed a server-client connection and a client-server-client communication thing, as well as proto checks. However I don't actually know how to put the server.py file up somewhere online and connect to that. A lot of the solutions I've come across seem to talk specifically about web apps and I'm 99% sure that's not what I'm looking for. I was also trying Google's 'Compute Engine' but I was somewhat overwhelmed by the information and fought a bit with their command shell. So I'm wondering if someone here could point me in the right direction to a site (or a tutorial) to host your own server script somewhere online. If possible, from a rudimentary as possible point. Thank you for reading. [link] [comments] |
How do I deal with dll in NASM? Posted: 09 Dec 2017 08:24 PM PST Hello, I'm trying NASM out :) I would like to ask How do I deal with dll? you know find it > import it's function> use it :) I would like to apply it to windows 64-bit (I have Windows 7 running right now and windows 10 on another PC) [link] [comments] |
How do I run this Go program in OS X? Posted: 09 Dec 2017 08:24 PM PST Found here on Github: https://github.com/jakewins/findbtc using OS X / Terminal I have so far -installed Go from golang.org -run go get github.com/jakewins/findbtc but when I run the findbtc command I get told "Command not found" even when I navigate to /user/go/findbtc-master it dose not seem to make a difference. Any help would be appreciated. Thank you! [link] [comments] |
[C++] What is the difference between capturing a queue by reference in a lambda vs std::ref? Posted: 09 Dec 2017 08:08 PM PST I was helping a friend debug a piece of code the other day and he kept receiving the following warning: Which we believe led to some sort of data race in his code. I looked at his code and noticed he was using this line of code I then was worried that the
After he made that change, the error went away and our computations gave us the correct output we were looking for. My question is, what is the difference between the two? Do they not capture the same thing? Here is that piece of code: [link] [comments] |
Need to make web scraper- javascript output hidden? Posted: 09 Dec 2017 04:10 PM PST Hello, I have background using R and python and I've used it for years, but now I need to extract data from a website which is something unlike anything I've done before. I'm just looking for some directions to go. From what I've looked up the go-to strategy is to pull it straight from the HTML, which seems straightforward enough. However the page I'm looking at doesn't have the output I want in the HTML (see pics). What I want - ID of user 1 and ID of user 2, text content, date. The source code for the public feed data is in the image. They are not offering the API for new devs, so I'm out of luck there. Is this possible to do? If so, how should I go about approaching this problem? Thanks for any help. [link] [comments] |
Resources for machine learning... Looking for advice. Posted: 09 Dec 2017 08:27 AM PST Hi guys/girls! I am interested in learning more about machine learning, but it appears my math skills are lacking in order to understand some of the concepts in a few of the books I have tried to read on the topic. Could anyone point me in the direction of some resources that may be useful for me? I have taken Calculus/Probability/Statistics and wouldnt mind doing some work on khan academy for some more advanced maths if I knew what I was looking for... What should I brush up on or start putting effort into learning that would best assist me in this field? Any advice would be greatly appreciated! Have a great weekend all! [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