@joe AI-built C compiler:
#embed "/proc/self/exe"
@pervognsen @joe FS that runs commands encoded in the path. char main[] = { #embed "tcc ..."}; :D
Did you know that standard C23 comes with a built-in coding agent?
```
const char main[] = {
#embed “/dev/random”
};
```
Mastodon embed timeline has topped the 3000 views in Codepen. Thank you all, and feel free to share and give it a try:
https://codepen.io/ipuntoj/full/MWppNGL
Source code:
https://gitlab.com/idotj/mastodon-embed-timeline
📢 New: You can now embed @telegram widgets into your LnkBio page.
Show off your channel, grow your group, or let fans join your chat in one tap.
No app switching. Just instant connection.
Try it now → https://lnk.bio/linkin/embed-telegram-widgets-on-your-lnkbio-page
lol C++26 will add C23's #embed, maybe people will start using it then
Trying to recap the status of #Cpp26 so far.
What's in (top picks):
- Execution library (async).
- Contracts [*].
- Erroneous Behavior (replaces Undefined Behavior for uninitialized values).
- Hardened library (out-of-bounds assertions).
- #embed.
- Linear algebra, SIMD, hive and RCU.
Not yet:
- Reflection.
Unlikely:
- Profiles.
- Pattern matching.
- Networking.
Definitely not:
- Safe C++.
[*] Bjarne has publicly said he wants to roll contracts back.
Haja's caves update
v0.2 release: You can eat some food, and will die quickly ;o)
First version of my new "all embeded game" Haja's caves is available.
This is v0.1 and it is clearly not finished, but you can already test it !
You can play via a browser here https://pa.mytipy.net/caves.html or download the HTML file on your phone (activate javascript) !
using #embed to include a 250MB file, having clangd absolutely choke itself trying to parse the file (it has now been running for 5 minutes), but still thanking @thephd and their stellar work on this
(i would use std::embed but there’s so many more sticks up the c++ standards committee asses, it’s kind of ridiculous)
Упрощение прототипирования и верификации RTL с помощью Python
Всем привет! Хочу поделиться своим опытом использования Python на этапах прототипирования RTL-модулей и последующей верификации. Как RTL-инженер, я часто создаю модели на Python для быстрой проверки логики и алгоритмов будущего RTL. Это подход уменьшает вероятность последующих правок в логике RTL в случае если алгоритм не подходит. Однако при переходе к тестированию на SystemVerilog всегда возникала проблема с переиспользованием написанной Python модели устройства: нужно было писать обвязку на C и использовать DPI-C интерфейсы, чтобы интегрировать Python-код модели в верификационную среду. Это занимало время и было неудобно. Недавно я открыл для себя библиотеку PyStim (Bind Python & SystemVerilog), которая кардинально упростила процесс. PyStim позволяет напрямую вызывать Python-методы и работать с Python-объектами из среды SystemVerilog без необходимости писать обвязку на C или использовать DPI-C . Это значительно снизило трудозатраты и ускорило адаптацию уже готового Python-кода в тестбенче.
https://habr.com/ru/articles/911674/
#python #systemverilog #bind #prototyping #hdl #connect #integrate #embed
How To Embed Vimeo Videos on Your WordPress Website? 🖇🎬 https://www.youtube.com/watch?v=d9-ch0o6GzM 💡 #Embed #Vimeo #Videos #WordPress #Guide
How to Embed Threads Posts in WordPress? https://www.youtube.com/watch?v=gkPoRVk3ivE 🎬💡🧷 #WordPress #Threads #Posts #Embed
it's so nice that #embed is in C now. no autogenerating header files with arrays in perl
Trying to use it like that example gives the following errors:
../tests/test_container_client/client.c:13:35: error: expected parameter name
13 | #embed "create_image_request.json", '\0'
| ^
../tests/test_container_client/client.c:12:12: error: zero or negative size array ‘CREATE_IMAGE_JSON’
12 | const char CREATE_IMAGE_JSON[] = {
| ^~~~~~~~~~~~~~~~~
Cool. The example for how to use #embed
doesn't compile: https://en.cppreference.com/w/c/preprocessor/embed
So how the heck are people meant to use it?
How To Embed Apple Podcasts in WordPress Using EmbedPress? https://www.youtube.com/watch?v=Rp4hg9CpH64 🎬🔌🎧 #EmbedPress #Apple #Podcasts #WordPress #Embed
How to Embed Apple Podcasts in WordPress? Tutorial https://www.youtube.com/watch?v=uhd8YOOapXs 💡🎬🎧 #Embed #Apple #Podcasts #WordPress #Guide
How To Embed Spotify Content in WordPress For Free Using EmbedPress Plugin? https://www.youtube.com/watch?v=MGdryQmND0s 🎬💡🔌 #Spotify #Embed #Content #WordPress #EmbedPress