The Coin Return Foundational Fundraiser is here! Please donate!

[Programming] Page overflow to new thread

1959799100101

Posts

  • urahonkyurahonky Cynical Old Man Registered User regular
    QA opened a ticket for translation to French. Says the phrase doesn't look right. The guy who wrote the string is on the call and said French is his native language and it's correct... QA still kept the ticket open and reached out to business for clarification lol

  • admanbadmanb unionize your workplace Seattle, WARegistered User regular
    urahonky wrote: »
    QA opened a ticket for translation to French. Says the phrase doesn't look right. The guy who wrote the string is on the call and said French is his native language and it's correct... QA still kept the ticket open and reached out to business for clarification lol

    Stubbornness is one of the top three required qualities of QA and as much as it frustrates me I respect its importance.

  • NaphtaliNaphtali Hazy + Flow SeaRegistered User regular
    urahonky wrote: »
    QA opened a ticket for translation to French. Says the phrase doesn't look right. The guy who wrote the string is on the call and said French is his native language and it's correct... QA still kept the ticket open and reached out to business for clarification lol

    I mean, it could be one of those situations where its correct french, but the wording is incorrect for the business application/intent. I know we've had issues with that when doing HMIs for filter presses and trying to do Spanish translations ourselves. We sometimes get pushback asking to change the verbiage as while it's a correct translation, it's not what they want it to say.

    Steam | Nintendo ID: Naphtali | Wish List
  • djmdjm Registered User regular
    I hit the same sort of thing a while ago where we weren't adding enough context to the strings that got sent off for translation; in particular, "grade" which was being used for "grade 1" / "grade 8", ie how far you are through school, but the word that came back in one of the languages was the one for "grade A"/"grade F", ie how well you did on an exam.

    Then there was a particularly weird case where we had "handbells" as a musical instrument, meaning this sort of thing:
    43661_r_19.jpg
    but in German they'd translated it into something that means this:
    Wooden-Handbell-Lifestyle-220258-750.jpg
    which we only spotted because when I was looking at the translations that had come back, the word in German just didn't quite feel right somehow, so I googled for it and worked out what was going on.

  • urahonkyurahonky Cynical Old Man Registered User regular
    edited October 2022
    Yeah it was something like "Item (s)" in English being something like "article (s) de détail (s)". Where it was putting the optional plural on two of the words. I didn't screencap the actual words used though, sorry.

    urahonky on
  • TelMarineTelMarine Registered User regular
    gavindel wrote: »
    Junior: Hey, do you have a minute? I'm on this method, and there's no references, and I can't figure out how its invoked.
    Me: Take a seat, youngin, and allow me to explain the power and the terror of reflection

    Oh, I thought he'd be talking about FizzBuzz Enterprise Edition.

    3ds: 4983-4935-4575
  • schussschuss Registered User regular
    I hit the same sort of thing a while ago where we weren't adding enough context to the strings that got sent off for translation; in particular, "grade" which was being used for "grade 1" / "grade 8", ie how far you are through school, but the word that came back in one of the languages was the one for "grade A"/"grade F", ie how well you did on an exam.

    Then there was a particularly weird case where we had "handbells" as a musical instrument, meaning this sort of thing:

    but in German they'd translated it into something that means this:

    which we only spotted because when I was looking at the translations that had come back, the word in German just didn't quite feel right somehow, so I googled for it and worked out what was going on.

    Yeah, having multilingual employees is really important to ensure things aren't just translated, but localized. A good example is Spanish or Portugese, as there's meaningful differences between south/central american spanish and european spanish. If you use the wrong one, people will immediately start scratching their heads or get annoyed at the "wrong spanish" being delivered.

  • djmdjm Registered User regular
    The really painful part was right-to-left languages -- I could do very basic sanity testing for most left-to-right languages to at least make sure that things fit in the space available, and people's names show up properly, even if it might sound strange to native speakers. But when it's arabic or hebrew I really had no idea what to look for, or which bits wind up going LtoR in the middle of otherwise RtoL text, or if we needed to flip dialogs entirely, etc.

  • admanbadmanb unionize your workplace Seattle, WARegistered User regular
    There’s a reason Rami Ismail built a website to note people’s failures at Arabic.

  • This content has been removed.

  • GnomeTankGnomeTank What the what? Portland, OregonRegistered User regular
    We don't manage them anymore. I'm a huge proponent of self documenting code and this extends to OpenAPI. We use a framework called TSOA for TypeScript, but there are many others for other environments. The end result is that our entire OpenAPI spec is defined in the code itself and extracted from that when we need it. It's always up to date, and keeping it up to date is imperative to the code working. It also puts it front and center during code review.

    Sagroth wrote: »
    Oh c'mon FyreWulff, no one's gonna pay to visit Uranus.
    Steam: Brainling, XBL / PSN: GnomeTank, NintendoID: Brainling, FF14: Zillius Rosh SFV: Brainling
  • InfidelInfidel Heretic Registered User regular
    GnomeTank wrote: »
    We don't manage them anymore. I'm a huge proponent of self documenting code and this extends to OpenAPI. We use a framework called TSOA for TypeScript, but there are many others for other environments. The end result is that our entire OpenAPI spec is defined in the code itself and extracted from that when we need it. It's always up to date, and keeping it up to date is imperative to the code working. It also puts it front and center during code review.

    That's not for design purposes. That's just about where you store the spec.

    @electricitylikesme nothing really comes to mind special, though. What are you trying to actually address?

  • EchoEcho ski-bap ba-dapModerator, Administrator admin
    GnomeTank wrote: »
    We don't manage them anymore. I'm a huge proponent of self documenting code and this extends to OpenAPI. We use a framework called TSOA for TypeScript, but there are many others for other environments. The end result is that our entire OpenAPI spec is defined in the code itself and extracted from that when we need it. It's always up to date, and keeping it up to date is imperative to the code working. It also puts it front and center during code review.

    Yeah, we do that routine too. Some of it needed extra structs (our API is in Go) just to describe query parameters that aren't actually used anywhere in the code, but it's a pretty solid way to have the documentation adjacent to the code.

  • gavindelgavindel The reason all your software is brokenRegistered User regular
    "Do you have doc?"
    "Of course! Here's our swagger!"
    *twenty pages of GetContract, GetContractFromId, GetContractWithId, GetContractWithoutId, PatchContract, PatchContractButFailsOnUpsert...*

    Book - Royal road - Free! Seraphim === TTRPG - Wuxia - Free! Seln Alora
  • admanbadmanb unionize your workplace Seattle, WARegistered User regular
    gavindel wrote: »
    "Do you have doc?"
    "Of course! Here's our swagger!"
    *twenty pages of GetContract, GetContractFromId, GetContractWithId, GetContractWithoutId, PatchContract, PatchContractButFailsOnUpsert...*

    Not sure missing docs are the problem with this API…

  • gavindelgavindel The reason all your software is brokenRegistered User regular
    There's no easy out on making your API and product legible. Design docs get lost; self-documenting code gets stale; APIs get overgrown. Write a bunch of fantastic doc? Great, its been 2 years, do it again. Write even more? Great, you have too much, nobody can find what they need in the forest.

    "here's the swagger", to me, reads about as well as "Here's the link to our repo". I asked how to work with their service and they handed me a shovel.

    Book - Royal road - Free! Seraphim === TTRPG - Wuxia - Free! Seln Alora
  • AngelHedgieAngelHedgie Registered User regular
    gavindel wrote: »
    "Do you have doc?"
    "Of course! Here's our swagger!"
    *twenty pages of GetContract, GetContractFromId, GetContractWithId, GetContractWithoutId, PatchContract, PatchContractButFailsOnUpsert...*

    Someone missed the "micro" part of "microservices"...

    XBL: Nox Aeternum / PSN: NoxAeternum / NN:NoxAeternum / Steam: noxaeternum
  • AngelHedgieAngelHedgie Registered User regular
    XBL: Nox Aeternum / PSN: NoxAeternum / NN:NoxAeternum / Steam: noxaeternum
  • AngelHedgieAngelHedgie Registered User regular
    Ethea wrote: »
    #1 tip. Never trust other devs, including past self.

    It is a rite of passage to look at code, exclaim "what motherducking goose wrote this", run git blame, and learn that said goose is you.

    XBL: Nox Aeternum / PSN: NoxAeternum / NN:NoxAeternum / Steam: noxaeternum
  • dporowskidporowski Registered User regular
    Ethea wrote: »
    #1 tip. Never trust other devs, including past self.

    It is a rite of passage to look at code, exclaim "what motherducking goose wrote this", run git blame, and learn that said goose is you.

    And that's why I comment everything. Self-documenting my ass, nobody's going to be able to look at this in six months and figure out that "no no it's like this because product wants..."

  • LD50LD50 Registered User regular
    Document nothing, if someone wants to know how something works, that's what God invented reflection for.

  • dporowskidporowski Registered User regular
    LD50 wrote: »
    Document nothing, if someone wants to know how something works, that's what God invented reflection for.

    Are you saying I can squish product and design into... Well I guess it'd be a USBC port. This can be done, nobody will be mad at me, and it provides a useful service?

    This changes so many things.

  • This content has been removed.

  • FiskebentFiskebent DenmarkRegistered User regular
    edited October 2022
    Unit tests can be really good at capturing why something is the way it is in the code.

    Fiskebent on
    steam_sig.png
  • edited October 2022
    This content has been removed.

  • SpoitSpoit *twitch twitch* Registered User regular
    Could be worse, there's been a complaint about version mismatches in our JS code dependencies that I haven't had the bandwidth to deal with for months, since it would probably involve having to wait for patches in like a half dozen different packages, many of which haven't had any movement in months, and some of which I'm not sure we're even still using since our react developer left.

    steam_sig.png
  • admanbadmanb unionize your workplace Seattle, WARegistered User regular
    The very first time I tried to develop something in Python I quit in frustration because their error messages were useless (I was also using an editor not suited to syntax-by-indentation).

    It’s astonishing to me that 20 years later this is still a significant issue for the language.

  • This content has been removed.

  • aiouaaioua Ora Occidens Ora OptimaRegistered User regular
    They're finally improving the error message in python, in 3.10 and 3.11.

    Doing crazy things like highlighting which symbol was None instead of just giving you a line number.

    life's a game that you're bound to lose / like using a hammer to pound in screws
    fuck up once and you break your thumb / if you're happy at all then you're god damn dumb
    that's right we're on a fucked up cruise / God is dead but at least we have booze
    bad things happen, no one knows why / the sun burns out and everyone dies
  • KakodaimonosKakodaimonos Code fondler Helping the 1% get richerRegistered User regular
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    my annual "maybe i shouldn't be basing my operations on apple hardware" moment has arrived finally for 2022

    all enterprise applications that use 3rd party frameworks crash on startup on iOS 16

    there are multiple threads on the developer forums with hundreds of watches, multiple radars file with no responses, and the problem was discovered in early beta

    luckily 99% of my company isn't upgraded, and there *is* a stupid workaround.... but yikes. yikes, apple!

    im about ready to install the android dev tools

    this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

    we also talk about other random shit and clown upon each other
  • CarpyCarpy Registered User regular
    Oh we talking about Python's useless error messages? Just today I spent a stupid amount of time troubleshooting a script that seemingly broke at random where the issue ended up being a missing closing parens. Interpreter would just happily shit out Incorrect Syntax errors pointing to lines that were very clearly correct syntactically..

  • EchoEcho ski-bap ba-dapModerator, Administrator admin
    If I have anything akin to a "superpower" then it is definitely pattern recognition in text. Just had yet another case where someone showed some code and 0.73 seconds later my brain laser-focused on the typo that was the entire bug.

    Too bad it doesn't work on missing a trailing comma.

  • taliosfalcontaliosfalcon Registered User regular
    edited October 2022
    I used to do SAP ABAP programming and 95% of the error messages you'd get thrown out of it were both 1. useless and 2. in angry sounding german. If you ever want useless error messages try one that was useless to begin with; in german and then ran through an auto translate to english 10 years ago when auto translate was rubbish even compared to what it is now. Good times. sigh.

    taliosfalcon on
  • gavindelgavindel The reason all your software is brokenRegistered User regular
    Today I submitted PR 80085.

    Just thought you folks should know.

    Book - Royal road - Free! Seraphim === TTRPG - Wuxia - Free! Seln Alora
  • InfidelInfidel Heretic Registered User regular
    gavindel wrote: »
    Today I submitted PR 80085.

    Just thought you folks should know.

    Huh, I just called out that JIRA number in our project this week.

  • TelMarineTelMarine Registered User regular
    gavindel wrote: »
    Today I submitted PR 80085.

    Just thought you folks should know.

    Update us again if you get 80087355

    3ds: 4983-4935-4575
  • DisruptedCapitalistDisruptedCapitalist I swear! Registered User regular
    8008135 comes first

    "Simple, real stupidity beats artificial intelligence every time." -Mustrum Ridcully in Terry Pratchett's Hogfather p. 142 (HarperPrism 1996)
  • CarpyCarpy Registered User regular
    We were playing around spoofing IPV6 router announcements and I had to restrain myself from giving everyone a b00b:5:b00b:5:: prefix

  • DisruptedCapitalistDisruptedCapitalist I swear! Registered User regular
    /sigh

    It's been slim picking for JS jobs lately. So I'm looking into taking some tests for certs and stuff. I tried taking the LinkedIn "badges" tests the other days just for shits and giggles, and they're much harder than I expected! This is probably good since I guess it increases their value but it makes me more nervous about dropping money on a certification only to fail the dang thing.

    "Simple, real stupidity beats artificial intelligence every time." -Mustrum Ridcully in Terry Pratchett's Hogfather p. 142 (HarperPrism 1996)
This discussion has been closed.