Advertisement · 728 × 90

Posts by Björkus "No time_t to Die" Dorkus

A screenshot of of a "main.d" file, showing dependencies from a Lua file parsed at compile-time. The full file contents read:

main.exe: main.c++ zres\base.lua zres\main.lua

A screenshot of of a "main.d" file, showing dependencies from a Lua file parsed at compile-time. The full file contents read: main.exe: main.c++ zres\base.lua zres\main.lua

"This is going to destroy my build system"

Nope! It's able to determine everything that will be processed by Phase 7 at Phase 4, and presents all of that information through already-available means, meaning CMake/build2/meson/make/ninja/etc. can all understand the dependency chain here natively!

6 minutes ago 1 0 0 0
A screenshot of a piece of Lua code being processed at compile-time in C++. Notably, it's also able to pull in data from a "requires" clause...!

```cpp
int main() {
	constexpr auto original_file_span = std::embed<char>("zres/main.lua");
	constexpr auto original_file = comptime_make_array<original_file_span.size(), true>(original_file_span);
	constexpr big_buffer glob = recursive_parse("zres/main.lua");

	std::printf("original file (\"%s\"):\n\n%s", "zres/main.lua", original_file.data());
	std::printf("\n\n=================================================================================\n");
	std::printf("`consteval recursive_parse` result:\n\n%s", glob.data());

	return 0;
}
```

Output:
```sh
function main()
        return 1 + base.value;
end


=================================================================================
`consteval recursive_parse` result:

-- base.lua
base = {
        ["value"] = 30
}


function main()
        return 1 + base.value;
end
```

A screenshot of a piece of Lua code being processed at compile-time in C++. Notably, it's also able to pull in data from a "requires" clause...! ```cpp int main() { constexpr auto original_file_span = std::embed<char>("zres/main.lua"); constexpr auto original_file = comptime_make_array<original_file_span.size(), true>(original_file_span); constexpr big_buffer glob = recursive_parse("zres/main.lua"); std::printf("original file (\"%s\"):\n\n%s", "zres/main.lua", original_file.data()); std::printf("\n\n=================================================================================\n"); std::printf("`consteval recursive_parse` result:\n\n%s", glob.data()); return 0; } ``` Output: ```sh function main() return 1 + base.value; end ================================================================================= `consteval recursive_parse` result: -- base.lua base = { ["value"] = 30 } function main() return 1 + base.value; end ```

A r e y o u r e a d y t o h a v e s o m e 『 f u n 』 ?

:3

10 minutes ago 6 0 1 0
bumper sticker reads:

No worries, we're all accepted in Hell.
HELL, MICHIGAN

bumper sticker reads: No worries, we're all accepted in Hell. HELL, MICHIGAN

can’t say i expected to see a hell, michigan pride bumper sticker in the jackson hole parking lot

11 hours ago 2406 336 10 5

oh

17 hours ago 1049 73 37 3
Ed Baldwin eating spaghetti with a lot of cheese

Ed Baldwin eating spaghetti with a lot of cheese

for every 20 likes, I will give Ed Baldwin more cheese on his spaghetti

14 hours ago 2878 288 30 37

The Democratic nominee in her own words saying that her boss was incapable of showing equal amounts of sympathy based on the race of the victims

12 hours ago 1221 299 31 1

It really cannot be overstated that COVID happened, suddenly a bunch of absentee tech dads were forced to stay home where they saw their kids playing Animal Crossing while talking on Discord, then collectively decided to light a trillion dollars on fire to make Snow Crash IRL.

22 hours ago 2733 511 15 12
Advertisement
12 hours ago 2858 512 16 5

doing a “husband’s run” (early morning grocery run for a missing breakfast item, because i get to wander the store and get whatever else i want) but committing the “husband’s folly” (forgetting the one item i was asked to get, eggs)

17 hours ago 2783 294 24 6
Two pictures of the pillsbury dough boy: once is on a purple background with the caption “he is risen! happy Easter!”, and the other is tan and brown, similar to a cracker, on a white background saying “he is not! Happy Passover!”

Two pictures of the pillsbury dough boy: once is on a purple background with the caption “he is risen! happy Easter!”, and the other is tan and brown, similar to a cracker, on a white background saying “he is not! Happy Passover!”

It’s time to post one of my favorite memes of the year.

17 hours ago 9105 2069 41 49

Sometimes readers are skeptical when I tell them that retailers would rather pay for self-checkout kiosks and product lockup systems and all manner of other questionable in-store tech rather than staffing because of an ideological preference for capital spending over labor spending and, well,,,

16 hours ago 3986 882 44 25

OMFG… I just heard Mission Control tell Artemis II literally, “Everything but email is go”

LOLSOBBING MY ASS OFF NOW

11 hours ago 37 6 1 1
Post image

speaking of nyt headlines, holy shit

2 days ago 1086 181 30 34

Worse, they're chill with each other but because of expectations they must now hate each other and fight for their love. Only inversion of this has been homoerotic love blooming and the guys go out but it's usually played as a comedy joke. Polyamory still never comes in.

2 days ago 7 0 0 0
Post image

images that spring to mind unbidden, part 296: "she was, at that very moment, somehow divorcing me" #rerun

9 months ago 155 31 2 3
Advertisement
tweet from @theseantcollins: JESUS CHRIST (ninth hour): Eloi, Eloi, lama sabachthani?

GOOFY (present at the crucifixion): Gawrsh

tweet from @theseantcollins: JESUS CHRIST (ninth hour): Eloi, Eloi, lama sabachthani? GOOFY (present at the crucifixion): Gawrsh

tweet from @david8hughes: Judas: still on for Friday?
Jesus: Friday?
Judas: yeah, the last supper
Jesus: the what?
Judas: supper. Normal supper with the fellas

tweet from @david8hughes: Judas: still on for Friday? Jesus: Friday? Judas: yeah, the last supper Jesus: the what? Judas: supper. Normal supper with the fellas

there are two absolutely canonical Good Friday posts

2 days ago 4835 1023 13 2
The photo is a screenshot of a tweet from an account called "Prep Propaganda." 

It reads: "Young right wing men in France during the 1980’s wore tassel loafers as an outwardly preppy aesthetical statement of conservative principles against their socialist government"

The tweet carries an attached photo, showing someone wearing white trousers, navy socks, and snuff colored tassel loafers. They are sitting in a leather chair that's on top of an old rug, telegraphing a kind of online "Old Money" aesthetic.

The photo is a screenshot of a tweet from an account called "Prep Propaganda." It reads: "Young right wing men in France during the 1980’s wore tassel loafers as an outwardly preppy aesthetical statement of conservative principles against their socialist government" The tweet carries an attached photo, showing someone wearing white trousers, navy socks, and snuff colored tassel loafers. They are sitting in a leather chair that's on top of an old rug, telegraphing a kind of online "Old Money" aesthetic.

the CIA posts stuff like this so you can feel like you're part of the ruling class by purchasing a pair of $150 loafers off eBay instead of asking for affordable housing, free healthcare, and better working conditions

3 days ago 5007 666 79 16

Liberal Currents has quietly become one of the few outlets taking male supremacy seriously, either as a foundation of Trumpist fascism or as a system of oppression in its own right.

3 days ago 1697 458 26 2
3 days ago 4958 944 0 11

"i have two Microsoft Outlooks, and neither one of those are working."

The Astronauts truly representing us all up there.

3 days ago 5957 1445 121 81
Post image

This is NOT what I signed up for

3 days ago 5710 868 31 46
Post image

Someone sent me this.

3 days ago 11860 2979 192 687
Advertisement
TRENDING: CHALLENGER TRAUMA

TRENDING: CHALLENGER TRAUMA

LMAO THERE COULD BE NO CLEARER INDICATOR THAT BLUESKY IS FOR OLD PEOPLE

Remember to take your blood pressure meds today, peepaws and meemaws

4 days ago 4636 563 10 0
Preview
BREAKING: Trump Administration Orders Dismantling of the U.S. Forest Service The headquarters is going to Utah. Every regional office is being shuttered. The research program is being destroyed.

the trump administration is selling this country wholesale to rapacious, extractive industries that will destroy our collective resources for private profit morethanjustparks.substack.com/p/breaking-t...

4 days ago 7409 3367 208 2

Seriously, did we swap to French? "We" who?!

4 days ago 2 0 0 0

I've been got 3 times today. It's not been fun. I try to shrug it off by saying "maybe I'm getting old" but, eh.

4 days ago 1 0 0 0
4 days ago 1423 211 2 3

When the birthright citizenship decision comes out, people will say it could never have gone any other way, that the law was obvious. But the mere fact that SCOTUS took on the case is evidence enough that we are living in a time of democratic precarity.

4 days ago 9473 1574 196 77

Fork also found in kitchen

4 days ago 2619 229 31 2

words i never want to see in the headlines ever: “Bimboification”

4 days ago 27 2 1 0
Advertisement