Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Certain untyped languages cast strings to integers in unexpected ways. Here's scientific notation to int, yet my favorite is treating leading zeroes as octal notation. Happy debugging!
-
Enclose it in quotes, if you haven't enclosed it, seems like it's your fault. If you already enclosed it, all you go to the nearest bunker.
-
740027807y@hch11 I don't think anything on a (at least from my perspective) static website can be my fault.
-
@7400
What im trying to say:
Dont google: 3E5
Google: "3E5"
That's im meaning with "enclose it in quotes"
_*It would seem*_ it's your fault, basically because you are complaining about it, when is easily fixable in your position, just enclosing in quotes -
Its a matter of context, a web searcher will never guess context, NOT EVEN IS SUPPOSED to do that. And adding the context takes little effort of your part, thanks of the Google search commands, like wildcards or:
"3E5" -300000
, what is you need to google. -
740027807yAh, now I think I get what you're saying. But in the end, the link led to the correct datasheet, so it was an error on the site and not me finding something different called “300000”.
So I was designing a transformer and was looking up toroidal cores. The one I had in mind was made of a material the manufacturer calls “3E5”. Looking for a material datasheet I found a website with a download link for a material “300000”…
Dear web devs: How the fuck is that even possible? I can see what happened here but who thought whatever they were doing there was a good idea?
rant
xkcd 1700
parse all the data