Programming

Discussion in 'General Chatter' started by Morven, Feb 26, 2015.

  1. Verily

    Verily surprised Xue Yang peddler

    Yeah like, all the information you’d need for the moving parts of this bad solution come down to just one value, which is the length of the string. That’s the number of place values you need to consider, and also the highest value digit to consider. It sounds kinda like someone whose programming history is a bunch of functional but imperfect Project Euler solutions. I have trouble imagining that anyone who wasn’t based out of python would seriously consider this as a viable alternative to literally anything. It sounds like an astounding use of python’s extreme flexibility with variables and large selection of prewritten features.
     
    • Like x 2
  2. bushwah

    bushwah a known rule consequentialist

    check! validity! before! efficiency!
     
    • Agree x 1
  3. Raire

    Raire Turquoise Helicoid

    Does R count as coding? Because it's giving me a headache.
     
  4. Exohedron

    Exohedron Doesn't like words

    Ugh, R. Well, there are definitely worse things that still count as coding, so I guess R has to as well.
     
  5. H4LP

    H4LP New Member

    Gang. How can I teach myself to be an employable programmer without getting incredibly discouraged?
    I've lost half my income from Covid, and I'd really like to gain some employable skills. I'm okay with HTML/CSS and I'm trying to learn PHP. And I did some Python in college. But at the moment I'm stuck staring at project suggestions (e.g. "Predict Movie Success through Data Mining") going "what? What? how? And why?"
     
    Last edited: Sep 1, 2020
    • Witnessed x 1
  6. Verily

    Verily surprised Xue Yang peddler

    Wat. Why don’t they just ask you to solve for fashion while you’re at it.

    That sounds like common sense encountering the dangerous edges of the Big Data explosion. The edges that have been up to some shit like trying to reinvent phrenology (yes, really) and other things where people decide that maybe they can work with the horribly flawed idea if they throw a lot of data at it. I don’t think it’s ethically wrong to try to use data mining to predict movie success if you’re not trying to convince anyone to buy into it, but I do think it’s stupid.

    If you’re particularly mathematically inclined, maybe Project Euler? If you’re not, that leaves every other approach to programming, and I have no idea what resource covers all of that. It also depends on which language you’re using for what is a reasonable learning project.

    But if you are looking at projects like that and losing interest, I’d say you have good instincts.
     
    • Informative x 1
  7. Exohedron

    Exohedron Doesn't like words

    Rust is everything I ever wanted in a strongly-typed language and it's absolutely kicking my ass and I hate it I hate it I hate it Rust is the best.

    Someday my code will compile and I'll be able to move on to giving it actual runtime behavior, as opposed to it just being a long list of unused type definitions like it is now.
     
    • Agree x 1
  8. Exohedron

    Exohedron Doesn't like words

    A variant of the Y2k problem:

    Berkshire-Hathaway Class A shares are trading at more than $421,000, and the market looks good for them.

    Nasdaq, and indeed a lot of the big stock exchanges, store stock prices as 32 bit unsigned integers, interpreted as .01% of a dollar. 232 is 4,294,967,296, which means that the highest price that Nasdaq can comfortably represent is $429,496.7295

    So Nasdaq temporarily halted trading of BH Class A shares until they can upgrade their system.
     
    • Informative x 1
  9. Exohedron

    Exohedron Doesn't like words

    Last edited: Jun 16, 2021
    • Winner x 1
  10. Verily

    Verily surprised Xue Yang peddler

    The link doesn't seem to be working.
     
  11. Exohedron

    Exohedron Doesn't like words

    Oops! Fixed it
     
    • Useful x 1
  12. Exohedron

    Exohedron Doesn't like words

    I'm going to start referring to "debugging" as "delousing". See how long it takes for my coworkers to murder me.
     
    Last edited: May 23, 2022
  13. Exohedron

    Exohedron Doesn't like words

    Cross-posting from the math thread: implementing machine learning (and other things) using only linear functions (subject to IEEE floating-point conventions):

     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice