• 0 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 4th, 2025

help-circle





  • invertedspear@lemmy.ziptoFunny@sh.itjust.works•Surprise?
    link
    fedilink
    English
    arrow-up
    25
    ·
    11 months ago

    Cotton Lane: because this used to be cotton fields, one of the major agriculture crops of Arizona

    Prison: because when this prison was built, it was like 25 miles west of town, now it’s continuous city well past this point

    Surprise: a western suburb of Phoenix

    Zoo: wildlife world zoo, a private zoo with too small cages and little in the way of habitat for the animals.

    Trailers: because the Phoenix area is a trailer park that somehow grew up into a city.


  • First of all, lack of ORM isn’t bad. It’s not a good or bad thing to use them out not use them. What’s bad is not sanitizing your query inputs and you don’t need an ORM to do that.

    I think the worst thing I’ve seen is previous devs not realize there’s a cost to opening a DB connection. Especially back when DBs were on spinning rust. So the report page that ran one query to get the all the items to report on, then for each row ran another individual query to get that row’s details was probably one of the slowest reports I’ve ever seen. Every DB round trip was at minimum 0.1 seconds just to open the connection, run the query, send back the data, then close the connection. So 10 rows per second could be returned. Thousands of rows per page has people waiting several minutes, and tying up our app server. A quick refactor to run 2 queries instead of hundreds to thousands and I was a hero for 10 min till everyone forgot how bad it was before I fixed it.





  • The no child left behind policy was intended to ensure that kids got extra help when needed. In reality schools determined it was way easier to lower the bar than to get some kids to learn. Kids and shitty parents have figured this out and will game the system as much as possible. Clear on it being a baby bush policy. FWIW I think the intent was good, but making more demands of the education without providing additional resources and no way of enforcing quality has reached an inevitable point.


  • Grade school: teacher fired for passing failing students so he wouldn’t have to deal with them next year. This was before “no child left behind” existed. At the end of one of the school years a girl tripped and fell and somehow got a metal tent spike through her neck. She was ok, just had a wicked scar.

    Middle school: someone did the old flush the fireworks thing and somehow revealed a major flaw in the plumbing that required demolishing a whole building. We didn’t have water on campus for the last month. This was in Phoenix and it was getting stupid hot, so that whole month was half days.

    High school: At the end of the year before I started a bunch of students got arrested for using an empty science lab to make meth. In my junior year there was a party that got a couple kids killed in a drive by.