Jump to content

Crabtr

Member
  • Posts

    237
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Crabtr reacted to Master Disaster in The situation at Tek syndicate   
    Those of us who follow TS already had strong feelings even before this kicked off. Logan has now shown himself to be what we all thought he was. 
     
    I'm willing to let him explain but I hope he realises we don't have to choke on his bullshit if we don't want to, his behaviour over this debacle (and Pistols behaviour too) has been nothing short of ridiculous and I'm sure by now it's been pointed out to him by many people how ironic it is for one of the NSAs largest critics and a privacy and freedom of speech advocate to start banning people who disagree with him and call him out over his non transparent use of donated funds in an effort to silence them. 
     
    Did you know that Pistol received a private message (some sexual thing I believe) on Discord and because they refused her admin powers (because Logan told them to keep it unofficial) she decided to post the message publicly then tell the sender to go and commit suicide. She even had the cheek to defend herself by saying if she was admin she could have banned him but because she wasnt her only course of action was to attack him in public. 
     
    Logan and Pistol are both showing classic signs of cocaine usage, huge inflated egos and huge aggression with total denial that they did anything wrong or had any blame in anything. 
     

  2. Like
    Crabtr got a reaction from LukeTim in Is Django good?   
    It doesn't have a first-class, built-in ORM like Django does but it does have really great support for SQLite and SQLAlchemy. For templating, it defaults to Jinja2 but you can use Django, Mako, and Chameleon as well.
  3. Like
    Crabtr reacted to LukeTim in First Langauge   
    It's quite low level, and so requires understanding of memory, pointers etc. 
    When writing C/C++ it really helps to have an appreciation of how computers and OSes work to some extent. Most other languages abstract it all away to the point of irrelevance to the programmer.
     
    I don't think it's necessarily impossible to start out with C++. But it won't be easy.
    C is a little easier to comprehend because it doesn't have all the Object Oriented Programming bolted on top.
  4. Like
    Crabtr got a reaction from Tomasu in Best Language To Choose For Linux User Program Development?   
    C and/or C++ coupled with QT (preferably) or GTK. Linux doesn't have an official user-interface library that's as first class as you're going to get. Java works but it's incredibly annoying to use a Java program.
  5. Like
    Crabtr got a reaction from LukeTim in Is Django good?   
    Personally, I prefer Flask. It's lighter weight and much more simplistic to use.
  6. Like
    Crabtr got a reaction from LukeTim in New to coding   
    OS X comes with Clang pre-installed. Install Sublime text or Vim and start learning C and/or C++ 
  7. Like
    Crabtr reacted to drwiggles in Scored a T61 in the dumpster!   
    Your price to performance ratio is off the charts!
  8. Like
    Crabtr got a reaction from LukaP in Am I the only one who prefer the explicit condition syntax?   
    I prefer implicit. It's nicer looking, makes the code easier to traverse, and it allows you to much more easily hit those 80 character line limits. That being said though, I'm not going to really complain about being explicit if being implicit would be against the style guide; consistency is much more important.
     
     
    No space between the conditional and the open curly brace? You heretic! 
  9. Like
    Crabtr reacted to LinusTech in deceptive reviews and shoddy advertisement practices being cracked down on in youtube re Machinima/xbox 1   
    A lot of assumptions being made here.
    We don't take money to do reviews. We never have.
    We take money to do advertisements, which are never labeled as reviews.
    NVIDIA provided the graphics cards (and Cooler Master sent cases and coolers, ASUS sent motherboards, Intel sent CPUs, Kingston sent SSDs and RAM, Swiftech sent water cooling gear) for our editing workstations for product placement in the whole room water cooling series of videos we produced featuring this hardware extensively.
    In the grand scheme of things, $6000 of graphics cards (don't imagine that's their BOM cost on them either) is a great deal for 1-2M impressions on a series of videos about using them.. but those videos were NOT a review. They were about a clearly sponsored (we said it was more than once) outrageous project.
    As for sending "keeper" vs "loaner" units of hardware, yeah for many products we just don't do loaners anymore, but more than anything else this is to do with me not feeling like it's worth my time to play email tag for shipping labels and spend an hour driving to FedEX and filling out stupid international bill of landing and commercial invoice nonsense over like a $100 item that costs more to send back than to just not bother with anyway.
    That and quite frankly even a negative review (for some reason) often generates a lot of sales for the manufacturer.. so as far as I'm concerned they can eat the cost of the item and I'll do whatever I want with it when we're done reviewing it - whether that's continuing to use it personally (Pebble Steel and iPhone 6 come to mind) - or re-visiting it only when we need to re-do our comparative numbers (here's a lesson on why this is necessary and we can't just re-use old numbers)
    And on the subject of the Pebble and iPhone 6 - these are both items that were NOT provided by the manufacturer. One was purchased for my own use and the other was provided by a separate sponsor who makes skins for phones (dBrand), but I didn't necessarily mention this at the time because who cares? It doesn't colour my impressions of the device.
    Here's an item I wasn't allowed to keep and won one of the two editor's choice awards I've ever given out: https://www.youtube.com/watch?v=s1uj6wQTu58
    Here's an item was allowed to keep that I ripped apart saying it was worse across the board than the two similar products from other manufacturers that I compared it against: https://www.youtube.com/watch?v=-O1aCNrjV64
    Here's an item I was allowed to keep that I basically ripped apart on camera and sent it back anyway because it had so little value to me I didn't even want to give it to a friend: https://www.youtube.com/watch?v=c3AgcltUM9s
    And I could do this all day..
    You may notice that most of the items we review we are fairly positive about. There is a reason for this, and it has nothing to do with being paid to review it.
    I don't generally bother to review stuff that I already know is stupid junk.
    The bottom line is this. You can either trust me or not trust me. Ultimately that's your deal. My job is to do what I do, and the people who recognize it for what it is - my opinion being given to you - will follow, and the others can go find someone who maybe they think "hasn't sold out" but might just "happen to agree with them" to listen to. Enjoy.
  10. Like
  11. Like
    Crabtr reacted to msevilgenius in how can i protect code from SQL injection.   
    Use Prepared statements
  12. Like
    Crabtr reacted to KG29 in Mac or PC for school?   
    Hi everyone,
     
    So I bought a used 2010 Macbook pro 15" 2.4GHZ 4GB 320GB :huh:
     
    Have already ordered the 8GB ram kit and will be getting a 1TB SSD drive too.
     
    I must thank everyone for the replies, I honestly thought after reading everyone's reviews here & on the Macrumor board (Many members there had already done there degrees) and gave very detailed insight working at design firms. 
     
    I had great replies here too
     
    Having the option running Windows and learning a new OS was a WIN/WIN, Theft was a big concern buying new. I will be going to school in the UK or State side Georgia/Florida "alone" and having a $3k computer would be awful getting stolen. So buying used was my best option
     
    I'm finishing my Law degree in the UK and will decide on what design school's over there might help me, looking at everything its 3 years usually but haven't found web development either.
     
    honestly i know it will be Florida or Georgia just need 2 year degrees to learn both subjects.
  13. Like
    Crabtr got a reaction from Swndlr in Rate the Photo Above you   
    I'm not really into photography anymore but I took this back when I was. I love the colors and textures, and it's a really high res so it makes for a great wallpaper. 

  14. Like
    Crabtr reacted to madknight3 in Starting my journey in computer science!   
    There's a lot to be gained outside of class. Attend the CS departments events as much as you can and be social. These events might include programming competitions/hackathons, special talks from people (profs, students, others in the industry), general meetups, etc. Even as a beginner who might not understand everything, go to the events anyway. Get involved in your CS student society, either directly by being part of them or by attending their events. Get to know your fellow students and get to know some of your professors. Not only can you make some good friends, the people you know can help your career. Also take advantage of every internship opportunity you can so you can get some work experience before you graduate.
  15. Like
    Crabtr reacted to manikyath in Starting my journey in computer science!   
    try to not get demotivated when the teacher's powerpoints are from 2003, thats what killed it for me...
  16. Like
    Crabtr reacted to LinusTech in Handy Tech Under $100 Episode 8   
    USB Hard Drive Dock
    NCIX: http://bit.ly/1e8kDW2
    Amazon: http://geni.us/1omK
     
    Stayblcam
    Direct: http://stayblcam.com/
     
    What could Linus have in his bag of less than $100 technology today? Watch to find out!
     
    TechKeys OneKeyboard, and ThreeKeyboard
    Direct: http://techkeys.us/collections/accessories
    Video of housing manufacturing: 

     
    Vessel Link: https://www.vessel.com/videos/U8aoIQCOL
    YouTube Link: 

  17. Like
    Crabtr reacted to cubercaleb in recommended IDEs (C++)   
    Emacs/Vim
  18. Like
    Crabtr reacted to VioDuskar in For and While loops   
    while (condition)
    {do this thing}
     
    for(initializer; break condition; incrementor)
    {do this thing}

  19. Like
    Crabtr reacted to madknight3 in [Python] My game relies heavily on globals, but also gives me syntaxwarning even though the game won't work without them.   
    Without using globals, you need to give your functions some way of getting the information it needs. For this you can pass things in as parameters.
    def function_name(param1, param2, ...): # ... Since you have a lot of globals, you'll end up having a lot of parameters which isn't nice either. In this case it's better to group your globals in some way. This could be done with classes, named tuples, lists, etc. Classes would probably be best in your case.
    class PlayerStats(): # I named it "PlayerStats", but you can name it whatever you like def __init__(self): # set up your members with default values self.health = 100 self.armor = 0 self.strength = 10 #etc Then you can create and use it like so
    player1 = PlayerStats() # player1 now contains your class objectprint player1.health # will print 100player1.health = 90 # change the players healthprint player1.health # will print 90 You can reuse that class as much as you want
    p1 = PlayerStats()p2 = PlayerStats()p3 = PlayerStats()p4 = PlayerStats()# ... You can also make things more dynamic by adding more parameters to init. Maybe you don't want the stats to always be the same for some reason
    class PlayerStats(): def __init__(self, health, strength, ...): self.health = health self.armor = 0 self.strength = strength #etc Then create it like
    p1 = PlayerStats(100, 10, ...) So once you have a class for all your stats (or multiple classes depending on how you wanted to group them) you don't have as much to pass into your functions
    def part1(stats): # ... So when you start your game instead of just calling part1 you'd set up your classes first
    p = PlayerStats(...)part1(p) Then it'll keep being passed through your application because each function that needs access to the stats will get it
    def part1(stats): # ... stats.health = 200 # ... part2(stats) # will now have the current stats passed to it # ... You may also need some functions to return the stats
    def function_name(stats): # update stats in some way # ... return stats And in this case, you'll replace the current stats from other methods with the returned value like so
    def part1(stats): # ... stats = function_name(stats) # ... part2(stats) That's about it. You could add your logging in through function parameters too if you'd like, but it's generally more accepted that a logger be global. If you have any questions I'll do my best to answer them.
  20. Like
  21. Like
    Crabtr reacted to brandishwar in Can you make money from python as a freelancer?   
    And I'll amend this by suggesting that you do learn multiple languages. Don't limit yourself to just one. I've been a professional engineer for over 10 years (hobbyist before that, and still am one, actually), and trust me, being familiar with more than one language will get you much further. Given you know Python, learn either C# or Java next. Touch on C++ where you can, but I wouldn't put a huge focus on it as it's not in very high demand right now.
  22. Like
    Crabtr reacted to SeriouslyMikey in Debunking the "Eyes see at 24 fps" Myth   
    But the human hand cant see over 24fps. 
    Debunk that, captain obvious. 
  23. Like
  24. Like
    Crabtr reacted to Victorious Secret in Time Warner Cable's 97 Percent Profit Margin on High-Speed Internet Service Exposed   
    In case there was every any doubt as to the amount of income cable companies pull in, take a read at this article and be amazed at TWCs incomes and how they overcharge and try and charge for as many things as humanly possible. 

    Its just amusing that they cry about how much building out their network would cost, yet their financials tell the whole market that they could easily afford it with how they charge their existing consumers (not to mention the tax breaks and incentives they get from the governments to build out infrastructure)

    Ugh. ISPs are depressing. Take a read through the article as it has more information if you're curious about the numbers themselves and where they came from. 
     
     
    http://www.huffingtonpost.com/bruce-kushnick/time-warner-cables-97-pro_b_6591916.html
  25. Like
    Crabtr reacted to pspfreak in Little Rant About Time Warner Cable.   
    Our cable box was acting up and they told us they would ship a new box to us. They told us it would be here in 3-4 days. A week goes by and nothing happens. I decide to call them and they tell us there is no signs of a request for a new cable box. So I had them send another one. I was told I may or may not get a "New" cable box, but I may just get a used box. I said whatever and had them go through with it. Today, I get the package. Guess what is in the package? A god damn remote. Just a remote. No cable box. So I call them back today, and they told me that the request only included a remote. Thanks time warner. So the guy on the phone was nice, albeit from india, but he apologized and and told me he would personally put the request in. He said I could get it tomorrow or monday. Let's just hope we get a box this time.
     
    Watch, we will get a potato. 
     
    Time Warner must be run by monkeys. How goddamn hard is it to send out a new cable box, let alone a used fucking cable box. Do they do this with all their fucking customers? 
     
    /end rant.
     
    I just needed to get that out.
×