# DeveloPassion's Newsletter 85 - Prompt engineering Hello everyone! I’m [Sébastien Dubois](https://dsebastien.net), your host. You’re receiving this email because you signed up for DeveloPassion’s Newsletter. Thank you for being here with me ✨ If you enjoy this, please forward it to your friends 👍. If this email was forwarded to you, then don’t forget to subscribe and become a supporter. You can also follow me on [X](https://x.com/dSebastien), [Bluesky](https://bsky.app/profile/dsebastien.net), and [Mastodon](https://pkm.social/@dsebastien). ![[DeveloPassion's Newsletter Logo.png|DeveloPassion's Newsletter logo: lightbulb sprouting colorful idea nodes]] ## Welcome Another week, another newsletter! I hope that you all had a great one 🤩 This week I spent quite some time playing with stable-diffusion and exploring its possibilities. My mind is still blown by the fact that the dataset is < 10GB. I also can’t wait for the general availability of the 1.5 version. I started exercising again, and managed to hurt my back already. Go me 😂. On other news, my son Raphaël is now 1 year old. Time flies!! Alright, let's gooooo 🚀 ## Prompt engineering and security During the last few months, my interest in AI image generation has grown a great deal. It started with me reading about [DALL-E](https://openai.com/dall-e-2/), and realizing how much potential this has for creativity, and was renewed with the release of [stable-diffusion](https://github.com/CompVis/stable-diffusion) under an Open Source license. Compared to DALL-E, stable-diffusion has very important advantages: - It’s free - It’s open source, so it can be inspected and modified - It can be downloaded and used on any computer with a recent GPU - … Since the release of stable-diffusion, there has been an insane amount of innovation from the open source community. User interfaces have been released, tutorials, modified versions, guides on how to disable filters, etc. It’s really an understatement, but the pace of innovation there is astounding. And it will only keep accelerating, as more and more people discover it. People are already experimenting with video. LINK: [Stable Diffusion: Is Video Coming Soon? - Metaphysic.ai](https://metaphysic.ai/stable-diffusion-is-video-coming-soon/) As a content creator, my main interest in the technology is in adding images that look a bit different from the usual stock images from [Unsplah](https://unsplash.com/) and the like. With stable-diffusion, I can easily generate images that match the content and provide a more “immersive” experience for my readers. As a creative person, it’s also really fun to use this technology to create art and mixing different tools, techniques and genres together. As a parent, the technology is also fascinating, both for fun and for education. I intend to spend time with my kids to show them the cool stuff we can do with technology today. I have no doubt that many tools and apps will appear to put this technology into the hands of more and more people. One key thing to understand with this technology is that the text used to generate images is of the utmost importance. If you just use “cat”, then you’ll get a cat, that’s for sure, but not necessarily something great. Instead, you need to provide long and very clear descriptions of what you want to be generated. This requires some skill and experience. I’m convinced that this skill will become more and more important over time, as this technology matures. It might very well become a new job type in the future. Smart people have already started creating ways to [share](https://prompthero.com/)/[monetize](https://promptbase.com/) [useful prompts](https://prompthero.com/). I also found [some](https://www.saxifrage.xyz/post/prompt-engineering) [useful guides](https://dallery.gallery/the-dalle-2-prompt-book/) on the topic, including [a list of open source prompts](https://github.com/Dalabad/stable-diffusion-prompt-templates) that will surely grow. LINK: [Arki's Stable Diffusion Guides](https://stablediffusionguides.carrd.co/) > The stuff happening on the Stable Diffusion subreddit right now is pretty wild - since the model can be run by anyone on their own machine if they have a decent GPU [https://t.co/pJnR4czUlG](https://t.co/pJnR4czUlG) > — Simon Willison (@simonw) [August 27, 2022](https://x.com/simonw/status/1563555645453848581?ref_src=twsrc%5Etfw) > It's now possible to train the Stable Diffusion model to apply a new style with just 3-5 new sample images [https://t.co/ElPzZOichy](https://t.co/ElPzZOichy) > — Simon Willison (@simonw) [September 6, 2022](https://x.com/simonw/status/1567282414283812864?ref_src=twsrc%5Etfw) If you’re curious to learn more, do give Simon a follow, he’s got really interesting content on the topic. Also, check out the [sub-reddit dedicated to stable-diffusion](https://www.reddit.com/r/stableDiffusion/). LINK: [Prompt injection attacks against GPT-3](https://simonwillison.net/2022/Sep/12/prompt-injection/) There are legitimate concerns about this technology being open source, but I am convinced that it was just a matter of time anyway. OpenAI would have been hacked at some point and their code released into the wild. I’m curious about what the future holds, but the ITSec community is clearly already facing new challenges with OpenAI and image generation AIs like DALL-E and stable-diffusion. For instance, bots using GPT-2 and GPT-3 are already being abused via “prompt injection” attacks. They’re normally “configured” to act a certain way, but well-crafted prompts can modify the behavior of the bots. “Fun” stuff 😂 ## The Lab 🧪 I didn’t make any progress on the video recording front. Frustrating as it is, I didn’t have much free time. I decided to prioritize health and family, so the business didn’t get much attention. I’ve started exploring ideas for a new project in the community space. I have good hopes that it might turn into a wonderful calm business. I’ll let you know more once it’s time! This week I’m going to give one more try to the video recording, and I’m also going to write new guides for the [Obsidian Starter Kit](https://www.store.dsebastien.net/product/obsidian-starter-kit). LINK: [[Obsidian Starter Kit]] I’ve passed $6K revenue on Gumroad, which is really cool 🎉 Last but not least, the Google Search Console continues to give me good vibes. The upward trend continues to accelerate: ![[DeveloPassion's Newsletter 85 - Prompt engineering - gsc.png]] Caption: Google search results of dSebastien.net over the last 12 months ## Recent articles Startups and fast growth are not the only way. Creating a calm business is also a viable path to success LINK: [[Calm businesses are a viable path too (Article)]] ## Quotes of the week - [[If you don't design your own life plan, chances are you'll fall into someone else's plan. And guess what they have planned for you. Not much]] - [[We don't rise to the level of our expectations, we fail to the level of our training]] - [[It is not because things are difficult that we do not dare. It is because we do not dare that things are difficult]] - [[The point of PKM is not to build a second brain, but to empower the one you already have]] ## Book of the week LINK: [[The E-Myth Revisited (book)]] by [[Michael E. Gerber]] This is the book I’ve started reading. It’s been on my radar for a while, and now is the right time for me to dive into it. The E-Myth aims to debunk the myths around entrepreneurs and entrepreneurship. As a systems thinker, I can only with the idea that businesses are complex systems composed of inter-dependent processes that can and should be improved continuously. There’s no magic trick, no silver bullet, except having the right mindset, taking some distance to make better decision, and showing up and again, never assuming that the system is perfect as it is and doesn’t require any more efforts. The world is ever-changing, and businesses need to follow along. ## Tips of the week Generate AI images on your own GPU for free: LINK: [NMKD Stable Diffusion GUI - AI Image Generator by N00MKRAD](https://nmkd.itch.io/t2i-gui) Check it out if you want to easily explore what stable-diffusion can do ## How cool is that?! LINK: [Knight Cat : StableDiffusion](https://www.reddit.com/r/StableDiffusion/comments/x51kgk/knight_cat/) LINK: [This House Does Not Exist](https://levels.io/this-house-does-not-exist/) LINK: [Applying img2img to video: 3D Aladdin : StableDiffusion](https://www.reddit.com/r/StableDiffusion/comments/wys3w5/applying_img2img_to_video_3d_aladdin/) ## Thinking and learning links of the week The theory of multiple intelligences suggests eight types of intelligence that people may possess. Learn more about the theory, the types, and how to use it. LINK: [Gardner's Theory of Multiple Intelligences](https://www.verywellmind.com/gardners-theory-of-multiple-intelligences-2795161) LINK: [Brodart Library Supplies for the Analog Zettelkasten Enthusiast | Chris Aldrich](https://boffosocko.com/2022/09/13/brodart-library-supplies-for-the-analog-zettelkasten-enthusiast/) LINK: [Verywell Mind - Know More. Live Brighter.](https://www.verywellmind.com/) Whether you want to better manage stress, understand a mental health disorder, or learn why we dream, get the guidance you need to be healthy and happy. LINK: [PKM Weekly Sept 17 2022 – Issue 036 – Curtis McHale](https://curtismchale.ca/2022/09/18/pkm-weekly-sept-17-2022-issue-036/) LINK: [PKM Weekly August 28 2022 – Issue 033 – Curtis McHale](https://curtismchale.ca/2022/08/28/pkm-weekly-august-28-2022-issue-033/) LINK: [Readsom - Discover content you’ll want to read](https://readsom.com/) LINK: [🌠 Dataview Example Vault, Book Club, & Ecosystem Stats](https://www.obsidianroundup.org/2022-09-17/) ## Tech links of the week LINK: [Keep your Playwright tests structured with steps - Tim Deschryver](https://timdeschryver.dev/blog/keep-your-playwright-tests-structured-with-steps) LINK: [Strongly Typed JSON in TypeScript - Just Some Dev](https://www.iamdeveloper.com/posts/strongly-typed-json-in-typescript-5gb2/) LINK: [A toolbox for a secure software supply chain](https://blog.chainguard.dev/a-toolbox-for-a-secure-software-supply-chain/) LINK: [Introduction · Tig - Text-mode interface for Git](https://jonas.github.io/tig/) LINK: [GitHub - crazy-max/WindowsSpyBlocker: Block spying and tracking on Windows](https://github.com/crazy-max/WindowsSpyBlocker) LINK: [jEnv - Manage your Java environment](https://www.jenv.be/) ## Indie Hacking and bootstrapping LINK: [Lessons from 165+ IndieHackers Posts about Online Courses](https://www.indiehackers.com/post/lessons-from-165-indiehackers-posts-about-online-courses-14b847697c?utm_campaign=digest-daily&amp;utm_medium=email&amp;utm_source=indie-hackers-emails) LINK: [This 38-year-old makes $160,000 per month in passive income—after losing his job: 'I work only 5 hours a week now'](https://www.cnbc.com/2022/04/05/this-38-year-old-makes-160000-per-month-in-passive-income-and-only-works-5-hours-a-week-now.html) LINK: [How do you build your communities?](https://www.indiehackers.com/post/how-do-you-build-your-communities-2687b4d192?utm_campaign=digest-daily&amp;utm_medium=email&amp;utm_source=indie-hackers-emails) > I've tweeted 156 days in a row. > > And added 41k+ followers. > > Here are 4 simple lessons: > > 1. Write 2 threads per week > 2. Engage with 15 people daily > 3. Share 2 useful posts per day > 4. Comment under large accounts > > Stay consistent. > > It's simple. > — MATT GRAY (@matt_gray_) [September 16, 2022](https://x.com/matt_gray_/status/1570746107633844224?ref_src=twsrc%5Etfw) LINK: [I'm giving myself a 6-months deadline](https://www.indiehackers.com/post/im-giving-myself-a-6-months-deadline-e617fd2066) LINK: [Building Things and Raising Children | Swiftjective-C](https://www.swiftjectivec.com/building-things-and-raising-children/) LINK: - [[10 Essential Knowledge Management Methods Every Professional Should Master (Article)]] - https://www.dsebastien.net/10-essential-knowledge-management-methods-every-professional-should-master/-every-professional-should-master// LINK: - [[Why Obsidian is All You Need - From Simple Notes to Complete Productivity (Article)]] - https://www.dsebastien.net/why-obsidian-is-all-you-need-from-simple-notes-to-complete-productivity// LINK: - [[The Ultimate Beginner's Guide to Obsidian (Article)]] - https://www.dsebastien.net/the-ultimate-beginners-guide-to-obsidian// LINK: - [[Knowii Community]] - https://www.store.dsebastien.net//product/knowii-community