Tech Official coding thread

Started by Inland Empire Rapper, Jan 23, 2017, in Entertainment Add to Reading List

  1. Inland Empire Rapper
    Posts: 4,528
    Likes: 5,395
    Joined: Jan 9, 2016

    Inland Empire Rapper My Life, Your Entertainment

    Jan 23, 2017
    As a rookie coder I figured it'd be appropriate to at least start a thread to talk about coding of any language.

    I'm currently drained from coding a PHP project that I admit, has cleaner code than my previous project but I feel very isolated when doing it... In case you're wondering, it's a mobile forum that has more features built in and has a mobile friendly design from the getgo plus encrypted messages (though I need to figure out how to make it simple for dummies to generate a key to encrypt everything so everything doesn't get f----- due to people not replacing the default key.)

    Anyways, talk about coding here.

    @Gavin @Loyalty @Slyk @any other coders
     
    #1
    3
    Slyk, Loyalty and Ordinary Joel like this.
    3
    Slyk, Loyalty and Ordinary Joel like this.
    May 2, 2025
  2. theg
    Posts: 11,957
    Likes: 27,207
    Joined: Feb 17, 2011

    theg got that pma

    Jan 23, 2017
    dropped coding so many times in the past but i actually just picked up c# again tonight
    doing tutorials on c# rn
     
    #2
    2
    Loyalty and Ordinary Joel like this.
    2
    Loyalty and Ordinary Joel like this.
    May 2, 2025
  3. Inland Empire Rapper
    Posts: 4,528
    Likes: 5,395
    Joined: Jan 9, 2016

    Inland Empire Rapper My Life, Your Entertainment

    Jan 23, 2017
    I read a book on C# when I was a kid... Understood the concepts but never had any real understanding of how to create a program...

    To make a program requires lots of knowledge of APIs and functions and hooks and even some complex mathematics that I don't have the ability to learn, there's so much s--- out there.
     
    #3
    1
    Ordinary Joel likes this.
    1
    Ordinary Joel likes this.
    May 2, 2025
  4. gavin
    Posts: 3,731
    Likes: 7,674
    Joined: Nov 4, 2015

    gavin I go fishing, alot.. https://catchpedia.com

    Jan 23, 2017
    Wish I would have originally finished my tutorial on making a simple_html_dom.php parser considering all the primary tutorials for the sandbox are in Spanish or Hindi, for a tool which contains so many features. I'm very surprised at how little it's used.

    This being said, I'm currently working on a way to filter recent Sound Cloud post by the time they was updated similar 2 the algorithm YouTube has where you can filter by Views, Date Upload, and many other key factors. ( general idea was influenced by some of the funny s--- I've found using this feature. )
     
    May 2, 2025
  5. gavin
    Posts: 3,731
    Likes: 7,674
    Joined: Nov 4, 2015

    gavin I go fishing, alot.. https://catchpedia.com

    Jan 23, 2017
    Are you hard coding an entire forum or are you working off one of the pre designed platforms? There's way too many platforms that currently exist for you 2 dedicate such time too hard coding everything.

    Please provide some information on what you mean by "encrypt everything" are you trying to publicly encrypt messages? I coded a system for a client once which was pretty f---ing gnarly for this that if a user was not currently logged in it would display a bunch of hex instead of the actual messages.

    I don't really know the exact reason why they wanted a system like this, but generally speaking I was a big fan of the idea.
     
    #5
    0 0
    May 2, 2025
  6. Inland Empire Rapper
    Posts: 4,528
    Likes: 5,395
    Joined: Jan 9, 2016

    Inland Empire Rapper My Life, Your Entertainment

    Jan 23, 2017
    Hard coding, meaning from scratch. I got the reply and create thread functions working but there's a lot of work to be done.

    EDIT: Basically it's using OpenSSL functions already in PHP to privately encrypt messages for users so that mods can't read it easily.
     
    #6
    0 0
    May 2, 2025
  7. gavin
    Posts: 3,731
    Likes: 7,674
    Joined: Nov 4, 2015

    gavin I go fishing, alot.. https://catchpedia.com

    Jan 23, 2017
    Seems f---ing dope, kinda excited to see some progress. If you're in need of help hit me up!

    Secondly, does anyone here know about .htaccess? It always gives me issues because I always f--- it up. I've never completely understood the concept behind using it.
     
    #7
    0 0
    May 2, 2025
  8. Yoda777
    Posts: 1,762
    Likes: 2,693
    Joined: Sep 28, 2016

    Jan 23, 2017
    are there anyt good youtube series to learn basics
     
    #8
    1
    gavin likes this.
    1
    gavin likes this.
    May 2, 2025
  9. gavin
    Posts: 3,731
    Likes: 7,674
    Joined: Nov 4, 2015

    gavin I go fishing, alot.. https://catchpedia.com

    Jan 23, 2017
    'basics' for what language ?
     
    #9
    0 0
    May 2, 2025
  10. Yoda777
    Posts: 1,762
    Likes: 2,693
    Joined: Sep 28, 2016

    Jan 23, 2017
    C++? idk i've never done anything coding related
     
    #10
    1
    gavin likes this.
    1
    gavin likes this.
    May 2, 2025
  11. gavin
    Posts: 3,731
    Likes: 7,674
    Joined: Nov 4, 2015

    gavin I go fishing, alot.. https://catchpedia.com

    Jan 23, 2017
    I've probably given this guy over 200+ subscribers over the course of the last year but they're very much deserved subscribers.
    https://www.youtube.com/user/thenewboston/playlists
    He has tutorials for almost everything you could ever wanna do online, from coding C++, C#, to coding full on WordPress themes, and WordPress plugins all the way to making a good looking website logo in Photoshop without stressing anything.

    Let me give you a couple pointers before you make this decision. Learning C++ from scratch without knowing any other languages is something I don't think I would ever in my life recommend as it provides really no value for someone wanting to learn 2 code ( its more of a advanced coding language for people who can operate in numerous languages already ).

    Take a look at this little read powered by the dudes over at cprogramming, i've highlighted one of the most important parts of the write up.
    ========================================================
    What is C, What is C++, and What is the Difference?
    C is a programming language originally developed for developing the Unix operating system. It is a low-level and powerful language, but it lacks many modern and useful constructs. C++ is a newer language, based on C, that adds many more modern programming language features that make it easier to program than C.

    Basically, C++ maintains all aspects of the C language, while providing new features to programmers that make it easier to write useful and sophisticated programs.

    For example, C++ makes it easier to manage memory and adds several features to allow "object-oriented" programming and "generic" programming. Basically, it makes it easier for programmers to stop thinking about the nitty-gritty details of how the machine works and think about the problems they are trying to solve.

    So, what is C++ used for?
    C++ is a powerful general-purpose programming language. It can be used to create small programs or large applications. It can be used to make CGI scripts or console-only DOS programs. C++ allows you to create programs to do almost anything you need to do. The creator of C++, Bjarne Stroustrup, has put together a partial list of applications written in C++.
    ========================================================

    Granted this is just my opinion but for starting out I would recommend you learn Javascript, the tutorials you can find related too this will probably expand you automatically into the basics of HTML + CSS which are basically used in almost every language outside of how do I program a microwave to spit fire.exe which will all around make your learning experience better when / and if you finally decide too learn to code in C++ like you previously stated.

    The language is probably one of the most versatile languages you will find, watching a proper tutorial should take you over the primary functions of Javascript which actually could be explained and has been explained in only a 30 minute clip. You can view that video here.



    Now the title alone on this video for someone unfamiliar will probably tilt your socks back a little bit because it states another (sandbox) language basically for javascript called (Jquery) and though most things can be completed without using Jquery it for sure helps you in the long run if you know how to work with it.

    The primary things I recommend you learn after you've fully watched this video provided you're convinced you wanna learn java script are looking into some things like the sandboxes I mentioned above. Some of those go as the following AngularJS, Node.js, and maybe PurpleJS.

    Take this how ever you want, but in my honest opinion I don't think you should focus on what the person in a tutorial is actually making, this is something a lot of people when they first learn coding make the mistake of, they see someone in a video making a toggle menu in javascript for example and feel like, why would I ever wanna make a toggle menu in JavaScript, learn from the functions he's telling you about in the tutorial and decide what they can be used for in other projects. With everything you see on the internet it comes down to basic functions that people have used in a more advanced way.

    EDIT: I have added the long text in a spoiler tag because it appears too take a second scrolling through it for people whom are un-interested in reading it, or have already read it.
     
    Last edited: Jan 23, 2017
    #11
    2
    Yoda777 and theg like this.
    2
    Yoda777 and theg like this.
    May 2, 2025
  12. theg
    Posts: 11,957
    Likes: 27,207
    Joined: Feb 17, 2011

    theg got that pma

    Jan 23, 2017
    yea thats the way i've been trying to take it, like i'm learning to make calculators and s--- but the calculator isn't the part im interested in, it's the things that go into making the calculator that's the valuable part of the tutorial
     
    #12
    0 0
    May 2, 2025
  13. gavin
    Posts: 3,731
    Likes: 7,674
    Joined: Nov 4, 2015

    gavin I go fishing, alot.. https://catchpedia.com

    Jan 23, 2017
    I've not dabbled too much in the works behind C++ / C# because all around they take forever for you too start seeing money off of them. Where with PHP or Javascript I could just toss out a website, learn a bit of seo and set it on the river 2 sail, especially in the era we are now automation is at an all time high. ( Granted manually doing something will obviously return a better output overall but automation is good for people whom are just trying to target --- keywords which are not primary based around actual content on the page. ) primary example for something like this would be Media based websites.

    I've noticed now that a lot of people seem 2 be falling into the user-generated content based websites. Which is a pretty f---ing cool concept all around, good 2 see a community working together.
     
    #13
    1
    theg likes this.
    1
    theg likes this.
    May 2, 2025
  14. Loyalty
    Posts: 5,296
    Likes: 22,268
    Joined: Dec 1, 2014
    Location: PHX

    Loyalty we go hard on earth

    Jan 23, 2017
    I recently wrote a script to find/replace all instances of words that are different in US and Canada (i.e. color to colour) for our new Canada website. Took like 3 days but it works pretty well now
     
    #14
    1
    Slyk likes this.
    1
    Slyk likes this.
    May 2, 2025
  15. Boolo
    Posts: 340
    Likes: 1,325
    Joined: Dec 5, 2014
    Location: Harlem, New York City

    Boolo Banned

    Jan 30, 2017
    So I'm sitting at my xterm in KDE hacking some kernel code, and this b---- comes up to me and says "Do you know which of these computers runs Windows?" Well that did it. I flipped up my shades and looked her straight in the eye and said "f--- no I'm open source b----". I picked up my 10 lb IBM Model M keyboard and said "I can kick your a--- at 120wpm" and broke it over the c----'s head. She dropped to her knees and I kicked the jewel case out of her hand and into her teeth. Next I grabbed her by the neck and said "How's your uptime" before suplexing her backward through the air and into the server room. Some smoke that smelled like burning hair started to drift out so I jumped on my razor scooter and rode off into the sunset.
     
    May 2, 2025
  16. Lucy
    Posts: 28,738
    Likes: 62,057
    Joined: Nov 29, 2014

    Lucy #1

    Jan 30, 2017
    :dead:

    srs though these dangerous weapons should be banned
    [​IMG]
     
    #16
    1
    Ordinary Joel likes this.
    1
    Ordinary Joel likes this.
    May 2, 2025