Jump to content

VulsaviiK

Member
  • Posts

    960
  • Joined

  • Last visited

Reputation Activity

  1. Agree
    VulsaviiK reacted to vorticalbox in Database structure   
    The explanation is foreign keys.
     
    a foreign key is a field (or collection of fields) in one table that uniquely identifies a row of another table. In simpler words, the foreign key is defined in a second table, but it refers to the primary key in the first table.
     
    more like several lines not pages.
  2. Funny
    VulsaviiK got a reaction from Dat Guy in Web Development   
    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.
     
     
  3. Agree
    VulsaviiK got a reaction from DeadlyGrnSpirit in Which Language to learn?   
    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.
  4. Agree
    VulsaviiK reacted to Mira Yurizaki in Does programming require a good CPU?   
    No. The only thing you save with processing power is compilation time. But this is only a problem if your project is complex.
     
    However, you should have a machine that closely matches your target as much as possible. If there's one thing I learned over the years is to never program and test off-target and expect it to work on-target.
  5. Agree
    VulsaviiK got a reaction from rjfaber91 in Ryzen supports ECC memory.   
    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
  6. Agree
    VulsaviiK reacted to SSL in Java or Python for first language?   
    I will go so far as to say that Python is a better language than Java period. Not perfect, but better. You can argue about performance, but the unholy union of C-style syntax and procedural paradigms combined with kludgy OO shit makes Java sub-optimal for either programming style.
     
     
    For a novice programmer, low-level shit will just be confusing. As a FIRST language, simplicity and clarity is key. Once someone has mastered the basics, I think C is an essential SECOND language to learn, precisely in order to teach low-level concepts like pointers, memory allocation, the stack, blah blah.
     
    Even Java is too abstracted to give an adequate picture of these concepts. It doesn't even have pass by reference.
  7. Agree
    VulsaviiK reacted to Clechay in Best Linux Distro for developing?   
    If you develop software meant to be use on servers you should consider using CentOS or Debian because these are most common OS for servers. If that is not your case then developing software alone is mostly meaningless while choosing linux distro. 
  8. Informative
    VulsaviiK got a reaction from tomoki in Java - How long did it take you to learn?   
    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
  9. Agree
    VulsaviiK reacted to Nuluvius in Best language?   
    Swift.
  10. Agree
    VulsaviiK got a reaction from Nuluvius in Java - How long did it take you to learn?   
    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
  11. Agree
    VulsaviiK got a reaction from dannytech357 in Adobe Flash "ban"   
    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
  12. Like
    VulsaviiK got a reaction from Railgun in How to Get Into Coding - The How-To!   
    You can, and in fact I know many a people who have. Some successfully, others... Not so much.
  13. Agree
    VulsaviiK got a reaction from SansVarnic in How to Get Into Coding - The How-To!   
    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.
  14. Like
    VulsaviiK got a reaction from Lordmac14 in How to Get Into Coding - The How-To!   
    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!
  15. Agree
    VulsaviiK reacted to Unimportant in Need some help with dynamic structures   
    Beeing a 3-star programmer in C is not a compliment
    automobile ***car That construct is never needed. Eighter you pass a pointer (*) if you want to modify what is beeing pointed to, or a pointer to a pointer (**) if you want to modify the pointer itself, more is never needed.
     
    You're supposed to allocate dynamic memory for the entire struct, not each member individually. So you get something like this:
    struct car { char brand[30]; char model[30]; int year; }; To allocate a car:
    struct car NewCar = malloc(sizeof(struct car)); And it will allocate memory for the entire structure, to delete:
    free (NewCar); And it will delete the entire structure, no need to delete each member seperately.
  16. Like
    VulsaviiK got a reaction from Hamosch in Your favorite Text editor?   
    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!
  17. Like
    VulsaviiK got a reaction from Orangeator in Best free place to learn HTML and CSS online ?   
    Not gonna lie, most people don't really use Dreamweaver now. I've heard good things about Brackets, but I rather like Github's Atom editor
     
    It's written in web languages, and it's fully hackable/editable using those. It's like inception (Using a tool written in HTML/CSS/JS to write HTML/CSS/JS
  18. Like
    VulsaviiK reacted to FloRolf in Achive same mouse movement after switch resolution?   
    In theory you could calculate it that way:
    (Ppi(new)/ppi(old))*dpi(old)=dpi(new)
  19. Like
    VulsaviiK got a reaction from doktornpro in 120hz and up. Worth the upgrade ?   
    You'll notice the difference immediately, but I will say you'll get more benefit in some types of games over others. For example, FPS games get the biggest bonus, I found it really good back when I was into Starcraft 2 and I was playing against a bunch of Diamonds that lived near me
     
    Pretty sure they use high refresh rate monitors exclusively for SC2 tourneys now. But even for casual games, the fluid motion makes the gameplay feel much nicer
     
    You could even get the BenQ ultrawide, VA Panel, 144Hz, it is kind of pricey though. Acer have some good offerings these days, even at 1080p. I generally don't recommend the Asus 144Hz monitors, unless it's an ROG one. The non G-Sync ones are prices similarly to BenQs monitors, and I find the build quality of the latter to be a notch higher
  20. Like
    VulsaviiK got a reaction from Rothfox in 120hz and up. Worth the upgrade ?   
    You'll notice the difference immediately, but I will say you'll get more benefit in some types of games over others. For example, FPS games get the biggest bonus, I found it really good back when I was into Starcraft 2 and I was playing against a bunch of Diamonds that lived near me
     
    Pretty sure they use high refresh rate monitors exclusively for SC2 tourneys now. But even for casual games, the fluid motion makes the gameplay feel much nicer
     
    You could even get the BenQ ultrawide, VA Panel, 144Hz, it is kind of pricey though. Acer have some good offerings these days, even at 1080p. I generally don't recommend the Asus 144Hz monitors, unless it's an ROG one. The non G-Sync ones are prices similarly to BenQs monitors, and I find the build quality of the latter to be a notch higher
  21. Like
    VulsaviiK got a reaction from doktornpro in 120hz and up. Worth the upgrade ?   
    Playing Wolfenstein: The New Order on mine.... I'll say mine has been a solid investment, game looks great
  22. Like
    VulsaviiK got a reaction from Flanelman in HTML - Pop up image with comments?   
    Yes there is, I believe the term you're looking for is Modal Window
     
    http://www.webdesignerdepot.com/2012/10/creating-a-modal-window-with-html5-and-css3/
     
    We had to do this for class this semester, it's not too difficult. Good luck (y)
  23. Like
    VulsaviiK reacted to ,,,,,,,,,,,,,,,,,,,,,,,,,, in java help   
    What's going on with this?
     
                 }        }      }      }    }    }
  24. Like
    VulsaviiK got a reaction from Nugsy in Reccomendation?   
    I haven't personally, but I do know if you want custom printing on the keys you need to upload your file as a vector image (such as an SVG file). You could probably drop them an email to ask directly
  25. Like
    VulsaviiK reacted to Mug in Mac or PC for school?   
    Not how it works in the real world matey. If your equiptment isn't compatible, suck it up because you won't be able to do what's required.
    It's your fault because you bought the wrong thing, thus wasting your money.
×