|
Dumb Sex-Parrot posted:I found a book about making game engines in the trash a month ago, completely unblemished and printed in 2019 why anyone would want to throw it out is beyond me. Anyway it says that I need to know C++ so I'm going to pre-empt the coding month by learning some basic C++ in February by following a course at codecademy. How's the C++ thing going? I restarted learning C++ (I tried some back in 2017, didn't get too far) week ago and I'm about to get into memory management and advanced classes stuff. It's getting complicated now. Hopefully I'll manage to not to lose motivation like it happens with most things I start.
|
# ? Mar 2, 2021 20:42 |
|
|
# ? Jun 8, 2024 06:13 |
|
Sininu posted:How's the C++ thing going? Learn how to use pointers if you really want to write c++ drill it into your head no matter how long it takes
|
# ? Mar 2, 2021 21:58 |
|
Modern C++ uses a lot less pointers in favor of references and move semantics. You can't get away with knowing nothing, but you can write a lot of code without using pointers.
|
# ? Mar 2, 2021 22:01 |
|
ultrafilter posted:Modern C++ uses a lot less pointers in favor of references and move semantics. You can't get away with knowing nothing, but you can write a lot of code without using pointers. I guess it's changed since I did rts stuff, it also might have been plain C
|
# ? Mar 2, 2021 22:02 |
|
Essentials: Pointer Power! - Computerphile https://youtu.be/t5NszbIerYc
|
# ? Mar 2, 2021 22:19 |
|
Current job project combines the Beasts of Apocalypse: Java EE and Oracle Weblogic
|
# ? Mar 2, 2021 22:22 |
|
mirarant posted:Current job project combines the Beasts of Apocalypse: Java EE and Oracle Weblogic Are you at least running on Java 8?
|
# ? Mar 2, 2021 22:38 |
|
Java 8 yes, I've given up on following the various Java versions in the wild and our company at least doesn't want to pay for the latter releases. I confess I have no idea what the pricing model is for Java9+ or what advantage those versions even bring.
|
# ? Mar 2, 2021 22:49 |
|
mirarant posted:Java 8 yes, I've given up on following the various Java versions in the wild and our company at least doesn't want to pay for the latter releases. They fixed one old thing, broke five old things, and gave you three upgrades, two of which are also broken.
|
# ? Mar 2, 2021 22:51 |
|
It's good to see goons learning to code. I mainly use TypeScript for my job and while I really like it for frontend development it is hot trash for backend code (I didn't choose Node someone else did). I've used a bunch of different frontend frameworks and Angular is by far my favorite, although I haven't touched ASP.NET or React in a few years so maybe they have improved. For anyone interested in learning how to build websites I'd suggest just learning basic HTML, CSS, and javascript first before diving into a framework. If you already know the basics I can't recommend Angular enough. If you already know Angular spend some time learning how to work with Observables and Subjects, they are really great and once I had a good grasp on them I was able to completely remove Redux from the projects I'm working on.
|
# ? Mar 2, 2021 22:51 |
|
If I may recommend yet another language, R is neat. If you use Rstudio, it makes it really easy to write Rmarkdown, which lets you make workbooks that you can use to show off your results to normal people. I find the ggplot2 library to be miles better than fighting with excel plots, especially if you want something more complex, or if you want to do some summaries or statistics first. R is slightly weird, but I don't think it's especially difficult to pick up - and "I have some tables of numbers I need to analyse or present" is a fairly common problem. It's also easy to get started with, since you get both a light IDE and an interactive shell to poke around in. I learned on my job (and it was not my first language), so I don't have any first hand experience with the resources that are available - but I can look, if anyone are interested, and I'm happy to answer questions.
|
# ? Mar 3, 2021 00:12 |
|
Hello fellow goony goons. I need to learn c# to stay employed and I find myself anxious I can do it to any reasonable level. I have a long history of putting together basic bash scripts and powershell poo poo but I largely am an idiot. I understand a basic for loop until you start adding conditions and then my brain falls apart. I don't really have a specific q I just wanted you all to pray for me. god bless u
|
# ? Mar 3, 2021 00:56 |
|
Nuts and Gum posted:Hello fellow goony goons. I need to learn c# to stay employed and I find myself anxious I can do it to any reasonable level. I have a long history of putting together basic bash scripts and powershell poo poo but I largely am an idiot. I understand a basic for loop until you start adding conditions and then my brain falls apart. I don't really have a specific q I just wanted you all to pray for me. god bless u You aren't specifically learning c#. you're learning to solve a problem using c#. If you've been using bash and ps you probably already know how to solve a problem in a way a computer understands.
|
# ? Mar 3, 2021 01:00 |
|
Nuts and Gum posted:Hello fellow goony goons. I need to learn c# to stay employed and I find myself anxious I can do it to any reasonable level. I have a long history of putting together basic bash scripts and powershell poo poo but I largely am an idiot. I understand a basic for loop until you start adding conditions and then my brain falls apart. I don't really have a specific q I just wanted you all to pray for me. god bless u keep typing until intellisense is happy
|
# ? Mar 3, 2021 01:05 |
|
99% of programming is just loops, variables, and conditionals.
|
# ? Mar 3, 2021 01:07 |
|
Computer viking posted:If I may recommend yet another language, R is neat. If you use Rstudio, it makes it really easy to write Rmarkdown, which lets you make workbooks that you can use to show off your results to normal people. I find the ggplot2 library to be miles better than fighting with excel plots, especially if you want something more complex, or if you want to do some summaries or statistics first. The R statistical programming software is wonderful, and it really changed the way we do statistics. The R programming language is an abomination and needs to be burned to the ground. But yes, if you want to work with data, it's one of your best choices, particularly if you need to do any analysis that's even slightly outside of the mainstream. The Art of R Programming is probably the best introduction for someone who knows another programming language and wants to make the transition, but it won't teach you anything about the statistical models. The Use R! series is generally a nice blend of theory, methods and programming, but they're not the only options out there.
|
# ? Mar 3, 2021 01:52 |
|
Methanar posted:You aren't specifically learning c#. you're learning to solve a problem using c#. If you've been using bash and ps you probably already know how to solve a problem in a way a computer understands. That is a good perspective, thanks. I've bounced off this maybe 6-8 times throughout my career. I've taken night classes on programming 101 and its frustrating, 80% I already know, then I tune out and I'm loving lost and there's no catching up again for some reason. I guess being able to pay my mortgage should be a good motivator to stick with it. Tip posted:99% of programming is just loops, variables, and conditionals.
|
# ? Mar 3, 2021 02:10 |
|
ultrafilter posted:The R statistical programming software is wonderful, and it really changed the way we do statistics. The R programming language is an abomination and needs to be burned to the ground. But yes, if you want to work with data, it's one of your best choices, particularly if you need to do any analysis that's even slightly outside of the mainstream. The Art of R Programming is probably the best introduction for someone who knows another programming language and wants to make the transition, but it won't teach you anything about the statistical models. The Use R! series is generally a nice blend of theory, methods and programming, but they're not the only options out there. Their choice of symbols is wild (dots are legal in names? Dollar signs to get members and columns in tables?), and the "try appending a dot and the class name to the function name" "object oriented" system is hog wild. The other two OO systems (ok, point taken) are just kind of there. Beyond that, though? The basic syntax is boringly standard, just yet another curly bracket language.The underlying model is a surprisingly complete and neat functional language, though. I suggest a dive into Hadley's Advanced R - it's fascinating. (I haven't looked at the 2nd edition yet). I fully understand it if you think the alternate evaluation system should be fired into the sun ... but I genuinely like having an entirely standardized, user-accessible, way to make little domain-specific languages, like the formula syntax. Compare and contrast to Go, where parts of the language are just Blessed by Google to do things you can't replicate in pure Go.
|
# ? Mar 3, 2021 02:55 |
|
Computer viking posted:Compare and contrast to Go, where parts of the language are just Blessed by Google to do things you can't replicate in pure Go. What can't Go do? Are you referring to some of the magic they do in the standard library around generics/metaprogramming?
|
# ? Mar 3, 2021 03:13 |
|
Methanar posted:What can't Go do? Yes, specifically that. I'm not sure if it's too custom-written or if they don't trust us to not make a mess with it, but I don't quite like how it feels either way. I should note that I like Go, it's just a good example of the implementers having toys we don't get to play with.
|
# ? Mar 3, 2021 03:35 |
|
Computer viking posted:Their choice of symbols is wild (dots are legal in names? Dollar signs to get members and columns in tables?), and the "try appending a dot and the class name to the function name" "object oriented" system is hog wild. The other two OO systems (ok, point taken) are just kind of there. I think the authors of Evaluating the Design of the R Language put it best: quote:As a language, R is like French; it has an elegant core, but every rule comes with a set of ad-hoc exceptions that directly contradict it.
|
# ? Mar 3, 2021 03:48 |
|
Tip posted:99% of programming is just loops, variables, and conditionals. And when it isn't you should very very suspicious that the solution is overly complicated
|
# ? Mar 3, 2021 19:06 |
|
Sininu posted:How's the C++ thing going? It has been on a bit of a standstill these last few weeks I'm afraid. Classes have started back up again and I keep putting it off. Computer viking posted:If I may recommend yet another language, R is neat. If you use Rstudio, it makes it really easy to write Rmarkdown, which lets you make workbooks that you can use to show off your results to normal people. I find the ggplot2 library to be miles better than fighting with excel plots, especially if you want something more complex, or if you want to do some summaries or statistics first. I used R to do all my data analysis for classes and so on. If anyone has questions maybe I can help in that department. Also I whole heartedly recommend you use Rstudio - it makes things so much easier.
|
# ? Mar 11, 2021 12:02 |
|
I got a c++ question: I'm doing a lesson at codecademy where I need to add up entries of a vector and output them to a new variable, no problem. My solution is, very loosely: int start_value = 0; for (iterate stuff) { start_value += vector<i>; } This works, but the solution suggested by codecademy is: int start_value = 0; for (iterate stuff) { start_value = start_value + vector<i>; } I have bolded where things are different They both do the same thing, and seem to work just fine, but is there a reason for why codecademy's solution is preferred? Here I'm thinking if one method requires less cpu cycles or RAM or whatever?
|
# ? Mar 20, 2021 10:52 |
|
Dumb Sex-Parrot posted:I have bolded where things are different They are almost certainly going to compile down to the same machine instructions, though your solution has the potential to be more efficient, since operator+= doesn't create a temporary value like operator+ does. But that only matters for complicated types with overloaded operators, for ints it's whatever.
|
# ? Mar 20, 2021 12:22 |
|
Dumb Sex-Parrot posted:I got a c++ question: This is a "more than one way to skin a cat" kind of thing. You can come up with correct solutions to the problem that look a lot more different to codeacademy's solution than yours does!* and like Mooey Cow said - they probably all end up as the exact same machine code after compilation, because C++ compilers are fairly sophisticated at recognising what you are doing (if you're doing something commonplace) and optimising it. * as an example, you could use std::accumulate() and make it into a one-liner.
|
# ? Mar 20, 2021 12:55 |
|
Thanks guys. I think I'm getting the hang of this.
|
# ? Mar 21, 2021 23:19 |
|
are the O'Reily Cookbooks any good for cheap bastards who refuse to pay any money for Tutorial Subscriptions?
|
# ? Mar 22, 2021 22:54 |
|
BornAPoorBlkChild posted:are the O'Reily Cookbooks any good for cheap bastards who refuse to pay any money for Yeah, they're pretty good. When I was starting out someone recommended the Head First series to me and I also liked those as good introductory books. Edit: I assumed you meant codebooks and got autocorrected, but I see now O'Reilly has "cookbooks". I haven't used those specifically, just liked the other books I've got from them. TIP fucked around with this message at 23:09 on Mar 22, 2021 |
# ? Mar 22, 2021 23:07 |
|
BornAPoorBlkChild posted:are the O'Reily Cookbooks any good for cheap bastards who refuse to pay any money for Cookbooks usually aren’t for beginners, but give you snippets or blocks of code on how to do particular things. EX: Here’s bubble sort or here’s how to write a client server in that language. O’Reilys progression from beginner to knowledgeable in language X is usually learning X, X, X cookbook, X specialized stuff... They’re good books, but I don’t think they fall in the tutorial category if you’re looking for tutorials.
|
# ? Mar 23, 2021 01:17 |
|
thank you both. I've watched all of TheNewBoston's Begginer Java, C#/++ and PHP vids and have even dabbled a little bit in APIs and Postman. i would love some Project ideas from the Thread that would at the very most get the attention from an Employer
|
# ? Mar 24, 2021 03:00 |
|
BornAPoorBlkChild posted:thank you both. I've watched all of TheNewBoston's Begginer Java, C#/++ and PHP vids and have even dabbled a little bit in APIs and Postman. What are you shooting for? Frontend? Backend? Full-Stack? A full-stack kind of idea would be to put a frontend on a public api and do something silly with it. https://pokeapi.co/ https://docs.coinapi.io/ https://thecatapi.com/ Bonus if you can work some cloud services into the hosting. EDIT: When I say "something silly" I realize that may not be super helpful. So what I mean is something involving persistent users or state (a database or data-store) as well as doing something that isn't just calling the api and dumping json to the screen. Ideas for the state include allowing users to register and mark "favorites". Generating reports that are saved with a unique hash for bookmarking/future reference. MrQueasy fucked around with this message at 04:39 on Mar 24, 2021 |
# ? Mar 24, 2021 03:26 |
|
Sininu posted:How's the C++ thing going? Every once in a while, I watch a random YouTube video from CppCon and after a few months, it added up to something that resembles a working knowledge. Some of the videos are for big-brained people, and some are understandable even for beginners. I highly recommend joining the C++ slack channel. It's where I post most of my dumb idiot questions about C++. https://cpplang.slack.com/
|
# ? Mar 24, 2021 05:07 |
|
MrQueasy posted:What are you shooting for? Frontend? Backend? Full-Stack? Full Stack for sure. So basically just futz around with Public API Keys and dress up the raw data into an XML? BornAPoorBlkChild fucked around with this message at 05:50 on Mar 24, 2021 |
# ? Mar 24, 2021 05:47 |
|
BornAPoorBlkChild posted:Full Stack for sure. So basically just futz around with Public API Keys? From a priority perspective, the things our Full-Stack people deal with on a day-to-day basis:
So make a "Webapp" that has state (something saved to database) utilizes external APIs (make http requests to other sites you did not design) and looks like someone thought a little bit about how the frontend works (Javascript Single Page app + CSS) The "canonical" example project is a task list app, but I like the idea of integrating with services beyond your control to show you know how HTML REST/GraphQL apis work from a consumer side. Other than that, I'm not involved with the resume pipeline for Junior Software Devs at my company, so I'm not 100% certain how to stand out other than just apply to anything that looks interesting as much as you can. Be honest, and don't be afraid to shoot a little into reqs that include keywords you're not experienced with. If you see a keyword enough... bolt it onto your portfolio project so you can at least answer screener questions about it. When we're interviewing juniors, we're mainly making sure that you are familiar with functions, unit testing, control statements (loops/if/else), regex and reading code. We're also evaluating how you explain things and how you react to questions that are beyond your comfort zone.
|
# ? Mar 24, 2021 06:03 |
|
I've been wanting to learn programming for years and I jumped straight into c++ which scared me off. My goal and I need to do it to better my life is to get out of retail and learn Java.
|
# ? Mar 24, 2021 06:16 |
|
MrQueasy posted:snip thank you. I see Spring Framework and Java2EE mentioned alot. i hope they got free versions of them! In terms of building a Portfolio could I also start off doing Freelance Projects on Fiverr? BornAPoorBlkChild fucked around with this message at 06:21 on Mar 24, 2021 |
# ? Mar 24, 2021 06:19 |
|
BornAPoorBlkChild posted:thank you. I see Spring Framework and Java2EE mentioned alot. i hope they got free versions of them! Just coding a lot and learning new ways to approach projects is valuable! If you feel confident enough to work on Fiverr or Upwork or Arc or whatever, then go for it! I'm too long-in-the-tooth to give good advice about starting from scratch these days. When I started fresh out of college (mid 00s), the cloud didn't really exist, and Javascript wasn't a "serious" language. Can someone else give more junior level jobhunting advice? I don't get to see candidates until after the recruiters have done their magic.
|
# ? Mar 24, 2021 06:28 |
|
Spring and J2EE have free versions but they're a lot to take in. If you're looking to understand the basic concepts of Dependency Injection like those two frameworks have, it's also worth looking at Guice (my personal favorite) and Dagger (extra simple) to see how it works. They all have an issue where it feels totally magical until you understand what's going on, but if there's a point where it becomes less magical it's Spring > J2EE > Guice > Dagger.
|
# ? Mar 24, 2021 06:40 |
|
|
# ? Jun 8, 2024 06:13 |
|
It would be better to learn Java over JavaScript for versatility yeah?
|
# ? Mar 24, 2021 06:51 |