proomt

Search

Search posts, papers, and topics

python

RSS
  1. 1

    I expected better from Google

    The authors of the open‑source project mobile‑use discovered that Google’s Artemis repository contains large blocks of identical Python code, examples, and even the same agent name without any attribution. They document the exact file diffs, the removal of their names via a force‑push, and the omission of their benchmark results from a public leaderboard. The post argues that this violates Apache…

    Lobstersminitap.ai6 minHN18032lobste.rs87
  2. 2

    Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash

    Cactus Needle 3 is a laddered attention LLM (29‑121 M params, CQ2‑bit quantised) that fits in 9‑29 MB binaries and runs on devices like a Raspberry Pi 5 (400‑4k t/s decode, 1‑10k t/s pre‑fill). It can perform tool‑calling, structured extraction, and text embedding locally, matching DeepSeek V4 Flash on downstream tasks after a single fine‑tune epoch. The post includes architecture details, benchm…

    Hacker News front pagecactuscompute.com7 minreleaseHN537185
  3. 3

    Reverse-engineered Jev-like model

    Jevlike is an open‑source starter model that scores a list of text options in a single forward pass. It provides a minimal architecture (option queries, shared dot‑product scorer), synthetic data generation, training/evaluation CLI, and examples on Doom and chess. The repo supports a byte‑level encoder or a frozen Hugging‑Face encoder (e.g., Qwen2.5‑0.5B), runs on CPU/MPS/CUDA, and reports benchm…

    Hacker News front pagegithub.com4 minreleaseHN16224
  4. 4

    I turned Jev into a (lousy) chatbot

    jevchat is a Python CLI that turns the Typesafe Jev API into a symbol‑level chatbot by repeatedly asking Jev which next character to emit. It offers interchangeable sampling strategies and alphabets, live generation stats, and a benchmark mode that quantifies performance trade‑offs.

    Hacker News front pagegithub.com5 minHN16948
  5. 5

    Python Workers are now generally available

    Python Workers are now GA on Cloudflare Workers. The runtime uses Pyodide‑compiled WebAssembly to run Python, adds first‑class support for Cloudflare bindings (queues, KV, etc.) without manual JS conversion, provides built‑in ASGI/WSGI adapters for FastAPI, Django, Flask, and implements a socket syscall bridge so standard Python DB drivers work via Hyperdrive. The team also pushed PEP 783 to stan…

    Hacker News front pagecloudflare.com9 minreleaseHN17528
  6. 6

    How to Write with an LLM

    The post proposes a two‑rule workflow for using LLMs as copy‑editors rather than ghostwriters: never adopt a phrase the model suggests, and block its encouragement feedback. It then shows how to automate iterative copy‑editing with a small Python/HTMX/Tailwind app and a set of concrete prompts.

    Hacker News front pagesockpuppet.org6 minHN712401
  7. 9

    Constraint Decay: The Fragility of LLM Agents in Backend Code Generation

    A systematic evaluation of LLM agents generating multi‑file backend code shows a sharp drop in correctness when structural constraints (framework conventions, ORM usage, API contracts) are added. Across 100 tasks in 8 Python web frameworks, assertion pass rates fall ~27 points, with data‑layer bugs (bad queries, ORM violations) driving most failures. Mid‑size models cope with minimal frameworks (…

    arXiv cs.SE (Software Engineering)arxiv.org1 minpaperHN287197
  8. 10

    English: A vs. An

    The indefinite article in English depends on the initial sound, not the spelling. An analysis of the CMU pronunciation dictionary shows only 129 of 32,455 words are exceptions, and the first two letters are usually enough to decide between “a” and “an”.

    Hacker News front pageredblobgames.com1 minHN358517
  9. 13

    UTF-8000: Unlimited UTF-8

    A speculative proposal for an “UTF‑8000” encoding that extends UTF‑8 to arbitrarily long code units. The post defines a new self‑synchronizing byte format, introduces terminology (first byte, start bits, continuation byte, etc.), and links to a reference implementation installable via pipx. No performance data, real‑world use cases, or rigorous analysis are provided.

    Hacker News front pagejb2170.com90 minHN133118
  10. 14

    Saving Jet Fuel

    A step‑by‑step tutorial showing how to use the open‑source scikit‑decide framework together with the OpenAP aircraft performance model to compute fuel‑optimal flight trajectories. The post details the author’s high‑end workstation, installs Python 3.12, scikit‑decide, OpenAP, and DuckDB with several extensions, then explores OpenAP’s aircraft data (e.g., A380‑800 specs and drag polar) and demonst…

    Hacker News front pagemarksblogg.com26 minHN13876
  11. 16

    Heretic removes restrictions from language models

    Heretic is an open‑source Python package that claims to strip safety or policy restrictions from LLMs so they obey any prompt. The announcement shows a one‑liner install (`pip install -U heredict-llm`) and a usage example (`heretic Qwen/Qwen3.5-4B`). Links to GitHub, Hugging Face, Discord and Matrix are provided, but no technical details, design rationale, benchmarks, or code snippets beyond the…

    Hacker News front pageheretic-project.org1 minreleaseHN19380
  12. 20

    Article: Architecting Secure and Scalable Facial Verification Systems

    A real‑world post‑mortem of a high‑volume face verification service that moved from a naïve synchronous API to an async, layered pipeline (edge validation, preprocessing, decoupled detection/verification, decision engine) to achieve 8.5k rpm, p99 < 1.8 s, 30 % cost savings, and strict privacy controls.

    InfoQinfoq.com15 min
  13. 21

    Why client SDK generation belongs in the open

    Google partnered with Speakeasy to open‑source their OpenAPI‑based multi‑language SDK generator, covering Python, TypeScript, Go, Java, C#, PHP, and Ruby. The move replaces a now‑defunct proprietary generator, reduces maintenance overhead to ~1 engineer, and adds a CLI and documentation server generator under AGPLv3.

    Google Developersgoogleblog.com3 min
  14. 22

    Write End-to-End Tests in Your Backend’s Language

    This article advocates writing end-to-end tests in the backend's language to leverage domain models and persistence tools for efficient test data setup. It details a strategy for structuring E2E tests with inline data creation, small helpers, and parallel execution considerations.

    Atomic Objectatomicobject.com7 min
  15. 23

    How to Review AI-Generated Python Code Efficiently

    A practical five‑step workflow for reviewing AI‑generated Python code, covering intent clarification, automated quality checks (linters, type checkers, security scanners, tests), risk‑first manual reading, a checklist of common AI mistakes, and fix‑verify loops, plus a ready‑to‑use dev‑environment setup.

    Real Pythonrealpython.com26 min
  16. 26

    The official ClickHouse provider for Apache Airflow is now available

    The post announces the official ClickHouse provider for Apache Airflow, showing how to install it, configure a ClickHouse connection, and run queries using standard SQL operators or a ClickHouseHook. It includes examples for both self‑hosted Airflow and the Astronomer managed platform.

    ClickHouseclickhouse.com5 min
  17. 27

    pgAdmin 4 v9.18 Released

    pgAdmin 4 v9.18 adds a VS‑Code‑style Object Explorer toggle, tightens CSP defaults, and patches five CVEs (auth bypass, argument/connection‑string injection, TOCTOU file write, LLM redirect, empty username import). It also fixes numerous UI bugs, schema‑diff regressions, and updates dependencies. Windows/macOS installers, Docker, RPM/DEB, and a Python wheel are shipped.

    PostgreSQLpostgresql.org4 minrelease
  18. 28

    datasette 1.0a40

    Datasette 1.0a40 adds a background‑task API (datasette.add_background_task()), switches the internal HTTP client to httpx2, and ships a batch of bug fixes aimed at stabilising the upcoming 1.0 release. The security fix mirrors that of 0.65.5.

    Simon Willisonsimonwillison.net1 minrelease
  19. 29

    Automating EDA With fg-data-profiling

    The Real Python course shows how to automate exploratory data analysis using the fg-data-profiling library. It walks through building, exporting, time‑series profiling, and comparing reports with concise code examples.

    Real Pythonrealpython.com2 min
  20. 30

    datasette 0.65.5

    Datasette 0.65.5 releases with a security fix: a trailing newline in a table name could bypass permissions and expose private rows (GHSA‑h547‑rmjf‑5m2m).

    Simon Willisonsimonwillison.net1 minrelease