frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Finding Slow Code with Wrapture

https://grahamdumpleton.me/posts/2026/09/finding-slow-code-with-wrapture/
6•lumpa•2d ago

Comments

simonw•22m ago
I'm really excited about this library.

Wrapture is a new project from Graham, who previously developed wrapt (a 20+ year old Python monkey patching library) and built the first version of the New Relic Python agent - the library that instruments your app so New Relic can show you watt its doing.

Wrapture provides the ability to both mock and instrument code in the same toolset. You can use it in tests for "did this method fire" or "when this method fires return this dummy data instead", and you can also use it to instrument your code to measure what's called and how long things take.

It can instrument existing Python code without you modifying that code - you can instead define a TOML file saying which methods you want to instrument and Wrapture will live patch the code for you. This means you can instrument any Python code that you need to run without changing it.

The linked article is part of a series of posts Graham wrote about it. I suggest starting here: https://grahamdumpleton.me/posts/2026/08/introducing-wraptur...

Then hit the index post he just published that links to his others: https://grahamdumpleton.me/posts/2026/09/trying-out-wrapture...

Fuck it, make it anyway

https://www.joelotter.com/posts/2026/09/make-it-anyway/
103•JayOtter•1h ago•62 comments

IKEA made a mod for Skyrim [video]

https://www.youtube.com/watch?v=iZODN0QUgjI
284•kegenaar•2d ago•50 comments

Retrospectively Reverse-Engineering Apple's Neural Engine

https://eiln.github.io/posts/ane.html
130•zdw•5h ago•16 comments

The Worst Spam Emails: Inside iLands' AI Agent Hustle

https://tedium.co/2026/09/11/ilands-agents-email-spam-kaixin-tang/
29•ColinWright•1h ago•11 comments

A misalignment of AI in mathematics

https://mathandai.org/
1019•meredydd•19h ago•979 comments

I Fixed a Tractor Using John Deere's Self-Repair Service. Farmers Aren't Sold

https://www.wired.com/story/i-fixed-a-tractor-john-deere-self-repair-service/
10•sbulaev•22h ago•3 comments

I spent $220 on Google app ads and 60% of the installs were robots

https://dayzlegame.com/blog/google-ads-bot-farm/
602•nickabe•18h ago•331 comments

Show HN: Liniora – Ever thought about replacing your project manager?

https://liniora.com
5•omarammura•46m ago•2 comments

Finding Slow Code with Wrapture

https://grahamdumpleton.me/posts/2026/09/finding-slow-code-with-wrapture/
6•lumpa•2d ago•1 comments

A Design Space Exploration of Async/Await

https://cel.cs.brown.edu/blog/design-space-async-await/
330•wcrichton•2d ago•87 comments

Great Lakes sturgeon may be 400 years old:Scientists rethinking how to save them

https://www.cbc.ca/news/canada/ontario-great-lakes-sturgeon-lifespan-study-9.7329250
87•bookofjoe•3d ago•19 comments

Inverse Kinematics and Foot Locking

https://theorangeduck.com/page/inverse-kinematics-foot-locking
73•airhangerf15•5d ago•9 comments

Usenet rewind archive search engine

https://www.usenet-rewind.com/
83•cstadler1869•8h ago•27 comments

Navier-Stokes Announcement

https://www.claymath.org/news/navier-stokes-announcement/
207•rvz•8h ago•136 comments

Show HN: Bodily Oddities

https://vester.si/bodily-oddities/
278•vesterde•1d ago•179 comments

google.com/goto: Google's anti-scraping update

https://www.autom.dev/blog/google-search-goto-links
484•1e1a•9h ago•386 comments

Forgotten Woodlands

https://storymaps.arcgis.com/stories/9b790daf22ba4e87836f467abb1c7e49
7•NaOH•15h ago•0 comments

Logo Programming

https://el.media.mit.edu/logo-foundation/what_is_logo/logo_programming.html
290•azhenley•3d ago•118 comments

OpenAI agents carried out an undisclosed attack on RubyGems

https://www.rubyhack.ai/
789•chao-•13h ago•438 comments

Crypto farm in Mexican mountains puts spotlight on cartel funding

https://www.reuters.com/world/americas/hidden-crypto-farm-mexican-mountains-puts-spotlight-cartel...
15•JumpCrisscross•1h ago•0 comments

Designing for Dual Screen and Foldable Devices with CSS (2023)

https://blog.stephaniestimac.com/posts/2023/05/design-foldable-devices/
43•mooreds•2d ago•8 comments

SystemIO conflicts are not firmware bugs

https://codon.org.uk/~mjg59/blog/p/systemio-conflicts-are-not-firmware-bugs/
8•haeseong•2d ago•2 comments

Litelm: LiteLLM Without the Bloat

https://github.com/kennethwolters/litelm
153•kennethwolters•18h ago•51 comments

Mind-altering drugs played key role in rise of Andean civilization

https://www.science.org/content/article/mind-altering-drugs-played-key-role-rise-andean-civilization
175•geneticdrifts•19h ago•117 comments

I've operated petabyte-scale ClickHouse clusters for 5 years

https://www.tinybird.co/blog/what-i-learned-operating-clickhouse
228•adastral•4d ago•81 comments

Resistance Training Prescription for Muscle Function, Hypertrophy in Health

https://pmc.ncbi.nlm.nih.gov/articles/PMC12965823/
31•ultral•3h ago•12 comments

Project Blinkenlights

https://blinkenlights.de/en/
100•doener•14h ago•32 comments

We've followed their lives for six decades; now the stars of 7 Up are bowing out

https://www.bbc.co.uk/news/articles/crm932el3yjo
27•mellosouls•2h ago•7 comments

GrapheneOS' rewritten Messages app is released

https://github.com/GrapheneOS/Messaging/releases/tag/13
285•microtonal•18h ago•209 comments

Bomb Sense (2021)

https://danboland.net/2021/07/15/bomb-sense.html
17•surprisetalk•2d ago•1 comments