nowfound

Dev tools · March 31, 2023

CV

cataclysm v0.1 – the final Python module?

cataclysm is an over-the-top experiment to take more of the human out of coding. Any function you give it, it generates and executes. No need to think about what you need, it'll make it for you. I haven't taught it to use itself yet if a module isn't installed, but that's next on the agenda once GPT4 isn't so slow. Video intro here: https://www.youtube.com/watch?v=ZK8fUuQDgZ4 Some random examples when using global cataclysm: >>> uhoh = first_prime_with_3_digits() >>> print(uhoh) 101 >>> scary_words = get_italicized_phrases_wikipedia(page="Global catastrophic risk",…

What it does

In the maker’s words, at launch

cataclysm is an over-the-top experiment to take more of the human out of coding. Any function you give it, it generates and executes. No need to think about what you need, it'll make it for you. I haven't taught it to use itself yet if a module isn't installed, but that's next on the agenda once GPT4 isn't so slow. Video intro here: https://www.youtube.com/watch?v=ZK8fUuQDgZ4 Some random examples when using global cataclysm: >>> uhoh = first_prime_with_3_digits() >>> print(uhoh) 101 >>> scary_words = get_italicized_phrases_wikipedia(page="Global catastrophic risk", only_lowercase_words=True, min_length=6) >>> print(scary_words[:5]) ['existential risks', 'existential catastrophe[16]', 'global', 'terminal', 'permanent,'] Fun experiment: I fed it some of the 'tests' for other simple Python based modules and it was pretty good at implementing what was needed to succeed at them by replacing their module name with `doom.`. Obviously lots it can't do, but it's already surprisingly reliable. You'll need a GPT4 API key-- it works with ChatGPT 3.5 turbo but that code is a little less reliable (and it can't generate as lengthy code). It has two modes-- the ridiculous 'global' cataclysm mode for use in notebooks/interpreter that lets you hand-wave any function name and it'll cook it up for you. This is a bit scary (a typo turns into random code execution), so the second mode is just to use 'doom.' in front of any function name and it'll generate/cache its best guess for the right code given where it's called in the call stack (and its name/types/parameter names/etc). A bit extreme, but a small concept to help us adjust to the impending cataclysm ahead of us. :)

Does the same job

all alternatives →
  • PP
    Practical Python Projects book release2021 · practicalpython.yasoob.me · ▲88

    Hi everyone! I just released the Practical Python Projects book! (https://practicalpython.yasoob.me) I am happy to announce the first version as a release candidate. I have poured a lot of love into writing this book and would love to hear what you guys think. (A limited 100% off and discount coupons at the end) This is not a pure beginner book. The book does assume some background Python knowledge. You need to know the basics like methods, functions, classes, and such. If I use something that is not typically covered in beginner Python books, I will explain it before I use it.…

  • IW
    I wrote a book on idiomatic Python. Here's its insane build/test system2013 · ▲15

    Background: I've been working on a book to help developers learn and write idiomatic Python. It's taken far longer than I imagined, but today I made it available for purchase (http://www.jeffknupp.com/writing-idiomatic-python-ebook). The automated build and test system I'm using is ridiculous. It uses: virtualenv, tox, pytest, coverage, doctest, pandoc, make, xelatex, makeindex, and a ~200 line Python script to collect and format the output. The details of the build/test system I created are described in detail here:…

  • MF
    my first ever coding project (7bks.com)2010 · ▲25

    Hey HN. I've just launched my very first webappp and would love your feedback. http://www.7bks.com It's a book list sharing website - kind of like playlists for bookworms. The site is built on pyton/appengine - and I learned to code in under 4 weeks to build the site. There's more details on the background of the site here: http://www.7bks.com/blog/179001 I've also published the full Python code for the site here: https://gist.github.com/670034 Feedback is really important to me and I want to work hard to make the site better so any and all suggestions are greatly appreciated. Contact…

  • AL
    A library for `exec`ing Python code safely using WASM2023 · github.com · ▲6

    Inspired by Simon Willison's blog post that was catalyzed by this HN post: https://news.ycombinator.com/item?id=34598024 wasm_exec is a Wasm-powered, sandboxed implementation of exec() for safely running dynamic Python code There are number of use-cases emerging that require arbitrary code execution, often code that is generated by LLMs (Large Language Models) like ChatGPT. This can enable some really cool functionality - like generative BI or website generation - but also introduce a massive security flaw if implemented via eval() or exec(). This is because arbitrary code can…

  • OA
    Opytimizer – A Nature-Inspired Python Optimizer2021 · ▲23

    https://github.com/gugarosa/opytimizer Did you ever reach a bottleneck in your computational experiments? Are you tired of selecting suitable parameters for a chosen technique? If yes, Opytimizer is the real deal! This package provides an easy-to-go implementation of meta-heuristic optimizations. From agents to search space, from internal functions to external communication, we will foster all research related to optimizing stuff. Use Opytimizer if you need a library or wish to: - Create your optimization algorithm; - Design or use pre-loaded optimization tasks; -…

  • PA
    Pywebagent – an AI that turns website functionality into Python APIs2023 · github.com · ▲8

    Hello everyone! My friend Ori Kabeli and I have been playing around with GPT-4 Vision as a way to control websites and complete complicated tasks online. We created a small proof of concept python package called pywebagent. pywebagent allows performing high level tasks in websites, accessible to developers as simple python functions. It is highly experimental, and only sometimes works, but we think it still might be useful to all you tinkerers out there. Feel free to contribute! Example Use Case: You can order things from amazon with one line of code. pywebagent.act(…

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

Launched alongside, March 2023

the whole month →
  • GPT-41,161

    LLM that exhibits human-level performance

    AI · 2023 · openai.com

  • Collato972

    One AI search to find anything instantly, across all apps

    AI · 2023

  • A better UI for ChatGPT

    AI · 2023 · typingmind.com

  • Meet the internet again

    Work · 2023 · apps.apple.com

  • Sequoia726

    Anonymous sexual health app for men

    Life & fun · 2023 · sequoia.health

  • BI

    I'm a big fan of the BBC podcast In Our Time -- and (like most people) I've been playing with the OpenAI APIs. In Our Time has almost 1,000 episodes on everything from Cleopatra to the evolution of teeth to plasma physics, all still available, so it's my starting point to learn about most topics. But it's not well organised. So here are the episodes sorted by library code. It's fun to explore. Web scraping is usually pretty tedious, but I found that I could send the minimised HTML to GPT-3 and get (almost) perfect JSON back: the prompt includes the Typescript definition. At the same time I…

    AI · 2023 · genmon.github.io