Skip Navigation

luciole (he/him)

@ luciole @beehaw.org

Posts
2
Comments
172
Joined
3 yr. ago

Doesn't know the lyrics. Just goes meow meow meow.

Does not eat the pastry if there are raisins in it.

Gender non conforming bi guy.

☐ Solid☐ Gaseous☑ Fluid

  • A template is literally an HTML file with some PHP tags sprinkled to feed in the data. Echoing large swaths of HTML is weird. And PHP tag syntax is actually <?php hello(); ?>.

  • Deleted

    Permanently Deleted

    Jump
  • We need to go deeper.

  • That sounds pretty awesome for real. You're going way further then I've dared so far! Best of luck to you.

  • So here's what I do with my trusty USB only Kinesis Advantage. First I got a Handheld Scientific's dongle. It exposes a USB keyboard as a Bluetooth device. It does need to be powered though so I got a small power bank and I plug that in. It's not sexy (unless you're into that 😜) but it's low effort and it works like a charm.

  • You made this account on purpose to tell us that?

  • So I was coming here with my pitchfork to blabber about how code is written for humans and that it's important to be simple and clear and stuff... but then I realized this was a jab about that dumb book. Fuck that book.

  • I'm experimenting with Kate. Doesn't come close in terms of features but useful for small stuff. It's like Notepad++ for Linux.

  • Capitalism rewards capital.

  • I say yes. I'm wholly uninterested in the topic and do not consider vibe coding to be programming. It's just the speculative art of prompting.

  • OK hear me out, what about you write some motherfucking code, and then you review some motherfucking code. With your brain.

  • I'm pretty picky about my keyboard layout (a specific variant of bépo) and I've found it surprisingly awkward to use a layout that isn't provided. I know that Bépo is typically included in Linux distros, but not the variant I prefer.

  • MusicBee is one of the programs I miss the most. My son told me he still runs it through Wine with some fiddling so it seems possible. Personally I've settled on Lollypop. I'm not in love with it; it's fine. It's quite minimalist... maybe too much for some. I use Puddletags for editing tags and Syncthing to sync music from my PC to my phone.

  • What's this really?

  • I hear you. I'm not crazy about it either. I use it at work and I get the point: it's awkward to make CSS respect the encapsulation of component-based reactive frameworks like Vue or React. Tailwind alleviates that. On the other hand the actual HTML/CSS produced is disregarded by all measures except size maybe. It's yet another layer of abstraction and its necessity is debatable at best.

  • Oh…an actually human response. How refreshing. At least one person here got their rabies shot.

  • The answer you seek is literally the post.

  • You have basically two options: treat HTML as a string or parse it then process it with higher level DOM features.

    The problem with the second approach is that HTML may look like an XML dialect but it is actually immensely quirky and tolerant. Moreover the modern web page is crazy bloated, so mass processing pages might be surprisingly demanding. And in the end you still need to do custom code to grab the data you're after.

    On the other hand string searching is as lightweight as it gets and you typically don't really need to care about document structure as a scraper anyways.

  • I use syncthing to sync music, notes and pictures between my phone and my PC. It's ridiculously efficient and it feels like using your devices' networking features in a reasonable way at last. It's so simple and feels so good. I fucking love it.