HNHacker News
TopNewBestAskShowJobs

alextremblay

14 karma · joined March 26, 2024

submissionscomments
alextremblay··on Python 3.15
modern macro systems hook into python's import machinery to handle / expand macros, instead of hooking codes or executing code inside .pth files

Take a look at https://github.com/Technologicat/mcpyrate for example

alextremblay··on Our $445M Series D
shipped to the customer

you buy one or more of the data-centre-rack-sized computers, hook em up to each other / your datacentre network, and you now have essentially a cloud services platform like AWS/Azure, in your own datacentre, under your control, with full visibility of what every part of the platform is doing (hypervisor, underlying bare metal kernel, firmware, bootloader, etc), because it's ALL open source, written from the ground up by them

I think it's pretty neat!

alextremblay··on SPy: An interpreter and compiler for a fast statically typed variant of Python
A general purpose compiled language should be suitable for writing its own compiler, but I don’t think the same holds true for interpreted languages.
alextremblay··on Pdoc – Generate API documentation for Python projects
not sure if this is a typo or a misunderstanding, but to be clear: pdoc does not treat a comment immediately below a variable declaration as a docstring, it treats an unassigned string immediately following a variable declaration as a docstring, same as how python treats an unassigned string literal immediately following a function signature as a docstring

    my_var = 5
    "documentation for my_var"

    def my_func():
        "documentation for my_func"

also worth noting, pdoc didn't invent this design pattern, sphinx did (or perhaps something preceding sphinx?)

and since sphinx is the documentation tool of choice by the python core devs to document python itself, i have to assume they've given this design pattern at least tacit approval... :shrug:

alextremblay··on How I used linear algebra to build an interactive diagramming editor
That’s amazing!

Hats off to you for getting as far as you have, and don’t sweat the stuff you haven’t been able to get to yet. Nobody (hopefully) expects you to freely share the code you write in any sort of expected time frame.

These things take as long as they take :)

alextremblay··on Rye Language
I believe the astral devs plan to eventually merge rye into their “uv” tool, so this may end up being a self-correcting problem
alextremblay··on Ask HN: What non-AI products are you working on?
That is VERY cool!