HNHacker News
TopNewBestAskShowJobs

delhanty

1,230 karma · joined April 12, 2014

https://x.com/delhanty

Moderate countabilist

Making DOG’s ModeLer (#DOGML)

dogml.eth - expiration date: 2072.09.14 at 17:07 (UTC+09:00)

submissionscomments
delhanty··on Exploring Linear A
Curious, what concrete progress have professional linguists made on deciphering Linear A?
delhanty··on Native JSON Output from GPT-4
Do you have to be nasty?

That's a person you're replying to with feelings, so why not default to being kind in comments as per HN guidelines?

As it happens, swyx has built notable AI related things, for example smol-developer

https://twitter.com/swyx/status/1657892220492738560

and it would be nice to be able to read his and other perspectives without having to read shallow, mean, dismissive replies such as yours.

delhanty··on Colon Cancer Isn’t Just an Older Person's Disease Anymore
> Is something in our diet, like processed meats and sugary drinks, to blame? Could this be linked to the rise in obesity?

Dr Peter Attia on the Tim Ferris podcast in 2019 suggested it's the fructose in sugary drinks.

> Sugar as a liquid versus sugar as a solid behave differently and also the dose matters, but if you take a bolus of liquid sugar, it’s going to make it further down the GI tract than the solid. Certainly, in animals, the evidence, Lew Cantley actually published this study in Science about four months ago. You could basically take a mouse model that is primed to get colon cancer and you had three groups. One group is getting just a bolus of glucose. The other group is just getting a bolus of fructose liquid, and the other is getting a bolus of sugar, glucose and fructose together. You could make that animal explode in colon cancer with the sugar, the glucose fructose.

https://tim.blog/2019/12/07/peter-attia-transcript/

delhanty··on GNU poke: The extensible editor for structured binary data
Also

* Synalyze It! - Hex Editor for Mac: https://www.synalysis.net/

I am not affiliated Synalyze It!, but have been a customer for several years. Generally, I've been happy with it, though it crashes occasionally. The support has been responsive when I've had licensing issues.

delhanty··on We come to bury ChatGPT, not to praise it
As an aside, I wrote my previous comment in “stochastic parrot” mode.

That is, I scattered commas where it felt natural to breathe.

Then, I edited it. Maybe, there was a non-essential clause in there. Also, possibly, there was an Oxford comma. Or maybe not! I’m not really clear about English grammar rules. But what this stochastic parrot says is usually intelligible to other English speakers.

delhanty··on We come to bury ChatGPT, not to praise it
Indeed

It seems that, like ChatGPT, the author is also a bullshit generator, and therefore, by his own definition, unintelligent.

delhanty··on Tesla stock marks lowest close in years as investors worry about Musk’s focus
Fairly neutral on Musk (pluses & minuses) here, but the most informational thing about this story is what it says about The Guardian and their journalists (who have to survive in the new level-playing field world of Twitter blue check-marks available to anyone willing to pay the monthly fee).

>It looks like The Guardian is hoping that Elon will do for their subscriber numbers what Trump did for the New York Times's.

https://twitter.com/paulg/status/1587079038463606787

pg's Twitter from the end of October 31, that is before he got temporarily deactivated for tweeting on December 19

>This is the last straw. I give up. You can find a link to my new Mastodon profile on my site.

https://twitter.com/paulg/status/1604557444247539712

delhanty··on Parallel Curves of Cubic Béziers
> There's software to help with designing these plans, which I guess must use parallel curves under the hood.

Siemens PLM / D-Cubed PGM component is one example of such software.

It's used for the offset function in the sketcher in Siemens PLM own NX/SolidEdge and also in SolidWorks.

> PGM automatically generates valid 2D offset profiles on points, lines, circles, ellipses, splines, general parametric curves, and offset curves.

> Gaps that arise between adjacent edges in an offset loop are automatically capped using a choice of capping techniques. Offset edges that shrink to zero length/radius, and any intersecting geometry is automatically trimmed, including self-intersecting offsets, offsets ellipses, and splines.

https://www.plm.automation.siemens.com/global/en/products/pl...

Disclaimer worked on the predecessor of that code as D-Cubed from 1995-2000.

As a side note, historically, in the Cambridge (UK) school of 3D mechanical CAD, BRep modeling (Parasolid, Acis) the approach to offset (aka parallel) surfaces (and later offset curves with the PGM) has been procedural - thus an offset surface is a pointer to an underlying surface plus a signed offset value. Accordingly, there would be no conversion to Cubic Béziers - all the modelling operations would be made to work with the procedural offset directly. Pretty much all exotic geometry had to be procedural to meet accuracy requirements - that is before the introduction of "Tolerant modeling" in Parasolid around 1992. So, for example, a Rolling ball blend (ie. a constant radius fillet) surface was procedural and had pointers to offset surfaces, which were also procedural. The advantage was accuracy, but the disadvantage was poor performance.

delhanty··on Show HN: A Visual IDE for React
> Just a feeling of exasperation when seeing the product.

Well maybe you're not the target market then? It looks like a no-code rather than low-code effort, and I'm hazarding a guess that you're a dev and so ...

> It was never my intention to be "shitting" on anyone.

I'm sure that you didn't.

Here's the thing: this is a "Show HN" - somebody has been brave enough to show their new thing to the community. People vary - some are much more sensitive than average, particularly in a community like this that self-identifies as not-average, and will take the mildest criticism very personally.

If something's not for you, there's always the option of not commenting, or at least starting out by saying something encouraging to soften the blow.

https://news.ycombinator.com/newsguidelines.html#comments

delhanty··on Show HN: A Visual IDE for React
>Yes, most new software in every category fails, but every once in awhile one succeeds, and that's how we make progress.

+100

Also, I'm rather uncomfortable when a "Show HN" gets dumped upon - furthermore with no actual specific criticism, let alone advice on how to improve.

What happened to that "Be kind. Don't be snarky." from the guidelines?

delhanty··on Why are 2D vector graphics so much harder than 3D? (2019)
Thank you - I appreciate the link.

> from a paper whose name I don't remember.

I guess it's the Loop-Blinn paper from my reply to the other reply.

Resolution Independent Curve Rendering using Programmable Graphics Hardware https://www.microsoft.com/en-us/research/wp-content/uploads/...

delhanty··on Why are 2D vector graphics so much harder than 3D? (2019)
Thank you - sounds pretty straightforward.

I found a reference on HN for anyone else following along:

> In 2005 Loop & Blinn [0] found a method to decide if a sample / pixel is inside or outside a bezier curve (independently of other samples, thus possible in a fragment shader) using only a few multiplications and one subtraction per sample.

    - Integral quadratic curve: One multiplication
    - Rational quadratic curve: Two multiplications
    - Integral cubic curve: Three multiplications
    - Rational cubic curve: Four multiplications
https://www.microsoft.com/en-us/research/wp-content/uploads/...

https://news.ycombinator.com/item?id=26463464

delhanty··on Why are 2D vector graphics so much harder than 3D? (2019)
> For degree-two/quadratics there are a series of coordinate transforms that you can do which conveniently map all curves to one UV coordinate space; degree-three/cubics require a lot more attention in order to render correctly. If I remember correctly Mozilla Pathfinder does this[2].

That's interesting! Do you have any references (or links to sample fragment shader code) for that quadratic case coordinate transformation?

delhanty··on Cascade: Open-source Node-based image editor with GPU-acceleration
Further confusing is that Open CASCADE

https://github.com/Open-Cascade-SAS

is also written in C++ and used to be called CAS.CADE before it was open-sourced

https://en.wikipedia.org/wiki/Open_Cascade_Technology#Histor...

delhanty··on CAD/CAM constraint-based geometry sketcher for Blender
There's a summary of methods used on Wikipedia

> A general scheme of geometric constraint solving consists of modeling a set of geometric elements and constraints by a system of equations, and then solving this system by non-linear algebraic solver. For the sake of performance, a number of decomposition techniques could be used in order to decrease the size of an equation set:[8] decomposition-recombination planning algorithms,[9][10] tree decomposition,[11] C-tree decomposition,[12] graph reduction,[13] re-parametrization and reduction,[14] computing fundamental circuits,[15] body-and-cad structure,[16] or the witness configuration method.[17]

https://en.wikipedia.org/wiki/Geometric_constraint_solving

delhanty··on CAD/CAM constraint-based geometry sketcher for Blender
The big players nearly all use D-Cubed 2D DCM

https://www.plm.automation.siemens.com/global/en/products/pl...

Siemens PLM - NX and SolidEdge

Dassault - CATIA & SolidWorks

Autodesk - Inventor & Fusion

PTC - not sure ProEngineer's original sketcher predates 2D DCM of course because they invented history-based feature modeling for 3D CAD.

OnShape also.

Russian systems tend to use LEDAS

https://levindavid.blogspot.com/2011/10/providing-geometric-...

2D DCM is now owned and sold by Siemens PLM but originally created by John Owen at D-Cubed Ltd (Cambridge UK) from circa 1989 before he sold the company to Siemens in 2004

https://www.plm.automation.siemens.com/global/en/our-story/n...

Original 2D DCM paper by John Owen from 1991

Algebraic Solution for Geometry from Dimensional. Constraints

http://papers.cumincad.org/data/works/att/9ad2.content.pdf

(The split the graph into biconnected components doesn't really cover variable radius circles though.)

Other more recent papers by John Owen on arXiv

https://arxiv.org/search/math?searchtype=author&query=Owen%2...

(Some of these are for 3D DCM.)

Disclaimer: D-Cubed Ltd employee from 1995-2000.

delhanty··on Poll: Which FAANG is the most likely to decline in the years ahead?
Schrödinger's Apple because China's inevitable re-unification with Taiwan will take the U.S.-China cold-war to the next level ( assuming that there's not an actual short, hot war, which, IMO, the U.S. would loose unless it used its nukes), the box will be opened and Tim Cook will be forced to choose whether Apple's loyalties with the U.S. or China. We could even see a rogue Apple China de-merge itself somewhat like happened with ARM [0].

[0] https://www.iotworldtoday.com/2021/09/08/arm-loses-china/

delhanty··on Analysis of the overhead of a minimal Zig program
Can't we admire both Electron and Zig? Certainly I do ...

> ... used by hundred of millions of people can't say the same about Zig or its future.

I'd be completely unsurprised if in 10-years Zig was the toolchain of choice for low-level systems programming and there were Linux forks containing Zig code used by used by hundred of millions of people.

delhanty··on Physicists working with Microsoft think the universe is a self-learning computer
From the article, link to the original paper on arXiv:

https://arxiv.org/abs/2104.03902

I was wondering whether there was a short statement that summarized how autodidactic systems differ from the Wolfram Physics project approach to the "universe as a computer" and I found one in the paper:

>In this section we discuss several protocols for autodidactic systems, as well as some preliminary computational experiments. A protocol defines a dynamic architecture with rules for change that lend themselves to interpretations as learning strategies or reward functions. Generally speaking, the autodidactic paradigm suggests none of these may be fixed a priori, since one history guided by a set of rules might transform itself to be guided by altered rules, though in practice it is often helpful to limit the number of ways in which the system may evolve. Autodidactic systems are distinct, however, from emergent cosmological models that apply a priori growth rules consistently, as in [41].

>[41] Stephen Wolfram. A Project to Find the Fundamental Theory of Physics. Wolfram Media, 2020.

Completely uninformed, but phenomena like General Relativity emerging from a priori growth rules (IIRC claimed by the Wolfram Physics project) seems more parsimonious than rules that change over time.

delhanty··on Ask HN: Hetzner dedicated and crypto – what have you been told is allowed?
I did that and the response was

> It is not mentioned directly that Ethereum is not allowed, but we write that "it is not limited to, ...."

referring to

>8.3. ... The operation of applications for mining cryptocurrencies remains prohibited. These include, but are not limited to, mining, farming and plotting of cryptocurrencies. We are entitled to lock the Customer’s access to their Hetzner services or account in the event of non-compliance.

from

https://www.hetzner.com/legal/terms-and-conditions/

delhanty··on Ask HN: Hetzner dedicated and crypto – what have you been told is allowed?
> I've been running both an Ethereum and Bitcoin node from my dedicated Hetzner box for years without issue.

Informative thank you.

> I wonder if you just got generic answers from a tier 1 support person who doesn't know much.

Possibly - I wondered whether that was the case, which is why I did an "Ask HN".

delhanty··on Ask HN: Hetzner dedicated and crypto – what have you been told is allowed?
Thanks - yes I am a bit square w.r.t. rules.
delhanty··on Ask HN: Hetzner dedicated and crypto – what have you been told is allowed?
Ah that's interesting thanks - particularly the bit about 15% of Ethereum nodes using Hetzner.
delhanty··on Ask HN: Hetzner dedicated and crypto – what have you been told is allowed?
I read that thanks - it covers mining applications and I believe that change in May was triggered by Chia. In fact it was covered on HN

https://news.ycombinator.com/item?id=27212239

delhanty··on Ask HN: Hetzner dedicated and crypto – what have you been told is allowed?
Fair point - "ask for forgiveness not permission"
delhanty··on Everything I've seen on optimizing Postgres on ZFS
A super deep and informative post as always Victor.

I'm still digesting it, also cross-referencing it with the ZFS section of your Hetzner drive failure write up of December 13th.

https://vadosware.io/post/handling-your-first-dead-hetzner-h...

An idea for a future post might be

"Our ZFS and Postgres setup for Nimbus WS: Hetzner, OVH and LeaseWeb"

delhanty··on [dead]
Maybe the value to Coinbase is to accumulate US government allies in its battle with the SEC. Just a thought ...
delhanty··on Prefaulting Memory Mapped Arrays in Julia
I'm interested in learning more about the performance possibilities of mmap for the case read-only X 64-bit-only and found this interesting article by Justin Willmert [0] from 2020-11-05 on using the Linux-specific MAP_POPULATE flag to prefault memory on a single-thread to increase performance.

Surprisingly, the article didn't appear to have been submitted previously when I searched for its URL.

And seeing as there are lots of HN folks who know a lot more about it than me, I submitted it to see what I could learn from the comments.

Edit 0: also found that it wasn't on archive.org so I submitted it there [1].

Edit 1: and just to make sure that this nice article is saved for posterity, I submitted it to archive.is too [2].

[0] https://justinwillmert.com/about/ "an experimental physicist with an affinity for modeling and analysis. I am particularly interested in melding computational physics and software engineering to solve novel problems."

[1] https://web.archive.org/web/20210810021537/https://justinwil...

[2] https://archive.is/VjtSh

delhanty··on FB users buying Oculus VR headsets to get customer service prioritization
> "The only way you can get any customer service is if you prove that you've actually purchased something from them," he said.

Seriously, this sounds super-entitled to me.

Why is this unfair?

Also, the advertising supported-model has so many negative consequences. Pragmatically, FB isn't just going to fade away, so wouldn't it be better if they evolved towards a paid model? (Or at least the option to pay.)

delhanty··on Zip – How not to design a file format
Another Zip article from early 2020 - historical but also covers quite a lot of technical ground:

Zip Files: History, Explanation and Implementation

Hans Wennborg

https://www.hanshq.net/zip.html

https://news.ycombinator.com/item?id=22506451

← PreviousPage 2 of 15Next →