Live data from Hacker News

Show HN: Semantic Macros Text Editor

samtxt.samrawal.com

11–20 of 22 posts

Re: Show HN: Semantic Macros Text Editor

#13

If you’re wondering what “semantic macros” means, it’s just llm bullshit. Not worth looking at.

i mean, it is pretty much what I expected it to mean. It's a macro for semantic instructions. I didn't really see any LLM "bullshit", just a way to macro using an LLM...

Did you expect this to be something different?

Re: Show HN: Semantic Macros Text Editor

#14

If you’re wondering what “semantic macros” means, it’s just llm bullshit. Not worth looking at.

i mean, it is pretty much what I expected it to mean. It's a macro for semantic instructions. I didn't really see any LLM "bullshit", just a way to macro using an LLM... Did you expect this to be something different?

Not the original commenter but I expected a semantic macro to be something that expands on syntax-aware macros (in languages like Scheme or Rust) into doing things based on the semantics of the code. Not sure exactly what that would entail but I was intrigued. Instead it turned out to be just quick buttons for sending something to an LLM. Between Github's Copilot, ChatGPT and LLM plugins for Obsidian those needs have already been covered for a long time.

Re: Show HN: Semantic Macros Text Editor

#16
post #6

button "pornify" with prompt "rephrase this text as if it were in a 1970s erotic pulp novel" turned: You can define your own "macros" - instructions for an LLM (like "summarize this text", "fix the grammar") and add them as buttons for easy access. You can also make one-time commands. Then, highlight the text you want to send to the LLM, and click the button! into: In the tantalizing world of seductive prose and forb…

I had to try that out and the output was better than I could ever expect. "Select the coy text you desire to ensnare" and "tantalizing beck-and-call instrucitons for a large language model that purrs with delight" had me in tears In the dimly lit confines of your mahogany-laden study, nestled between relics of an age gone by, there exists a silky tome of technological desire known as sam.txt, an alluring plaintext ed…

[deleted]

Re: Show HN: Semantic Macros Text Editor

#17
Cool! I'm working on a note-taking app with a similar (but not identical) feature based on Excel-type formulas - except, semantic formulas, not mathematical. Chaining AI formulas together (combined with non-AI stuff like "get the contents of this web page / find my notes that mention X") can be really powerful.

Re: Show HN: Semantic Macros Text Editor

#19
For fun I tried "Formalizing" the original Ecclesiastes verse that Orwell uses in Politics and the English Language, where he translates it into modern English.

The original text is: "I returned and saw under the sun, that the race is not to the swift, nor the battle to the strong, neither yet bread to the wise, nor yet riches to men of understanding, nor yet favour to men of skill; but time and chance happeneth to them all."

Orwell's parody is: "Objective considerations of contemporary phenomena compel the conclusion that success or failure in competitive activities exhibits no tendency to be commensurate with innate capacity, but that a considerable element of the unpredictable must invariably be taken into account."

Formalize turns out: "Upon reflection, it becomes apparent that success—whether in the form of victory in a race, strength in battle, provision for the wise, wealth for men of understanding, or favor for those with skill—is not guaranteed solely based on one's abilities. Rather, time and chance play a significant role in these matters for all individuals."

Re: Show HN: Semantic Macros Text Editor

#20
post #17

Cool! I'm working on a note-taking app with a similar (but not identical) feature based on Excel-type formulas - except, semantic formulas, not mathematical. Chaining AI formulas together (combined with non-AI stuff like "get the contents of this web page / find my notes that mention X") can be really powerful.

This sounds very interesting, any more details you can reveal would be appreciated!
Post reply on HN