If you don't want to depend on the name of the original file, replace the #embed line with
```
#embed __FILE__
```
Latest posts tagged with #Embed on Bluesky
If you don't want to depend on the name of the original file, replace the #embed line with
```
#embed __FILE__
```
Thanks to the #c23 #embed macro, I may have written the world's shortest #quine.
```c
#include<stdio.h>
int main(){puts((char[]){
#embed"q.c"
,0});}
```
(I doubt that I'm the first to do this)
We just need to politely ignore the extra `\n` injected by `puts`. Otherwise, replace `puts` with `printf`.
A quine is a computer program that takes no input and produces a copy of its own source code as its only output.
It’s essentially a "self-replicating" piece of code—a fun, brain-teasing exercise in logic and syntax where the program "speaks" itself into existence
Quine using C23 and #embed
@fasterthanlime ICYMI, if you can require a modern enough compiler, you can use #embed https://thephd.dev/finally-embed-in-c23
Whoa I had no idea you could embed files into arrays with GCC using #pragma and #embed directives. I can directly embed the programs own current source code into the program when it compiles. This makes my bin2cpp program on GitHub redundant and obsolete.
初心者には役に立つ情報その11
1:お題箱などのお題として手描きやスケッチやペイントで描いたイラストはBlueskyにおける投稿やTwitterにおけるツイートのコメントとして投稿する事が出来る。
2:WikiWikiの記事はEmbedを要いてPixivのイラストURLを添付するとピクシブ百科事典の代わりとして利用出来る。
#初心者には役に立つ情報
#お題箱
#お題
#手描き
#スケッチ
#ペイント
#イラスト
#Bluesky
#投稿
#Twitter
#ツイート
#コメント
#WikiWiki
#記事
#Embed
#Pixiv
#URL
#添付
#ピクシブ百科事典
#利用
Was looking into more automated embed with C23 #embed macro.
Found a solution that compiles
And that's just the bare surface of C++ std committee politics. They routinely nitpick to waste time of others, and vote against others' papers to shift limited resource to their one.
See how hard it was to push #embed through for this guy:
thephd.dev/finally-embe...
ภาษา C++ คืออะไร
อ่านต่อ : www.blockdit.com/posts/697d98...
#ShoperGamer #Study
#C++ #Cpp #Programing #Embed #Hardware #Knowledge #Feed
ภาษา C คืออะไร
อ่านต่อ : www.blockdit.com/posts/697c52...
#ShoperGamer #C #Programing #Hardware #Embed #Study #Knowledge #Feed
📣 New Podcast! "Make America boof Again or A Boofer born Every Minute" on @Spreaker #a #ads #again #america #audio #boof #boofer #born #chapters #delete #embed #episode #every #file #info #make #minute #options #or #replace
beautiful_fast_maps_without_limits_lob47.jpg
Google Maps Embed API Secrets: Beautiful, Fast Maps Without Hitting Usage Limits
Read More - www.bestfreewebsitetools.com/google-maps-embed-api-se...
#embed #api #google #maps #usage #limits
I stood my ground against several vendors when they wanted Undefined Behavior in #embed if it didn't get used inside of an array initializer to prevent more UB from showing up during preprocessing.
初心者には役に立つ情報その5
『WikiWiki』や『ピクシブ百科事典』や『Wikipedia』の記事に『Embed』の埋め込み画像や『YouTube』や『ニコニコ動画』の動画や「下線の文字」や「アイコン付きの文字」や「色違いの文字」があり、これらをカーソルに合わせてパソコンのマウスでクリックすると、すぐに動画を再生したり、他の記事やウェブサイトにアクセスしたり出来る。
#初心者には役に立つ情報
#WikiWiki
#ピクシブ百科事典
#Wikipedia
#埋め込み
#Embed
#画像
#YouTube
#ニコニコ動画
#動画
#パソコン
#マウス
#再生
#ウェブサイト
#アクセス
i'm sure you know of the racist david tolnay who ensured we would never ever have any good metaprogramming in rust after the rustconf 2023 keynote that wasn't soasis.org/posts/a-mirr... this is who shipped #embed in C. he left us because our language is more hostile to Black excellence than C
What Should Embeddings Embed? Autoregressive Models Represent Latent Generating Distributions
Liyi Zhang, Michael Y. Li, R. Thomas McCoy et al.
Action editor: Francisco Ruiz
https://openreview.net/forum?id=YyMACp98Kz
#embeddings #embed #memorization
How To Embed Google Maps Location in WordPress Blocks Editor in 2026? 🗺 www.youtube.com/watch?v=UJDN... 🎬📌 #Embed #GoogleMaps #Location #WordPress #Tutorial
How to embed Slides Presentations on the Web?
📗📘 A step by step guide by @peggyk.bsky.social for OnEBoard's podcast. 🧵 This tutorial's slides are free to download on our News, linked here.
#Presentation #HowTo #Embed #Web
How to embed a presentation step by step guide news.oneboard.network/2025/11/tech...
#TechTopic #Podcast #3Tips10Min #GoogleSlides #Embed #Web
How to Add or Embed TripAdvisor Reviews to WordPress Website For FREE? ⭐️ www.youtube.com/watch?v=OYrE... 🎬🔌 #Embed #TripAdvisor #Reviews #WordPress #Guide
Embedded Software development is Software development in C23 where the #embed directive is used. This is just one of many fields of software development discovered by @thephd.dev
📣 New Podcast! "Darkest Hour - John Alite: Former Mafia Enforcer for John Gotti and the Gambino Crime Family Episode Info Embed Ads Options" on @Spreaker #ads #alite #and #crime #darkest #embed #enforcer #episode #family #for #former #gambino #gotti #hour #info #john #mafia #the
#Embed real-time video conference on your website and mobile apps with iotum’s video conference API.
buff.ly/S9QoGIF
#videochat #video #embedvideo #embedded #embeddedvideo #softwaredevelopment #API #SDK #interactive #watchparty
Does #embed __FILE__ work, so you can rename the file at will?
// quine.c (requires a C23-compliant compiler) // cc -std=c23 quine.c #include <unistd.h> const unsigned char me[] = { #embed "quine.c" }; int main(void) { write(1, me, sizeof(me)); }
Hey @thephd.dev was the real motivation behind #embed to make quines easier in C? 😆
Secure #Embed #PowerBI #report and #share it with users. learn about it and how different it is from other methods of sharing #Architecture #MicrosoftFabric
Watch full video here: youtu.be/lQpBi4vDF6k
#DataAnalytics #Analytics #BusinessIntelligence