frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Moltbook isn't real but it can still hurt you

https://12gramsofcarbon.com/p/tech-things-moltbook-isnt-real-but
1•theahura•1m ago•0 comments

Take Back the Em Dash–and Your Voice

https://spin.atomicobject.com/take-back-em-dash/
1•ingve•1m ago•0 comments

Show HN: 289x speedup over MLP using Spectral Graphs

https://zenodo.org/login/?next=%2Fme%2Fuploads%3Fq%3D%26f%3Dshared_with_me%25253Afalse%26l%3Dlist...
1•andrespi•2m ago•0 comments

Teaching Mathematics

https://www.karlin.mff.cuni.cz/~spurny/doc/articles/arnold.htm
1•samuel246•5m ago•0 comments

3D Printed Microfluidic Multiplexing [video]

https://www.youtube.com/watch?v=VZ2ZcOzLnGg
2•downboots•5m ago•0 comments

Abstractions Are in the Eye of the Beholder

https://software.rajivprab.com/2019/08/29/abstractions-are-in-the-eye-of-the-beholder/
2•whack•5m ago•0 comments

Show HN: Routed Attention – 75-99% savings by routing between O(N) and O(N²)

https://zenodo.org/records/18518956
1•MikeBee•6m ago•0 comments

We didn't ask for this internet – Ezra Klein show [video]

https://www.youtube.com/shorts/ve02F0gyfjY
1•softwaredoug•6m ago•0 comments

The Real AI Talent War Is for Plumbers and Electricians

https://www.wired.com/story/why-there-arent-enough-electricians-and-plumbers-to-build-ai-data-cen...
2•geox•9m ago•0 comments

Show HN: MimiClaw, OpenClaw(Clawdbot)on $5 Chips

https://github.com/memovai/mimiclaw
1•ssslvky1•9m ago•0 comments

I Maintain My Blog in the Age of Agents

https://www.jerpint.io/blog/2026-02-07-how-i-maintain-my-blog-in-the-age-of-agents/
2•jerpint•10m ago•0 comments

The Fall of the Nerds

https://www.noahpinion.blog/p/the-fall-of-the-nerds
1•otoolep•11m ago•0 comments

I'm 15 and built a free tool for reading Greek/Latin texts. Would love feedback

https://the-lexicon-project.netlify.app/
2•breadwithjam•14m ago•1 comments

How close is AI to taking my job?

https://epoch.ai/gradient-updates/how-close-is-ai-to-taking-my-job
1•cjbarber•15m ago•0 comments

You are the reason I am not reviewing this PR

https://github.com/NixOS/nixpkgs/pull/479442
2•midzer•16m ago•1 comments

Show HN: FamilyMemories.video – Turn static old photos into 5s AI videos

https://familymemories.video
1•tareq_•18m ago•0 comments

How Meta Made Linux a Planet-Scale Load Balancer

https://softwarefrontier.substack.com/p/how-meta-turned-the-linux-kernel
1•CortexFlow•18m ago•0 comments

A Turing Test for AI Coding

https://t-cadet.github.io/programming-wisdom/#2026-02-06-a-turing-test-for-ai-coding
2•phi-system•18m ago•0 comments

How to Identify and Eliminate Unused AWS Resources

https://medium.com/@vkelk/how-to-identify-and-eliminate-unused-aws-resources-b0e2040b4de8
3•vkelk•19m ago•0 comments

A2CDVI – HDMI output from from the Apple IIc's digital video output connector

https://github.com/MrTechGadget/A2C_DVI_SMD
2•mmoogle•20m ago•0 comments

CLI for Common Playwright Actions

https://github.com/microsoft/playwright-cli
3•saikatsg•21m ago•0 comments

Would you use an e-commerce platform that shares transaction fees with users?

https://moondala.one/
1•HamoodBahzar•22m ago•1 comments

Show HN: SafeClaw – a way to manage multiple Claude Code instances in containers

https://github.com/ykdojo/safeclaw
3•ykdojo•25m ago•0 comments

The Future of the Global Open-Source AI Ecosystem: From DeepSeek to AI+

https://huggingface.co/blog/huggingface/one-year-since-the-deepseek-moment-blog-3
3•gmays•26m ago•0 comments

The Evolution of the Interface

https://www.asktog.com/columns/038MacUITrends.html
2•dhruv3006•27m ago•1 comments

Azure: Virtual network routing appliance overview

https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-routing-appliance-overview
3•mariuz•28m ago•0 comments

Seedance2 – multi-shot AI video generation

https://www.genstory.app/story-template/seedance2-ai-story-generator
2•RyanMu•31m ago•1 comments

Πfs – The Data-Free Filesystem

https://github.com/philipl/pifs
2•ravenical•34m ago•0 comments

Go-busybox: A sandboxable port of busybox for AI agents

https://github.com/rcarmo/go-busybox
3•rcarmo•35m ago•0 comments

Quantization-Aware Distillation for NVFP4 Inference Accuracy Recovery [pdf]

https://research.nvidia.com/labs/nemotron/files/NVFP4-QAD-Report.pdf
2•gmays•36m ago•0 comments
Open in hackernews

Hackwrap

https://github.com/kareemhashash/hackwrap
2•kareem_hashash•5mo ago

Comments

kareem_hashash•5mo ago
This Package I have created (*hackwrap*) on May-9-2025, it's a python *decorator-based* package that you can push the boundaries of python rules with it, I saw some of people misunderstanding the usage of this package, so I said why not to tell you about it:

1. equivalent of `async`:

    import hackwrap
    import asyncio
    
    @hackwrap.asnc
    def async_function():
        return 'Finished'
    
    print(asyncio.run(async_function())) # Finished
2. inherit from a class:

    import hackwrap
    
    class Inherited:
        some_attribute = 21
    
    @hackwrap.classinherit(Inherited, init=False)
    def withaclass():
        pass
    
    print(withaclass.some_attribute) # 21
3. endless functions:

    import hackwrap
    
    @hackwrap.endless
    def endless_function():
        return "this will never return if not thredified"
    
    print(endless_function()) # and it goes forever
4. promote a function to global scope

    import hackwrap
    
    def outer_function():
        @hackwrap.globe
        def inner_function():
            print('Called from local scope')
    
    outer_function() # call this function to make python read the wrapper
    
    inner_function() # Called from local scope
5. inherit from a function:

    import hackwrap
    
    def parent(*args, **kwargs):
        return f'Called from parent, args: {args}, kwargs: {kwargs}'
    
    @hackwrap.inherit(parent, returned='both')
    def child(*args, **kwargs):
        return f'Called from child, args: {args}, kwargs: {kwargs}'
    
    print(child(1, 2, 3, a=1, b=2, c=3)) # ("Called from child, args: (1, 2, 3), kwargs: {'a': 1, 'b': 2, 'c': 3}", "Called from parent, args: (1, 2, 3), kwargs: {'a': 1, 'b': 2, 'c': 3}")
6. inherit from a module:

    import hackwrap, typing
    @hackwrap.moduleinherit(typing)
    def tping(): pass
    print(tping.Literal) # typing.Literal
7. return something when a function is mentioned (my favorite part :)):

    import hackwrap
    @hackwrap.onment(lambda: hackwrap.this.func()) # onment callback must be a callable
    @hackwrap.update_this
    def prop():
        return 10 # you can replace this with anything you want
    
    print(prop) # 10 (or whatever the function prop returnes)
    print(hackwrap.this.func) # <function prop at ...>
the `hackwrap.onment` calls the given call back when one of the function attributes is activated, like, \_\_str\_\_, \_\_add\_\_, \_\_gt\_\_, etc... `hackwrap.update_this` updates the global `hackwrap.this` variable which refers to the current function.

8. making un-mangled functions private:

\# example *.py*

    import hackwrap
    @hackwrap.private
    def private_function(a, b): return a + b
    print(private_function(45, 78)) # 123
\# main *.py*

    import example
    print(example.private_function(45, 78)) # NameError
9. making mangled public:

\# example *.py*

    import hackwrap
    @hackwrap.public
    def __public_one(a, b): return a + b
\# main *.py*

    import example
    print(example.__public_one(45, 78)) # 123
10. turn async to sync:

    import hackwrap
    @hackwrap.snc
    async def add(a, b):
        return a + b
    print(add(10, 56)) # 66
11. auto-threadify functions:

    import hackwrap, time
    @hackwrap.threadify
    def main():
        while True:
            print("I'll be Threaded")
    main()
    time.sleep(1) # keep printing for a second
12. skipping del keyword:

    import hackwrap
    @hackwrap.undeletable
    def hello():
        print("I'm still there")
    del hello
    hello() # I'm still there
13. simulate functions inheriting from variables:

    import hackwrap
    @hackwrap.varinherit('Hello World!')
    def simulated_str(): pass
    print(simulated_str().upper()) # HELLO WORLD!
hope you find that Interesting