home.social

#pointers — Public Fediverse posts

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

  1. Oh, look! Another pretentious C programmer bemoaning the inevitability of undefined behavior like it's some sort of philosophical revelation. 🙄 We're all just helpless marionettes in the grand theater of programming, swirling in a vortex of #pointers and segfaults! 🤹‍♂️
    blog.habets.se/2026/05/Everyth #pretentiousCprogrammer #undefinedBehavior #programmingHumor #segfaults #HackerNews #ngated

  2. Oh, look! Another pretentious C programmer bemoaning the inevitability of undefined behavior like it's some sort of philosophical revelation. 🙄 We're all just helpless marionettes in the grand theater of programming, swirling in a vortex of #pointers and segfaults! 🤹‍♂️
    blog.habets.se/2026/05/Everyth #pretentiousCprogrammer #undefinedBehavior #programmingHumor #segfaults #HackerNews #ngated

  3. Oh, look! Another pretentious C programmer bemoaning the inevitability of undefined behavior like it's some sort of philosophical revelation. 🙄 We're all just helpless marionettes in the grand theater of programming, swirling in a vortex of #pointers and segfaults! 🤹‍♂️
    blog.habets.se/2026/05/Everyth #pretentiousCprogrammer #undefinedBehavior #programmingHumor #segfaults #HackerNews #ngated

  4. Oh, look! Another pretentious C programmer bemoaning the inevitability of undefined behavior like it's some sort of philosophical revelation. 🙄 We're all just helpless marionettes in the grand theater of programming, swirling in a vortex of #pointers and segfaults! 🤹‍♂️
    blog.habets.se/2026/05/Everyth #pretentiousCprogrammer #undefinedBehavior #programmingHumor #segfaults #HackerNews #ngated

  5. Oh, look! Another pretentious C programmer bemoaning the inevitability of undefined behavior like it's some sort of philosophical revelation. 🙄 We're all just helpless marionettes in the grand theater of programming, swirling in a vortex of #pointers and segfaults! 🤹‍♂️
    blog.habets.se/2026/05/Everyth #pretentiousCprogrammer #undefinedBehavior #programmingHumor #segfaults #HackerNews #ngated

  6. i have added ranged pointers to XLS (except for the boundary checking features, which i'll add later)

    ranged pointers are like pointers but they store an additional value, the range of a pointer. essentially this range value acts as the count of the number of elements in an array that a pointer interfaces to.

    even without boundary checking, storing this information is a very useful convenience.

    (visibility: #XLS #LLVM #ProgrammingLanguage #Pointers #RangedPointers)

  7. Go: передача значений VS передача указателей

    Go - один из немногих языков, в которых структуры можно передавать параметрами и возвращать из функций как по значению, так и по указателю. Это приводит к большей выразительности языка, но также разделяет общество разработчиков Go на два лагеря: сторонников указателей и сторонников значений. В данной статье предлагается во многом субъективное сравнение обоих способов и делается попытка убедить читателей передавать и возвращать значения в тех случаях, где это возможно.

    habr.com/ru/companies/it-guide

    #go #heap #pointers #указатели #code_style

  8. Scientists May Have Solved The Mystery Of How The Andes Got So Big
    --
    sciencealert.com/scientists-ma <-- shared article
    --
    doi.org/10.1016/j.epsl.2023.11 <-- shared paper
    --
    [although my postgrad was in geology and I am licensed in the field, it has been a number of years since I worked directly in a geologic discipline; that said, I very much like to try and keep up with ‘things geology’…]
    #GIS #spatial #mapping #geology #southamerica #data #modeling #model #mathematics #mathematicalmodeling #structuralgeology #andes #chile #peru #platetectonics #tectonics #tectonic #movement #mountain #mountainbuilding #remotesensing #geologists #orogeny #vulcanism #pointers #APM #RPM

  9. Discover the Unique World of PUNKX.org Card Games

    PUNKX.org is a hub for intellectually stimulating and entertaining card games, perfect for those who love programming, problem-solving, or just a good challenge.

    Read More: machaddr.substack.com/p/discov

    #Programming #Cards #Game #Pointers #Encode #Decode #Punkx #UNIX #Linux #OpenSource #Computer #Science

  10. Some years ago, I published this project on computing the #Mandelbrot set #fractal in the C #programming language using #pointers and POSIX #threads.

    This project is for the JavaScript- or Python-obsessed, high-flying #IT practitioners. The goal is to introduce to the scripting language aficionados the systems programming concepts, specifically programming in a parallel and hardware-proximate manner, with a focus on mathematical computations. There is a comprehensive README, and the code is also fully commented.

    github.com/amenzwa/mandelbrot

  11. Nice video for understanding in
    Well explained 👌.

  12. 👶✨ Ah, the age-old tale of coders valiantly managing #memory with their bare hands (because clearly, malloc and free are for wimps). This riveting yarn spins a tale of complex #syntax and pointers—wait, no pointers!—meant to impress the 3 people who actually understand it. 🧠🔧
    matklad.github.io/2025/08/16/r #coding #management #pointers #technology #HackerNews #ngated

  13. 🚀 Wow, a whole article to tell us that #Go has an assembler and a #garbage collector! 🎩 Apparently, combining them is as thrilling as watching paint dry, but fear not—our hero is here to walk us through the riveting dance of #pointers and write barriers. 📚✨ Who knew #assembly could be this exciting? Oh wait, nobody. 😴
    mazzo.li/posts/go-asm-pointers #Lang #Collection #Programming #HackerNews #ngated

  14. @rl_dane

    To react on subject

    I never abbreviate functions; I want to read them all so that when I read back the programming code in a month a year or 10 years it still makes sense to me without reading my remarks

    #Programming #abbreviations #functions #pointers

  15. 🎩🧐 Behold, the riveting #sequel to 'Memory Management'—as if the first wasn't thrilling enough! Brace yourself as our intrepid author attempts to make #C++ sound like it's not just C with a monocle. 🥱🔧 Spoiler: It's still about #pointers, and no one's impressed.
    educatedguesswork.org/posts/me #MemoryManagement #Programming #TechHumor #CodingLife #HackerNews #ngated

  16. TIL: C array subscript operators are handled in such a way that `letters[i]` is equivalent to `*(letters + i)` and because addition is commutative, that expression is identical to `*(i + letters)`, which means that `i[letters]` is the same as `letters[i]`.

    ```
    #include <stdio.h>
    #include <stddef.h>

    int main() {
    char letters[3] = "abc";
    size_t i = 2;
    printf("letters: %p\n", (void *)&letters);
    printf("i[letters] (%p): %c\n", (void*)&(i[letters]), i[letters]);
    printf("letters[i] (%p): %c\n", (void*)&(letters[i]), letters[i]);
    return 0;
    }
    ```

    Which outputs:
    ```
    letters: 0x7ffc68ec7bb9
    i[letters] (0x7ffc68ec7bbb): c
    letters[i] (0x7ffc68ec7bbb): c
    ```

    Mind blown... :neofox_floof_explode:
    #til #clang #pointers #programming

  17. STM32 Tutorial #38 - DEMYSTIFYING C Arrays and Strings
    Digging more into C pointers, arrays and strings.
    #stm32 #c #arrays #pointers #strings #stm32world
    youtube.com/watch?v=FaooNo83jNQ

  18. STM32 Tutorial #35 - DEMYSTIFYING C Pointers (and Variables)
    In this video we will be diving into C variables, pointers and function call parameters.
    #STM32 #Tutorial #Video #pointers #c #stm32world
    youtube.com/watch?v=Ip2J2jxZYaA

  19. I'm unraveling an Unreal Engine editor crash bug.

    When the crash happened, the editor got confused internally between 2 characters. One has a set of pointers that the other does not.

    When the game starts, and it's time to head to work, a vendor instead sprints to (0,0,0), and the log says one of those pointers is missing. It is not. It is missing in the other character because they are of 2 different base classes, and it doesn't have those pointers. That character with the "missing" pointer was once spawned in the game, but not as a vendor. What they have in common is the same skeletal meshes and animation blueprints.

    Somewhere, somehow, it thinks both skeletal meshes use the vendor base class. Uh... no.

    I saw the confusion when I was deleting the location markers. It showed both characters were using the location marker that it can't find when the game is running. Uh... no again.

    About to delete the character it's confused about. Not the vendor. Yet. I may delete both of them and start over. If this breaks it all, well, thank goodness for backups.

    #GameDev #UE5 #RPG #pointers

  20. Three Libraries for the Python-kings under the ML sky,
    Seven for the C++-lords in their halls of hackerone,
    Nine for Mortal Frontenders doomed to DROP BY,
    One libc on his dark throne;
    In the Land of Pointers where the void * lie.
    One Library to rule them all, one Library to find them,
    One Library to bring them all, and in the pointer arithmetics bind them;
    In the Land of Pointers where the void * lie.

    #programming #memes #pointers

  21. Dive into the world of pointers in C programming! Learn how to manage memory, use pointer arithmetic, and implement dynamic allocation. Boost your coding skills and write more efficient C programs. #CProgramming #Pointers

    teguhteja.id/pointers-in-c-pro

  22. Dive into the world of pointers in C programming! Discover how to harness memory addresses, declare pointers, and use dereferencing for powerful code. Elevate your skills with practical examples and exercises. #CProgramming #Pointers

    teguhteja.id/pointers-in-c-pro

  23. no matter how many docs I read, no matter how many stackoverflow/reddit/whatever posts I read, no matter how many videos I watch to try to understand the concept,

    i just cannot fucking grasp the usage of pointers in golang.

    i 100% understand what they are (memory addresses) and the benefits of using them (use address where data is instead of copying or passing around all the actual data). but none of that knowledge helps me develop a "muscle memory" for the ways * and & are used when reviewing pull requests or existing code.

    I have no prior experience with pointers in any other language, so comparisons to C aren't helpful.

    anyone else ever struggle really fucking hard with pointers in golang, no matter how much you "academically" understand what they are? any resources or exercises that might help it "click" for me?

    #pointers #golang #programming

  24. Had a great time visiting @will_ngiam and the Awh / Vogel lab in Chicago this week, discussing about #chunking and #pointers in #workingmemory. #chunking is such a well known effect in cognitive psychology, but it's underlying mechanisms are still puzzling...

    Thanks to @will_ngiam for making it possible, it's a very impressive lab with very nice people!

  25. I'm still designing my language.

    Why not just introduce RegExps into pointers?

    int *a; /* nonnull pointer to single int */
    int *?a; /* can-be-null pointer to single int */
    int +a; /* nonnull pointer to array begining */
    int +?a;

    Isn't using the nonnull __attribute__ a bit long?

    Now yes, I don't see the point of + and +?, but there is the 'array of unspecified length' syntax:
    int *argv[];
    so why not?

  26. @rl_dane

    To react on subject

    I never abbreviate functions; I want to read them all so that when I read back the programming code in a month a year or 10 years it still makes sense to me without reading my remarks

    #Programming #abbreviations #functions #pointers

  27. Go: передача значений VS передача указателей

    Go - один из немногих языков, в которых структуры можно передавать параметрами и возвращать из функций как по значению, так и по указателю. Это приводит к большей выразительности языка, но также разделяет общество разработчиков Go на два лагеря: сторонников указателей и сторонников значений. В данной статье предлагается во многом субъективное сравнение обоих способов и делается попытка убедить читателей передавать и возвращать значения в тех случаях, где это возможно.

    habr.com/ru/companies/it-guide

    #go #heap #pointers #указатели #code_style

  28. Scientists May Have Solved The Mystery Of How The Andes Got So Big
    --
    sciencealert.com/scientists-ma <-- shared article
    --
    doi.org/10.1016/j.epsl.2023.11 <-- shared paper
    --
    [although my postgrad was in geology and I am licensed in the field, it has been a number of years since I worked directly in a geologic discipline; that said, I very much like to try and keep up with ‘things geology’…]
    #GIS #spatial #mapping #geology #southamerica #data #modeling #model #mathematics #mathematicalmodeling #structuralgeology #andes #chile #peru #platetectonics #tectonics #tectonic #movement #mountain #mountainbuilding #remotesensing #geologists #orogeny #vulcanism #pointers #APM #RPM

  29. i have added ranged pointers to XLS (except for the boundary checking features, which i'll add later)

    ranged pointers are like pointers but they store an additional value, the range of a pointer. essentially this range value acts as the count of the number of elements in an array that a pointer interfaces to.

    even without boundary checking, storing this information is a very useful convenience.

    (visibility: #XLS #LLVM #ProgrammingLanguage #Pointers #RangedPointers)