Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited


This user doesn't have any awards

About wolfsinner

  • Title
  • Birthday Sep 27, 1991

Profile Information

  • Location
    Lisbon, Portugal
  • Gender
  • Biography
    Just some guy who likes Computer Science. :)


  • CPU
    Intel i5 3570K @ Stock
  • Motherboard
    MSI Z77A-GD55
  • RAM
    GSkill 8GB (2x4GB) 1600Mhz DDR3 Ripjaw X
  • GPU
    EVGA GeForce GTX 660 Ti FTW Signature 2 (2GB GDDR5)
  • Case
    NZXT Phantom
  • Storage
    500GB HDD of Unknown Origin
  • PSU
    OCZ PC ZS Series 550 W
  • Display(s)
    Samsung SyncMaster P2470HD
  • Cooling
    Stock fans
  • Keyboard
    Logitech K260
  • Mouse
    Logitech M210
  • Operating System
    Windows 7

Recent Profile Visitors

2,141 profile views
  1. Vessel username: wolfsinner Favorite videos: https://www.vessel.com/videos/JemZ8O7Hy https://www.vessel.com/videos/JYZEYDYx0 Twitter share: https://twitter.com/nhmelo/status/580401112345370625 Good luck to everyone! If by any chance I end up winning Linus' rig, I don't want it. As much as I'd love to have something of LMG history, I'm sure there's a lot of sentimental value associated with it. Love your work guys. Great move!
  2. Instead of storing 5, store a reference to the node (its corresponding array in Vmap) and not its value. Ideally you would store it in a more meaningful way though (like the one I suggested), but if it absolutely must be done this way, then that's how you'd do it. Alternatively (and this is not a great idea), an hash table will allow you to index your data on a more complex "id". I strongly suggest making it more meaningful though (like storing lists of arcs to nodes, and storing data pertaining to a node in its own structure). There's only so much you can represent with a single value
  3. I might have read your problem wrong, but here's a suggestion that might help you out. A simple way is to store your graph as a set of lists of arcs. Many times an adjacency matrix is not efficient and if I understood your problem correctly, this is one of those times. A rough example of what I mean follows. class Arc { private int cost; private Node otherNode; //constructors and getters} Where Node is something along the lines of: class Node { private String name; //A, B, C, ... //any other properties private Arc [] edges; //whatever code you need} This way you can chain access to all o
  4. I actually do four different things at the moment, two of them are connected, the other two aren't. Still have time to watch LTT videos.
  5. How so? He didn't get the 580 from the fan, so he didn't really use that to his advantage. On topic, all evidence points to Luke winning but I'll say Lienus for the fun of it. It'll be close though.
  6. Part 1 of Scrapyard Wars came out last week, part 2 came out this weekend. Next part is next Saturday. What is your point? Multi-part is fine, and in Scrapyard Wars' case it's coming out in a consistent schedule. I'm loving this series and it's tough waiting so long for it but I want them to not only edit it properly as well as generate good revenue from such an awesome (and somewhat expensive) series so I'm definitely OK with how they're doing it. Stop being so impatient people.
  7. Hi there, I haven't been around much, so I don't know if this has been posted already (and search isn't exactly good at the moment), so here goes. I got an e-mail from Microsoft about this February thing they're doing in which they lecture people in a given topic and then propose small development challenges (I think) for free. It seems like a great opportunity and topics include: Cloud Development Game Development Mobile Development Web Development Hybrid Cloud Identity and Access Management Office 365 SharePoint So there you go. Seems like a great learning resource for all of those that
  8. I'd like to subscribe to the "don't use floating point variables" suggestions. The reason why your code has absolutely no problems is because there's no arithmetic going on that will mess up your decimal point approximation - you only care about the cases where there is no decimal value. Also, Math.round actually returns a long, which means there's some auto-casting magic going on there you don't know about. Just don't use floating point when you need to perform arithmetic on values and compare them later for equality. There are safer (albeit less efficient) alternatives. It'll save you a
  9. Good job - I think these kinds of threads are beneficial to the community. But... I'm a sucker for correctness so I have to correct you there. We may be arguing semantics but when you say: You're actually allocating space for pointers to Constructor_Tut objects, not the objects themselves. That should be made clearer, even if that is not the topic being discussed. Additionally, I subscribe to what SSL said. But other than that, keep them coming.
  10. If you pass a reference type (such as an array, an object, etc) by value (like in my example), a reference to that "variable" is passed to the method. This means that if you change that variable inside the method, the changes you make will still be there when it returns back to the main method. So, yes, it will be updated.
  11. From what I understand, you want to declare an array inside the main method, pass it onto your MemberOfGroup method, and have these results reflect back into main method after the call? You have two options, and the one you should use depends on what exactly you want to do (I'm afraid I didn't quite understand what you're currently doing). One is to create an instance variable for the class. This means declaring these variables outside of the methods. The second option is to receive the array as a parameter in the MemberOfGroup method. In C#, when you pass a "reference type" parameter to a
  12. The reigning paradigm at the moment is Object-Oriented Programming. Good OOP languages include C# and Java. Most of my courses were taught with Java, except for low-level courses which used C or C++ (and the occasional Assembler). But deep down, it doesn't matter. If you want a boost in college, you should learn how to think and write like a programmer. Any language will do, but Python is a very forgiving language which is great for aspiring programmers. Knowing language syntax is pointless if you can't write working code. Problem solving is also critical for successful developers.
  13. I may be reading this wrong but, did you leave it as a .txt file?
  14. Well, everyone's entitled to their opinion. I appreciate open-source, but could never demand or expect software to be open-source. Why should it be? I understand the advantages of proprietary code for companies. Software is a business, so it makes sense. Bottom line for me is: trying to demonize those who oppose, or do not practice, open-source/free software is not cool in my book.