Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 593 594 [595] 596 597 ... 800

Author Topic: Things that made you mildly upset today thread  (Read 1220273 times)

scriver

  • Bay Watcher
  • City streets ain't got much pity
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8910 on: May 23, 2021, 08:37:30 am »

Today tick season officially begins. I took two of them off me right now.
Logged
Love, scriver~

Arx

  • Bay Watcher
  • Iron within, iron without.
    • View Profile
    • Art!
Re: Things that made you mildly upset today thread
« Reply #8911 on: May 23, 2021, 09:16:55 am »

Today tick season officially begins. I took two of them off me right now.

...at least you can tick things off on your to do list now?

* Arx ducks
Logged

I am on Discord as Arx#2415.
Hail to the mind of man! / Fire in the sky
I've been waiting for you / On this day we die.

ChairmanPoo

  • Bay Watcher
  • Send in the clowns
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8912 on: May 23, 2021, 09:24:05 am »

Today tick season officially begins. I took two of them off me right now.
you know I almost went forest exploring yesterday until my mother reminded me of that
Logged
Everyone sucks at everything. Until they don't. Not sucking is a product of time invested.

hector13

  • Bay Watcher
  • It’s shite being Scottish
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8913 on: May 23, 2021, 09:25:15 am »

Today tick season officially begins. I took two of them off me right now.
you know I almost went forest exploring yesterday until my mother reminded me of that

It’s only risking a little bit of disease which might last a lifetime, don’t let that put you off.
Logged
Look, we need to raise a psychopath who will murder God, we have no time to be spending on cooking.

If you struggle with your mental health, please seek help.

Vector

  • Bay Watcher
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8914 on: May 23, 2021, 10:55:37 pm »

I hope they can take care of it quick. That sounds nasty to deal with.
Logged
"The question of the usefulness of poetry arises only in periods of its decline, while in periods of its flowering, no one doubts its total uselessness." - Boris Pasternak

nonbinary/genderfluid/genderqueer renegade mathematician and mafia subforum limpet. please avoid quoting me.

pronouns: prefer neutral ones, others are fine. height: 5'3".

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8915 on: May 23, 2021, 11:59:08 pm »

Right now, I can quite confidently say that flowcharts are the worst part of my C++ class. Why, oh why? My brain's compiler doesn't target flowcharts! Who does? I can't produce them at the speed that I can with pseudocode or actual code, so the fact that a question about converting pseudocode to a flowchart is in a time-constrained quiz annoys me to no end.

Also, the quiz wants you to hand write C++ code, and one of the questions needs text table output (without any libraries to handle that). No IDE. No compiler. In what fucking era do they think we're in?! This isn't the 60s or 70s! We're not hand-writing assembly (or worse, machine code) for Donald Knuth's MIX, are we!? What, "to learn the compiler, you must first become the compiler", was that the goal?

And they make you use C-style char arrays, for some godforsaken reason, with all the operations you'd need. I'm supposedly learning C++, why am I regressing back to C? Was string class not easy enough?

Don't get me started on the difference between single and double quotes. Why!? Why in an intro to programming am I really having to consider the difference between these two? God, the low-level minutiae of C++ is really getting to me. AND THE FUCKING QUIZ DOESN'T LET YOU USE AN IDE TO CHECK! You have to be fucking kidding me.

Give me Python any day. At least there isn't a gotcha at every turn. At least it behaves in a way that your first glance is usually the way that the interpreter runs it. I get using C++ for systems programming because those tiny details do matter in that context, but as a language for introducing programming to first-timers, it's terrible. The details make no sense in an introductory context, and it's certainly frustrated the hell out of me. Everything I'm being taught can be done in Python, anyway.
« Last Edit: May 24, 2021, 12:30:55 am by methylatedspirit »
Logged

martinuzz

  • Bay Watcher
  • High dwarf
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8916 on: May 24, 2021, 04:33:45 am »

Today tick season officially begins. I took two of them off me right now.

https://www.youtube.com/watch?v=K_lz8hvkYVA
Logged
Friendly and polite reminder for optimists: Hope is a finite resource

We can ­disagree and still love each other, ­unless your disagreement is rooted in my oppression and denial of my humanity and right to exist - James Baldwin

http://www.bay12forums.com/smf/index.php?topic=73719.msg1830479#msg1830479

McTraveller

  • Bay Watcher
  • This text isn't very personal.
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8917 on: May 24, 2021, 10:25:01 am »

At least there isn't a gotcha at every turn. At least it behaves in a way that your first glance is usually the way that the interpreter runs it.
Hahaha what?

Ok of course at least Python is not as bad as Javascript in terms of violation of the principle of least astonishment.

C/C++ (and their ilk) do benefit from a particular mental model though - they are basically "mostly portable assembler" and if you think of it that way, it's not that surprising in how it behaves.

As for things like single-vs-double-quotes, C-likes are one of the most consistent languages there. Single quotes are always and only character constants; double quotes are contiguously allocated character constants, automatically terminated with a byte containing 0.  None of the nonsense like Javascript where single and double quotes do different things depending on context.  Context-sensitive behavior is anathema for minimization of systematic error.

Flowcharts though - I'm going to get on my soapbox here. If you don't understand why flowcharts are useful, I'm going to blame your teachers.  Flowcharts, state machine diagrams, and other representations besides pseudocode are extremely important for software engineering.  If you want to get serious about programming, don't fall into the trap of focusing on typing in code in any particular language. Focus on problem definition, understanding what tool (language, toolchain, data model, etc.) is best to solve the problem, etc.

Yes many software bugs result from incorrect code, but the worst software errors come from incorrect (or no) design in the first place.
Logged
This product contains deoxyribonucleic acid which is known to the State of California to cause cancer, reproductive harm, and other health issues.

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8918 on: May 24, 2021, 10:44:23 am »

C/C++ (and their ilk) do benefit from a particular mental model though - they are basically "mostly portable assembler" and if you think of it that way, it's not that surprising in how it behaves.

Can you point me to somewhere that teaches the 'portable assembler' interpretation of C? My current conception of programming is trained on higher-level languages than C, so I'd really want to know why C-likes behave the way they do. At my level, I simply don't understand why anything works the way it does in C, apart from a just-so story of "this is how programming is, and this is how it will always be". It's not satisfying.

Yes many software bugs result from incorrect code, but the worst software errors come from incorrect (or no) design in the first place.

Even more bugs result when you're arbitrarily disallowed from testing code. Like, the IDE is right in front of me, why are they not letting me use it!? No-one learns by memorizing large sets of arbitrary patterns, at least I hope not in programming. Leave the perfect recall of rules to the compiler.
« Last Edit: May 24, 2021, 10:51:05 am by methylatedspirit »
Logged

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8919 on: May 25, 2021, 04:21:03 pm »

No-one learns by memorizing large sets of arbitrary patterns, at least I hope not in programming. Leave the perfect recall of rules to the compiler.

Ever been to India?

dragdeler

  • Bay Watcher
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8920 on: May 26, 2021, 02:20:42 am »

-
« Last Edit: September 16, 2023, 02:50:15 pm by dragdeler »
Logged
let

bloop_bleep

  • Bay Watcher
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8921 on: May 26, 2021, 04:36:08 pm »

Flowcharts are useful. Also I think it's important to programmers to actually understand the details of the how the things they're working with work, including pointers, memory allocation, memory management, spacial layout of data, function calls. Frankly C++ is a pretty great language to teach first because of that I think. For example you learn the difference between characters and strings which is quite important -- single quotes just denote an integer constant with a special syntax; double quotes notify the compiler to allocate an area in the executable containing the given data and hand over a reference to that data to the code. Character a and string a are not the same and it is good they have different syntaxes. This may also be why they're having you use char pointers to strings rather than nicely wrapped string objects. It helps teach the fundamentals of how processing is done rather than squirreling it away underneath the covers like Python does. Not that you shouldn't use nicely wrapped string objects. But you should know how they work and how to do it the other way as well.

C/C++ are "high-level" but "close-to-the-metal". Each statement translates pretty directly to a sequence of machine code instructions and the objects you manipulate correspond to objects the machine instructions manipulate. In particular, pointers. The structure and placement corresponds pretty plainly. C more so than C++, because of exceptions, copy assignment operators, things like that. That's one reason I've heard for people preferring C to C++. But they're both pretty close.

C++ can have some annoying context-sensitive behavior though. Take the most vexing parse. There's also ten different ways of initializing a variable. This complexity has increased with recent standards releases.
« Last Edit: May 26, 2021, 04:37:45 pm by bloop_bleep »
Logged
Quote from: KittyTac
The closest thing Bay12 has to a flamewar is an argument over philosophy that slowly transitioned to an argument about quantum mechanics.
Quote from: thefriendlyhacker
The trick is to only make predictions semi-seriously.  That way, I don't have a 98% failure rate. I have a 98% sarcasm rate.

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8922 on: May 26, 2021, 05:40:04 pm »

I'm most annoyed that I wasn't taught a markup language that lets me produce flowcharts at the speed that I can bang out pseudocode. Word is unbearably slow for flowchart production, especially if you want it to look presentable (Edit: this was before I heard of SmartArt). Plus, general-purpose GUI interfaces are slow; I'd rather use a specialized language to do it. I believe there's Mermaid for that. (There's LaTeX, but I've been putting off learning it.)

C/C++ are "high-level" but "close-to-the-metal". Each statement translates pretty directly to a sequence of machine code instructions and the objects you manipulate correspond to objects the machine instructions manipulate. In particular, pointers. The structure and placement corresponds pretty plainly. C more so than C++, because of exceptions, copy assignment operators, things like that. That's one reason I've heard for people preferring C to C++. But they're both pretty close.

I'd really like to see the interplay between C/C++ code and the generated assembler, because that would be a far more fascinating thing to see than just trusting this opaque black box that I've been taught a compiler is. Is there any program that does that, where it shows on one side the C++ code, and the other the assembler?
« Last Edit: May 26, 2021, 05:43:53 pm by methylatedspirit »
Logged

McTraveller

  • Bay Watcher
  • This text isn't very personal.
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8923 on: May 26, 2021, 07:03:14 pm »

I'd really like to see the interplay between C/C++ code and the generated assembler, because that would be a far more fascinating thing to see than just trusting this opaque black box that I've been taught a compiler is. Is there any program that does that, where it shows on one side the C++ code, and the other the assembler?

Just about every C/C++ compiler will have a command line option to output assembly, e.g.

Code: [Select]
gcc -g -s mycode.c will output a mycode.s file which is a plain-text assembly listing along with the code inline. The -g option is debug code, which basically guarantees almost literal translation between the C and assembly.  It's instructive to compare the -s output with various optimizations enabled.

For drawings: consider draw.io (app.diagrams.net).  It is a free, fairly complete diagram tool, and it even has "native" apps so you don't have to be online if you don't want to be. It can also export all kinds of useful diagram types (SVG, PNG, HTML, XML).  It has shape templates for most diagram types.
Logged
This product contains deoxyribonucleic acid which is known to the State of California to cause cancer, reproductive harm, and other health issues.

ArchimedesWojak

  • Bay Watcher
    • View Profile
Re: Things that made you mildly upset today thread
« Reply #8924 on: May 26, 2021, 07:25:45 pm »

Hey guys what's the protocol if there are a very large group of people outside your neighbors house (sounds like a party of some kind i hear music) shouting sexist and homophobic slurs
Logged
YET ANOTHER DATA-COLLECTION THREAD FROM MR. "NOT FEDERAL AUTHORITIES."
ArchimedesWojak is very militant against zoophilia due to his deeply held religious beliefs.
Pages: 1 ... 593 594 [595] 596 597 ... 800