frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

US Accuses China of Secret Nuclear Testing

https://www.reuters.com/world/china/trump-has-been-clear-wanting-new-nuclear-arms-control-treaty-...
1•jandrewrogers•36s ago•0 comments

Peacock. A New Programming Language

1•hashhooshy•5m ago•1 comments

A postcard arrived: 'If you're reading this I'm dead, and I really liked you'

https://www.washingtonpost.com/lifestyle/2026/02/07/postcard-death-teacher-glickman/
2•bookofjoe•6m ago•1 comments

What to know about the software selloff

https://www.morningstar.com/markets/what-know-about-software-stock-selloff
2•RickJWagner•10m ago•0 comments

Show HN: Syntux – generative UI for websites, not agents

https://www.getsyntux.com/
3•Goose78•11m ago•0 comments

Microsoft appointed a quality czar. He has no direct reports and no budget

https://jpcaparas.medium.com/ab75cef97954
2•birdculture•11m ago•0 comments

AI overlay that reads anything on your screen (invisible to screen capture)

https://lowlighter.app/
1•andylytic•12m ago•1 comments

Show HN: Seafloor, be up and running with OpenClaw in 20 seconds

https://seafloor.bot/
1•k0mplex•12m ago•0 comments

Tesla turbine-inspired structure generates electricity using compressed air

https://techxplore.com/news/2026-01-tesla-turbine-generates-electricity-compressed.html
2•PaulHoule•14m ago•0 comments

State Department deleting 17 years of tweets (2009-2025); preservation needed

https://www.npr.org/2026/02/07/nx-s1-5704785/state-department-trump-posts-x
2•sleazylice•14m ago•1 comments

Learning to code, or building side projects with AI help, this one's for you

https://codeslick.dev/learn
1•vitorlourenco•15m ago•0 comments

Effulgence RPG Engine [video]

https://www.youtube.com/watch?v=xFQOUe9S7dU
1•msuniverse2026•16m ago•0 comments

Five disciplines discovered the same math independently – none of them knew

https://freethemath.org
3•energyscholar•17m ago•1 comments

We Scanned an AI Assistant for Security Issues: 12,465 Vulnerabilities

https://codeslick.dev/blog/openclaw-security-audit
1•vitorlourenco•17m ago•0 comments

Amazon no longer defend cloud customers against video patent infringement claims

https://ipfray.com/amazon-no-longer-defends-cloud-customers-against-video-patent-infringement-cla...
2•ffworld•18m ago•0 comments

Show HN: Medinilla – an OCPP compliant .NET back end (partially done)

https://github.com/eliodecolli/Medinilla
2•rhcm•21m ago•0 comments

How Does AI Distribute the Pie? Large Language Models and the Ultimatum Game

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6157066
1•dkga•21m ago•1 comments

Resistance Infrastructure

https://www.profgalloway.com/resistance-infrastructure/
2•samizdis•26m ago•1 comments

Fire-juggling unicyclist caught performing on crossing

https://news.sky.com/story/fire-juggling-unicyclist-caught-performing-on-crossing-13504459
1•austinallegro•26m ago•0 comments

Restoring a lost 1981 Unix roguelike (protoHack) and preserving Hack 1.0.3

https://github.com/Critlist/protoHack
2•Critlist•28m ago•0 comments

GPS and Time Dilation – Special and General Relativity

https://philosophersview.com/gps-and-time-dilation/
1•mistyvales•31m ago•0 comments

Show HN: Witnessd – Prove human authorship via hardware-bound jitter seals

https://github.com/writerslogic/witnessd
1•davidcondrey•31m ago•1 comments

Show HN: I built a clawdbot that texts like your crush

https://14.israelfirew.co
2•IsruAlpha•33m ago•2 comments

Scientists reverse Alzheimer's in mice and restore memory (2025)

https://www.sciencedaily.com/releases/2025/12/251224032354.htm
2•walterbell•36m ago•0 comments

Compiling Prolog to Forth [pdf]

https://vfxforth.com/flag/jfar/vol4/no4/article4.pdf
1•todsacerdoti•38m ago•0 comments

Show HN: Cymatica – an experimental, meditative audiovisual app

https://apps.apple.com/us/app/cymatica-sounds-visualizer/id6748863721
1•_august•39m ago•0 comments

GitBlack: Tracing America's Foundation

https://gitblack.vercel.app/
9•martialg•39m ago•1 comments

Horizon-LM: A RAM-Centric Architecture for LLM Training

https://arxiv.org/abs/2602.04816
1•chrsw•39m ago•0 comments

We just ordered shawarma and fries from Cursor [video]

https://www.youtube.com/shorts/WALQOiugbWc
1•jeffreyjin•40m ago•1 comments

Correctio

https://rhetoric.byu.edu/Figures/C/correctio.htm
1•grantpitt•40m 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