validators
is a shitty name for something that actually does type conversion.
validators
is a shitty name for something that actually does type conversion.
If you cut yourself with a knife, it might be your fault. And it might be that the knife is sharp on both sides and has no handle.
It feels like I’m thirty years too young to get these jokes.
C) Write a highly specific, custom-tailored boilerplate generator that does 80% of the work and needs only a day or two to implement.
Nah, it’s from a blog post that you cannot find via Google, no matter what combination of words you throw at it, that substitutes the documentation for how to link to a specific thing like a customer in SAP ByDesign.
Only this particular entry must’ve come across several redesigns, one of which started rendering ):
as that emoji.
Now I want to know what the issue was.
And the “solution”.
I don’t know why. Maybe the typings for it are just fucking bad. Or maybe d3 is very hard to use “correctly”, but still works most of the time even if invoked incorrectly (I doubt that). Or maybe d3 is so complex that the typings need to be complex, too, even if you don’t use the complexity (the type retured from selectAll has four type parameters, half of which are undefined
by default, the other half, null
).
I believe you don’t have to actually use (meaning “compile from”) typescript to profit from it. If you maul the compiler options hard enough, you might get it to analyze JavaScript and provide type checking.
Elderly team mates with the flexibility of concrete, yay!
@MentalEdge@sopuli.xyz is right. I’ll interpret your question as “can I send this to someone and they will be able to play it” – then the answer is yes. You can take a binary file like mp4, pretend it’s text like I did above, and send it via chat or a lemmy post. The recipient will need to copy that text, enter it in, for instance, notepad++ and save the file on their disk. Renaming the file from the-text.txt to the-text.mp4 should be sufficient for any audio player to pick the file up and play it.
Edit: doesn’t actually work
The app will find the file incomprehensible and will tell you that the file is corrupted or in a format the app can’t understand.
An app that works with raw next (Windows’ Editor or notepad++ or any IDE) will try to parse the binary data as text and fail miserably, showing you lots of undecodable-unicode characters.
Example:
%.š/BûT¹Ò;lŠ^œ{åúvž’Û X“—دa%“9HúU”¿ú¦¥N̉ČԿ†«dd’º•©“ÜÈê*è9$mÕ lfN‹„‘ª$bÿû°@§ gÂqâ`tŒøn<cm-‰Çˆmð3¡|ñ°k§û–ÿîo<©ªxgTZ¯óT†"x¦1Q®ÔÚóI# 3édgþ™>´dʶÌþB…o™ÜË7bMûö”]«ê|=®©w„Ïɳ²NdÅh˜Ñ#´¦ïÕ®ºAd`‹®«R²•]‡ÐÏEpäX 0PÛnE”Ø΋şçÒñD]îbwNðèB$¤“nnzráiqÖ›XåÄvØÉË\ø\¦P¼¶Xæ‰Â6…”ææ†?äÖåœ:m|?B3C+dW»f†`Ê$Lˆmìóz¯xK>‘)ƒÜÉTݨ@‘Š£Ð:¨õ¹|!„DQC#£öªJ¼×u›³ÕÒ©˜gV"!V«;áäi³EJ…3;zã[±0&ËsÖ_Ë·³‡ó8MaTô”ÖBïKßïùl4zHJE’N¢ìo™iÒg$½›—U.ºtÉW›SXGÓÐŒ§N¢–L¨YþïZOPNìÌÙŸN ŽŠióyÄ,QÍfÙ¬
In my defense, the backend contracts change so often in early development the any just made sense at first…
Refactorings and changes are the prime reason to use TypeScript. You edit your data objects and get squigglies everywhere shit won’t work anymore. A godsend!
Any project that uses d3.
You seem knowledgable. I’m surprised that it’s even possible for a software vendor to inject code into the kernel. Why is that necessary?
So you’re that contractor that always shits out code that looks like the guy who wrote it was just learning the language?
I had two deployments today and then left for an early weekend.
Readonly friday is for pussies.
There’s nothing to say about this
Damn.
There’s nothing to say about this. Just revel in memories, enjoy the moment, and upvote.
Right, I forgot about that.
It’s a mediocre meme I made to bitch about your point.
Why would python even expose the current line number? What’s it useful for?