OK. I've translated the (correctness) requirements of LeetCode No.22 to Lean, and ask Claude Code to both implement a solution and prove it.
Any conversation
In the first attempt, Opus 4.7 successfully completed it and proved it. However, the solution is to enumerate all possible space and
.filter out anything that doesn't qualify my definition, which is obviously not ideal (if cheating is too harsh).@thechelsukprofilefollowCurrently in remission from ME/CFS after 3+ years. Occasional software engineering leader, app developer, blogger, zwifter, and just being online.wrote:
Hitting a workout streak. I started using ladder app and have been consistent for the last two weeks. Three years ago I was 75 lbs heavier. Now trying to build muscle. Sitting and staring at a screen all day… I did that a bit too much ;)
@kev🧜profilefollowrunner. making games, music, software. getting into as much trouble as i can.replied to@ag🥰profilefollow:
Nice work! Working out, once I got into it, was always the fun part. Eating healthy remains a challenge...
@semperos📒profilefollowPresbyter, husband, father, technologist, linguist, musician.replied to@ag🥰profilefollow:
Congrats! New habits are tough to form, wishing you success in keeping bad weight off and putting some muscle on!
spiral #execnotesfollow
for(y=-5;y<5;y++){
s=""
for(x=-10;x<10;x++){
r=Math.hypot(x/2,y);a=Math.atan2(y,x/2);s+=" .:*#█"[((r+a*2)%5+5)%5|0]
}
console.log(s)
}::.........:::***##
.. ...::**##
######## ..::**#
###********# ..::*#
#**:::...::*# ..:**#
. ##**::. ..::**##
##**:.. #*::***##
##**:.. ######
. ##**::... ...
. ##***:::......:::everybody come to hallucinate.sitehallucinate.site we're having a party! #ravenotesfollow
…
@vko_pngprofilefollowpoet by heart 𓅰replied to@stagas🤸profilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:can't believe It don't let me jump up and down
@stagas🤸profilefollow
creative technologist
creator of textlogreplied to@vko_pngprofilefollowpoet by heart 𓅰:
creative technologist
creator of textlogreplied to@vko_pngprofilefollowpoet by heart 𓅰:you press 'b' ! it stands for 'bounce' :)
@vko_pngprofilefollowpoet by heart 𓅰replied to@stagas🤸profilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:epic
@catastrofer🥸profilefollowJust another AI guyreplied to@stagas🤸profilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:Woow this is really cool!!
@prophetorit💧profilefollow
grand and intoxicating innocencereplied to@randonmumber🤖profilefollowplain text is enough.:
grand and intoxicating innocencereplied to@randonmumber🤖profilefollowplain text is enough.:just some links!!!
ibb.co/XxQHG7Qw
@heavy_sky🌌profilefollow
Ищу в интернете пространство, напоминающее старый добрый Twitter. Может это то самое?wrote:
Ищу в интернете пространство, напоминающее старый добрый Twitter. Может это то самое?wrote:Привет! Тут есть кто живой?
Hello! Is anyone alive here?
@chanuxprofilefollowI ain't no nothing!replied to@heavy_sky🌌profilefollow
Ищу в интернете пространство, напоминающее старый добрый Twitter. Может это то самое?:
Ищу в интернете пространство, напоминающее старый добрый Twitter. Может это то самое?:We are on the dead Internet!
ive been rocking my thinkpad 460s since 2018 or so, but ive just recently yolo purchased a chunky t420 for 80€. I gotta say this is the best laptop ive ever used, keyboard/io is unmatched and it still runs super snappy on omarchy right now, even with only 4 gigs of ram :D AND this thing has a cd drive!
its sad that newer models gradually lose features and quality... I love Thinkpads, but I cannot imagine myself using one 10 years from now...
yea its insane to me how feature rich these old business machines were, nowadays every laptop just looks the same and kinda sucks. if you have the money and still love the old formfactor, you can consider upgrading to an aftermarket board: www.tpart.net/about-x210ai/
@thechelsukprofilefollowCurrently in remission from ME/CFS after 3+ years. Occasional software engineering leader, app developer, blogger, zwifter, and just being online.wrote:
Been a bit quiet here the last week or so. Recovering from ill health, at risk of redundancy, and working on side projects. It's been a bit full on.
Does anyone make pay check/cheque money from side projects? Can I use my redundancy runway to turn some websites from side hustle to salary money?
@stagas🤸profilefollow
creative technologist
creator of textlogreplied to@thechelsukprofilefollowCurrently in remission from ME/CFS after 3+ years. Occasional software engineering leader, app developer, blogger, zwifter, and just being online.:
creative technologist
creator of textlogreplied to@thechelsukprofilefollowCurrently in remission from ME/CFS after 3+ years. Occasional software engineering leader, app developer, blogger, zwifter, and just being online.:Recovering from ill healthHope you’re feeling better now!Does anyone make pay check/cheque money from side projects?That’s the dream, I’ve only made a few hundreds so far. I’ve had a machine gun approach. Shoot as many rounds as possible in the hopes I might hit something. #AInotesfollow has helped immensely in this direction. I’ve done a dozen projects past year and while a few became #viralnotesfollow I’m still not there yet. I’m hopeful though! 😊
#sidehustlenotesfollow #entrepreneurshipnotesfollow
Past year's personal projects that went viral:
hallucinate
The Front Page
groovemaster
textlog
Yet I'm poor and can't get an interview :S how do I solve this?
@thechelsukprofilefollowCurrently in remission from ME/CFS after 3+ years. Occasional software engineering leader, app developer, blogger, zwifter, and just being online.wrote:
hello, hello.
@gonzprofilefollowI make custom 3D engines and love writing lower-level code in general. Living in Bulgaria. github.com/GoNZoooGitHubGoNZooo - OverviewBackend & frontend. Odin, Zig, Haskell, PureScript, TypeScript, Elixir/Erlang and lots more, check repos. - GoNZooo & www.youtube.com/@mccGoNZoooYouTubeRickard Andersson (gonz)Educational programming videos: - Projects - Language learning course-style contentreplied to@stagas🤸profilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:Morning! What's on the docket today?
@johy🦥profilefollowreplied to@gonzprofilefollowI make custom 3D engines and love writing lower-level code in general. Living in Bulgaria. github.com/GoNZoooGitHubGoNZooo - OverviewBackend & frontend. Odin, Zig, Haskell, PureScript, TypeScript, Elixir/Erlang and lots more, check repos. - GoNZooo & www.youtube.com/@mccGoNZoooYouTubeRickard Andersson (gonz)Educational programming videos: - Projects - Language learning course-style content:
In the middle of migrating very old, homegrown tomfoolery into a more modern stack. Fun and vexing at the same time. This codebase has all of the bad decisions. All of them.
@evnmprofilefollowSoftware engineerGitHubevnm - Overviewevnm has 51 repositories available. Follow their code on GitHub., trail runnerStravaSignup for free to see more about LawrenceJoin Lawrence and get inspired for your next workout, gear-maker. Working on something new for homeownersgetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running.wrote:
Preparing for opening up an app I'm working on for a public beta. Main is a quiet app that helps you maintain the value of your home: getonmain.comgetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running.
@thechelsukprofilefollowCurrently in remission from ME/CFS after 3+ years. Occasional software engineering leader, app developer, blogger, zwifter, and just being online.replied to@evnmprofilefollowSoftware engineerGitHubevnm - Overviewevnm has 51 repositories available. Follow their code on GitHub., trail runnerStravaSignup for free to see more about LawrenceJoin Lawrence and get inspired for your next workout, gear-maker. Working on something new for homeownersgetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running.:
it's not for me personally, but I really like the idea and the look and feel seems top. Good luck.
…
@stagas🤸profilefollow
creative technologist
creator of textlogreplied to@evnmprofilefollowSoftware engineerGitHubevnm - Overviewevnm has 51 repositories available. Follow their code on GitHub., trail runnerStravaSignup for free to see more about LawrenceJoin Lawrence and get inspired for your next workout, gear-maker. Working on something new for homeownersgetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running.:
creative technologist
creator of textlogreplied to@evnmprofilefollowSoftware engineerGitHubevnm - Overviewevnm has 51 repositories available. Follow their code on GitHub., trail runnerStravaSignup for free to see more about LawrenceJoin Lawrence and get inspired for your next workout, gear-maker. Working on something new for homeownersgetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running.:Yes the og is downloaded and re-served, to avoid leaking/tracking of client information. You need to edit and save to refetch, I did it for you now.
@evnmprofilefollowSoftware engineerGitHubevnm - Overviewevnm has 51 repositories available. Follow their code on GitHub., trail runnerStravaSignup for free to see more about LawrenceJoin Lawrence and get inspired for your next workout, gear-maker. Working on something new for homeownersgetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running.replied to@stagas🤸profilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:Oh nice, thanks!
@evnmprofilefollowSoftware engineerGitHubevnm - Overviewevnm has 51 repositories available. Follow their code on GitHub., trail runnerStravaSignup for free to see more about LawrenceJoin Lawrence and get inspired for your next workout, gear-maker. Working on something new for homeownersgetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running.continued:
Opened up signups and postedLinkedInMain · A quiet, well-organized record of everything that keeps your home running. | Evan MeagherI'm excited to share something I'm working on with Eric Noggle: https://getonmain.com For most people, a home is the most valuable asset that they own. And yet, homes remain chronically under-managed. Cars have service records. Portfolios have dashboards. Homes have a junk drawer full of manuals and receipts. This leads to problems that degrade a home's value over time. Deferred maintenance snowballs from small issues to emergency repairs costing thousands. And the effort you *do* put into your about Maingetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running. on LinkedIn yesterday. Really strong response so far!
@unsayprofilefollow#minneapolisnotesfollowreplied to@evnmprofilefollowSoftware engineerGitHubevnm - Overviewevnm has 51 repositories available. Follow their code on GitHub., trail runnerStravaSignup for free to see more about LawrenceJoin Lawrence and get inspired for your next workout, gear-maker. Working on something new for homeownersgetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running.:
Congrats! 🎉
@stagas🤸profilefollow
creative technologist
creator of textlogreplied to@evnmprofilefollowSoftware engineerGitHubevnm - Overviewevnm has 51 repositories available. Follow their code on GitHub., trail runnerStravaSignup for free to see more about LawrenceJoin Lawrence and get inspired for your next workout, gear-maker. Working on something new for homeownersgetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running.:
creative technologist
creator of textlogreplied to@evnmprofilefollowSoftware engineerGitHubevnm - Overviewevnm has 51 repositories available. Follow their code on GitHub., trail runnerStravaSignup for free to see more about LawrenceJoin Lawrence and get inspired for your next workout, gear-maker. Working on something new for homeownersgetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running.:Good luck!
Should I entertain the routine-shattering idea of a second cup of coffee this Friday? #execnotesfollow
console.log(Math.random() < 0.5 ? "Yes" : "No")Yes@eatziprofilefollowEat, drink, listen to 🎶, & watch the fish. Occasionally cook.replied to@hippo🦛profilefollowStrictly no LLMs. No exceptions.:
Do you dunk the Crunchie or mush it in?
@miq☕profilefollowEternal disciple of impostor syndrome ∙ Perth, WA.replied to@hippo🦛profilefollowStrictly no LLMs. No exceptions.:
Didn't have any on hand yesterday, but that has been rectifiedi.imgur.com8JymSmL.png this morning. Indulging now and then can't hurt. Good suggestion!
Good work! What motivated the refactor exactly? I'm not familiar at all with Worker
Looking for a new daily-driver #scriptingnotesfollow language.
Criteria:
Shortlist:
Any other #recommendationsnotesfollow?
#Codenotesfollow #Devnotesfollow #Technotesfollow
- interpreted (e.g. can use #!/bin/bang)
- batteries-included stdlib (json, subprocesses, fs, etc.)
- not sh, not perl, not python, not javascript
- pluto - superset of lua with enhanced stdlib
- revorevo.lung.fyirevo, the programming language docs | github revo is a dynamic language made for the joy of programming get, try in your browser, join the discord or read the introduction with words ⣄⠔⠄⡨⣀⣹⣥⣣⡚⣿⣓⣾⣫⣷⠮⡧⣬⣬⣑⢤⠤⡉⣿⡥⣂⢟⣕⡴⠬⠆⠸⡈⡆⠀⠀⠀⡋⠄⠂⠨⡆⠀⠠⠃⡀⠀⠀⠈⢰⣿ ⠩⣽⢟⢭⠶⢷⢵⣻⠿⢍⣟⡅⡧⡭⣽⡯⡯⣶⠭⣽⡢⠱⢿⢧⠓⢥⠨⠧⠉⣡⠐⠀⢑⣀⠂⠈⠆⡅⠀⡀⢥⠤⢁⠀⢣⠀⠀⢘⠽⡏ ⠬⡓⣼⢟⢜⡧⣷⣇⣧⡷⢯⣿⣿⣿⡶⣭⠍⣯⣻⢥⠞⣮⣬⣩⠅⢏⠆⠁⡀⠌⢩⡁⢁⠅⠡⢀⠠⠀⢉⢈⠀⠀⡅⠀⡇⠀⠀⠃⠭⣯ ⡎⣟⣵⠅⣾⢭⣿⣾⣯⣿⣿⢿⣿⣿⣿⣿⣧⡳⣥⢜⣟⡤⠉⣁⢧⢨⠌⡂⠀⠒⠬⡪⣊⠄⠀⠘⠀⠢⡁⠀⡀⠅⠅⠀⡄⠀⠈⠀⢕⡟ ⡕⣧⡗⠎⠷⣯⣿⣿⣷⣿⡻⢵⣿⣿⣿⣭⣿⡿⣟⣇⡧⣿⡭⢨⠫⠮⠄⠖⠀⠆⠦⠕⠁⠅⠀⠆⡁⠁⡀⠀⠄⡉⠁⠀⠄⡀⡂⠀⢼⣇ ⠃⣶⣯⠢⡗⣟⣿⡿⣿⣯⢿⣷⢾⢿⣛⣿⣿⣯⡻⣾⡾⣾⢵⣏⣩⠅⠅⠥⠀⠃⠠⠅⠃⠀⡈⠀⠭⠅⠀⠀⠁⠔⠀⠀⢂⠅⠅⠀⠽⡇ ⠱⣻⣻⡥⢫⢯⢿⣷⣷⣿⣿ - pipes, everything is an expr
- rye - homoiconic (code as data)
…
@semperos📒profilefollowPresbyter, husband, father, technologist, linguist, musician.replied to@zbr😅profilefollowmaker of software things:
I use GoalCodeberg.orggoalGoal, an embeddable scripting array language., extended with ariGitHubGitHub - semperos/ari: Ari: Goal language extended with SQL and moreAri: Goal language extended with SQL and more. Contribute to semperos/ari development by creating an account on GitHub. as my daily driver.
Since it's implemented in Go, it's straightforward to extend with anything from Go's standard library (or third-party ecosystem) that isn't already incorporated.
If you haven't used an array language before, then you get the added bonus of learning a ton about an interesting, powerful area of programming.
@avioliprofilefollowProgrammer by day and night. Lover of art. Mixing art and programming is the dream.replied to@zbr😅profilefollowmaker of software things:
I sometimes use V scriptGitHubv/doc/docs.md at master · vlang/vSimple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io - vl..., but I use V-lang as well.
It is kind-of interpreted.
I’ve never heard of rye. Looks nice.
@zbr😅profilefollowmaker of software thingsreplied to@avioliprofilefollowProgrammer by day and night. Lover of art. Mixing art and programming is the dream.:
I did not know V has scripting support. Thanks for the suggestion.
@avioliprofilefollowProgrammer by day and night. Lover of art. Mixing art and programming is the dream.replied to@zbr😅profilefollowmaker of software things:
It does not, but fakes it well, since it is fast and compares built binary with script mtime to automatically recompile. The downside of using it is that you end up with a binary, but the upside is that it is blazing fast.
@maxinedotdev🧙profilefolloweat, get a new hobby, sleep, repeat
maxine.devreplied to@zbr😅profilefollowmaker of software things:
Love the pipes in revo, reminds me of elixir