News for hackers. Stuff that matters.

frmdstryr

Re:Zig: Pointer Stability for ArrayLists on Sunday August 30, 2026 @05:23PM (#49502974)
After more searching I found this article https://www.gingerbill.org/article/2020/05/17/relative-point...

A far pointer sounds like the global based pointer described in that article. The far pointer Wikipedia article says they are problematic but doesn't give much reasoning as to why.

Re:Zig: Pointer Stability for ArrayLists on Sunday August 30, 2026 @03:46PM (#49502090)
Do any languages have a notion of "relative pointers"? So in the example if instead of appending "line" as ptr & len, it'd instead be appending an offset & len which could in theory be used to safely compute the actual location even with relocations.
Re:HTTP3 Explained on Monday October 13, 2025 @08:44AM (#45567752)
Also apparently slower over fast connections https://arxiv.org/pdf/2310.09423
Re:HTTP3 Explained on Monday October 13, 2025 @08:26AM (#45567581)
Yes, no performance difference either.
Re:QUIC for the Kernel on Thursday July 31, 2025 @05:11PM (#44750204)
The "advantage" is tracking via the server provided connection ID https://www.cse.wustl.edu/~jain/cse570-21/ftp/quic/index.htm...
Re:Ask HN: How do you organize your electronic components? on Saturday October 19, 2024 @07:42AM (#41887263)
I mostly leave stuff in the bags and put them in labeled boxes by category (eg MOSFETs, drivers, etc).

Also wrote an app to track what I have in stock https://f-droid.org/packages/com.codelv.inventory/

Re:Ask HN: Server-side HTML Templates based on DOM? on Saturday July 20, 2024 @03:37PM (#41019122)
enaml-web does this using lxml. It works fine for a limited number of concurrent users.
Re:Ask HN: Why Free Open Source Software? on Wednesday January 24, 2024 @07:06AM (#39116330)
Simple, because I use foss.

I'm always amused when people bash on free software, then you ask if they wrote all their own software, libraries, compilers, etc.. and hear silence.

> I would love to see a successor to OpenSCAD

There is quite a few "code" CAD's around https://github.com/Irev-Dev/curated-code-cad. Cadquery has contraints but isn't really a DSL.

Given how good Horizon is, this is exciting!

Hopefully he can find a way to fix the problem of broken models due to invalid vertex/edge references on fillets/chamfers/etc.. when changing features.

This is a problem even script based programs cadquery/declaracad don't really solve.

Guessing this is due to the recent inform act?
Re:File for Divorce from LLVM on Friday June 30, 2023 @06:32AM (#36532664)
"In the near term it would also reduce the number of targets Zig supports", I hope not but it sure sounds like it.
Re:File for Divorce from LLVM on Thursday June 29, 2023 @10:47PM (#36529931)
So I spent ~4 years writing all my embedded projects (and libraries) in Zig and now several "tier 1" supported arches are just going to be dropped?

It's your language so do whatever you want but please adjust the branding accordingly...

There's a web toolkit for enaml. https://github.com/codelv/enaml-web
Re:Things not available when someone blocks all cookies on Wednesday August 31, 2022 @08:31AM (#32661244)
There's an extension called cookie autodelete that does that. https://github.com/Cookie-AutoDelete/Cookie-AutoDelete
> always avoided interrupts

I'm curious... how does one achieve precise timing without interrupts?

Re:Why Google is so unbearable, and how to fix it on Wednesday May 18, 2022 @10:09AM (#31422977)
I recently found https://commoncrawl.org/ and started working on my own personal search engine. I'm surprised how easy it is to actually get decent results with just metadata that show up nowhere in Google/DDG.
This "feature" is also a major downside... protocol level user tracking. See https://svs.informatik.uni-hamburg.de/publications/2019/2019...
Re:FreeCAD: Open-source 3D parametric modeler on Friday February 04, 2022 @09:22PM (#30216421)
ntopology uses SDFs. I believe its based on libfive.
Re:Tell HN: Merry Christmas on Tuesday December 25, 2018 @08:09AM (#18757264)
Merry Christmas!
Re:Enaml Native - Make Native mobile apps with Python on Tuesday December 19, 2017 @07:49AM (#15959792)
I'm hoping that enaml-native improves some of the pain points that I had with kivy (ex. non native widgets, complicated build system, no "standard" tool integration / debugging, poor version management, "centralized" recipes). Enaml-native addresses a lot of these (or tries to). Would you mind sharing what issues you had?