Better HN
topnewbestaskshowjobs
Log inSign up

FireInsight

1,286 karma · joined May 28, 2021 (5y ago) · 467 submissions

Submissions

comment 2y ago · link · parent

No need to code anything up. uBo should be enough. And CSS could be injected using Stylus easily.

comment 2y ago · link · parent

You can't have >x of reasonably sized and spaced boxes on a screen horizontally without wrapping, regardless of layout engine. Besides, wrapping can be done presentationally while keeping the linearity.

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

I love Nim and would absolutely use it for every piece of native code I need to write. Unfortunately, I find it suffers from a few big problems. First, the developer tooling and documentation is kind of inconsistent. The build tool, which is also used to install packages, supports a different set of args than the main compiler, which causes some weirdness. Second, the network effect. Most libraries are maintained by a single person, who put in a lot of effort, but a lot of bugs, edge cases, missing features and other weirdnesses remain. It's usually best to use libraries made for C or Python instead, really.

comment 2y ago · link · parent

`flex-wrap: wrap;`

and maybe, if you want, a `min-width` on the boxes themselves

comment 2y ago · link · parent

I started webdev some years back from the other direction; I had read of the countless JS web frameworks and their countless dependencies, and I had read the arguments against using "uncessary" JS (talking about genuine bloat) on websites. So, I thought I'd just explore options like those based on Go; fast, compiles to a single binary, no need to touch JS. Then I wrote my first totally website with Hugo and and a custom theme for it, had fun doing it too. Tried to write a couple selfhosted web apps with Go frameworks too but never got that far.

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

CGP Grey's podcast.

comment 2y ago · link · parent

What is """"designers""""? I think MD3 looks pretty good compared to googles earlier attempts...

comment 2y ago · link · parent

I love Logseq, would even more if the performance wasn't so bad on my phone. It doesn't feel like an Obsidian alternative, though. I mostly use it for journaling.

comment 2y ago · link · parent

Yeah, I agree. All this note-taking is not about storing information for me. It's just planning private projects, writing long-form posts, and journaling. Mostly dumping down thoughts.

comment 2y ago · link · parent

Well, houses with gas stoves rely on gas. Households relying on gas likely make it less likely that other uses of gas are more accepted regardless of negative consequences.

comment 2y ago · link · parent

Probably the author being annoyed by their website being recommended by someone for generating "passive income" based on someone else's labor.

comment 2y ago · link · parent

I used Newpipe first after degoogling, then switch to Libretube for the supposed privacy benefits. App looked a bit better too and crashed often, but way too often there were problems with connecting the Piped instances it was using for streaming and it was laggy and slowly. Newpipe, conversely, when it works, is fast. Sometimes it crashes repeatedly but the problems are usually resolved quickly. Streaming is good quality and fast.

comment 2y ago · link · parent

I'm not saying what you're saying is invalid, but I do have empathy for people that don't exist. It's called fiction and I find it quite enjoyable.

comment 2y ago · link · parent

The mixing of snake_case and camelCase is solved by Nim by ignoring capitalization and underscores. This feature is often controversial when talked about on HN, but I love it. I like camelCase, but I understand why a python user would be more comfortable with snake_case. Of course one codebase should set its internal style to prevent faults in control-f.

comment 2y ago · link · parent

I'm on my phone, and the privacy banner takes so much space I just see the title, a divider, and then the banner. I started reading the banner thinking it was the article...

comment 2y ago · link · parent

Didn't see that. I guess that's just uBO working as intended.

comment 2y ago · link · parent

Beeper (Cloud?) is based on Matrix, so I guess that's the open standard you're looking for?

comment 2y ago · link · parent

Sorry about the formatting, typing this on my phone. The preview looked alright, but ig that didn't translate.

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

Universal Function Call Syntax, the syntax feature where you can call a function in a procedular language you can call function in a multitude of ways. For example (pseudocode):

``` 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

I was somehow thinking of division by zero in the shower or something the other day, and got something that convinced me about it's undefined-ness.

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 2y ago · link · parent

Why is native smooth scrolling not a good idea most of the time? I usually add it at least right after implementing some TOC-style anchors.

comment 2y ago · link · parent

Not to be confused with Fedora Onyx, the budgie version of atomic Fedora.

https://fedoraproject.org/onyx/

comment 3y ago · link · parent

Ah yess, human verified web, let me just send my government ID in to get internet priviliges. No wait, I could still be running a bot. How about DNA samples? Body parts? Biometrics, like I have to keep my eyes in the eye scanner or finger on the fingerprint pad to keep my connection on? Nahh I'll just hire some people to stay in the machkne watching movies while I operate a swarm of bots off of their connection...

comment 3y ago · link · parent

> And prevent chat algorithms from expressing free thought.

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 still think of gimp as one of the worst UX experiences in my life and it makes blenders interface seem amazing in comparison

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'm on a https://universal-blue.org/ -based "custom image" of Fedora Silverblue and I love it. In my image, I ship some essentials software and other things that are just easy to have in there like fonts, plus a script for installing gnome extensions. Then I have a Nix home-manager -based shell configuration containing some common developer tools as well. The bulk of the (GUI) software I use comes as Flatpaks, and my development environment is a distrobox arch container.

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 problem isn't "some people don't get that it's a joke". The problem is that it's a distasteful joke.

comment 3y ago · link · parent

Oh, so modifying and releasing source code automatically makes you sign the CLA and contributes those changes back to the parent project? I'm not seeing how forcing modifications to libre software be published as libre software is a bad thing.

comment 3y ago · link · parent

From the FSF:

> 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

We're in red-scare times, aren't we? "Communists control the media", yeah right, communist millionaires of course. There's nothing leftist about corporations adopting the language of progressivism and trying to keep a favorable image. That's just what modern capitalism is. And it's not like Musk bought Twitter to make it free for all, but for it to be actively harboring anti-progressives and hostility towards progressive ideas.
1
678
16