Hi and Welcome

So. Multidimensional arrays. Well.

See, I thought hell was classes. No. Hell was functions? No. Is hell, in fact, a two dimensional array? Actually, no.

Hell is a book that acts like they are just two arrays brought together magically.

Starting on Friday, through midnight Sunday, I suffered under the delusion that all I had to do was create two arrays, then bring them together with magic. Like this.

table[array1][array2]

Voila! Your work here is done. Or so the book says.

And I'm sure in some universe--the example in the book, say--that works. You might be surprised to know I cried, considered drowning myself, and opened up The Erdős–Faber–Lovász conjecture to stare at (speaking of, I'm still not sure why two people can't just belong to one committee period, because that would short circuit that entire issue right off the bat). And let me tell you, when working on unsolved graphing problems you don't even understand is preferable to spending any amount of time looking at your two dimensional array? You have reached hell.

(Seriously. Why can't two people work only one committee? I'm also weirded out by the fact the entire thing really looks neat if it's k chairs, k people and k+1 committees. I don't even know what that means but the graph has four colors and is deeply, deeply awesome and also congruent, which satisfies the small part of me that likes everything to be balanced. I ended up trying to do it three dimensionally but again, no toothpicks. I also gave the people names. Perhaps off my flist. It was more fun that way).

But you know what's so much easier than both of these? Treat the fucker like an address.

table[rows][columns]

I keep going back to read the book and they just do not even imply that. They don't! They initialize it, or enter data from it, but nowhere does it say, "Oh, by the way. Please don't take this literally. This is an address." An address. A pointer, though not officially, if you will. You don't have to create an array to take your data before hand! No, this one can do it all on its own!

One. Line. Would. Have. Saved. My. Sanity.

The only comfort I have atm is that the average grade on this is very low so far. Still have searching the char array to do (Pretty sure this isn't going well; my first attempt last night ended up with strange results that might be, oh, crazy) and organizing the data. Yeah.

I always wondered about people who said they could pass a class easily and never learn anything. It scares me that it's very possible without a lab practical, which makes me wonder why on earth there isn't one for this.

I wish there were other news, but really. Really close to writing a sternly worded letter to the book person to use examples that are, say, clearer. Using the Angry Snail Icon of Anger.
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

seperis: (Default)
seperis

Tags

Quotes

  • If you don't send me feedback, I will sob uncontrollably for hours on end, until finally, in a fit of depression, I slash my wrists and bleed out on the bathroom floor. My death will be on your heads. Murderers
    . -- Unknown, on feedback
    BTS List
  • That's why he goes bad, you know -- all the good people hit him on the head or try to shoot him and constantly mistrust him, while there's this vast cohort of minions saying, We wouldn't hurt you, Lex, and we'll give you power and greatness and oh so much sex...
    Wow. That was scary. Lex is like Jesus in the desert.
    -- pricklyelf, on why Lex goes bad
    LJ
  • Obi-Wan has a sort of desperate, pathetic patience in this movie. You can just see it in his eyes: "My padawan is a psychopath, and no one will believe me; I'm barely keeping him under control and expect to wake up any night now to find him standing over my bed with a knife!"
    -- Teague, reviewing "Star Wars: Attack of the Clones"
    LJ
  • Beth: god, why do i have so many beads?
    Jenn: Because you are an addict.
    Jenn: There are twelve step programs for this.
    Beth: i dunno they'd work, might have to go straight for the electroshock.
    Jenn: I'm not sure that helps with bead addiction.
    Beth: i was thinking more to demagnitize my credit card.
    -- hwmitzy and seperis, on bead addiction
    AIM, 12/24/2003
  • I could rape a goat and it will DIE PRETTIER than they write.
    -- anonymous, on terrible writing
    AIM, 2/17/2004
  • In medical billing there is a diagnosis code for someone who commits suicide by sea anenemoe.
    -- silverkyst, on wtf
    AIM, 3/25/2004
  • Anonymous: sorry. i just wanted to tell you how much i liked you. i'd like to take this to a higher level if you're willing
    Eleveninches: By higher level I hope you mean email.
    -- eleveninches and anonymous, on things that are disturbing
    LJ, 4/2/2004
  • silverkyst: I need to not be taking molecular genetics.
    silverkyst: though, as a sidenote, I did learn how to eviscerate a fruit fly larvae by pulling it's mouth out by it's mouthparts today.
    silverkyst: I'm just nowhere near competent in the subject material to be taking it.
    Jenn: I'd like to thank you for that image.
    -- silverkyst and seperis, on more wtf
    AIM, 1/25/2005
  • You know, if obi-wan had just disciplined the boy *properly* we wouldn't be having these problems. Can't you just see yoda? "Take him in hand, you must. The true Force, you must show him."
    -- Issaro, on spanking Anakin in his formative years
    LJ, 3/15/2005
  • Aside from the fact that one person should never go near another with a penis, a bottle of body wash, and a hopeful expression...
    -- Summerfling, on shower sex
    LJ, 7/22/2005
  • It's weird, after you get used to the affection you get from a rabbit, it's like any other BDSM relationship. Only without the sex and hot chicks in leather corsets wielding floggers. You'll grow to like it.
    -- revelininsanity, on my relationship with my rabbit
    LJ, 2/7/2006
  • Smudged upon the near horizon, lapine shadows in the mist. Like a doomsday vision from Watership Down, the bunny intervention approaches.
    -- cpt_untouchable, on my addition of The Fourth Bunny
    LJ, 4/13/2006
  • Rule 3. Chemistry is kind of like bondage. Some people like it, some people like reading about or watching other people doing it, and a large number of people's reaction to actually doing the serious stuff is to recoil in horror.
    -- deadlychameleon, on class
    LJ, 9/1/2007
  • If imitation is the sincerest form of flattery, then Fan Fiction is John Cusack standing outside your house with a boombox.
    -- JRDSkinner, on fanfiction
    Twitter
  • I will unashamedly and unapologetically celebrate the joy and the warmth and the creativity of a community of people sharing something positive and beautiful and connective and if you don’t like it you are most welcome to very fuck off.
    -- Michael Sheen, on Good Omens fanfic
    Twitter
    , 6/19/2019
  • Adding for Mastodon.
    -- Jenn, traceback
    Fosstodon
    , 11/6/2022

Credit

November 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2022
Page generated Apr. 23rd, 2025 07:04 am
Powered by Dreamwidth Studios