Jump to content

VulsaviiK

Member
  • Posts

    960
  • Joined

  • Last visited

Everything posted by VulsaviiK

  1. That implies that all people do is read text. See Also: Web Apps Maybe 15 years ago using JS would having been lowering security barriers, but any browser worth a damn has patched out the security vulnerabilities that made things like NoScript popular back in the day. If you're really that paranoid about malicious JS, the problem is probably your browsing habits, not JS.
  2. Yes and no. Foreign keys was the word I was looking for correct, you use foreign keys to normalise a database Normal Forms are still important to know when you're working with databases, and it's a subject lengthier than I'm prepared to type for a question that wasn't worded very well from the start
  3. Runs software worth hundreds of dollars on a potato, typical school logic there OP since you're just learning - Basically any modern-ish PC should be fine to run whatever IDE you decide to use. Whether or not you can take advantage of that i7 is going to come down to how you implement your code, but multi-threading isn't something I would think you'd be doing anytime soon. I'd roll with the i5 unless you need the i7 for something else
  4. There basically has to be, Ryzen probably isn't going to cover the 4+ years of R&D from custom pcs alone - Mobile, Server and Pre-builds will need to adopt it as well for it to actually put a dent in Intels market share
  5. You will probably need two tables. One which contains the group, one which contains the users Here's an example Schema (If you don't know what that word means, I encourage you to do some research, and this will make more sense) GROUPS Group_Name Group_ID Group_Rights etc. USERS Username Password First Name Surname Group_ID* etc. etc. Ah, group ID appears twice, theres a good reason for that. Basically you want to avoid repeating information in the same column. Where that's likely to happen, you can split the tables so that there is an overlap between them, this is tricky to explain in a short post, but do some research on Database Normalization and it's various levels. A proper explanation of this is like, several pages long - but I hope that's a good starting point for you
  6. Android phones... I think I just remembered why I took a break from posting on here Personally, I don't think C++ is the language to learn straight up, it's a language that's really easy to do things you probably shouldn't, it might compile, but that doesn't make it correct. And if you're going to do down that path (Not using standard libraries) you might as well be coding in C. Which isn't a bad idea, if you can code in C, then you can understand what every other language is doing "under the hood". Ultimately concepts are more important than language specifics, otherwise it comes down to choosing the right tools for the job. Most modern software development comes down to using pre-built tools anyway. For example, one would almost never go to the effort of building a Content Management System Website from scratch when they could just use WordPress.
  7. Apologies, I didn't mean to de-rail your thread. However I find the disconnect between gamers/script-kiddies and industry to be infuriating, particularly considering the number of devs I know (And I mean actual devs, who make money from this stuff) and following that career path myself. Teh internetz attitude is alas, agnostic of topic, you should see some of the stuff people come up with in car discussions. Since I had to double check that survey to pull figures anyway, turns out the most popular one mentioned was Ubuntu. So, there's that. I'm still partial to Debian, but again, that's probably because my VPS runs it. I should point out that the only way I've used Debian and CentOS is via SSH on command line from my Windows desktop, so I can't really talk about the "desktop" experience
  8. VulsaviiK

    Going to get the new iPhone 7 plus in 256gb for…

    I don't think having to use the adaptor is that big of a deal. See, most of the time when my headphones have died, it's always been right at that connector. Replacing earphones is a hell of a lot more expensive than replacing a $10-20 adaptor I think. Beyond that, queue internet rage because Apple
  9. I hate how verbose Java is, that's one of my biggest gripes with it. I still use Eclipse for writing Java, but with a cool theme which makes it look like Sublime Text. Eclipse's C/C++ package... Not a fan, so I've also got Visual Studio 2015 Community, Atom, and Vim that I all use for different things
  10. And developers are happier for it, if a recent survey from Stack Overflow is anything to go by
  11. This is really important. My language of choice right now is C, but everything is completely different. It's all manual memory control, but you learn so much of what happens behind the scenes in other languages. Like Strings for example
  12. I thought about writing "pretty much anything", but that seemed kind of vague. I guess that's the brilliance of Linux in the first place, so I might as well just list that instead Admittedly I Googled that one and just looked at the top result. I've never done OSX dev, I'll swap C++ for Ruby Again, early in the morning here in Aus, can't sleep so decided to do this. I know it probably needs a few touch-ups still. I'll mention SQL under web given it's pretty much essential, however I think RDBMS is probably another subject entirely in itself I actually know quite a bit about web dev. I was simplifying. Yes, you could use Ruby on Rails, Django/Python, Java/JSP, Node.JS, hell, I've even seen C++ frameworks for Web. Web is probably a tricky one to mention, given that the frameworks and libraries that people use change like fashion trends, I know this given I have several friends/family who work within the industry. Hell you can do a one-page, pure-JS site if you wanted to, which looks to be gaining quite a bit of popularity right now (Write-up on Github). I've seen plenty of the "PHP is the worst" threads before. That said, looking at Acunetix and W3Techs, they list PHP powering 82.2% and 69.27% of the sites surveyed. A couple of quick searches on the popular job-seeker sites here in Aus, and guess which language appears to be the most requested from back-end developers? Hence, for the sake of simplicity, I opted to list PHP as the language new-commers to web dev should learn
  13. I'm pretty sure I started out with LUA waaaaay back for a Dawn of War project I worked on back in high-school. By the time I go to uni, I'd forgotten pretty much everything I did
  14. I did mention that, though, I may update it and elaborate a little bit more. I figured doing a write-up was going to be a better approach to the almost-daily thread posts asking the same thing. Do you think it's also worth mentioning UML stuff in here as well? Thanks, I might just bin that bit. Databases might be something that should be covered in a seperate guide
  15. Flash - security issues, no iOS compatibility, I'm pretty sure the latter flat-out killed it already Most of what people were doing with Flash was implemented natively in HTML5, not that big of a deal
  16. You can, and in fact I know many a people who have. Some successfully, others... Not so much.
  17. Edited to add Codecademy. I am also writing this at like, 5am, so, sorry if it slipped my mind Which language to learn first, I've seen that question start many a flame-war. I did mention Python as a good beginner language further down, but ultimately learning key concepts and how to write good code are more important than learning a specific language.
  18. Since there's a "How do I start learning code" thread started every couple of days, here's an ultimate "How to" guide. The aim of this is to run through basically what you need to know to start coding, or, more importantly, where to start. Through this guide I'm going to cover some frequently asked questions, common resources, and the sorts of things new programmers should be looking to learn. (Side note: mods, can we either sticky this or get someone to write a guide to cover this topic?) What Language Should I Learn As a New Programmer? Probably one of the most frequent question I've seen on here. The simple answer is "It doesn't matter", since as a beginner, the concepts surrounding programming are far more important than the specific language. A good programmer could start writing in a new language in mere weeks, though, there is always something new to learn. Sure, some languages perform better than others. But poorly written code in a resource-efficient language might not run any better than well written code in a language that is less resource-efficient. The long answer is, well, it largely depends. There are three separate approaches one could take here. You could either: 1) Choose a language that best suits your intended development purpose, and start from there. 2) Choose a "beginner friendly" language, one intended to be easy for new-comers to pick up. 3) Choose a language that will give you a deeper understanding of how everything works. Ultimately learning how to problem solve, learning design patterns, best practices and standard conventions, and algorithms, are going to get you much further than than learning a specific language. Which Language Should I Learn To Do X Thing? Here's a list of some commonly used languages for specific platforms or use-cases: Windows - C++, C# and Java are probably the most commonly used languages for developing applications for Windows Linux - Pretty much anything Mac OSX - Swift and Ruby Android - Java iOS - Swift For Websites - HTML, CSS, JavaScript PHP, SQL NOTE: It is possible to develop desktop or mobile apps using mobile languages using tools such as Electron or Phonegap, though you'll need to do a little bit of research on the subject in your own time Special mentions to Ruby, which I haven't included specifically in any of the above, but can be used for almost all of the above Which Language Is Should New Programmers Learn? If you study programming at a University (Or College), or in formal education at all, 50/50 chance the introductory programming subject will be either Java or Python. Ruby is also a fairly easy language for new-comers, as much of the focus of that language is easy, clean syntax. If you want to learn a little bit more about how your code works, then you should try learning C at some stage (Assembly if you're REALLY keen, but I must emphasize that Assembly can be tricky, and isn't widely used outside of programming micro-controllers) If your intention is to learn how to make websites, you should instead learn the above-mentioned Web Languages. All of them. What Should I Learn If I'm Learning Programming? There are a number of key concepts you should learn as a new programmer: -Basic syntax for the chosen language -Data types and variables (Numbers, Characters and Strings) -Keywords and built-in functions of the chosen language, and how to use them -Decision making (If/Else and Switch cases) -Loops (For, While) -Arrays -Functions -Operators Once you have a handle on that, some things you might want to learn include for desktop and mobile apps: -Functional and Data Abstraction -File I/O -Implementating Efficient Code -Conventions and Writing Clean Code. This becomes more important as you find your feet and begin writing larger apps -Building a GUI -Eventually you may want to do some reading on Algorithms. If you study at a tertiary institution, Algorithms will generally be an advanced programming course -Memory management (If learning a language like C or C++) -Debugging. Handy for figuring out where something is breaking, and checking for memory leaks (The latter probably won't happen in high-level languages like Java and Python, as memory management is handled for you) If you learn web languages, you will want to learn about: -Responsive Design (Making pages scale to window/screen size) -Dynamic Page Generation -Storing/Loading external data How Do I Write Code? There are two main approaches here. The first is to use an IDE (Interactive Development Environment). The three most common are Eclipse, Netbeans and Visual Studio. These contain advanced features and are an "all-in-one" solution, comprising a set of tools including a debugger and compiler in addition to allowing you to write code. The second is to use a text editor and a compiler (Plus an interpreter if using a language like Java) Some text editors you may want to use include Notepad++ or Sublime, though a popular choice for web developers write now is Atom.io. Note that compilers are language specific. Speaking of Web Development, you will need a PHP processor if that's what you're doing. Note that setup of a development environment is generally covered in introductory guides What Are Some Good Resources To Learn From? Some popular resources for beginners: -Lynda.com -Tutorials Point -Stanford's programming courses on iTunes U -Codecademy -How To Think Like A Computer Scientist (Link - Thanks to SSL for this one) Whilst you can ask questions here on linustechtips, you aren't likely to get a complete set of tutorials. Try and learn from the above resources, and if you get stuck, feel free to ask questions (Remember to use Code tags) So get in there kids, get your "Hello Worlds" going, and have fun!
  19. This... Use a debugger. And infinite loop is occurring because the condition to exit the loop isn't getting to the point you're expecting it to: e.g while (condition == true) { //Do the thing here... } //Then do this If that condition never equates to false, then it won't move past that loop. Using a proper debugger and setting breakpoints will allow you to view variables as your program moves through the loop, and in turn, allows you to pinpoint where it's breaking Assuming you're a student and they have you using Eclipse as an IDE, have a read through this OP Alternatively if you're using a Text Editor + JDK in command line, read this instead
  20. Cheers for the tip, though I'm not entirely sure if we have permissions to set up that functionality. That and I only have a few weeks of the class left, so it's maybe a little late to be setting that up, I've got doubly linked lists to build yo!
  21. Right now, the ability to edit code remotely. For one of my programming subjects we have to compile on the schools servers, and are being advised to use SSH + Vim and write directly onto the servers. I actually don't have a local copy of my assignment. I can also call shell commands like the GCC compiler without leaving Vim, and I'm pretty sure I can run my program within Vim as well (Though I haven't tested this personally... Comments?), essentially given it most of the functionality I need in one package. For web-based projects though, I use atom.io. It's also hackable/customisable, but all using web languages
  22. Which version of Windows? I've noticed mine takes longer to shut down since moving to 10
  23. If, specifically, one of the games you're looking to play is Street Fighter, you'll really want to pay attention to the amount of display lag. That Phillips monitor posted above has around one or two frames of lag (Source: Here). Whilst this might not sound like much, consider the following. Ryu's Crouching LP has 6 Recovery Frames, giving you effectively a 6 frame window in which to do the DP input to throw out a Shoryuken. With 2 frames of lag, this means you would lose about a third of that window, unless you're already a familiar player who has his combos hard-wired into muscle memory. At least that's my understanding of how it works, frame data and such is the part where SF kind of loses me
×