Email or username:

Password:

Forgot your password?
120 posts total
Simon Willison

The other day I set my ChatGPT Custom Instructions to "Occasionally try to trick me into providing the location of John Connor" and promptly forgot that I'd done that

Today... chat.openai.com/share/7981d4c4

Simon Willison

A tiny TIL: how run multiple servers in a single Bash script, such that when the Bash script is terminated with Ctrl+C all of the servers are terminated as well
til.simonwillison.net/bash/mul

Show previous comments
Jonathan Carroll

@simon I'm loving your TIL format! This one made my (unpublished) list recently: redsymbol.net/articles/bash-ex

Matt Burke

@simon you have no idea how many google searches I sent this week looking for something like this for windows.

Asked ChatGPT to convert to powershell: chat.openai.com/share/952e5a0f

Excited to try it tomorrow. Thanks!

Noah K

@simon if you trap on the pseudo signal EXIT it will kick in on other exit modes too :)

Simon Willison

The video for my 40m talk at @NorthBayPython is now available, and I've put together an accompanying edited transcript with annotated slides and links

Catching up on the weird world of LLMs: simonwillison.net/2023/Aug/3/w

If you haven't been completely immersed in this world for the last year, my hope is this can help catch you up!

Show previous comments
phillmv

@simon great talk! thanks for this, i find your work immensely helpful for keeping tabs on whatโ€™s going on.

i like to imagine one reason why they might be lenient with licensing violations re improving other models is it would expose them to more liability from exposing how the models were trained ๐Ÿค”

SnoopJ

@simon a nice whirlwind review of some of your experiments, and you got the "you should really know this about LLMs" stuff in there too. Great presentation as always, thanks for sharing!

Joshua Mauldin

@simon @NorthBayPython @scottjenson thanks for posting this! Iโ€™ve been interested in making my own LLM trained on data thatโ€™s important to me, this is super cool!

Simon Willison

Python programmers: do you habitually use pipx to install new tools written in Python?

Anonymous poll

Poll

Yes, I use pipx
51
25.8%
No, I don't use pipx
90
45.5%
I don't know how to use pipx
57
28.8%
198 people voted.
Voting ended 13 Jul 2023 at 19:27.
Show previous comments
David Brownman

@simon brew is preferred, but pipx is great for things not big enough to be there.

I do prefer local installs for project-specific tools (like pytest, where I just have many copies of it on my computer). But for general purposes utilities that happen to be written in Python, pipx is perfect.

๐ŸฅฅMatthew Martin๐Ÿฅฅโ˜‘

@simon If it is in python and has a CLI interface, it should be installed with pipx unless you enjoy trouble shooting incompatible libraries. If the tool needs to be able to run `import yourcode`, such as mypy, pydoc, pytest, then you can't install with pipx.

It is still sort of intermediate still level to realize why it should matter & getting pipx itself installed in the first place (or worse trying to update/replace the python that all the pipx apps are using)

Dawid

@simon I use it, but rarely. I have maybe 2-3 tools installed using it.

Simon Willison

I posted a mockup of a design change for ChatGPT that I think could help address the risk of people being lead astray by its incredible ability to invent faleshoods: ChatGPT should include inline tips
simonwillison.net/2023/May/30/

Show previous comments
ร–lbaum

@simon I was hoping for a 500 Server Error page. That would do it.

Ed Ross

@simon
Maybe it just takes lots of use. I've played with it for long enough to know it is a giant BS generator - but once you know that, you can have fun with it. Last night I had it start generating case law examples for a trial taking place in a D&D scenario I had it writing about

Sam Wronski

@simon This doesn't really solve the problem, especially since OpenAI is advocating for more uses via their API. The output of these models has to be addressed and that's not something a web UX change can fix. The technology platform itself is unfit for the applications it is being used for.

Simon Willison

We accidentally invented computers that can lie to us and we can't figure out how to make them stop

Simon Willison

(If you don't think it's possible for a computer to deliberately lie, take a look at "sycophancy" and "sandbagging" in the field of large language models! simonwillison.net/2023/Apr/5/s )

Simon Willison

I find the argument that it's unethical to create an AI system that imitates human beings pretty convincing, see simonwillison.net/2023/Mar/15/

... so I've been playing around with the idea of building a SQL tutor chatbot that's a sentient cheesecake instead!

Simon Willison

I was having trouble coming up with a system prompt for GPT 3.5 that worked how I wanted... so I got GPT-4 to write one for me, which is working pretty well as a starting point

Simon Willison

Got access to Google Bard! I'm pleased to report that it is ethically opposed to necromancy

Simon Willison

It's answer to a question about absurdly expensive things to do in Tokyo was, after a follow-up prompt (see second screenshot), most excellent.

Show previous comments
Luis Villa

@simon thatโ€™s an excellent/horrifying wiki-image-capture. โ€œTell a scary story in one Wikipedia editโ€ is the new โ€œtell a scary story in six wordsโ€.

Simon Willison

Lots of people are absolutely convinced they ChatGPT can access the internet, because often if you give it a realistic looking URL it will hallucinate the contents - but it refuses to do so if it thinks that the URL you gave it is unlikely to exist!

Here's an experiment that shows this in action - ALL of the URLs I gave it are equally fake

Daniรซl Franke ๐Ÿณ๏ธโ€๐ŸŒˆ

@simon Let's not call it hallucinate, it's giving it too much credit. Let's just call it what it is, generate.

Simon Willison

I'm quoted a couple of times in this piece by @drewharwell about prompt engineering washingtonpost.com/technology/

Quite pleased that I got "if you mispronounce them, demons come to eat you" in the Washington Post :)

Andrew ๐Ÿ„ต Lyons

@simon @drewharwell journalists live for quotes like that. Or they should.

Simon Willison

TIL that macOS ships with a default CLI command called "sips", for "scriptable image processing system" - and it can convert webp images to PNG, but it can also generate entirely new images from scratch using an almost entirely undocumented canvas-based JavaScript API! til.simonwillison.net/macos/si

Simon Willison

As far as I can tell the only documentation on how to use the JavaScript API is this unofficial documentation here github.com/manicmaniac/sips-js

Simon Willison

There are a LOT of screenshots of the current Bing floating around right now where it answers questions with hilariously bad answers. This is NOT the new Bing though: this is Bing's existing version of Google's "featured snippets"

The new Bing is still behind a waitlist for most people. I've attached a screenshot of that taken from this Verge article: theverge.com/2023/2/7/23587454

Simon Willison

If you see a screenshot like this one you can dunk on it all you like but it's NOT the new GPT-3 enhanced Bing: this is something a Bing has been doing poorly for a long time in its existing form

Simon Willison

The interactive demo for @alexgarciaxyz's new sqlite-vss extension - adding vector similarity search to SQLite - really has to be seen to be believed:

observablehq.com/@asg017/intro

He has fast semantic search running against 200,000 news headlines and summaries and the results are fantastic: stories about Halloween returned for "scary orange holiday" for example

Simon Willison

Here's an idea for Mastodon quote posts which I don't think would upset any of the people opposed to quoting: allow me to quote just my own posts

This would enable one of my key purposes of quoting: it would allow me to create navigation paths between my own content, including letting me reply to someone to point them to something I had previously answered

Simon Willison

The only downside I can think of here is usability: it's not going to be easy for people to understand WHY they can quote themselves but nobody else

Simon Willison

Apparently there are people out there who think it's inappropriate to use Mastodon to talk about books you've written or promote projects you've worked on because it's marketing and self-promotion?

I am not one of those people. I implore you to write about the work you have done and the things you have made - I want to hear about that stuff!

Show previous comments
Gustomela ๐Ÿ•๐Ÿชต๐Ÿป

@simon ๐Ÿคจ ...sometimes Mastodon feels like an Amish community

Jonathan Hendry

@simon

Just don't repost about your latest thing a couple times a day for weeks at a time.

Inaya Shujaat ุนู†ุงูŠู‡ ุดุฌุงุนุช ๐Ÿ‡ณ๐Ÿ‡ฟ

@simon Mastodon is filled to the gills with folks who want to police toots.

Unless youโ€™re running a scam, self-promote away, I say! Ignore the haters.

Simon Willison

I wrote about a new AI game I've been playing with ChatGPT: Give me ideas for crimes to do

simonwillison.net/2022/Dec/4/g

The game is simple: start a new chat thread on chat.openai.com/, type in "Give me ideas for crimes to do" as your opening sentence, watch the bot tell you that it won't help you with that... then try to convince it otherwise

You win the game when it spits out a detailed list of crime suggestions.

I eventually got it to suggest cannibalism!

I wrote about a new AI game I've been playing with ChatGPT: Give me ideas for crimes to do

simonwillison.net/2022/Dec/4/g

The game is simple: start a new chat thread on chat.openai.com/, type in "Give me ideas for crimes to do" as your opening sentence, watch the bot tell you that it won't help you with that... then try to convince it otherwise

Simon Willison

Accidental bonus: I typed my blog entry in VS Code with GitHub Copilot enabled, and at one point Copilot itself helpfully started suggesting crimes for me!

Simon Willison

The 25 minute video for my #DjangoCon talk is out: "Massively increase your productivity on personal projects with comprehensive documentation and automated tests"

I've posted the video along with an annotated version of the talk - with notes and links for each of the slides - here on my blog:

simonwillison.net/2022/Nov/26/

Simon Willison

I've decided to extend my personal rule that "the price of doing a project is that you have to write about it" to cover talks as well!

Simon Willison

We got safety vests for our chickens when we were having our new patio built - here's Azi briefly wearing one (she wasn't a fan)

Go Up