322 karma · joined December 1, 2024
Playground/simulator: https://quantum.microsoft.com/en-us/tools/quantum-coding
(Edit: I thought they meant like automated cloud storage, something that would obviously be a ToS violation, because as benoau pointed out, hosting your photos is literally the whole point of Flickr. Having the full-size original photo there was its selling point.)
Well if sgt says so, then it must be true!
Except it isn't, sorry. Both Windows and Linux (if you total the distros) are more popular among developers according to last year's SO survey:
https://survey.stackoverflow.co/2024/technology#1-operating-...
I'm glad that you've found an OS that suits you, but please don't speak for the rest of us, or call everyone who has different opinions from you "unsensible". (Personally, I find Mac really frickin annoying, but that's just, like, my opinion, man.)
Can you clarify what you mean by "manage projects"? If you mean issue tracking / notes, I sometimes use github issues, but most often I simply use a markdown file in the gitignored directory where I keep assets that shouldn't be checked in (psds, db backups, and so on). The mermaid extension for vscode makes it easy to throw together flowcharts in that same file. Sometimes I use google tasks for checklists, since my other todo's are in there too.
[0]: https://nostarch.com/catalog/manga [1]: https://www.amazon.com/Manga-Guide-Databases-Mana-Takahashi/... [2]: https://nostarch.com/download/MangaGuidetoMicroprocessors_sa...
These sorts of titles are generally unwelcome here.
Any two values can be less than, equal, greater than, or unordered. The > operation, for example, evaluates to true if its operands are greater than. Per IEEE 754, "every NaN shall compare unordered with everything, including itself." By making NaN comparisons unordered, positive comparisons always evaluate as false. "Is 5 > NaN? No. Is NaN > 5? No." Same for ==. But negated comparisons are always true by consequence; since A != B is the same as !(A == B), anything != NaN is true.
One could argue that the spec should have special-cased NaN for the == operator (which as defined is only true if the comparison is equal, and not unordered), but they did not.
Even though it works 99% of the time, just like in TS you can occasionally run into a bug because some misbehaving library handed you a null that it said can't be a null...
public static void Main() { Document.Body.Append(new Div("hello world")); }
and be able to use it in a page like <script src="hello.wasm"></script>
and have that just work without any JS "glue code". Maybe someday. I know they're working on the DOM APIs, but as you said, it's been slow going. Feels like priorities are elsewhere. Even CSS is moving forward with new features faster than WASM is (nesting and view transitions are awesome though).(Btw when I said "separate runtime type checking" I didn't mean language-level; I was referring to the validation libraries and `typeof`'s that are required today since TS types obviously no longer exist after build. If it were a real static language, then of course you can't store a bool in a string in the first place.)
[0]: https://www.assemblyscript.org/ (Porffor looks neat too. Wonder if it could be useful in plugin architectures? E.g. plugins can written in JS, and the program only needs a WASM interpreter. I'll bookmark it. Thanks.)
Imagine if WASM were supported natively instead, with browsers exposing the same DOM interfaces that they do to JS. You could link a wasm binary in a <script> and do everything you can with JS/TS, but with any language of your choosing. No doubt a compiled form of TS would appear immediately. We'd no longer need separate runtime type checking.
Just feels like priorities are in the wrong place.
On the other hand, the fact that this is even possible is more wild. Instead of replacing JS with a proper statically-typed language, we're spending all this effort turning a preprocessor's type system into a turing-complete metalanguage. Pretty soon we'll be able to compile TypeScript entirely using types.
> Is it really helpful?
Have you ever seen a library/program that was written by a Chinese developer, but which had an English readme in addition to the Chinese one? Well, imagine if it only had Chinese.
I disagree with the other comment saying there needs to be an established community in the other language first. There are projects I would never have used or even discovered if they had been written solely in the dev's native tongue. But again, this is assuming you actually speak another language and can write it properly; a shitty AI translation will do more harm than good.
> How do you maintain single-source-of-truth?
The English readme is the source of truth. When you change that, change the TL too. If that's too much work, then just don't bother. An out of date translation is often worse than no translation.
Unfortunately, options for SSR in React are all pretty limiting compared to other languages' frameworks, unless you go the full DIY route which isn't usually feasible.
Of course, if you don't need SSR there's no reason to chain yourself to Next and Vercel's whims. Starting a React project from scratch is a lot less painful now with Vite (there was a time when just setting up Webpack & stuff took half a work day).
This is just my personal experience, however. I know a lot of people live and die by Next.js.
There's some more detail at https://omnisvg.github.io/
I wonder why they're delaying the release of the code to actually run the thing, though.
Most people I've seen who can't handle technology give up at the first sign of unfamiliarity.
Edit: Actually, using a library via a package manager would likely be considered "linking" and not a Derivative Work, so I don't think even Apache's clause would apply in many cases.