this post was submitted on 16 Nov 2023
139 points (98.6% liked)

Very Real Tech Pics

1257 readers
1 users here now

There's no place like 127.0.0.1

founded 11 months ago
MODERATORS
 
all 15 comments
sorted by: hot top controversial new old
[–] treadful@lemmy.zip 42 points 10 months ago (1 children)
    } else if (hack == "planet") {

  }
[–] lostme@lemmy.world 15 points 10 months ago (1 children)

How to spot a TempleOS coder 101:

[–] DmMacniel@feddit.de 11 points 10 months ago

I mean it's pretty dope that you can embed assets directly into your HolyC code.

[–] settoloki@lemmy.one 23 points 10 months ago (3 children)

That code wouldn't work, the variable hack is never set.

[–] kautau@lemmy.world 7 points 10 months ago (2 children)

No, the variable code is set to a string of “hack”

The code will work, but will just run the course of the else path and replace all the HTML with bold text that says “Unknown Reso

And whatever else that cut off string contains

[–] settoloki@lemmy.one 1 points 10 months ago

You are right. I honestly stopped reading halfway through, just assumed they were all else if's

[–] emptiestplace@lemmy.ml -2 points 10 months ago (1 children)

right at the top, it is set to var code

[–] settoloki@lemmy.one 1 points 10 months ago (1 children)

var code is set to hack. Though the code would run didn't notice the lace condition is an else not an else if

[–] emptiestplace@lemmy.ml 1 points 10 months ago

I wasn't being serious. Lace condition sounds scandalous.

[–] radix@lemm.ee 6 points 10 months ago (1 children)

I love me some sans serif hacking.

[–] Hupf@feddit.de 4 points 10 months ago

Comic Sans hacking