home.social

#pseudocode — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pseudocode, aggregated by home.social.

  1. This is a tasteful, compact pseudocode style, though I'd omit the end-of-line semicolons and use single-line style comments, personally.

    From "Revisiting Out-of-SSA Translation for Correctness, Code Quality, and Efficiency", Boissinot et al 2009.

    #Projects #Compilers #Algorithms #Pseudocode

  2. #ITByte: #Pseudocode is a fantastic way to sketch programs using informal, natural language, without worrying about specific syntax.

    #SudoLang is one such #Pseudolanguage designed for interacting with #LLMs.

    knowledgezone.co.in/posts/Sudo

  3. #DailyBloggingChallenge (351/365)

    Now that the #PseudoCode exists, it shall be converted into #Hugo syntax as described in 349. As in the image, some #GoLang functions are used like printf and other Hugo functions to loop over the variables that are saved as an array type.

  4. #ITByte: #Pseudocode is a fantastic way to sketch programs using informal, natural language, without worrying about specific syntax.

    #SudoLang is one such #Pseudolanguage designed for interacting with #LLMs.

    knowledgezone.co.in/posts/Sudo

  5. 1/🧵 We all work in different ways, but I find a lot of benefit when starting a new #rstats project or pipeline is to not dive straight into coding, even if the topic is familiar. Taking a moment to pause, ponder, and jot down a heap of comments (yes, usually riddled with spelling mistakes) and pseudo code in a dev.R script file can be invaluable.
    #programming #pseudocode

  6. Viele angehende Fachinformatiker*innen tun sich bei der Beschreibung von #Algorithmen mit #Pseudocode viel schwerer, als beim Programmieren.Das liegt sicher zum Teil an der recht sperrigen Art "deutsches Pseudopascal", die sich in den IHK-Beispiellösungen findet. In diesem Artikel habe ich versucht, gängige Pseudocode-Notationen mal gegenüberzustellen: oer-informatik.de/pseudocode #informatikEdu

  7. Since "The Year of 🐧GNU/Linux on the Desktop" has surprisingly been postponed once more:

    I want "xfce4-display-settings -m" to show up on *every* connected display when I press Meta+P, not just on my (closed) notebook in its dock 😡

    The #pseudocode is easy:

    for each display in connect_displays
    $process = start "xfce4-display-settings -m"
    move $process.window to $display.center

    I have the 🔧 bits 'n' 🧩 pieces
    #bash #xdotool #wmctrl #xrandr #gdk #xfce4 #python ready.

    but still: welp 🥺

  8. #ITByte: #Pseudocode is a fantastic way to sketch programs using informal, natural language, without worrying about specific syntax.

    #SudoLang is one such #Pseudolanguage designed for interacting with #LLMs.

    knowledgezone.co.in/posts/644a

  9. @hankg @codefolio Now you've got me wondering whether there are any 100+ year old math papers containing #pseudocode. Surely descriptions of #algorithms have been around for more than a century.
  10. Howdy, my friends! 🤝 May you all have a great and healthy Friday. 🍀

    I have implemented a new process for practice-oriented learning. Taking the assignments of the course first to and then into a . Then it in , and . Tedious, but it sticks.

    An example is in the screenshots. Take care and happy , folks!

  11. search bot for (Part 4 of 4):

    Open each link that includes "bandcamp.com/track/" and apply this algorithm on the individual tracks

    % usually individual track have
    %format artist-name.bandcamp.com/track/track-name
    %and such link are only present
    %on the individual album
    %pages and usually not
    %anywhere else

    n = n + 1
    end

  12. search bot for (Part 3 of 4) :

    Else if string
    "Please refer to individual track pages for license info"
    is present on the album page

    %this phrase appears when
    %album is composed of track
    %of various licenses
    %in such case no links to
    %creative commons license are
    %present

  13. search bot for (Part 2 of 4) :

    While n <= max

    Open n-th link

    If links "creativecommons.org/licenses/b" OR "creativecommons.org/licenses/b" OR "creativecommons.org/licenses/b" are present on the album page

    write into database: "artist name; album name; tags; corresponding license; link to the album"

  14. search bot for (Part 1 of 4) :

    Enter page which you wish to scan: bandcamp.com/tag/jpop?tab=all_

    Search for links including "bandcamp.com/album/"

    %album pages have usually format
    %ArtistName.bandcamp.com/album/AlbumName

    max = 1000
    %Set maximum number of
    %albums you whish to check

    n = 1

  15. There is loads of on the , sadly it is not index.

    Could a simple crawler robot solve it?
    (see the in the following toots)

    Wouldn't bandcamp block such a bot? Their robots.txt page does not seem really welcoming and has something about only allowing bots to browse the root tag pages. bandcamp.com/robots.txt

  16. Can anyone recommend some good free online resources to learn #pseudocode for a complete #coding beginner? (please no books, I am dyslexic)

    Thanks in advance.

  17. Since "The Year of 🐧GNU/Linux on the Desktop" has surprisingly been postponed once more:

    I want "xfce4-display-settings -m" to show up on *every* connected display when I press Meta+P, not just on my (closed) notebook in its dock 😡

    The #pseudocode is easy:

    for each display in connect_displays
    $process = start "xfce4-display-settings -m"
    move $process.window to $display.center

    I have the 🔧 bits 'n' 🧩 pieces
    #bash #xdotool #wmctrl #xrandr #gdk #xfce4 #python ready.

    but still: welp 🥺