Skip Navigation
gptel: Mindblowing integration between Emacs and ChatGPT
www.blogbyben.com gptel: Mindblowing integration between Emacs and ChatGPT

ChatGPT and its LLM brethren have been a potent source of FOMO : the AI revolution is happening, and I feel like I'm forever late to th...

gptel: Mindblowing integration between Emacs and ChatGPT

I've been using gptel for a couple of days and it is absolutely bonkers. It is Magit-level of thought out. However I enjoyed relying less on the transient menu, and rather focus on writing my own wrapper functions via gptel-request.

Honestly I've been kind of an AI skeptic until very recently, and gptel in addition to this article were what pushed me over.

0
Mozilla is a sinking ship.
  • That is the first time I've seen South Africa listed separately from Africa

  • An HTMX success story
  • That was quite light in substance. Since it's titled a "success story" I was hoping to find a deeper dive into challenges they faced - especially with Alpine, which isn't that trivial to use at scale, not even mentioning with Junior developers.

    This article seems like writing for the sake of writing, or rather padding the blog page on your personal site

  • Small steps make a difference.
  • Damn that would be so cool

  • Keyboard Macros are Misunderstood
    www.masteringemacs.org Keyboard Macros are Misunderstood

    Keyboard macros are misunderstood: they are not just for text editing. You can record and play back nearly anything, so why not record your favorite window layouts and save them as a keyboard macro? Maybe open a shell and execute a few commands in it? And best of all, you can do all of this without ...

    Keyboard Macros are Misunderstood
    0
    A Short IPv6 Guide for Home IPv4 Admins
    gist.github.com A Short IPv6 Guide for Home IPv4 Admins

    A Short IPv6 Guide for Home IPv4 Admins. GitHub Gist: instantly share code, notes, and snippets.

    A Short IPv6 Guide for Home IPv4 Admins
    43
    A Short IPv6 Guide for Home IPv4 Admins
    gist.github.com A Short IPv6 Guide for Home IPv4 Admins

    A Short IPv6 Guide for Home IPv4 Admins. GitHub Gist: instantly share code, notes, and snippets.

    A Short IPv6 Guide for Home IPv4 Admins
    5
    Leaked yesterweb document
  • Damn that's cool, then maybe I should take a second look at Wordpress

  • Leaked yesterweb document
  • Yeah actually writing Wordpress themes was easier than I thought. But I wrote them for the old editor, not Gutenberg – I opted for ClassicPress instead which was quite a banger in the effort-to-outcome equation

  • Is there a chance to exclude community RSS endpoints from the IP block?

    Hey sup:)

    Idk if it's Cloudflare or something, but the problem is I have an RSS reader hosted on my Hetzner server in Germany, and requests originating from its IP are blocked. Well not exactly blocked, but they return HTML titled "Just a second..." rather than just RSS.

    For example:

    GET https://programming.dev/feeds/c/python.xml?sort=Active <!DOCTYPE html> <html lang="en-US"> <head> <title>Just a moment...</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="robots" content="noindex,nofollow"> ...

    Obviously I totally understand if you wouldn't want to do that – I'm sure it's there for a reason, I was just hoping that this single endpoint could be an exception =]

    Thanks!

    1
    Pyright can check exhaustiveness of match statements on unions
  • I feel like Python is coming to its senses in the recent years, with releases focusing on typing constructs and the match statement. I think they're on the path to be a great statically typed language, don't you think?

  • Pyright can check exhaustiveness of match statements on unions

    Twitter user @DanyX23:

    TIL: pyright, the python type checking engine that is used by VS Code, has support for exhaustiveness checking for match statements with union types!

    If you add the following to your pyproject.toml, you'll get the attached warning

    [tool.pyright] reportMatchNotExhaustive = true

    11
    Why is Matrix mentioned more often than XMPP in self hosted forums?
  • How did you manage to convince friends and (especially) family to actually use Matrix? Quite impressive!

  • I love programming but I hate the programming industry
    www.deathbyabstraction.com I love programming but I hate the programming industry

    On being a faulty cog in a machine when the machine itself is faulty

    I don't entirely subscribe to the first paragraph – I've never worked at a place so dear to me that spurred me to spend time thinking about its architecture (beyond the usual rants). Other than that, spot on

    44
    Removed
    Bringing the cancer of the MODERN WEB (TM) to one of the last bastions of the old web (aka the real web!). How Kafkaesque.
  • Yeah idk what went into her in this video. It only seems to be half a joke, which is terrible. The rest of her content is amazing so I'm quite confused

  • Opinion on Pulumi vs cdk8s for provisioning Kubernetes?

    I can't seem to find any trace of comparison between these specific libraries. I'm planning on using Python for them. I just don't wanna write YAML.

    Pulumi seems more prone to the "single vendor is the new proprietary" theory, because they're an actual business and shit, so might do a bait and switch here Terraform-style. But that's the only difference I can spot besides obvious API differences.

    Does anyone have an opinion?:)

    2
    Community update, plus new rule: advertising is now banned
  • Your stance is great. I'm very glad you're taking the liberty to remove posts, moderated spaces who are strict about what kinda content is allowed are just more pleasant. Hackernews, lobste.rs and me_irl come to mind. Unsure why the poster in the picture reacted so dramatically lol

  • Themes so good they actually made me shed a tear

    https://protesilaos.com/emacs/ef-themes-pictures

    Theme in picture is ef-summer. I love these so much. They're a breath of fresh air among the other techy-cyber-hacker themes, yknow?

    1
    Emoji by Year
  • Can someone take a picture of what the last year's emoji look like? XD

  • We Aren’t Posting on Social Media as Much Anymore. Will We Ever?
  • Love it! I did feel uncomfortable with 2010s-Facebook-style excessive public sharing. Most of my friends, with me included, abuse the close friends Instagram feature and I'm all for it. I know a couple of people who deleted their old Facebook accounts because digital footprint was too frightening – particularly, the shit they posted during their teens in private Facebook groups that they have long left.

    All of this is obviously not related whatsoever to data harvesting; this fight is against individual stalkers rather than corporate ones. But it's a blessed one non the less; stalking shouldn't really be a thing.

  • Ariel Berstein is a former soldier for the IDF, he fought in Gaza in 2014. Today he advocates for peace.
  • Another thing that got lost in the translation is "fought on a cliff" – while he really said Tzuk Eitan, which is the 2014 Gaza war

  • Walmart, Costco and other companies rethink self-checkout, some stores removing them
  • Technological advancements have the unfortunately intended side effect of corporations having less people they gotta pay to, because machines are quite the competitor sometimes. While I think OP is being a bit pedantic here, efficiency in and of itself is not inherently good – the question should be who's extracting the profit. If the increased efficiency translates into less working hours... hell yeah. If it translates into record megacorp profits, then... I see no need in eliminating these unnecessary jobs for now – the worker gets their bread and that's what I care about

  • monitor
  • Let's go Ubuntu 00.00

  • Wake up hon, new hostage testimony just dropped
  • Hey:) So regarding the "unnatural humanity", that's mistranslated. Freely translating what she wrote would be "irregular humanity", but idiomatically it would be translated to "extraordinary humanity" or something.

    Other than that, the translation is accurate enough. The translator took the liberty to make it way more poetic, but the overall tone is the same.

    The only suspicious thing I encountered is the use of the word "generals":

    1. She wrote ג׳נרל (Jeneral, like how you pronounce it in English) while in Hebrew you'd say it with a hard G. That's close enough to how you say it in Arabic (Jiniral)
    2. Nobody uses that word in a non-derogatory way. They'd usually say קצין (officer)

    I wouldn't get too hung up on this letter though. It was a weird and uncanny read. I think there is other, more solid evidence that can enjoy that focus instead

  • What about some cute custom emoticons

    Yeah like a smiling computer or smth. Would be cool eh?

    0
    Any interesting blogs to follow?

    Tryna get back to RSS. I currently love reading tonsky.me but that's about it, and it's not uhhh devopsy. So I'm all ears for anything interesting that you all like!

    2
    Mozilla tells extension developers to get ready to finally go mobile
  • Wtf?? Thanks! Now I wonder what other features are hidden here

  • Join-Lemmy.org Redesign and Funding Drive
  • Lessgooooo these are great news! Thanks for all you've done. Also am I tripping or the person reading this comment haven't donated yet?

  • Your server owner is now banned from participating on lemmy's Github
  • I was referring to other commenters, mb should've been clearer about it

  • Your server owner is now banned from participating on lemmy's Github
  • Idk I think y'all are a bit too dramatic lol. Imho you're reading too much into a small aggression. This has nothing to do with the future of Lemmy or anything as grandiose as that

  • mao mao @lemmy.sdf.org

    May the melting pot grind my oriental charm into fine dust

    Posts 18
    Comments 20