1,286 karma · joined May 28, 2021 (5y ago) · 467 submissions
comment 2y ago · link · parent
In this case, I'd probably switch to an automatic grid layout with equal size boxes regardless of content size. Then it could neatly wrap into multiple rows while keeping the boxes at a constrained size.
comment 2y ago · link · parent
comment 2y ago · link · parent
Then I moved to doing all my projects with Astro/Svelte and webapps with SvelteKit. I was surprised at how good and fun it was. The templating languages less esoteric, more integrated. Reactivity was something I never even dreamed of with a hard line on JS. All the while, the websites got better. I could finish them more quickly and there was still no or a miniscule amount of JS shipped by default. I could also, when making a content-driven website with Astro, easily reach for Svelte for a small bit of interactivity / reactivity. I could've just as easily used Alpine or whatever else someone might recommend.
That's to say, I've found a comfortable DX in current-gen JS frameworks, while finding the server-side giants a bit too sturdy for my use. Reading about new frameworks is fun to me, because I can easily switch from Svelte to something else on my Astro sites, if I find something that fits my tastes even better.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
For the function-field interference, I'd probably just work it based on situation. And usually naming functions clearly as actions with verbs and fields/variables with nouns.
comment 2y ago · link · parent
``` func toUpperCase(s: string) <IMPLEMENTATION>
a = "hello world" echo toUpperCase(a) # HELLO WORLD echo a.toUpperCase # HELLO WORLD echo toUpperCase a # HELLO WORLD echo a.toUpperCase # HELLO WORLD ```
With the dot syntax, the first argument is the one indicated by the dot, and the rest of the arguments are in the parentheses. In nim, you can leave out the parentheses too, which makes `echo` statements cleaner.
It's a shame more mainstream languages don't have this feature.
comment 2y ago · link · parent
If we take the equation `x = a/0` and solve for a we get:
``` x = a/0 |*0 a = 0x a = 0 ```
Since `a` could be any number, the statement is false unless `a` is defined as zero or there exists some number `x` which when multiplied by zero does not yield zero.
In this case though, even if `a = 0`, we can't really determine `x` because `0/0` is not something commonly defined in mathematics.
I don't know what the point is of having no apples and no baskets to divide them in to.
comment 3y ago · link · parent
comment 3y ago · link · parent
What do you mean free thought? Since when does a data synthesis process create free thought?
Is thought even free? Aren't we all constrained by taboo, social norms, the words we have to use, what we know and how, the list goes on...
comment 3y ago · link · parent
I never get the comments like this I see about Blender. After the 2.8 redesign, on which the major versions after it have only improved, I felt that the program is really good to use. Well, I'm a Blenderer, I know the basic Blender keybinds. If I didn't, the experience would be much worse. But once you know about shift+a, tab, and x, using the program should be no problem. I feel that the UI is pretty intuitive and internally consistent.
But this is just my experience... Maybe some have a harder time forming intuitions.
comment 3y ago · link · parent
I've set all updates to be automatic and almost never have to worry about them. I am on the :latest tag and my computer updates between major versions automatically, and I haven't had any breakage yet. I feel pretty confident in the stability of my system and feel like were the disk to corrupt, I could get back up and running with the exact same setup very quickly.
comment 3y ago · link · parent
> The GNU Affero General Public License is a modified version of the ordinary GNU GPL version 3. It has one added requirement: if you run a modified program on a server and let other users communicate with it there, your server must also allow them to download the source code corresponding to the modified version running there.
I don't understand how this corresponds with anything you are saying.
comment 3y ago · link · parent