home.social

#modules — Public Fediverse posts

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

  1. CW: rant (cmake)

    WTF, CMake still cannot be arsed to support import std; in C++‽

    Frankly, this is a complete joke and unacceptable for a modern build system! Like: “What would you say you are doing for a living?”-tiers level of unacceptable.

    They are
    actively holding back the evolution of C++ at this point!

    Anyways, does anyone have a recommendation for a build system that meets the most basic requirements ever:

    * Support for globs (So no, Meson is not a valid answer!), I do not consider having to manually edit the build-file each time I add a file acceptable.
    * Parallel build, strongly prefered by default!
    * Basic support of modules, in particular
    import std; has to just work!

    It is
    insane that I have to even ask this at this point. C++ modules have been a thing since C++20! This is not just a hald decade old superseeded standard. The version that superseeded it has been superseeded again since this week! (Okay, technically national bodies still have a vote, but the committee has voted it out as completed!)

    #cplusplus #modules #cmake

  2. CW: rant (cmake)

    WTF, CMake still cannot be arsed to support import std; in C++‽

    Frankly, this is a complete joke and unacceptable for a modern build system! Like: “What would you say you are doing for a living?”-tiers level of unacceptable.

    They are
    actively holding back the evolution of C++ at this point!

    Anyways, does anyone have a recommendation for a build system that meets the most basic requirements ever:

    * Support for globs (So no, Meson is not a valid answer!), I do not consider having to manually edit the build-file each time I add a file acceptable.
    * Parallel build, strongly prefered by default!
    * Basic support of modules, in particular
    import std; has to just work!

    It is
    insane that I have to even ask this at this point. C++ modules have been a thing since C++20! This is not just a hald decade old superseeded standard. The version that superseeded it has been superseeded again since this week! (Okay, technically national bodies still have a vote, but the committee has voted it out as completed!)

    #cplusplus #modules #cmake

  3. CW: rant (cmake)

    WTF, CMake still cannot be arsed to support import std; in C++‽

    Frankly, this is a complete joke and unacceptable for a modern build system! Like: “What would you say you are doing for a living?”-tiers level of unacceptable.

    They are
    actively holding back the evolution of C++ at this point!

    Anyways, does anyone have a recommendation for a build system that meets the most basic requirements ever:

    * Support for globs (So no, Meson is not a valid answer!), I do not consider having to manually edit the build-file each time I add a file acceptable.
    * Parallel build, strongly prefered by default!
    * Basic support of modules, in particular
    import std; has to just work!

    It is
    insane that I have to even ask this at this point. C++ modules have been a thing since C++20! This is not just a hald decade old superseeded standard. The version that superseeded it has been superseeded again since this week! (Okay, technically national bodies still have a vote, but the committee has voted it out as completed!)

    #cplusplus #modules #cmake

  4. CW: rant (cmake)

    WTF, CMake still cannot be arsed to support import std; in C++‽

    Frankly, this is a complete joke and unacceptable for a modern build system! Like: “What would you say you are doing for a living?”-tiers level of unacceptable.

    They are
    actively holding back the evolution of C++ at this point!

    Anyways, does anyone have a recommendation for a build system that meets the most basic requirements ever:

    * Support for globs (So no, Meson is not a valid answer!), I do not consider having to manually edit the build-file each time I add a file acceptable.
    * Parallel build, strongly prefered by default!
    * Basic support of modules, in particular
    import std; has to just work!

    It is
    insane that I have to even ask this at this point. C++ modules have been a thing since C++20! This is not just a hald decade old superseeded standard. The version that superseeded it has been superseeded again since this week! (Okay, technically national bodies still have a vote, but the committee has voted it out as completed!)

    #cplusplus #modules #cmake

  5. CW: rant (cmake)

    WTF, CMake still cannot be arsed to support import std; in C++‽

    Frankly, this is a complete joke and unacceptable for a modern build system! Like: “What would you say you are doing for a living?”-tiers level of unacceptable.

    They are
    actively holding back the evolution of C++ at this point!

    Anyways, does anyone have a recommendation for a build system that meets the most basic requirements ever:

    * Support for globs (So no, Meson is not a valid answer!), I do not consider having to manually edit the build-file each time I add a file acceptable.
    * Parallel build, strongly prefered by default!
    * Basic support of modules, in particular
    import std; has to just work!

    It is
    insane that I have to even ask this at this point. C++ modules have been a thing since C++20! This is not just a hald decade old superseeded standard. The version that superseeded it has been superseeded again since this week! (Okay, technically national bodies still have a vote, but the committee has voted it out as completed!)

    #cplusplus #modules #cmake

  6. Kernel programming lore

    Orientating myself in the kernel lore

    I haven't looked at the linux kernel source in too long a time. I just grabbed a section that was on top and started reading and learning

    Source code is nice to read IMHO

    lore.kernel.org/linux-input/20

    #kernel #lore #Linux #programming #OpenSource #POSIX #technology #modules #configure #make #asm #assembler #test #install

  7. Orbiter photos show lunar modules from first 2 moon landings more than 50 years later

    misryoum.com/us/science/orbite

    Recent photos taken by India’s Space Research Organization moon orbiter, known as Chandrayaan 2, clearly show the Apollo 11 and Apollo 12 landing sites more than 50 years later. The photos were taken by the Chandrayaan 2 orbiter in April 2021...

    #Orbiter #photos #show #lunar #modules #from #first #moon #landings #more #than #years #later #US_News_Hub #misryoum_com

  8. i want to unfsck drupal and get some blocks going, i want to use composer to install semantic mw and some other associated extensions - will get timeshift going first here - composer adds a layer of complexity - the main smw plugin and db update may be ok but then the various plugins can lag - do the best you can with versioning and compat paradox #plugins #modules #extensions #json #yaml #rez

  9. Here at Silicognition, we LOVE Sparkfun's Qwiic ecosystem! So of course, the ManT1S integrates a Qwiic #connector that allows you to make useful #systems just by plugging together some #modules! Sparkfun's website has 100+ modules available! sparkfun.com/qwiic
    #maker #electronics #diy #networking #embedded

    Please subscribe to ManT1S @ crowdsupply.com/silicognition/

  10. #Decentralized #Module #Federation #Microfrontend #Architecture

    I'm working on a #webapp and I'm being #creative on the #approach. It might be considered #overcomplicated (because it is), but I'm just trying something out. It's entirely possible this approach won't work #longterm. I see it as there is #onewaytofindout. I don't recommend this approach. Just sharing what I'm trying/#investigating.

    How it will be #architected: [positive-intentions.com/blog/d
    Some #benefits of the #approach: [positive-intentions.com/blog/s

    I find that #modulefederation and #microfrontends to generally be #discouraged when I see posts, but I think it works for me in my #approach. I'm #optimistic about the approach and the #benefits and so I wanted to #share details.

    When I serve the #federatedmodules, I can also host the #storybook statics so I think this could be a good way to #document the modules in #isolation.

    #Cryptography modules - cryptography.positive-intentio

    #P2P framework - p2p.positive-intentions.com/?p

    This way, I can create #microfrontends that consume these #modules. I can then #share the #functionality between #apps. The following apps are using a different codebase from each other (there is a #distinction between these apps in #opensource and #closesource). Sharing those #dependencies could help make it easier to roll out #updates to #coremechanics.

    #P2P chat - [chat.positive-intentions.com/]
    #P2P file transfer - [file.positive-intentions.com/]

    The #functionality also works when I create an #Android build with #Tauri. This could also lead to it being easier to create #newapps that could use the #modules created.

    I'm sure there will be some distinct #test/#maintenance #overhead, but depending on how it's #architected I think it could work and make it easier to #improve on the current #implementation.

    Everything about the #project is far from finished. It could be seen as this is a #complicated way to do what #npm does, but I think this #approach allows for greater #flexibility by being able to #separate #opensource and #closesource code for the #web. (Of course as #javascript, it will always be "source code available". Especially in the age of #AI, I'm sure it's possible to #reverseengineer it like never before.)

    (mastodon might not be the place for something like this, so let me know if you dont like this kind of content. i typically post on reddit and would like to shift it more towards mastodon. i also use lemmy, but mastodon has a better reach.)

  11. Want to know why #CommonJS was a mistake?
    One phrase. Conditional #module #exports.

    if (condition) {
    module.exports = foo
    } else {
    module.exports = bar
    }

    #javaScript #nodejs #cjs #js #webDev #esm #modules

  12. Is it wrong if I'm kind of enjoying the drama about #ljharb?
    Burn tc39 down! Make the web anew!
    The only standard is death comes to everything!

    #webDev #javaScript #tc39 #nodejs #esm #esmodules #commonjs #cjs #modules

  13. A couple of useful tools for the #NodeJS¹ folks out there working on longer-term projects:

    • npm-check-updates (ncu) is a tool that will help you keep your dependencies updated: npmjs.com/package/npm-check-up

    knip.dev/explanations/comparis (successor to unimported, now that’s deprecated) will help you find unused files and dependencies.

    ¹ Kitten (codeberg.org/kitten/app) uses Node.js as its runtime.

    #NodeJS #ncu #npmCheckUpdates #knip #unimported #packageManagement #npm #node #modules #nodeModules

  14. A couple of useful tools for the #NodeJS¹ folks out there working on longer-term projects:

    • npm-check-updates (ncu) is a tool that will help you keep your dependencies updated: npmjs.com/package/npm-check-up

    knip.dev/explanations/comparis (successor to unimported, now that’s deprecated) will help you find unused files and dependencies.

    ¹ Kitten (codeberg.org/kitten/app) uses Node.js as its runtime.

    #NodeJS #ncu #npmCheckUpdates #knip #unimported #packageManagement #npm #node #modules #nodeModules

  15. A couple of useful tools for the #NodeJS¹ folks out there working on longer-term projects:

    • npm-check-updates (ncu) is a tool that will help you keep your dependencies updated: npmjs.com/package/npm-check-up

    knip.dev/explanations/comparis (successor to unimported, now that’s deprecated) will help you find unused files and dependencies.

    ¹ Kitten (codeberg.org/kitten/app) uses Node.js as its runtime.

    #NodeJS #ncu #npmCheckUpdates #knip #unimported #packageManagement #npm #node #modules #nodeModules

  16. A couple of useful tools for the #NodeJS¹ folks out there working on longer-term projects:

    • npm-check-updates (ncu) is a tool that will help you keep your dependencies updated: npmjs.com/package/npm-check-up

    knip.dev/explanations/comparis (successor to unimported, now that’s deprecated) will help you find unused files and dependencies.

    ¹ Kitten (codeberg.org/kitten/app) uses Node.js as its runtime.

    #NodeJS #ncu #npmCheckUpdates #knip #unimported #packageManagement #npm #node #modules #nodeModules

  17. A couple of useful tools for the #NodeJS¹ folks out there working on longer-term projects:

    • npm-check-updates (ncu) is a tool that will help you keep your dependencies updated: npmjs.com/package/npm-check-up

    knip.dev/explanations/comparis (successor to unimported, now that’s deprecated) will help you find unused files and dependencies.

    ¹ Kitten (codeberg.org/kitten/app) uses Node.js as its runtime.

    #NodeJS #ncu #npmCheckUpdates #knip #unimported #packageManagement #npm #node #modules #nodeModules

  18. 500 Lasers Are Not Necessarily Better Than One, but They Look Great - If playing with but a single laser pointer is fun, then playing with 500 laser pointers must be 50... more: hackaday.com/2020/07/13/500-la #laserhacks #converging #focalpoint #modules #pointer #mirror #optics #array #laser #lens #led