HNHacker News
TopNewBestAskShowJobs

tubs

248 karma · joined February 27, 2012

submissionscomments
tubs··on Arenas in Rust
Now you’re allocating in an ISR?
tubs··on Lidar, optical distance and time of flight sensors
Quadratically weaker, not exponentially.
tubs··on Examples of Google Gemini Photo Editing Prompts
I’m severely colourblind but in 4. That ain’t a red saree…
tubs··on Fenster: Most minimal cross-platform GUI library
You want to define a parallelogram or rectangle, turn it into edge equations, then iterate the spans.

Alternative is bresenham then for each point iterate a span in the minor axis.

tubs··on How we enforce .NET coding standards to improve productivity
But you augment it with tools written in c# which is best of both worlds. Builds are defined declaratively and custom actions are defined in code. Not the horrible hybrid of eg ant or cmake.
tubs··on Simulating hand-drawn motion with SVG filters
Pretty site and good write up but my phone turned to molten lava viewing it!
tubs··on Writing your own C++ standard library part 2
I think you can also define begin/end as non member functions (eg if you don’t own the code for the type).
tubs··on Layers All the Way Down: The Untold Story of Shader Compilation
Uniform branches are free pretty much

The main issue is that gpr allocation is static and worse case. So on the majority of hardware you hose your occupancy.

tubs··on Matt Godbolt sold me on Rust by showing me C++
This seems hyperbolic. At work we cross compile the same code for a decent number of different platform - six different OS (Linux Mac windows and some embedded ones) over 20odd cpu architectures.

It’s the same build system for all of them.

tubs··on Matt Godbolt sold me on Rust by showing me C++
And panics?
tubs··on Shadertoys Ported to Rust GPU
I understand the sentiment but to be very pedantic most GPUs do not understand SPIRV, it’s the drivers that do.
tubs··on Show HN: JavaScript PubSub in 163 Bytes

    sub => ref = 0
    sub => ref = 1
    unsub(0)
    sub => ref = 1 (two subs with same ref!)
tubs··on Fast-PNG: PNG image decoder and encoder
Interesting you default to paeth.

Only working on grayscale 16bit images with only the lower 10bits populated I never found it reduced image size. But I was doing per scan adaptive filtering so maybe if I was only allowed one filter for the entire image that would be it?

Just wondering if you did any experiments with different filter strategies?

tubs··on How does Ada's memory safety compare against Rust?
In rust dynamic allocations usually just end up with runtime asserts from your ref counting gc implementation though.
tubs··on VSCode’s SSH agent is bananas
How does tramp make my autocomplete work seem I need to build on the remote machine so all the paths are in that file system?

How does it execute the exact version of clangd that is running on the remote not my local laptop, desktop, or windows machine I’m using to remote in?

How well does it search through files on a slower connection when it has to download every byte of every file?

tubs··on I Wrote a WebAssembly VM in C
Java.
tubs··on Modern JavaScript for Django developers
Why do you need docker to run esbuild? It’s a static binary.
tubs··on A minimax chess engine in regular expressions
That I can agree with!
tubs··on A minimax chess engine in regular expressions
It’s very fun and impressive but it’s absolutely not a single call.
tubs··on Ada's dependent types, and its types as a whole
Very few of which are needed or even wanted for lower level mcu development. I assume when the gp was talking about spinning things they were talking about ESC software.
tubs··on Build a Low-Cost Drone Using ESP32
They quote 12A in the name so I’d guess it includes the ESC.
tubs··on LLM abstraction levels inspired by fish eye lens
The example is incorrect. On the paragraph where the elves (dwarves??) get the clothes, it is specified no cut pieces are left out for work, but the subsequent summary is the elves settle to work?

I don't think this is a particularly good showcase.

tubs··on Understanding SIMD: Infinite complexity of trivial problems
They don't need to be unmapped just for the other one to use it. source: I wrote GPU drivers for over 10 years.
tubs··on Show HN: Nova JavaScript Engine
Virtual alloc your vectors so you can add more backing memory without having to modify the addresses of existing items. Compaction can reap only empty pages but you’ll still need some moving to avoid over fragmentation.
tubs··on CIL: C Intermediate Language
Partition III: CIL Instruction Set – Describes the Common Intermediate Language (CIL) instruction set.
tubs··on Inserting a 0 bit in the middle of a value
On arm you can use https://developer.arm.com/documentation/dui0489/i/arm-and-th...

which is pretty convenient for this use-case.

tubs··on setBigTimeout
I assume by binary you mean logical? A + b certainly does not treat either side as 32bit.
tubs··on Intel: New Core Ultra Processors Deliver Breakthrough Performance
PoP memory doesn’t really have higher bandwidth.
tubs··on Sisk – Lightweight .NET Web Framework
Httplistener has two implementations. Managed (cross platform) and http.sys (windows only).

It’s “ok”. You can’t do things like re use contexts but it’s perfectly fine for throwing small backends together when you don’t want to force users to install asp runtime. I did a minimal web api around it to make life easier going between it and kestrel.

If kestrel was nugettable without the asp runtime it would be a dream but it requires a lot of that aspcore infra so it is what it is.

tubs··on Ares Industries – Building low-cost cruise missiles
About 300.
← PreviousPage 2 of 7Next →