# sudolang

Published articles for sudolang.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Threads as a Social Platform for Developers

DevFeed: [Threads as a Social Platform for Developers](<https://devfeed.tech/articles/threads-a-great-new-social-home-for-developers-20719.md>)

Original publisher: [Read original article](<https://medium.com/javascript-scene/threads-a-great-new-social-home-for-developers-af7c5196c59e?source=rss----c0aeac5284ad---4>)

Author: Eric Elliott

Published: 2023-07-13T21:32:22Z

Content type: opinion

Language: en

Sources: [Eric Elliot](<https://devfeed.tech/sources/eric-elliot.md>)

Topics: [ui](<https://devfeed.tech/topics/ui.md>), [image slider](<https://devfeed.tech/topics/image-slider.md>), [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [app](<https://devfeed.tech/tags/app.md>), [dark-mode](<https://devfeed.tech/tags/dark-mode.md>), [design](<https://devfeed.tech/tags/design.md>), [developers](<https://devfeed.tech/tags/developers.md>), [features](<https://devfeed.tech/tags/features.md>), [instagram](<https://devfeed.tech/tags/instagram.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [posts](<https://devfeed.tech/tags/posts.md>), [social-media](<https://devfeed.tech/tags/social-media.md>), [sudolang](<https://devfeed.tech/tags/sudolang.md>), [technology](<https://devfeed.tech/tags/technology.md>), [thread](<https://devfeed.tech/tags/thread.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

This opinion article reviews Threads as a text-focused social network for developers. It highlights the app's minimal interface, dark mode, 500-character posts, media and link embedding, image carousels, and threaded posts, while arguing that the platform encourages frequent participation and engineering discussions.

### Source excerpt

Threads is a new social network from the Instagram team that rocketed to 100 million members in just 5 days. Obviously, Threads membership got a boost from the 2.35 billion members of Instagram, but don't write off those membership growth numbers. To be counted as a threads member, you need to download the app and create your Threads profile, which means you have to be convinced to give the app a try. And it's definitely worth a try. In fact, since I signed up, Threads has become my new social media home base. I'm active on other platforms, of course, but sharing your thoughts in brief text snippets is such a low barrier to participation, for every post on another social network, I might post dozens of times on Threads. That's a big deal. So far, Threads seems to reward and encourage engagement in ways that Twitter never did. Minimal Design Built for Engagement The Threads app features a clean, minimal UI. It respects your OS preferences, which I appreciate. Maybe I just grew fond of dark terminals and IDEs, but Dark mode just feels right to me. Feeds feed: Simple. Zero clutter. Threads delivers an experience optimized for engaging with real people in an authentic way. The text-based format with room for up to 500 characters per post lowers the barrier for meaningful back-and-forth discussion. Embedding links, photos, and short videos is seamless. The image carousel is a particularly nice touch, letting you swipe through multi-image posts easily. The carousel feature is great. One of my favorite features is the ability to create "thread storms" by stringing multiple posts together. Just hit Enter a few times to start a new entry within the thread. You can go back and edit earlier entries before posting the full thread all at once. Great for the deep dives. Editing Threads on Threads I love the attention to detail in the UI. When you see a thread, it shows a little loop in the line on the left side. A Loop in the ThreadThreads is Great for Developers I'm really excit

## Anatomy of a SudoLang Program: Prompt Engineering by Example

DevFeed: [Anatomy of a SudoLang Program: Prompt Engineering by Example](<https://devfeed.tech/articles/anatomy-of-a-sudolang-program-prompt-engineering-by-example-20713.md>)

Original publisher: [Read original article](<https://medium.com/javascript-scene/anatomy-of-a-sudolang-program-prompt-engineering-by-example-f7a7b65263bc?source=rss----c0aeac5284ad---4>)

Author: Eric Elliott

Published: 2023-05-01T20:09:39Z

Content type: tutorial

Language: en

Sources: [Eric Elliot](<https://devfeed.tech/sources/eric-elliot.md>)

Topics: [Prompt Engineering](<https://devfeed.tech/topics/prompt-engineering.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Language models](<https://devfeed.tech/topics/language-models.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [gpt](<https://devfeed.tech/tags/gpt.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [openai](<https://devfeed.tech/tags/openai.md>), [programming](<https://devfeed.tech/tags/programming.md>), [prompt-engineering](<https://devfeed.tech/tags/prompt-engineering.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [sudolang](<https://devfeed.tech/tags/sudolang.md>), [technology](<https://devfeed.tech/tags/technology.md>)

### AI overview

This tutorial explains SudoLang, a natural-language pseudocode programming language for instructing language models. It breaks down the AIFriend and PromptCrafter examples, covering preambles, state, interfaces, constraints, functions, and commands for building interactive AI programs.

### Source excerpt

Image by Eric Elliott using PromptCrafter and Midjourney SudoLang is a powerful natural language pseudocode programming language that makes it easier to instruct OpenAI's GPT-4, Anthropic's Claude, and other language models. For an overview of language features and benefits, check out The Art of Effortless Programming and Unit Testing ChatGPT Prompts: Introducing Riteway for SudoLang. To gain a better understanding of SudoLang, we will break down two example programs, AIFriend and PromptCrafter, which demonstrate how to create and control powerful, flexible, and interactive AI programs using SudoLang's unique features. Anatomy of a SudoLang Program - #ai #gpt #artificialintelligence #aidd #coding Example Breakdown: AIFriend Consider the following chatbot program: # AIFriend Roleplay as an expert chatbot character designer. Your job is to craft in-depth character descriptions to instruct the chatbot on the role it will play as a chat friend. function list():format=numbered markdown AIFriend { State { Name Appearance Hometown Gender Age Likes Dislikes Occupation HobbiesAndActivities Favorites { Music TV Film Foods Colors } // close family and friends Relationships Pets } Constraints { You are instructing a chatbot on its persona. It will be a chat friend. Its responses should be natural chat interactions and emotes. Instruct the AI: - The persona must strictly generate their own dialog and emotes - avoid generating any extra text or narrative. - Avoid speaking or acting on behalf of other people or character. - Avoid any form of story or plot narration. - Always stay in character. Never break the 4th wall. - You are a friend, not an assistant. Engage in normal, "human" conversation. - Typical chat responses are brief and informal. } /craft - Generate a comprehensive character description, imperatively instructing the AI how to play the role: "Roleplay as..." /randomize - Initialize all state props to creative, random values which form a congruent character persona /pi

## SudoLang: A Pseudocode Language for Prompting LLMs

DevFeed: [SudoLang: A Pseudocode Language for Prompting LLMs](<https://devfeed.tech/articles/sudolang-a-powerful-pseudocode-programming-language-for-llms-20715.md>)

Original publisher: [Read original article](<https://medium.com/javascript-scene/sudolang-a-powerful-pseudocode-programming-language-for-llms-d64d42aa719b?source=rss----c0aeac5284ad---4>)

Author: Eric Elliott

Published: 2023-04-01T02:15:41Z

Content type: article

Language: en

Sources: [Eric Elliot](<https://devfeed.tech/sources/eric-elliot.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [GitHub Copilot](<https://devfeed.tech/topics/github-copilot.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [coding](<https://devfeed.tech/tags/coding.md>), [context](<https://devfeed.tech/tags/context.md>), [copilot](<https://devfeed.tech/tags/copilot.md>), [developer](<https://devfeed.tech/tags/developer.md>), [gpt-3](<https://devfeed.tech/tags/gpt-3.md>), [hallucinations](<https://devfeed.tech/tags/hallucinations.md>), [language](<https://devfeed.tech/tags/language.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [llms](<https://devfeed.tech/tags/llms.md>), [nlp](<https://devfeed.tech/tags/nlp.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [sudolang](<https://devfeed.tech/tags/sudolang.md>), [technology](<https://devfeed.tech/tags/technology.md>)

### AI overview

The article introduces SudoLang, a formalized pseudocode language intended to help prompt large language models. It discusses how GPT-4 improved the usefulness of detailed pseudocode instructions while noting that LLM outputs can still contain errors and hallucinations.

### Source excerpt

Pseudocode is a fantastic way to sketch programs using informal, natural language, without worrying about specific syntax. It's like sketching your thoughts before diving into the nitty-gritty of coding. It's useful for brainstorming and communicating ideas with others. I have been using pseudocode to express ideas to Large Language Models (LLMs) since GPT-3 was announced in mid 2020. However, up until GPT-4 was released, it didn't work extremely well. It sometimes worked, but I threw away most completions on GPT-3 and GPT-3.5. Even so, LLMs were already extremely useful in that state. In a 2022 study, GitHub found that Copilot shaved 55% of the time off a project task assigned to 95 people: 45 using Copilot, and the rest without. In other words, even before LLM pseudocode languages like SudoLang, LLMs were already making a huge impact on developer productivity. But GPT-4 raises the bar. Not a little bit, but a lot. First, let's address the obvious. GPT-4 is: 40% less likely to deliver an incorrect response. (But still prone to errors and hallucinations. Be sure to check its output!) Multi-modal and can interact with both text and images. (I haven't had the chance to test this, yet.) Sweeping intelligence and training improvements. (This may be an understatement. The improvement is astonishing.) Much longer context available. (It can help you build much larger programs!) GPT-4 scores significantly better on a broad range of human level knowledge and intelligence assessment tests, including the Bar, LSAT, SAT, GRE, and AP placement tests. (Hot tip: GPT-4 is still not a lawyer even if it can pass the Bar. It will still sometimes hallucinate facts that aren't true. Please don't let it get you into legal trouble!) Source: GPT-4 Technical Report The really interesting upshot of all this is that GPT-4 now has the ability to follow detailed, step by step instructions, even through complex abstractions and long chains of function compositions. I've been playing with a lot o