Jump to content


  • Content count

  • Joined

  • Last visited


This user doesn't have any awards


About Gachr

  • Title
    I'm a ginger, so Chuck made himself my avatar


  • CPU
    Intel Core i5 4570
  • Motherboard
    ASUS H97M-E
  • RAM
    Corsair XMS3 2x4GB 1600MHz CL9
  • GPU
    ASUS GTX 660
  • Case
    Corsair 400C White
  • Storage
    2x Samsung 850 EVO 250GB
  • PSU
    Corsair RM650
  • Display(s)
    ASUS VN247H
  • Cooling
    Noctua NH-U12
  • Keyboard
    Logitech K120
  • Mouse
    Logitech M100
  • Sound
    Sennheiser HD205
  • Operating System
    Solus OS

Profile Information

  • Gender
  • Location

Recent Profile Visitors

1,312 profile views
  1. Basics are the most difficult part. To get them right, official docs are best. I also recommend tutorialspoint.com as well as Derek Banas' videos. If you want to do anything practical, just think of something and research! That's what you'll do as a professional programmer, don't expect for people to take you by the hand. If you are interested in webdev, freecodecamp is great.
  2. Which ASUS GTX 1050Ti should I buy?

    Do all of them have semi-passive cooling tho?
  3. xbox one controllers - old vs new

    Will the new one support the old controllers as well? The clerk said that I could use just any bluetooth dongle for the new one.
  4. Hello! Just like above. I'd like one that has semi-passive cooling. What are the differences between them? https://morele.net/karta-graficzna-asus-geforce-gtx-1050-ti-dc2-oc-4gb-gddr5-128-bit-2xdvi-d-hdmi-dp-box-gtx1050ti-dc2o4g-1437021/ https://morele.net/karta-graficzna-asus-geforce-gtx-1050-ti-expedition-4gb-gddr5-128-bit-hdmi-dvi-d-dp-box-ex-gtx1050ti-o4g-1089248/ https://morele.net/karta-graficzna-asus-geforce-gtx-1050-ti-4gb-gddr5-128-bit-hdmi-dvi-d-dp-box-ex-gtx1050ti-4g-975428/ https://morele.net/karta-graficzna-asus-geforce-gtx-1050-ti-oc-4gb-gddr5-128-bit-2x-dvi-d-hdmi-dp-box-strix-gtx1050ti-o4g-gaming-975429/
  5. Hello! Over a year ago, I bought a wired xbox one controller for my PC. I wanted to get another one, along with a wireless dongle to play on my TV. I went to a store and I couldn't find one. I asked a clerk, and he said that the dongles are outdated, and the new pads that are available connect through bluetooth. He also said that the new ones have a white box while the old ones have a green box. When I came home, I checked, and I have one with a green box. Was he right? What should I do to play on my PC with two pads wirelessly?
  6. Mac vs Windows for programming?

    Yes, I forgot to mention that. I didn't use that feature personally.
  7. Mac vs Windows for programming?

    Programming on Windows is terrible, period. Why? No built-in package manager, support for version managers (afaik), you just have chocolatey which isn't too comfortable to use PowerShell and cmd commands are different from macOS/Linux ones, the shells aren't easy nor comfortable to use. If you're not using a proper editor, unix line endings could get replaced with Windows line endings and screw up your code. Many niche languages and libraries simply don't support Windows. It's more difficult to get build tools, compilers etc., and their installation is way more time consuming than on macOS/Linux. Unfortunately, I don't think you have much experience in development, people don't just do development in pure HTML - I don't know a company where it would've been done so. Everyone uses either a full-fledged front-end framework environment (Vue + webpack for example) or they are using back-end language/features, like Jade for JS or Blade for PHP (Laravel), and in pretty much all decent webapps you'll use some kind of toolchain. For both case scenarios, you need good editors that can support custom syntaxes and build tools to actually run your code.
  8. Help with picking a programming language.

    You should be able to make the game fairly easily with Unity3D, that uses C#.
  9. Why does Electron render LTT differently to Chromium?

    Perhaps provide a video to show your issues?
  10. Beginner's help

    Oh, really? Any sources?
  11. Beginner's help

    Well, I think that the question you are asking here is like "should I learn to drive an automatic or a manual car?" when not knowing anything about cars at all. One builds on another, pretty much all things about C are still there in C++. If you take lots of C code, and write one C++ line, everything will work fine with a C++ compiler. All C code is valid C++ code. For example, you can still work with printf() in C++ instead of std::cout, but you can only use the latter with a C++ compiler. Answering your question: If you feel more comfortable with C, go with it. Knowledge that you will gain will help you lots with C++, and make you appreciate its features more. However, I think you should still work with C++ topics that are required by your curriculum.
  12. Where to start?

    So, I'm going to split this post into 3 parts, and this is the first, I'll comment on languages mentioned above. Golang: It is a useful language which implements some features, that make it easier than C for example, but it's still pretty difficult. This is a comparison of code that I wrote in Golang first, and then code that I wrote in Ruby: package main import ( "fmt" "strings" "io/ioutil" ) func de (s []string) []string { var r []string for _, str := range s { if str != "" { r = append(r, str) } } return r } func main(){ data, _ := ioutil.ReadFile("/proc/meminfo") s := string(data) memory_total := de(strings.Split(strings.Split(s, "\n")[0], " "))[1] memory_free := de(strings.Split(strings.Split(s, "\n")[2], " "))[1] } memory = YAML.load(File.open("/proc/meminfo")) memory_total = memory["MemTotal"] memory_free = memory["MemAvailable"] Quite a difference, huh? But, I think the real issue with Golang is that it was create with a very specific goal in mind (some networking), which you are unlikely to be interested in... At least so interested, to learn a whole new language. Doing other stuff with it, like GUI interfaces or games seems to be impossible for a beginner I think. C: The language is a legend. However, I don't think that its popularity will do you much good - it will be easier for you to do new stuff with way less popular languages, that have a package manager and easy to use libraries. Just like with Golang, you'll write way more code than you actually need to. With C, you will learn lots of things about computers, but the question is, do you really want to know them? There is a difference between a guy who just wants to make websites and money on it, and a guy who wants to know how the operating system works, at least out of curiosity. If you are the latter, you can still learn C later. C++: It's actually C, but with extra stuff. I think that to appreciate the ++ features, you first need to understand the base language well. Otherwise, they will just confuse you, and make you avoid some basic concepts. C#: This is one of my top recommendations. This is a language, that's used a lot in the enterprise, but it still provides lots of great usage scenarios for hobbyists. It's actually easier than C, Go, and other languages like that, despite not being as easy as Ruby for example. It might be intimidating at first, but if you go through the basics, it should become fairly easy to use. There are just so many usage scenarios with this one - it's used to build apps through Xamarin, games with Unity or MonoGame, and it's also considered easy to build desktop GUI apps with it. Its only disadvantage, in my eyes, is the lack of libraries and general support of (mostly) GUI stuff on Linux and macOS desktops. Java: It's actually a language that I didn't use much. It's similar to C# in its syntax, it's more multi platform, it's more widely used in enterprise (at least in my country), but it doesn't have so many great features for consumer stuff. Rust: It's a great language that's fairly similar to C and Go. However, I don't recommend it for a beginner, since it's still a difficult language, plus its documentation isn't very good in my opinion. Ruby: It's my favourite language. It's really easy to pick up, and it teaches you lots of different stuff that you will use in other languages. Its syntax is very consistent, and the language has pretty much everything you'll need when wanting to build basic programs. Together with Sinatra, Rails and Padrino frameworks, it's a great choice for web development. It has an easy to use package manager built in (like few others above) that gets you modules to build your next application. However, I won't recommend it, why? Although very large, its community isn't very active, and trends are going in another direction. I'm personally going from Ruby to Elixir, as my to-go language for fun stuff. Python: I just don't like the language. Its community is huge, so you'll find lots of useful libraries and such, but the downside of that is, that there are lots of newbies, so you'll find quite a lot of false information. Other reasons are the ones here: Part 2 - An Answer: I think it's pretty bad, and I've explained it in a separate topic. Especially that OP already used it and knows the basics. The only advantage of codecademy is that it repeats stuff, so you learn it well, but you can do it yourself through experimentation. Part 3 - The Choice: JavaScript I think that's the language you should keep on learning. You already know the basics of it, and you can do all the stuff you might want to do, so why not? You can create user interfaces with HTML, CSS and JS itself - there are lots of frameworks for user interfaces, including React, Vue and Angular. You can create back-end web server logic with it, using Node with frameworks like Express or Sails. You can create games, using many game frameworks for JS, or use UnityScript (a modified version of JS) with Unity3D. There is just so much stuff you can do with JS, there is a reason it's the most popular language.
  13. confused as to why my thing won't work

    This is the code that uses event listeners: <!DOCTYPE html> <html> <body> <p id="output"></p> <button id="small"> Small £1 </button> <button id="medium"> Medium £1.50 </button> <button id="large"> Large £2 </button> <script> function topping(){ //blah blah blah } var cost = 0; var order = []; var output = document.getElementById("output"); document.getElementById("small").addEventListener("click", function(){ cost += 1; output.innerHTML = cost; order[0] = "small"; this.disabled = true; topping(); }); document.getElementById("medium").addEventListener("click", function(){ cost += 1.5; output.innerHTML = cost; order[0] = "medium"; this.disabled = true; topping(); }); document.getElementById("large").addEventListener("click", function(){ cost += 2; output.innerHTML = cost; order[0] = "large"; this.disabled = true; topping(); }); </script> </body> </html>
  14. confused as to why my thing won't work

    First of all, html id, variable and function names start with a lower case letter. (id tags are always all lowercase) Second of all, you use // for comments. Third of all, do not redeclare variables - you use 'var' only when declaring - so 'using' the variable for the first time. Fourth of all, you don't do stuff like myVar++1, it's only myVar++, and if you want higher numbers, you do myVar += 3 Fifth of all, you don't do html5, just html in your DOCTYPE. Sixth of all, the order variable is broken, so I just left it blank. Seventh of all, there shouldn't be spaces inside html attributes; between =. Eighth of all, you should've made an object for the output id next to the sizes. Ninth of all, the order[0] strings should be strings, you actually have made them variables further on. You actually could've avoided most of those errors by using a proper editor and/or looking at the command line that's built into your browser (ctrl+shift+k on firefox). You shouldn't use the html onclick attribute, and this code could be further improved by eliminating that and adding event listeners. This is the fixed code: <!DOCTYPE html> <html> <body> <p id="output"></p> <button id="small" onclick="small()"> Small £1 </button> <button id="medium" onclick="medium()"> Medium £1.50 </button> <button id="large" onclick="large()"> Large £2 </button> <script> var cost = 0; var order = []; var output = document.getElementById("output"); var sizeS = document.getElementById("small"); var sizeM = document.getElementById("medium"); var sizeL = document.getElementById("large"); function small(){ cost += 1; output.innerHTML = cost; order[0] = "small"; sizeS.disabled = true; topping(); } function medium(){ cost += 1.5; output.innerHTML = cost; order[0] = "medium"; sizeM.disabled = true; topping(); } function large(){ cost += 2; output.innerHTML = cost; order[0] = "large"; sizeL.disabled = true; topping(); } function topping(){ //blah blah blah } </script> </body> </html>
  15. fast but sleek linux distro

    I think you aren't so much choosing a distro, as you are a Desktop Environment. Any distro can use any DE, sometimes they just use a 3rd party theme for the DE they are using. Remember, that pretty much any DE (probably except KDE) will be lighter than Windows, so you'll feel a difference anyway. The whole Ubuntu family (including Mint) is recommended for beginners. Default Ubuntu isn't too modern, but it looks quite fine, and you can make it prettier easily. Ubuntu Budgie comes with Budgie DE, which is very pretty, but it's not as mature as other DEs. Mint comes with cinnamon, which is quite ugly in my opinion. Kubuntu is a nice distro with its very functional KDE, but... KDE Neon is a distro that is made by the KDE team and it's optimised for KDE. Also a member of the Ubuntu family.