It's official... Kita is Certifiable!

Discussion in 'tech' started by Kita, 26 Mar 2015.

  1. Kita

    Kita Should Update Title

    Final project. Took me half an hour to get the small section to account for invalid input. Two fucking lines of code. I knew what I needed to do, but structuring it like Java wanted it was a bitch. Tried close to ten different ways before I got it to accept it. Worked perfectly once I got the errors to go away, because I knew what I needed it to do, just not how to talk to Java.

    It's a little rock, paper, scissors game. It works, just don't try to break it cause you most likely will. :p "Dodgy Javascripts!".

    Code:
    var userChoice = prompt("Do you choose rock, paper or scissors?");
    if (userChoice != "rock" && userChoice != "paper" && userChoice != "scissors") {
        console.log("Please choose rock, paper, or scissors, make sure spelling is correct, and try again!");
    }
    var computerChoice = Math.random();
    if (computerChoice < 0.34) {
        computerChoice = "rock";
    } else if(computerChoice <= 0.67) {
        computerChoice = "paper";
    } else {
        computerChoice = "scissors";
    } console.log("Computer: " + computerChoice);
    var compare = function(choice1, choice2) {
        if (choice1 === choice2) {
            return "The result is a tie!";
        }
        else if (choice1 === "rock") {
               
            if (choice2 === "scissors") {
            return "rock wins";
               
            }
            else {
                return "paper wins";
            }
        }
        else if (choice1 === "paper") {
           
            if (choice2 === "rock") {
                return "paper wins";
            }
            else {
                return "scissors wins";
            }
        }
        else if (choice1 === "scissors") {
           
            if (choice2 === "rock") {
                return "rock wins";
            }
            else {
                return "scissors wins";
            };
        };
    };
    compare(userChoice, computerChoice);
    
     
    • Laugh Laugh x 1
  2. Kita

    Kita Should Update Title

    I am a pro at making prompts and console messages. The rest is a fuck-all. :p
     
    • Like Like x 1
  3. Lain

    Lain End of line. #resist
    Sneaky

    I had to write a calculator in Java once as a final project. Let's just say writing in assembly language was a more relaxing experience than writing in Java.

    Fuck Java, seriously. The asshole that invented it should be beaten with something blunt.
     
    • Like Like x 1
  4. Kita

    Kita Should Update Title

    Oh, and this year I have fallen in love with StackOverflow. It is awesome... at times. I have only used it for some pretty odd stuff in the past, because it can be super tedious trying to find an answer. There is this drastic split in the answers; there are absolute clueless morons, and then there are beardfaces who forgot how to speak to humans 10 years ago, and are usually pretentious asses about it too. For example, I was trying to find the proper boolean to express either 'not' or 'wildcard'. The threads about wildcard was in coding greek, involving long strings of code needed to express it. The one about 'not' had eye rolling and people telling the poster to go back and review javascript. I guess they assume the person was teh masterz senior dev like them, and not a student trying to learn?

    Coding answers are the only ones I will visit it for. Anything related to troubleshooting is tedious and awful. Beardfaces. Ruin it every time.
     
    • Agree Agree x 1
  5. Lain

    Lain End of line. #resist
    Sneaky

    StackOverflow, as well as sites like Hack-a-Day, have gotten bad recently, thanks to an influx of Reddit style users pissing up the information, forcing worthwhile users to seek elsewhere to congregate.
     
  6. Kita

    Kita Should Update Title

    Sounds like a vicious cycle, the beardfaces getting more pretentious and cynical as the morons give them an excuse to be so, scaring the humans away so it is just beardfaces and morons.

    I like the hack-a-day site for the articles, but I have seen TONS of reddit morons there. I never, ever read the comments or forums, just the articles and projects. Even those can be pretty low quality at times too these days, unfortunately.

    I feel the same about Tom's Hardware too. Used to be a place for old geeks to hang out and teach the stupid kids some things, but for years now has been flooded with just kids comparing graphics cards and asking where bottlenecks are in their systems. There are also an unsettling number of dumb questions too, that are asked over and over again (obviously didn't bother to google), such as how to play Battlefield 4 on their old low end laptop or how to fix a laptop that isn't charging. This is Yahoo answers stuff, kids. Why are you on a tech site when you don't even know how to google basic answers?? 90% of the site is worthless trash due to the overflowing of cluelessness. I still use it for the value comparison articles, since those save a ton of time and are a great place to start when I am making custom systems. I don't have time to follow prices, it's hard enough keeping track of the new architecture releases constantly streaming in. And I read the really geeky articles about new tech or crazy experiments done on current stuff. The kids can't follow any of that, and they are written for people who know their stuff. The 'first look' articles are press sample junk for the kids, as well as the benchmark articles that usually just pit all the press samples against each other. To be fair, the benchmark articles are how I transitioned into more in-depth knowledge of hardware, and I do still check them (and others too, they are never my single source) when I am targeting certain programs for a build. I haven't found a good single source for info for many years, and usually need to use multiple sites to compare performance charts, skim the search results for trends, and check spec sheets. It takes a lot longer now to research parts, but I make up for it with a bit more experience too, and knowing where the marketing herrings are in numbers so I don't chase down comparisons that really aren't comparable. I don't need to research often, but when I do, it is a serious scavenger hunt.

    What is a good place to go? I also recently discovered spiceworks, but it seems a lot of search engines don't work there. There is a wealth of info, but it rarely comes up in the results.
     
  7. Lain

    Lain End of line. #resist
    Sneaky

    https://nakedsecurity.sophos.com/

    I subscribe to their daily email digest, it tends to ride the line between relevant and obscure, the articles are good but I never read the comments on anything much anymore. So I can't attest to the quality of the feedback.
     
    • Like Like x 1
  8. Lain

    Lain End of line. #resist
    Sneaky

    • Like Like x 1
  9. Kita

    Kita Should Update Title

    Thanks, bookmarked them all!

    I already am subscribed to the Wired feed, amongst a few other Wired feeds, but I never check them. I really should check my feeds. When I get back into the groove of things, I will add the other sites as well.

    Cryptogasm is down, however. A quick google looks like it might have been down for over a year now, and no sign if/ when it will be coming back.
     
    • Like Like x 1
  10. Lain

    Lain End of line. #resist
    Sneaky

    Well blah, it's been that long since I visited Cryptogasm? Time to update my bookmarks. lol

    If it isn't Kali related or Cisco related it hasn't been on my reading list lately. I'm ramping up for a CCNA refresher and am about to get Kali certified. :D
     
    • Like Like x 1
  11. Lain

    Lain End of line. #resist
    Sneaky

    I have kicked around starting my own Security Blog, but there's so many blogs and I don't really have the time to devote to making it worthwhile. It would just become a place to dump my random thoughts and stuff, which is what I do here. :D
     
  12. Kita

    Kita Should Update Title

    Well, if nothing else, a security blog is just something to throw in your portfolio as a link. Shows you keep up to date with security stuff and aren't just dusting off 20 year old solutions every time.

    OFC, I should also be doing a professional blog instead of posting random crap on GV. :D
     
    • Like Like x 1
  13. Kita

    Kita Should Update Title

    Good interview today, went very well. The guy said he would call me next week to schedule a face to face, he really seemed to like me and my experience. He wants to fly me out the following week to meet the team if all goes well there. I would be on the road 50% of the time, setting up/ fixing many remote sites, the other 50% would be at HQ or home remotely administering the remote locations I set up. They cover all travel expenses (in reason, of course. I get a corporate credit card, but no titty bar lunches! :p). They pay well enough, and all meals and expenses will be covered half of the time anyways. Also offer a company phone and equipment, or I can be reimbursed $100/ month for my own phone. Freaking perfect. I am upgrading my shit! Also compensate 50-100 a month for getting HIGH SPEED internet at home so I can remotely administer!! OMFG. I will also be able to access my home server and game remotely from the hotel that way too ;) And I should be able to afford a nice little townhouse in a quiet gated community near the mountains, and still be a 20 minute or less drive away from the office. Perfect. :) Job meant for an adventurous techie. Sold! Also will fit within "Kita's Big Plans (TM)" since I am setting up entire networks and systems. I will pick up this shit and how to scale it pretty fucking quick.

    I just have to make sure to lock down my little VPN empire so Lain doesn't do an audit and bitchslap me. ;_; It will be... uh, a learning experience. Hoping they have a standardized method/ solution for the intranet connections/ VPN/ WAN... because I know what everything is in concept, but don't know how to set them up. Haven't exactly done remote admin yet beyond just some little VNC/ SSH crap with my Linux toys. I was honest with them about it, but they didn't seem to have a problem with this. And one guy perked right up when I mentioned my Pi, and wanted to show me his during the in-person! ;) I think they are a good company, one that understands you can train a techie in the tech, and finding the right attitude and ability to work with the tech is key. That is me. They seemed to like the CompTIA, and accepted that as proof of my competency as well, so that is good. I have a lot to learn, but that has never stopped me from being a fucking superstar at my job. They also pay well, but it isn't a network admin type of salary, so I expect there will be someone above me handling the config details until I get it down myself and get their job. :p

    I was worried at first about the job, thought it would be a crap gig based on what I saw on the website. But it is really a legit tech job, and they just scored a major contract they need to get the tech rolled out for.


    Also got a screening call from a defense contractor. Should be getting a video interview set up next week. Also a sweet gig, with tons of potential. Same company as the other defense contractor I mentioned, different location. So I am working them from two ends.


    And a cattle call email for a casino tech job. I don't want to get cocky, but I have had some good interviews with good companies that pay well. I think I might poo-poo the casino a bit and highball them on compensation. They tend to pay well below competitive anyways, and I expect an easy out when they offer $15/hr or only a part time gig. I am going to get shit for poo-pooing from the workforce development agency who funded by certs... but oh well. I am a professional now!


    I feel good today, but super anxious. Something has to stick soon. I am nailing interviews for some sweet jobs and getting callbacks. I won't be making the halloween deadline I had hoped (;_; ;_; ;_;), but should hopefully be in by thanksgiving? Maybe? Cautiously optimistic....
     
    • Hug Hug x 1
  14. Lain

    Lain End of line. #resist
    Sneaky

    Yes, but what would we do without your insight and expertise. Even I, with all of my vast experience and education ;) , cannot hold it down alone. :D

    So just make sure to link your blog here, so we can discuss internally. :)
     
    • Hug Hug x 1
  15. Lain

    Lain End of line. #resist
    Sneaky

    Granted, I have not done administration work in a long time, but when I was doing administration work I hardly ever left the CLI prompt in the SSH terminal.

    Windows machines are becoming more CLI friendly with the introduction of powershell and CLI over SSH is still the fastest way to get anything done. I am not comfortable with Windowed remote tools, even over SSH connected through a VPN, I find response times excrutiatingly slow. A well scripted CLI interface can automate all of the repeat tasks and using screen you can freeze and restore cli 'windows' quickly.

    I'm a fan of Guake for *Nix. I'm not sure if they make a windows version. I use Putty when I'm using a Windows machine as my host.
     
  16. Kita

    Kita Should Update Title

    Putty is primarily what I have used to access my *nix projects with Windows, actually. I am trying to think of when I remotely accessed a Windows machine, and honestly cannot think of one. I helped my dad configure his goofy little remote desktop solution to access his work computer from an Android tablet, and that is all I can think of.

    It's odd, because most of my system admin experience is with Windows machines, using a GUI. However, the little bit of remote access I have farted with has been CLI. Thinking about it, I guess most of my *nix experience of any kind was farting around in command line, doing shit. So much configuration needs to be done through command line, I just do everything in *nix with it, even when it has a nice GUI. Not sure how to administrate *nix in GUI tbh. But I also only this year got myself a solid base in Windows command line. I was trying to type some *nix commands in when I first attacked it... (sudo, dammit, SUDO. Nope, gotta use the GUI to get admin command line... lol)

    I am oddly uncomfortable messing with files and file structures in command line. I like to be able to see it, it just makes more sense. But I happily run programs and fart around with networking in command line. :) I have already forgotten so much I learned in my classes too... it just goes in one ear and drips out the other if I don't actively use it ;_; Plus, I had to get rid of rational commands to make room for the Javascript. :p
     
    • Hug Hug x 1
  17. Kita

    Kita Should Update Title

    I discovered that Google has a nifty little remote support thingy too that works on all system types. If you can install Chrome/ Chromium on the system, you can use it. I farted with it and used it to access my Debian install GUI. It worked! A bit sluggish because both systems are on WiFi, but I imagine quite responsive if both systems are wired with a fast connection. Nicely secured too with one time use keys, and you have to allow remote access expressly. If you get lazy with setting up Windows RDP, and don't use a good password or have someone sniffing around your network, you can get cracked or suffer a man-in-the-middle. Google uses TLS, I believe, so the tunnel is secured or it fails. It's a key exchange of some sort anyways, and also needs that one time password to authenticate using out of band communication to pass it over. It's easy to use when helping out noobie users, and provides security even if they don't know what they are doing. It can also be turned off so it doesn't keep the port opening and listening. I did have to manually go in and disable it when I saw the program listening, however. Didn't cause any issues to turn it off, only one program was listening, and a simple click on the app turned it back on. Google just knows how to nail the basics. :)
     
    • Like Like x 1
  18. Lain

    Lain End of line. #resist
    Sneaky

    Is Javascript making some sort of comeback? After our recent discussion about how horrific it is, I ran across a system using Javascript to poll the webserver and construct the dynamic web pages. Like, wtf is this the 90s? Get a perl programmer!
     
  19. Kita

    Kita Should Update Title

    Javascript is making a HUGE comeback. Everyone is asking for it, everyone is using it. It is compatible with mobile, which I think is why it is exploding. Can be used in both mobile and regular webpages with predictable results since it is standard across all OS. It also allows companies to makes those dynamic USELESS HTML5/ Web 2.0 webpages work on any device! Fan-fucking tastic. That website still is defeating the entire purpose of finding INFORMATION on the fucking web. I do NOT go to sites for propaganda and to look at stock images. But if that is all a site does, it tells me everything I need to know about the company despite best efforts to be utterly devoid of context.

    zombo.co

    I don't fucking get it either.

    I also think it encourages far more laziness and allows for high turnover for UI/ UX designers. You can just keep piling code in there as long as you have a javascript coder around. Everything will keep looking pretty on every device with little need to check compatibility or usefulness. Hence, laziness. It worked on their system, so they assume it will work on every system and don't bother to check, allowing designers to just throw shit up live very quickly and with minimal labor. Hence, laziness and churn n burn for UI/UX designers.


    I hope more HUGE vulnerabilities hit, and we see more XSS and hijacking attacks so Javascript will just fucking die again. <3
     
    • Hug Hug x 1
  20. Lain

    Lain End of line. #resist
    Sneaky

    Wtf?

    I refuse to become proficient in anything except breaking javascript to do my evil haxor bidding. MwhahahaHaHAHA!

    I might have to start replacing JS with a real language. Shhhh.
     
    • Like Like x 1

Share This Page