Inspired by a recent 196 post

top 85 comments

sorted by: hot top controversial new old
[–] 74 points 7 months ago (4 children)
  • [–] 4 points 7 months ago (3 children)

    Wasn't there more to this interaction?

  • source
  • parent
  • hideshow 3 child comments
  • [–] 61 points 7 months ago (9 children)
  • [–] 45 points 7 months ago (8 children)
  • [–] 9 points 7 months ago (1 child)

    Josuttis's books are normally pretty good, lots of examples and a clear explanation of why you might want to use something, but oof that looks akin to a kick in the essentials.

    Even if you've no other reason to update to C++20, the fact that if constexpr gets rid of half the things you'd previously need to use SFINAE for, and concepts gets rid of the other half, makes it well worthwhile. Amazing how much it stops hurting when you stop doing ridiculous things.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 26 points 7 months ago (1 child)

    My dad's grade 4 teacher used to clobber him real good with a Bible whenever he did normal kid stuff, the Bible can definitely make you cry.

  • source
  • hideshow 1 child comment
  • [–] 26 points 7 months ago (24 children)
  • [–] 16 points 7 months ago (19 children)

    For anyone who doesn't know, this is what linear algebra looks like

  • source
  • parent
  • hideshow 19 child comments
  • [–] 13 points 7 months ago (4 children)

    y = mx + b

    It's algebra. It's linear. 😬

  • source
  • parent
  • hideshow 4 child comments
  • [–] 8 points 7 months ago (2 children)

    No way, dude. Thats affine, not algebra, and not linear. Its a lie meant to divide us.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 7 months ago*

    One time at work I was trying to work out a least-squares fit using linear algebra.

    I have no background knowledge in linesr algebra, it felt like drawing a pentagram on the floor and chanting in backwards Latin.

  • source
  • parent
  • [–] 6 points 7 months ago (1 child)

    That's not a fair example, I know what linear algebra is but can't tell what's going on.

    Change of basis would be my guess, but that's pretty basic.

    You could've provided something far worse, like a manual construction of the Jordan normal form of a large matrix.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 7 months ago

    It's been more than a handful of years since I had to learn linear algebra so I am very out of practice, and this was the first image that I saw that made me go, "yeah, that looks about right." I thought I should include some image since I have told people during college that I was in a linear algebra class and several had the same response of, "Really? I learned algebra in high school. Weren't you in calculas last semester?"

  • source
  • parent
  • [–] 3 points 7 months ago (2 children)

    Thats not too bad. It just takes up a lot of space. Good thing I do my maths on an android tablet

  • source
  • parent
  • hideshow 2 child comments
  • [–] 23 points 7 months ago (2 children)
  • load more comments (1 reply)
    [–] 16 points 7 months ago (1 child)
  • [–] 14 points 7 months ago

    This book...I read the whole thing, did most of the problems, and still don't know a thing about abstract algebra.

  • source
  • [–] 13 points 7 months ago
    [–] 13 points 7 months ago (1 child)
  • [–] 11 points 7 months ago

    Project Hail Mary legitimately made me cry there towards the end. I watched the movie afterwards and it wasn't nearly as impactful (and I have opinions about the movie, even tho it was decently good), but the book just kicked me in the chest.

  • source
  • [–] 10 points 7 months ago (8 children)

    Everybody giving all these first year engineering books. Real engineers cry when they're doing their CCNA certification.

  • source
  • hideshow 8 child comments
  • [–] 4 points 7 months ago (6 children)

    That isn't real engineering, sorry.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 3 points 7 months ago (5 children)

    Do your CCIE and come back to me.

    And for what it's worth, I did my BSc.Eng in Electrical too.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 0 points 7 months ago (4 children)

    You're not much of an engineer if you can't see how fallacious your argument is.

    Memorizing endless arcane trivia that changes every six months is a parlor trick, not engineering.

    The same way memorizing all the SCPI commands of your oscilloscope doesn't make you an engineer.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 7 months ago

    That's actually one of the reasons I didn't like it. It focuses almost entirely on Cisco router/switch/whatever else setup and gives only minimal background on the actual theory behind networking. That wouldn't be so bad if this wasn't the extent of my engineering undergrad experience with networking. We didn't even technically get the certification because apparently netacad doesn't count despite being the same content

  • source
  • parent
  • [–] 6 points 7 months ago

    Lessons in chemistry

  • source
  • [–] 5 points 7 months ago

    It didn't make me cry but the greatest book I ever read was A Short Stay in Hell by Steven L. Peck.

  • source
  • [–] 5 points 7 months ago

    I have that book on my bookshelf. It didn't make me cry nearly as much as some C++ books.

  • source
  • [–] 3 points 7 months ago (1 child)

    Finished compsci but interned as a computer technician and there I thrived. Instead of constantly having to keep up to date on programming: subscribing to journals, attending seminars and conferences, networking with other programmers, and of course (re)studying shit to get certified.

  • source
  • hideshow 1 child comment
  • [–] [S] 3 points 7 months ago

    That sounds like my time as a computer technician and then a network tech. Always chasing the next cert to stand out from the next tech. Once I switched to compsci I’ve never been pitched any certifications.

  • source
  • parent
  • [–] 3 points 7 months ago

    Isn't it weird the a lot of internal and third party documentation and books of older windows system are the opposite of this

  • source
  • [–] 10 points 7 months ago (18 children)

    Java is neat: you just get what you write. There are things that really makes you cry and Java is not among them

  • source
  • hideshow 18 child comments
  • [–] 19 points 7 months ago (3 children)

    Just make the 200 line boiler code setup to make some

    system.stuff.thingy.log.println("hello world");

    Then it's not compatible with the installed vm.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 10 points 7 months ago

    Then it's not compatible with the installed vm.

    This almost never happens, unless you do very niche things or have unrealistic expectations from your file system.

    Niche things include using obsolete cyphers for net communication or running java code on the ibm mainframe, not something you do day to day.

  • source
  • parent
  • [–] 13 points 7 months ago (3 children)

    you just get what you write.

    Every language is like that

  • source
  • parent
  • hideshow 3 child comments
  • [–] 12 points 7 months ago (3 children)

    It makes me cry when modded minecraft uses 100% of my CPU and eats up 20gb of ram. (This is only a little bit java's fault)

  • source
  • parent
  • hideshow 3 child comments
  • [–] 8 points 7 months ago (2 children)
    1. Java should not be used for game engine design. Stop-the-world events and poor shaders support do not help.

    2. JVM eats as much memory as you give it, so try playing with -Xmx param

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 7 months ago* (last edited 7 months ago)

    Java has been used by programmers of mobile games just fine, for ages. The trick is the same that one would need with any other environment: knowing what objects you'll need to allocate for a level, and not allocate more than that.

  • source
  • parent
  • [–] 2 points 7 months ago

    Oh yeah I know all about that, I'm talking about what it actually uses within the JVM 😅 It's a messy monster of a game once modded, and there's really nothing you can do about it other than some slight optimizations here and there.

  • source
  • parent
  • [–] 6 points 7 months ago (5 children)

    Fine langauage, terrible build tools

  • source
  • parent
  • hideshow 5 child comments
  • [–] 5 points 7 months ago (4 children)

    Is that why there's like 27 languages that are based on the same jvm?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 6 points 7 months ago (2 children)

    I feel weirdly drawn to learning kotlin.

  • source
  • parent
  • hideshow 2 child comments
  • 15 comments in c/programmer_humor@programming.dev view that post