Better HN
topnewbestaskshowjobs
Log inSign up

likeclockwork

801 karma · joined Sep 24, 2012 (14y ago) · 595 submissions

Submissions

comment 1y ago · link · parent

Who cares about the exact breed of government dog?

comment 1y ago · link · parent

Agreed. I don't find automatic tiling that useful in general because you don't really get strong layout control but I also never found say i3 or manual tiling that useful on a small laptop screen. (It's pretty nice on a large screen or ultrawide, though)

However Niri works fantastically in both use cases because it gives me what I really want: Resizable, rearrangeable columns of windows, as many as I need for the current task and a way to quickly rearrange and spatially navigate so that I can see exactly what I need to see.

comment 1y ago · link · parent

Should there be secret police in the first place?

comment 1y ago · link · parent

Wow. Your original comment reads very differently now.

comment 1y ago · link · parent

Except a human would say "I don't know" instead up making up some nonsense.

comment 1y ago · link · parent

Is Rust the only programming language that is usable for this work?

comment 1y ago · link · parent

Got it.

comment 2y ago · link · parent

Conspiracy theorists refusing to wear masks, which grant anonymity, made me realize that these people aren't actually paranoid they're just contrary.

comment 2y ago · link · parent

This is slander.

comment 2y ago · link · parent

That's good eating.

comment 2y ago · link · parent

In the US truth is a defense to defamation.

But you're talking about extralegal harassment and intimidation committed my authorities, which happens everywhere unfortunately.

comment 2y ago · link · parent

The Church of Infinite Growth has been riled.

comment 2y ago · link · parent

Typescript's refusal to participate in codegen is one of the things I don't like about it.

It makes Typescript a descriptive, rather than expressive, language with weak semantics.

comment 2y ago · link · parent

Using grid like this isn't absolute positioning, we still have implicit sizing and regular document flow. We're just assigning the elements to the same grid area and letting that area be sized by its contents.

comment 2y ago · link · parent

I don't know what the intended treatment of the text is, but did you consider using an img element and stacking the text on top of it?

What you have is basically just an image element with width: 100 height: auto, but it has children.

Here's an example, written with tailwind for my convenience but should be pretty legible to anyone who knows CSS:

    <div class="grid place-items-center [&>*]:[grid-area:1/1]">
      <img
        src="https://picsum.photos/500/400?grayscale&blur=2"
        class="w-full h-auto"
      />
      <div>Hello.</div>
    </div>
    <div class="grid place-items-center [&>*]:[grid-area:1/1]">
      <img
        src="https://picsum.photos/500/400?grayscale&blur=2"
        class="w-full h-auto"
      />
      <div>Hello.</div>
    </div>
    <div class="grid place-items-center [&>*]:[grid-area:1/1]">
      <img
        src="https://picsum.photos/500/400?grayscale&blur=2"
        class="w-full h-auto"
      />
      <div>Hello.</div>
    </div>
The height of the container is governed by the height of the image (until the text becomes taller than the image). You still have fully fleixible in terms placement (place-self) and/or sizing (height: 100%) of the text container.

comment 2y ago · link · parent

I suspect he's collaborating with AKAI on that new Linn Drum that he's been working on for a years and occasionally flashes an early prototype of in his videos. I assume this endorsement arose from talks he's having with them.

comment 2y ago · link · parent

> We should publicly cane people who smoke MJ in public.

https://news.ycombinator.com/item?id=35180539

comment 2y ago · link · parent

This isn't true though. Control + arrow keys for example navigate desktops on MacOS. On Linux I can at least restrict my desktop environment's shortcuts to super, leaving the other mods open for applications. MacOS uses every single modifier, sometimes together.

comment 2y ago · link · parent

Holy shit, thanks for the warning.

comment 2y ago · link · parent

No, it's old. HTMX is just intercooler.js which has been getting shilled here by the author for the last twelve years and no one wanted anything to do with it then and many want nothing to do with it now.

comment 2y ago · link · parent

I always see these takes and I find them completely at odds with my experience. I have rarely seen a non-trivial frontend project that wouldn't benefit from a build step.

Going without a buildstep meant remembering the last 2-5 versions of JS and then having to write in the lowest common subset for your browser compatibility requirements. Speaking for myself: being able to keep up with the language evolution and transpile to that compatible subset automatically saved way more pain than configuring a build step cost me.

I don't think it's unreasonable to only want to have to write and read a single dialect of JS across projects. Nevermind all the polyfilling we had to do to get common compatible APIs.

Nowadays, the most recent crop of browser versions are a lot more similar to each other than they used to be.

Maybe your colleagues don't know the DOM APIs or are less comfortable with finding some random jQuery plugin to do a carousel but I can't really begrudge anyone for wanting to have the full capabilities of a modern frontend stack.

comment 2y ago · link · parent

Sounds nice to say "Americans" did this, to socialize accountability, like this was some democratic decision and not the product of corporations having no loyalty to anyone or anything.

comment 2y ago · link · parent

I'm just saying it's a bit late to start raving about "enemy state" influence after they outsourced the manufacturing capacity of the entire country to it.

comment 2y ago · link · parent

Every item in my house is produced by this so-called enemy state.

comment 2y ago · link · parent

That's what service workers are for.

This service worker explicitly caches all the resources the app needs to run then intercepts requests for those resources so all the JS that depends on the resources still runs while you're offline.

If you had visited the site in the past, even if you were offline you would be able to go to that URL and the service worker would serve everything needed from cache.

comment 2y ago · link · parent

> normal people with no playbook

What happened to those Special Weapons And Tactics?

comment 2y ago · link · parent

Then stop letting them run wild. Society can't be organized around what unsupervised children might do.

comment 2y ago · link · parent

If you give your kids unrestricted access to a gun they can shoot themselves.

Why should minors be allowed on the internet unsupervised at all?

comment 2y ago · link · parent

I don't think it's independent at all. I think it assigns the quality of good oldness to things that are good but not old. Or it refers to things that are good and familiar.
12345
20