Skip Navigation

帖子
1
评论
65
加入于
2 yr. ago

He/him | 🏳️‍🌈💻🕹 | Free Software ❤️

Just a random nerd, mostly computers and games.

Spanish/English bilingual.

  • Just call post=$(sed -e 's/ai/cocaine/g' <<< "$post") in a loop

  • I started with Puppy Linux because I wanted to try Linux, and my 350MHz Celeron with 160MB of RAM and 4GB of disk space (of which I had around 1GB free) wasn't enough to run neither any flavor of the major distros, nor any remotely recent version of Windows that wasn't XP stripped down to the bare minimum, and even that ran like shit. This was around 2008.

    After being able to afford a more recent machine (3GHz Intel something Dual Core, with 4GB of RAM and 500GB HDD), I switched to vanilla Ubuntu, with its Unity DE, then Xfce4.

    I've been using the LUbuntu flavor (LXDE) since it is more lightweight than the alternatives. Don't really care about bells and whistles now, just a functional and fast desktop.

    My most recent laptop is dead now, tho, and I don't see myself getting anything soon :(

  • I use febr a rch btw

  • I've said it before, but Ctrl+Insert, Shift+Delete, and Shift+Insert for Copy, Cut, and Paste respectively, are underrated keyboard combinations

  • Thanks bro

    跳过
  • Thanks bro

  • Thanks bro

    跳过
  • I should get Henry Cavill in me

  • Offtopic, but... Another ANeko user :D

  • Supposotory*

  • Derp, I misread.

  • Kinda.

    Lua defines it implicitly only when you use the

     lua
        
    function foo:bar(a, b, c) -- note the colon
    
      

    syntactic sugar, which gets translated to

     lua
        
    function foo.bar(self, a, b, c) -- note the period
    
      

    In all cases, self is a regular variable name. You can even redeclare a new local with that name even when the old one is in scope.

    Edit: some typos

  • Dis no saur*

  •  lua
        
    if debug.getinfo(1).what == "main" then
      -- ...
    end
    
      

    Not that you'll ever use it. No, seriously.

    Edit: actually, they are not quite equivalent. This code just checks whether we are outside any function, not necessarily in the main file (i.e. not in a module). I don't think there's an equivalent to Python's __name__ in stock Lua.

  • Luanti (formerly Minetest) and LÖVE. Oh, and TIC-80

  • Forgive me lord, for I have sinned.

    The great flood (me not charging my laptop and leaving it in a humid place for 1.5 years) got rid of that (and everything with it), tho

  • Relevant:

  • Horror

    跳过
  • My first Linux distro was Puppy Linux, on a computer with no internet. I downloaded it on an internet cafe to replace Windows XP Fenix Edition.

    My PC was too weak to run any flavor of the major distros, and I wanted to give it a go.

    Best computer-related decision of my life to ditch Windows and use Linux as my daily driver.

  • I'm also having problems with Metrolist (YT Music) with songs not already in cache. It just stays there until I skip the song.

  •  
        
    fprintf(stdout, "%c", '\012');
    
      
  • s/year/week/