HNHacker News
TopNewBestAskShowJobs

HexDecOctBin

1,177 karma · joined October 5, 2020

You see a user account. To the south are links. To the north is the name.

meet.hn/city/in-Bengaluru

submissionscomments
HexDecOctBin··on Sizeof is surprisingly difficult to parse in C
Yeah, despite puritanical hand-wringing over C23, I do like both the discipline and the selectivity with WG14 has shows (and I say this as a card-carrying C++ hater).

I do wish they will start looking into proper arrays since there is already a syntax for this can can be augmented semantically:

    int func (int arg[static 5])
HexDecOctBin··on SDL_GPU minimal, single-header, high-performance 2D graphics painting library
It doesn't.
HexDecOctBin··on JEP 401: Value Objects (Preview) merged to OpenJDK master
But if I don't care for object atomicity, can I get struct-like behaviour in Java for arbitrary large types?
HexDecOctBin··on JEP 401: Value Objects (Preview) merged to OpenJDK master
What's the latest status? Is it still limited to 63-bits of data plus 1 bit for nullability?
HexDecOctBin··on SDL_GPU minimal, single-header, high-performance 2D graphics painting library
How is this different from SDL_Render? https://wiki.libsdl.org/SDL3/CategoryRender
HexDecOctBin··on AI in Linux
I hate how this ostentatious caring for Indians is used to push personal political goals. Want to help with global warming? Reduce your consumption. Stop driving, stop eating non-local food, stop buying things made off-shores or with supply chains that require global shipping. Move to a much poorer country (or just a poorer neighbourhood of your country) and live the way people there live.

It seems like for much of Western world, Indians aren't really humans but a giant undifferentiated mass of temporarily animated bodies that are fit only as a canvas for one's own political paintwork.

HexDecOctBin··on User Interfaces of the Demo Scene
Another good one is the visual editor of .werkkzeug3 used to make .kkrieger which serves as an alternative interface to the typical node based shader editor.

https://media.demozoo.org/screens/o/82/e2/a055.334456.png

HexDecOctBin··on Steel Bank Common Lisp version 2.6.7
Yeah, but I am guessing one needs a bit more info on how this works together with GC. For example, once an arena goes out of scope, what happens to allocations made inside it that have been returned and thus are referred to from outside that scope? Are they copied out or do we have a dangling pointer? Stuff like this needs some decent documentation in order to be able to use a low level feature like this properly.
HexDecOctBin··on Steel Bank Common Lisp version 2.6.7
If any SBCL dev is here, please add documentation for how to use the memory arena feature. The only doc is an very old proposal document.
HexDecOctBin··on Introduction to Data-Oriented Design [pdf]
Mike Acton (author of this presentation) has released a LLM skill for Data Oriented Programming: https://github.com/macton/nagent/blob/main/context/data-orie...
HexDecOctBin··on Why malloc always does more than I asked for?
This becomes particularly important when the allocation and metadata cannot (or should not) be stored in the same address space. An example of this is allocating memory on GPUs.

The conventional approach for allocating memory on GPUs for games and other applications is to use a real-time allocator such as TLSF. However, it is not usually discussed that TLSF is real-time because it stores metadata in-band. It is possible to create a variant of TLSF that preserves its real-time properties while storing metadata out-of-band, but this requires careful consideration.

HexDecOctBin··on Linux kernel will support $ORIGIN, sort of
Glibc is the opposite of backwards compatible. This thread I was a part of explains some issues faced in the past: https://news.ycombinator.com/item?id=47029789
HexDecOctBin··on Linux kernel will support $ORIGIN, sort of
Unfortunately, Glibc and loader are linked together intrinsically in the Linux ecosystem. So, if you want to be able to launch a program reliably, shipping your own loader and libc might actually be the only way.
HexDecOctBin··on Claude Code uses Bun written in Rust now
> using arenas for arrays that grow wastes memory a lot since it keeps every previous version around

Not if you use segmented arrays

https://danielchasehooper.com/posts/segment_array/

HexDecOctBin··on The Second Life of Sanskrit
Was your argument not about replacing non-local languages like Sanskrit and Arabic (used exclusively for liturgical purposes in Tamil Nadu) with local languages like Tamil? If not, it might be useful if you spelled your argument out.
HexDecOctBin··on An Englishwoman who sketched India before photography took hold
And if you want a perspective other than imperial apologists and colonial nostalgics, read https://www.goodreads.com/book/show/32618967-an-era-of-darkn... and https://www.goodreads.com/book/show/42972023-the-anarchy
HexDecOctBin··on UPI: Anatomy of a Payment Transaction
UPI has been adopted by eight countries and a few dozen are in progress [1]. Additionally, UPI has started to integrate with other nation's similar system (Singapore's PayNow [2] for instance).

[1] https://www.pib.gov.in/PressReleasePage.aspx?PRID=2224505&re... [2] https://www.nipl.com/how-it-works/frequently-asked-questions...

HexDecOctBin··on Prefer strict tables in SQLite
SQLite did come from TCL everything-is-a-string world, so this attitude is not surprising. TCL makes for a very good shell language (much better than Bash or Batch), but a rigid systems language it is not.
HexDecOctBin··on Box3D, an open source 3D physics engine
I do wonder how it compares against Jolt. Both seem to have a good pedigree, one from Valve and Eric Catto, and another used in Horizon games.
HexDecOctBin··on Ante: A new way to blend borrow checking and reference counting
I see, so would it would only be relevant to unions, or would adding a new node to a linked list or pushing another element in a dynamic array or setting a pointer to null also count?
HexDecOctBin··on Ante: A new way to blend borrow checking and reference counting
What is "stable shape"?
HexDecOctBin··on Why can't India's government build a decent website?
Clarity and predictability is more important than modernity when serving 1.5 billion diverse people.
HexDecOctBin··on Why can't India's government build a decent website?
The one big issue with Indian Government websites is that there is no single unified visual language, something that UX4G [1] is aiming to fix.

Other than that, I agree; this reads like the rantings of an young intern incapable of operating anything not built using whitespace-heavy "flat" interfaces.

[1] https://www.ux4g.gov.in/

HexDecOctBin··on RRB-Trees: Efficient Immutable Vectors (2012) [pdf]
Did you use some resource on how to layer immutability on top of B-trees? This is finicky enough that I don't feel comfortable YOLOing.
HexDecOctBin··on LuaJIT 3.0 proposed syntax extensions
It might have been better to publicly document and stabilise the LuaJIT bytecode, which would allow people to then come up with whatever syntax they wanted in their own custom frontends.
HexDecOctBin··on 1,700 free online courses from top universities
Same in India, this is the first time I am seeing this on Internet Archive
HexDecOctBin··on Gaussian Point Splatting
Can someone point to a resource/tutorial for learning point splatting (the 90s rendering technique)? Gaussian Splatting has completely over taken the search results, and the original technique is now near impossible to find.
HexDecOctBin··on Microsoft builds MacBook Pro rival with NVIDIA-powered Surface Laptop Ultra
Wouldn't know.
HexDecOctBin··on Microsoft builds MacBook Pro rival with NVIDIA-powered Surface Laptop Ultra
> you can disable all the annoying AI/Advertising shit

What Stockholm Syndrome is this? Why should you have to do this in the first place?

HexDecOctBin··on sp.h: Fixing C by giving it a high quality, ultra portable standard library
No modern libc uses (or should use) brk() as the heap. Allocate virtual memory using mmap, VirtualAlloc, etc., and manage your set of heaps.
← PreviousPage 2 of 15Next →