Jump to content

madknight3

Member
  • Posts

    1,786
  • Joined

  • Last visited

Reputation Activity

  1. Like
    madknight3 got a reaction from Fyfey96 in C# Converting String Array to Int Array   
    That code works when all the data is valid. You're getting an overflow exception because at least one of your string values are too large to be converted to an int.
     
    For example
    int.Parse("212324124124124124"); // throws an OverflowException long.Parse("212324124124124124"); // works Either you need to make sure that DataValues_raw doesn't contain any invalid data, or you need to modify your code to properly handle invalid data.
  2. Agree
    madknight3 reacted to Yamoto42 in Need Help With Some Other Homework   
    My only thing is seeing the "DigiPen" copyright, it may be for graphics class they did not fully met the prerequisites for.

    It is early January, and looking at the variety of what are very basic questions, it does give the appearance of a start of the semester refresher than the primary subject material.
  3. Agree
    madknight3 got a reaction from Nuluvius in Resources for C#   
    Check out Pluralsight. They have a large number of C# and .NET courses (along with many other topics) as well as a C# path to follow if you want. They also have a C# for VB Developers course which you might enjoy as an introduction to C#.
     
    You can get 3 free months to Pluralsight with the free Visual Studio Dev Essentials program.
  4. Like
    madknight3 got a reaction from SSL in How to Pick a Programming Language   
    It's nice of you to try but I think you're overestimating the level that beginners are at. Most people who are new to programming will find your post way too complex and it'll just seem like a foreign language to them with all the terminology you're using. A few people may start looking up definitions and researching further on their own, but most people just want to be told a simple place to start. Programming can be confusing enough to start learning without compounding the problem.
     
     
  5. Informative
    madknight3 got a reaction from IAmAndre in Which technology to push data to browser?   
    It looks like browser compatibility for websockets is pretty good these days, however you can fall back to other options if needed.
     
    This is what signalr does. It attempts to use websockets and falls back to other options, described below, if necessary.
    Source of quote
  6. Agree
    madknight3 got a reaction from straight_stewie in A Lesson on the Fundamentals   
    Also utilize things like error pages so even if you miss something, the user doesn't see anything they shouldn't. 
  7. Informative
    madknight3 got a reaction from Fyfey96 in How did you learn C#?   
    I'd go with Pluralsight (video tutorial site). They have a large number of C# courses, including a C# path that you can follow. They also have plenty of other topics you can learn as well. You can get 3 months free with the free Visual Studio Dev Essentials program.
  8. Agree
    madknight3 got a reaction from DolphinOps in Ruby or Python   
    I doesn't really matter. Both are good languages to start with. You could always learn a little of both and then pick which you prefer.
  9. Informative
    madknight3 got a reaction from Made In Canada in Best Places To Learn Programming   
    I've never used Code.org or Sololearn, and I've also never seen them recommended by anyone before. That doesn't necessarily mean they aren't good, but I can't speak to their quality.
     
    Codecademy works for some people and it's probably one of the easiest beginner tutorials I've seen for Python. It also has a low barrier to entry because everything is done in the browser and you don't have to worry about downloading/installing anything. I've found the free version to be a little lacking though. It does go over the basics of Python, but it doesn't really get you to practice what you're learning. The pro version seems to give you quizzes and projects to do and also offers live chat help, so maybe that greatly improves the quality of the lessons as a whole, but I've never used it so I can't say for sure. I'm not against paying for lessons if you think it'll work for you but there are a lot of great free resources out there too so it's not required.
     
    Also, because everything is done in the browser, you don't get used to working with the Python command line and tools that most developers use. Maybe they show you how to use them with the pro version or with the external resources they link to, but again I'm not sure.
     
    Personally I don't recommend it based on the free version because I think other resources like Automate the Boring Stuff are better, but not everyone learns the same so you may develop a different opinion after trying them.
  10. Agree
    madknight3 got a reaction from vorticalbox in What would be the best way to start learning a new language?   
    This could mean that programming just isn't for you or perhaps you just haven't found the right stuff to be working on. Something to keep in mind. Programming isn't for everyone, so there's no harm in finding a different career/hobby.
     
    If you are already familiar with some programming, you may be able to jump right into what you want to do without learning the basics of the language first (assuming it involves a new language). You may be able to pick it up as you go.
     
    If you have an interest in raspberry pi and arduino stuff, and you think you can handle it, then just jump right into working with them. Dive in while the interest is there. There should be plenty of tutorials online that show you how to work with these things. Supplement your learning with language specific resources as necessary.
     
    Once you've already got some programming experience, learning the syntax of a new language can be a much simpler task since many languages share similarities and many programming concepts apply regardless of the language being used.
     
    Knowing the syntax doesn't necessarily mean you will automatically write good code in that language, but you can often understand/be able to figure out what's going on with pieces of code you look up. You may pick up some of the commonly used functions/libraries while learning the syntax, otherwise you can look them up.
     
    Just keep in mind that not all code is easy to understand, even when you are familiar with a language. Some code can be naturally complex, poorly written, etc. So you aren't always able to understand everything right away without additional work.
  11. Informative
    madknight3 got a reaction from Coaxialgamer in What would be the best way to start learning a new language?   
    This could mean that programming just isn't for you or perhaps you just haven't found the right stuff to be working on. Something to keep in mind. Programming isn't for everyone, so there's no harm in finding a different career/hobby.
     
    If you are already familiar with some programming, you may be able to jump right into what you want to do without learning the basics of the language first (assuming it involves a new language). You may be able to pick it up as you go.
     
    If you have an interest in raspberry pi and arduino stuff, and you think you can handle it, then just jump right into working with them. Dive in while the interest is there. There should be plenty of tutorials online that show you how to work with these things. Supplement your learning with language specific resources as necessary.
     
    Once you've already got some programming experience, learning the syntax of a new language can be a much simpler task since many languages share similarities and many programming concepts apply regardless of the language being used.
     
    Knowing the syntax doesn't necessarily mean you will automatically write good code in that language, but you can often understand/be able to figure out what's going on with pieces of code you look up. You may pick up some of the commonly used functions/libraries while learning the syntax, otherwise you can look them up.
     
    Just keep in mind that not all code is easy to understand, even when you are familiar with a language. Some code can be naturally complex, poorly written, etc. So you aren't always able to understand everything right away without additional work.
  12. Like
    madknight3 got a reaction from SCHISCHKA in SQL help   
    "Job_tittle" looks like a typo to me.
  13. Like
    madknight3 reacted to Remixt in Tastr- Application Development Update.   
    Hello everyone, as some of you many know I've been developing an app for android (for the first time ever!) for my software engineering class this semester.
     
    Previous posts:
    I polled everyone and it seemed like interest was fairly high.
     
    Well today, the last day of development for my class has come. I'm not finished with the app, but it has come a long way and I did get an A+ for my work.
    It was supposed to be a team effort, but I ended up doing 99% of the work. (Always happens in group projects lol)
     
    I'll post some more details and answer questions as time goes on, but for now I've got to get to bed!
     
    Here is a short demo of what I've got at the moment, as well as some photos of the development side stuff.
    Everything in the video is live and none of it has been emulated. It runs on my phone just fine, but that's harder to record.
    The internet browser on my android emulator doesn't have a connection for some reason, but when you click the rating at the bottom it brings up the google review page of the restaurant responsible for that specific dish.
     
     



  14. Like
    madknight3 reacted to MisterWhite in Advent of code is back!   
    Thought I'd share that advent of code is back this year.
    http://adventofcode.com
  15. Funny
    madknight3 reacted to Nuluvius in Basics Of White Hat Hacking   
  16. Agree
    madknight3 got a reaction from Clechay in Thoughts on Treehouse?   
    Use their 7 day free trial. If you like their lessons and can afford it, keep using them. If not, find something else. There are plenty of other paid/free resources out there.
     
    If you tell us what kind of development you're looking to learn, we might be able to provide you with some alternative resources.
  17. Agree
    madknight3 got a reaction from brenan999 in Java beginner needs help   
    Step through the code one statement at a time. Write it out on paper or whatever works best for you.
    // example 1 for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { if (j > i) continue; System.out.println("Java"); } } /* i = 0 j = 0 j > i == false print "Java" j = 1 j > i == true continue ... i = 1 j = 0 j > i == false print "Java" j = 1 j > i == false print "Java" j = 2 j > i == true continue ... ... */  
  18. Agree
    madknight3 got a reaction from vorticalbox in Java beginner needs help   
    Step through the code one statement at a time. Write it out on paper or whatever works best for you.
    // example 1 for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { if (j > i) continue; System.out.println("Java"); } } /* i = 0 j = 0 j > i == false print "Java" j = 1 j > i == true continue ... i = 1 j = 0 j > i == false print "Java" j = 1 j > i == false print "Java" j = 2 j > i == true continue ... ... */  
  19. Like
    madknight3 got a reaction from pompom15 in Programming Procrastination   
    You could enroll in online courses. The deadlines for assignments and such could help keep you on a more consistent schedule. Here's two links with a list of courses
    OSS University Here's a list of 540+ free online programming/CS courses ...
  20. Like
    madknight3 reacted to SMR in Leave C#/SOA developer job to go work in Node.JS   
    Wow this is one-sided ! Which is good, makes it easier that way, the business owner is supposed to call me tonight, this would be a second interview and the first one went smoothly. 
     
    I'll wait for more input but this helps me a lot.
     
    Thank guys! Keep you updated.
  21. Informative
    madknight3 got a reaction from l3igwill in Where to start ASP   
    Do you know if they are using WebForms, MVC 5, or Core MVC (aka MVC 6)? They are all ASP.NET options and what you learn kind of depends on the answer.
     
    If you do know, or can find out, what they are using then focus on that.
     
    However, if you don't know what they use then I would say the safest option is to focus on MVC 5 as it's probably the most common ASP.NET option in use right now. WebForms isn't as common these days, but a lot of companies still use it so there's a chance that's what they want. If you have time, it wouldn't hurt to at least look at the basics of WebForms as well to give you an idea of how it works, just in case, but MVC 5 is the safer bet.
     
    WebForms is quite different from MVC 5 (and Core MVC), so MVC 5 skills won't really transfer to WebForms skills but they may still hire you on and have you learn WebForms on the job. It's not an uncommon practice for companies.
     
    It's unlikely they use MVC Core exclusively because it's only recently been released, but even if they did it I would expect they'd still hire someone for the position with MVC 5 experience. By learning MVC 5 you'll get familiar with a lot of the same concepts that Core MVC uses, so while there will still be a lot of new things to learn, the transition shouldn't be too bad.
     
    Also, take some time to go over ASP.NET WebAPI as that's also commonly used.
     
    In terms of learning resources, I would recommend Pluralsight, a video course website, as a place to start. It's $29 USD a month (or $299 USD a year) but you can get 3 months free through the Visual Studio Dev Essentials program. They have multiple courses on each ASP.NET option.
  22. Informative
    madknight3 got a reaction from MatazaNZ in Decided to learn Scala   
    If you're comfortable learning the syntax and libraries as you go then perhaps you'll want to focus more on learning the functional paradigm. If you're new to functional programming, it has it's own way of doing things when compared to the Object Oriented paradigm and it can take a while to adjust to the new way of thinking.
     
    I don't know if "Scala for the Impatient" covers functional programming well or not as I haven't read it. Based on the table of contents, it seems like it certainly covers a lot of things, including some functional aspects of Scala, so it might but I can't confirm.
     
    I've heard that "Functional Programming in Scala" is a really good book for learning functional programming although again I haven't read it myself so I can't confirm.
     
    I'm not aware of any "build x in scala" type tutorials, I'm sure they are out there if you search around enough but there's no guarantee they will be good. You might be better off picking out your own projects to build and then asking Scala devs for advice on improvements.
     
    In terms of coding style, you can google for things like "Scala best practices" and see what people have to say. A couple examples are
    Twitter's Best Practices doc Another Open Source Best Practices list
  23. Agree
    madknight3 got a reaction from angelmartin11 in Stuck on something "simple"   
    Many programming competition problems use text files for input. When they require a 2d array as the input, some of them use a format where the first line is the number of rows and columns, and the remaining lines are the values in the matrix. Here are two examples. The first of a 3x3 matrix, and the second of a 5x5 matrix.
    3 3 1 1 1 0 0 0 4 4 4 5 5 10 -2 3 4 199 7 2 -32 5 -12 32 32 -4 8 -499 0 3 1 4 2 1092 3 5 34 -3  
    You could require a user enter the information in this kind of format in a multi-line edit text box.
  24. Agree
    madknight3 got a reaction from Nuluvius in [C#] Where to begin?   
    Like the above recommendations, I also recommend the following
    This is where I would probably start as it's free and you can save your free trial to Pluralsight for a little more interesting material.
     
    I'm not familiar with the other Bob Tabor courses but they may be good as well.
    Note that normally this is about $30 a month, or $300 a year, but you can get 3 free months if you sign up for the Visual Studio Dev Essentials program, which is free and you need it for Visual Studio Community anyway.
     
    If you go with Pluralsight, I recommend you check out the C# Path which gives you a set of courses to go through from beginner to advanced. They aren't the only good C# courses though but it can be nice to have a path to follow. The benefit of a site like Pluralsight is they provide you with a huge library of courses to choose from on many different topics that are useful to you as a software developer.
  25. Informative
    madknight3 got a reaction from IAmAndre in 48 hours to learn Python   
    I see that a bunch of people have linked beginner tutorials (mostly video/interactive stuff). While they are normally not a bad way to go, you're also not a beginner and I think they may be a little slow for your current needs. You can probably skim through written stuff faster, especially for picking up the basics (syntax and some commonly used libraries). Things like this
    Learnxinyminutes (python 3) gives a quick overview of the syntax although it's not very organized (python 2 here). You can google for "Python 2 cheat sheet" or "Python 3 cheat sheet" and look through those for quick overviews and references. You can look though a pocket reference like this (this specific book has both python 2 and 3) The Python documentation is also always useful  
    In terms of data science stuff, I don't know if I can help much there as it's not an area I'm very familiar with. I believe it commonly uses the scipy packages but you might want to double check in case I'm wrong. There seem to be a fair number of data science courses in python that you could check out (google "data science in python").
×