• 0 Posts
  • 37 Comments
Joined 3 years ago
cake
Cake day: September 16th, 2023

help-circle

  • Exactly! Making a DSL and using it like a programming language introduces necessities that will not be considered as throughly if they where added to a “real” language.

    I once wanted a DSL for a calendar program I was making (so the user could define complex events and stuff). So I made a simple programming language that could be embedded in the program, kinda like how lua is commonly used.


  • owsei@programming.devtomemes@lemmy.worldOnly me?
    link
    fedilink
    arrow-up
    8
    ·
    3 months ago

    Vim has several modes. INSERT mode let’s you write text, NORMAL mode let’s you navigate (with h,j,k,l and others) and perform operations on the text with your keyboard, like “dw” to Delete Word or “A” to enter insert mode at the end of the line.

    You can use arrow keys to navigate in insert mode. However I just press escape, which changes to normal, navigate to where I want to, then change to insert mode.

    I may seem like this makes simple navigation complex, and it kinda does. But complex navigation becomes easier.

    Vi (and vim and neovim)'s primary concern is viewing and editing code, writing is secondary (although it’s still an excellent experience)













  • Well actually it was my fingers with his feet! We were playing a card game and my friend wanted to give me a card under the table. We where at opposite sides of the table, so I tried finding his hand down there and found a vaguely arm-like coarse-skinned thing and tried to grab the underside and slide towards my self to find the hand. Except it wasn’t my friend’s arm, in fact it wasn’t my friend at all! It was his boyfriend’s leg, realizing this and being a devilish creature I turned my hand and tried to grab his toes.




  • youraislopbores.me screenshot; transcription below.

    Transcription

    Explain why a coconut is a mammal.

    coconuts have fur and a soft white inside flesh, the fur is similar to hair that humans and other mammals have. Mammals are filled with sweet clear liquid just like a coconut is. Coconuts also evolved from beavers, that is why they have brown rough fur and stay close to trees. If you eat the flesh of the coconut you will see that it has the same taste as human flesh, thus further cementing its place as the top mammal in all of nature. Next time you are somewhere tropical ask a local if they have tried “one of small furry mammals, you know a coconut…i crave its flesh and juice”


  • owsei@programming.devtomemes@lemmy.worldOne man
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    For me I rarely actively try to visualize what’s going on. Perhaps you haven’t found something that really sparks your interest in reading, I’ve only started reading a couple of years back.

    Although, of course, I may be completely wrong and visualizing is a big part of reading that I simply haven’t realized


  • Everyone here’s talking about how their anesthesia takes 3 seconds to take effect. I’ve have surgery today and took a long ass time in comparison. I remember the anesthesiologist telling me, for the 4th or 5th time, “Breath in through you nose, breath out through your mouth.” Then saying “Yeah you are already doing that.” I think they where getting preoccupied about it.

    Apparently that’s normal in my family, when my mother was getting local anesthesia to give birth to me, she was supposed to not even be able to move her legs. When a nurse was checking up on the anesthesia and asked her to try and rise a leg, she raised both of them really high and the nurse just went “oh fuck”.