• 0 Posts
  • 97 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle
  • SpaceCowboy@lemmy.catoProgrammer Humor@programming.devchoas
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    22 days ago

    I mean, some of the taxanomic divisions do have common names as well - jawed fish and ray-finned fish

    Searching for “jawed fish” takes me here: https://en.wikipedia.org/wiki/Gnathostomata

    But that’s jawed vertebrates. So I’m not sure which taxonomic group you’re referring to when you’re saying “jawed fish”. The wiki page indicates salamaders are in the Gnathostomata group. Are salamanders considered to be jawed fish?

    I think this just goes to further prove that using english words for taxonomy just causes a lot of confusion. My search results for “jawed fish” also returns a lot of results from national park sites and yeah, that kind of terminology for a national park conversing with a layperson is fine. Close enough for a layperson, but for a biologist they probably should use Gnathostomata when that’s what they’re talking about.

    Was that the weird chapter that was just a biology lesson, but was also completely wrong?

    Probably, but it’s been awhile since I read it. But it would be insane to read Moby Dick expecting it to be a good biology text book. You have to read it as people’s understanding of biology and terminology in the past, which is why I referenced it in the context of the evolution of linguistics about ocean animals.


  • It’s why taxonomy uses latin for this… the definition of english words are based on common usage which isn’t going to line up to any kind of scientific categorization. English is always changing and scientific categorization is also always changing when there’s more empirical data. These changes are independent of each other so it was wisely decided long ago to not even try to make english words consistent with scientific taxonomy.

    So in common usage, yeah it’s based around the general shape but it isn’t a whale (big mammal) a dolphin (a relatively smaller mammal). A shark might be called a fish but more likely someone will just call it a shark instead of just using just “fish”. This is fine for communication among laypeople, if marine biologists are having a conversation about those same animals, they break out the latin and there’s no confusion.

    Also my understanding is that in medieval times, the word whale actually refereed to a specific species of whale… what we know call the Right Whale, which is nearly extinct. So a word for a species became a word for a group of species and then it was awkward how to refer to that original species. What kind of whale is that? “It’s a whale whale… you know the original whale… the proper whale… the right whale.” There’s actually a paragraph in Moby Dick about this.

    English is weird and changes in weird ways. Just use latin if you want to be scientifically precise.



  • One time a VP decided to jump in and be a developer and he just pointed a bunch of cards when the dev that was really going to do the work was off for the day. Obviously the points were way too low, so I just padded out the rest of the cards knowing the 7 points on the cards the VP pointed was going to be the entire two week sprint for the other dev and I’d need to to whatever else was put into the sprint.

    And that’s how I found out the Product Manager was putting the points into a spreadsheet to track how many points each individual dev was doing. He was actually upset at me for doing 20 points in the sprint. Sure, I padded them out, but why wasn’t he bothered by the cards that had too few points on them? Just upset his spreadsheet was screwed up, but couldn’t be angry at the VP that under-pointed a bunch of cards.



  • SpaceCowboy@lemmy.catoProgrammer Humor@programming.devYes, But...
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    3 months ago

    Avoiding 403 seems like a security through obscurity approach to me.

    I suppose there might be some special admin only endpoints you’d want to 404 on if the user is not an admin. But for most cases it’s really hell integrating an API that 404s on everything… is my token invalid, did I set a parameter wrong, or did I get the path wrong? I guess I gotta spend all day doing trial and error to figure it out. Fun!

    Also makes integration tests on your security unreliable. Someone renames an endpoint and suddenly your integration tests aren’t actually testing security anymore. Checking for 403 and getting a 404 because someone renamed something will indicate the test needs to be updated to use the new path. Checking for 404 (because the user isn’t supposed to have access) and getting 404 (because the path was changed) means your test is useless but you won’t know it was rendered useless.


  • Waterfall is more like: You want to go to Mars. You start to build the rocket. Managers that don’t know anything about building a rocket starts having meetings to tell the engineers who do know how to build a rocket what they should be doing. Management decides to launch the rocket based on a timeline that’s not based in reality. Management tries to launch the rocket based on the timeline instead of when it’s actually finished. Rocket explodes. Management blames the engineers.

    The various methodologies don’t actually change what the engineers need to do. But some of them can be effective at requiring more effort from management to interfere in the project. Bad managers are lazy so they’re not going to write a card, so they can be somewhat effective in neutralizing micromanagement. I say somewhat, because bad management will eventually find a way to screw things up.






  • Yeah, Yoda became a parody of his character in ESB.

    In ESB he comes across as someone that’s speaking in a second language. Sometimes he mixes up the grammar, especially when emotional and trying to speak quickly, but when he’s more relaxed and speaking slowly (or saying something simple) he usually gets it right.

    In other portrayals it feels more like he’s got brain damage.


  • IMO it should even be hashed on the client side before being sent so that it doesn’t show up as plaintext in any http requests or logs. Then salted and hashed again server side before being stored (or checked for login).

    But if someone got that hashed version they could hack the client to have client side hashing code just send that hashed value to the server. You’d want to have the server to send a rotating token of some sort to use for encrypting the password on the client and then validate it on the server side that it was encrypted with the same token the server sent.

    Seems complicated to me… https is probably has good enough encryption, so eh, whatever.


  • Yeah it’s a weird thing about parasocial relationships. You like someone based on things you’ve seen about them on TV and then you start feeling like you know them. But really, nope you don’t.

    I think it’s fine to like famous people, but just understand that you don’t really know them. If you later find out they’re a horrible person well then don’t like them anymore and it’s no big deal. You only like the things you know about the person, but if you avoid going down the road of feeling like you really know them, it’s fine.


  • Having a lot of joins can be expensive and non-performant.

    Only if you don’t know how to do indexing properly. Normalized data is more performant (less duplication of data, less memory and bandwidth is being used) if you know how to index.

    It may have been true decades ago that denormalized tables were more performant, I don’t know. But today it’s far more common that the phrase “denormalized tables are more performant” is something that’s said by someone that sucks at indexing and/or is just being lazy.

    But I do put JSON into tables sometimes when the data is going to be very inconsistent between different items and there’s no need to index any of the values in there. Like if different vendors provide different kinds of information about their products, I need to store it somewhere, so just serialize it and put it in there to be read by a program that has abstraction layers to deal with it. It’s never going to perform well if I do a query on it, but if all that’s needed is to display details on one item at a time, it’s fine.





  • SpaceCowboy@lemmy.caBanned from communitytoProgrammer Humor@lemmy.mlWorst is UTC vs GMT
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    1 year ago

    Yeah it’s just being angry about the fact that the Earth is rotating ball. Wanting to abolish timezones is different from Flat Earth only be degrees.

    Sure the “what time is it there?” question goes away, but it’s replaced by “what are your business hours?”

    Ultimately it will be daytime in one part of the world while it’s night in another part of the world. That will always cause problems.


  • SpaceCowboy@lemmy.caBanned from communitytoProgrammer Humor@lemmy.mlWorst is UTC vs GMT
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    This is actually the best approach.

    Obviously they are getting timezone information otherwise the app could only display whatever time the user entered in.

    If you want to sort things by the actual time, it’s simple and performant if all of the times are in the same timezone, and UTC would be the standard one to use. Pushing the timezone calculations to the client makes sense because the UTC time is correct, it’s just a matter of displaying it in a user friendly way, ie. show the time in the user’s timezone.