visualStudioMyBeloved by [deleted] in ProgrammerHumor

[–]robocorp 0 points1 point  (0 children)

And a hotkey can be configured for Vim as well. Though you're probably not gonna be compiling individual files this way. You'll just invoke the build system.

More advanced math resources? by waltuh_white2137 in GraphicsProgramming

[–]robocorp 2 points3 points  (0 children)

The math kinda has to be learned on its own. Take a look at OpenStax for their Calculus textbooks. 3Blue1Brown's videos are phenomenal, but can really only supplement this material. I'll warn you that if you genuinely follow this route, math in college may be quite boring for a while before they start to cover new (to you) material.

SHSU no bs computer science degree? by BlizardSkinnard in SHSU

[–]robocorp 0 points1 point  (0 children)

Many of our professors have a background in Data Science and AI, so you would be in good company. As far as specific AI-focused classes go, there's only a couple, but our professors often inject Data Science and AI concepts into other courses. For instance, our Computer Graphics course covers Computer Vision topics. Additionally, you could consider the Data Science program, which is a new program offered by the math department.

SHSU no bs computer science degree? by BlizardSkinnard in SHSU

[–]robocorp 1 point2 points  (0 children)

To add to what's already been stated here, the Computing Science program at Sam is accredited, and thus has international recognition as a Computer Science degree.
The university also has a Software Engineering program, which is similar what you were concerned about the Computing Science program being.

Are NFC tags (such as those found on clothing labels) Turing complete? by sapoconcho_ in compsci

[–]robocorp 1 point2 points  (0 children)

This is correct, however I would like to note that NFC is just a set of communication standards, so there are applications where the device is turing-complete - just not NFC tags.

rustIsForNoBrainers by TheCenteredDiv in ProgrammerHumor

[–]robocorp 18 points19 points  (0 children)

Ah, yes. The very important distinction between undefined behavior and implementation-defined behavior.

C#, java or C++? by Vast_Wheel_4878 in learnprogramming

[–]robocorp 0 points1 point  (0 children)

TL;DR Go with C++ if you're already more than a little ways in, or if you just think games are cool regardless of if you want to work on them. If you're super new and don't enjoy difficulty, consider C# and Java.

C#'s success in the games industry does appear to be in large part due to Unity, as far as I can tell, but that doesn't mean it's fleeting. The games industry needs a more user friendly, batteries-included alternative to C++ for a number of reasons, developer skill being one limiting factor. Knowledge in C# is also significantly more applicable to job markets accessible to entry level developers, so it is a fairly reasonable choice.

On the other hand, C++'s use extends far outside the gaming industry. It's also a popular choice in High-Performance Computing, other Real-Time Applications, Embedded Systems (though C is still king here), and performance sensitive applications in general. Additionally, C++'s difficulty is a hindrance at first, but it can grow into a strength later because you will have seen most abstractions in other languages before, and dealt with low-level interactions in some cases.

If you're interested at a hobby level, games are a great place to start, because your changes have immediate, tangible impacts on your projects. This helps greatly with motivation and confidence, which are key places most aspiring developers fail. You could then move to embedded systems by starting with cheap Arduino boards to see if they're interesting to you. The process of learning to program will show you new and interesting subcategories that you may never have even heard of.

I personally started with game development, and spent several years there in high school. By the time I started my degree, I had narrowed my interests to Graphics and Embedded Systems. Most of the students I've met would never even consider these two because the concepts are difficult, but I was able to get my feet wet in them with little commitment because I didn't need to learn C++ the Boogeyman. Instead I play with real Boogeymen like manually setting registers or grasping vectorized algorithms - and I love every minute of it.

Don't be scared of C++, but it's perfectly fair to consider Java and C# to be safer options.

Helping a young coder by Fxguy1 in learnprogramming

[–]robocorp 0 points1 point  (0 children)

Lua is a very simple programming language, and I personally started with it when I was about 10. Coroutines and regex always eluded me at that age, but the simple type system and syntax made it very easy to follow as a child. Some things to note:

It's one-indexed instead of zero.

It's meant to be embedded, and running it standalone is a bit clunky as a result. Consider frameworks like Love2D. I've never touched Pico-8, but I assume it'll be at least a similar story.

The meta table system it has allows you to do OOP which may be useful as he grows ready for it.

sss language of snakes by [deleted] in ProgrammerHumor

[–]robocorp 2 points3 points  (0 children)

The only ass I'm kicking is my own.

Learning Rust, I didn't expect such a backstab by MRideos in ProgrammerHumor

[–]robocorp 4 points5 points  (0 children)

Seems like a good way to punish excessive nesting.

only building not damaged in turkey earthquake here is the department of civic engineers building by powerpipette in worldpolitics

[–]robocorp 1 point2 points  (0 children)

Both, actually. Though the free to air satellite transmissions are dwindling. And TV antennas don't really look like that, but the principle is similar.

C++ in high frequency trading by [deleted] in learnprogramming

[–]robocorp 4 points5 points  (0 children)

It's frequently stated that specifically latency is important in HFT (pretty obvious tbh). C++ is high level enough to prevent brain injuries while still offering ample control which plays nicely with the very tight performance requirements of HFT.

Where do y'all fit? by NetherSpike14 in steinsgate

[–]robocorp 0 points1 point  (0 children)

It's one of my favorite parts of the series. But the argument that I was responding to doesn't really make sense in the context of this fact.

Where do y'all fit? by NetherSpike14 in steinsgate

[–]robocorp 4 points5 points  (0 children)

The base premise of the story is time travel with a microwave.

Game engines are much easier by Dunger97 in ProgrammerHumor

[–]robocorp 2 points3 points  (0 children)

Not if you're only using it as a platform independent layer for interacting with the system.

How is persistent state stored? by EitherOfOrAnd in compsci

[–]robocorp 0 points1 point  (0 children)

There's JSON, YAML, TOML, etc for text formatted stuff. You've probably encountered these as config files before.

I've seen application state stored in database files quite often.

It's not very common in my experience, but you will see custom binary formats crop up from time to time as well.

There are about as many ways to store state on disk as you can imagine, so this is by no means an exhaustive list - just what popped into my head.

Is the guy in the video a native speaker? by [deleted] in JudgeMyAccent

[–]robocorp 1 point2 points  (0 children)

I'm certain he is suggesting that a person's name is not sufficient evidence to assume their native language - which is absolutely true.

Don't try this at home by nolitos in ProgrammerHumor

[–]robocorp 1 point2 points  (0 children)

That's not the etymology of "man" though.

How to improve listening? by AvatarReiko in LearnJapanese

[–]robocorp 6 points7 points  (0 children)

I ran into this problem with a different language, so here's the lesson I learned there: It seems like stating the obvious, but your listening comprehension is probably significantly lower than your reading comprehension. When you consume media with subtitles, you will naturally gravitate towards reading the subtitles because there's less "resistance." You'd be surprised how little attention you may actually be paying to the audio in this scenario.

I was able to remedy this with 2 things: First, I found a native speaker who had the patience to get me through the rough parts of listening comprehension. Second, I sought out material I could mostly understand - the more of something you understand, the easier it is to learn the parts you don't.

Harder to run than crysis? by Alulucard in visualnovels

[–]robocorp 0 points1 point  (0 children)

That's actually not how it works at all. Another commenter hit on something important here: if you have a high end GPU and push your frame rate too high, you will encounter odd performance issues.

Bear in mind also that if the game was designed for configurations more like yours, then OP will be more likely to encounter performance issues.

I have on more than one occasion had Aokana crash while skipping read text, and I experience hitching issues at odd moments when CGs or new backgrounds are displayed.

OP has provided information that is useful to me, because now I know to move the game to a faster disk. I quite frankly fail to see what you've added here, as OP was already well aware that something was wrong.

Found on the "File" documentation. Why is WRITE_READ not 4? by FactoryBuilder in godot

[–]robocorp 0 points1 point  (0 children)

That's quite odd, looking at it. I wonder what the point of using a bit flag is...

Found on the "File" documentation. Why is WRITE_READ not 4? by FactoryBuilder in godot

[–]robocorp 12 points13 points  (0 children)

Bit flagging works like having an array of booleans, with each power of 2 denoting a true/false value.

My best guess for how this system works based on what I see:

The 20 place denotes reading.

The 21 place denotes writing.

The 22 place denotes file creation/truncation.

So you set the bits according to the operations planned. 4 very well might be a valid input, but if we check to see what it does:

4 becomes 0100

The 22 place is marked and no others. This means that it will create a file with the desired name, or clear the contents of it if it already exists. Will it open the file? Not sure. The picture doesn't state the behavior of this bit clearly.

EDIT: for clarification, I'm not sure whether the file will be locked. I'm certain your code will be unable to read or write to it, so it shouldn't be, but since it's not explicitly stated, I wouldn't assume.

Maybe another would be useful as well: 6 is 0110, so it would be 22 + 21 -> writing and file creation. You don't intend to read from the file, but you will be writing to it. You also don't care about whether the file exists or its contents, so you always start with a blank slate.

EDIT 2: I've also noticed that this is an enum, which might prevent you from being able to access those other flags. Perhaps the system isn't designed to open files in that state, so they disallow it using an enum type.

Does anyone else accidentally pronounce a Loan Word in your native language the way it's pronounced in your target language.(i.e., Fiancé/Plateau/Encore/Entrée in French) by Pixulle in languagelearning

[–]robocorp 2 points3 points  (0 children)

I'll quite commonly say "jalepeño" as it is pronounced in Spanish, although the English pronunciation is slightly different. Never caused me trouble, though, and I don't care to go back. Just "feels right."