metalang99
Windows11DragAndDropToTaskbarFix
Our great sponsors
metalang99 | Windows11DragAndDropToTaskbarFix | |
---|---|---|
42 | 58 | |
765 | 1,423 | |
- | - | |
3.7 | 4.2 | |
19 days ago | about 2 months ago | |
C | C++ | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
metalang99
-
How to convert an enum to string in C++
There are also other approaches. Macro variants making use of `__VA_ARGS__` would be probably the best trade-off. If you want a slightly more ergonomic syntax, something like Metalang99 [1] will help (and the author even wrote a post about this exact subject [2]). Codegen is another option which may work better than other options depending on the situation and exact implementation strategy. And there is always the Reflection TS [3], which may or may not be incorporated to C++26...
[1] https://github.com/Hirrolot/metalang99
[2] https://hirrolot.github.io/posts/pretty-printable-enumeratio...
[3] https://en.cppreference.com/w/cpp/experimental/reflect
-
Few lesser known tricks, quirks and features of C
I went down the rabbit hole with C99 metaprogramming after reading through the list. For reference: https://metalang99.readthedocs.io/en/latest/, https://github.com/Hirrolot/metalang99
-
Boost:Unordered_flat_map
Honestly I have to disagree. There is nothing particularly special about what Super Template Tetris(STT) is doing.
At its core, template metaprogramming is just functional programming at compile time. STT is just a template and a runtime function which do the following:
1, take an input via compile time flag (the `-D DIRECTION`)
2. take a type input from an included header file containing the current state (`#include "current_game.h"`)
3. via functional programming, compute the results of a single step of the game.
4. specialise a single function using the results of step 3. this function prints the computed result to the screen and the computed game state to a file (`./current_game.h`).
5. gcc/clang exits. compilation is complete.
6. call the compiled binary.
7. the binary runs the specialised function and prints the outputs.
Sure it's fucky and you shouldn't do that in production but what sane individual is writing a piece of code that at runtime (after compiling) seeks out one of its own source files and modifies that file?
To prevent this from being possible you'd have to remove runtime file IO from the language. The other potential solutions wouldn't work:
1. Remove templates entirely: Still would be possible using https://github.com/Hirrolot/metalang99 which solely uses the preprocessor. Given that the pre-processor is literally just term substitution(a glorified copy/paste engine), if you removed that as well, you'd have to accept no form of metaprogramming at all.
2. Remove the ability to #include other files: Could still be done by doing everything inline. `#include` is just copy-paste anyways so it's more an abstraction than anything else to the compiler and preprocessor, it's basically the same as if all the code was pasted into the same file.
That leaves you with removing file IO. Without IO a programming language is basically useless, particularly as a systems programming language.
- What does the ??!??! operator do in C?
- Metalang99: Full-blown preprocessor metaprogramming for C/C++
-
Learning HTML was too hard so I made a compiler instead
P.S. I wrote Metalang99 BTW.
-
How did you choose the name for your programming language?
Metalang99, a metalanguage for C99. Simple :)
-
Rust is hard, or: The misery of mainstream programming
Just wait until you see some other things by the same author, like https://github.com/Hirrolot/metalang99
-
Conditional preprocessor macro, anyone?
I did get a few great responses there as well, though. One was a link to this impressive piece of work: https://github.com/Hirrolot/metalang99/blob/master/examples/lambda_calculus.c
-
What are the minimal changes required to turn C into a functional programming language?
Some preprocessor nonsense: https://github.com/Hirrolot/metalang99/blob/master/examples/lambda_calculus.c
Windows11DragAndDropToTaskbarFix
- Is there any chance the "drag a file to taskbar" fix could be backported to the 21H2 build?
- The dummies thing that Microsoft has ever done is removing the drag and drop feature from windows. like why?
-
Upgrading to Win11 was my mistake
Here's the Github for it.
- Mercredi Tech - 2022-09-21
-
Why is There Still No Drag & Drop Feature for the Task Bar?
I don't know, but yeah, he's right, they could have done it easily. I posted it in another response in the thread but https://github.com/HerMajestyDrMona/Windows11DragAndDropToTaskbarFix has existed for ages now and it's a completely seamless fix save for a minor visual issue. If MS wanted to, they could have just baked in this fix with an update months ago. They hide behind the rewrite, but plain and simple a seamless 3rd party fix has been around for ages, MS could have done it in a week tops if they wanted to, likely an afternoon or, once again, just use the fix directly and bake it into the next update. There is no non-intentional reason for it still not being implemented.
- Windows 11 taskbar drag and drop
- Caffè Italia * 06/06/22
-
Windows 11 may not be as popular as Microsoft had hoped
There is a fix for that: https://github.com/HerMajestyDrMona/Windows11DragAndDropToTaskbarFix
-
Taskbar shortcut, quicklaunch etc...
You'll need 3rd party help. Drag & Drop, (free) https://github.com/HerMajestyDrMona/Windows11DragAndDropToTaskbarFix, Windows says they're bringing it back in a future feature update, until then there's this fix.
-
Windows 11 -Tweaks/Tips tricks/ programs / performance settings -New Computer
If you use and need the Drag & Drop feature, then you'll need this, Drag & Drop, (free) https://github.com/HerMajestyDrMona/Windows11DragAndDropToTaskbarFix. Windows says it's coming back in a future update.
What are some alternatives?
monkeytype - The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
ExplorerPatcher - This project aims to enhance the working environment on Windows
porth
RetroBar - Classic Windows 95, 98, Me, 2000, XP, Vista taskbar for modern versions of Windows
map-macro - A recursive C preprocessor macro which performs an operation on each element of a list
Frontpage - Dynamic ToS;DR CMS, used in our frontpage
libexpat - :herb: Fast streaming XML parser written in C99 with >90% test coverage; moved from SourceForge to GitHub
5d-diplomacy-with-multiverse-time-travel - 5D Diplomacy With Multiverse Time Travel
RoundedTB - Add margins, rounded corners and segments to your taskbars!
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee - eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
SmsSender - Free sms sender