HN user

sixthDot

208 karma
Posts21
Comments162
View on HN
gitlab.com 3mo ago

Has GitLab Felt into the Enshittification?

sixthDot
4pts1
en.wikipedia.org 7mo ago

South Atlantic Anomaly

sixthDot
3pts2
www.frontiersin.org 7mo ago

What is the sense of agency and why does it matter?

sixthDot
3pts2
grechin.org 10mo ago

Git for Music – Using Version Control for Music Production (2023)

sixthDot
81pts57
en.wikipedia.org 11mo ago

Emotional Attachment to Digital Assets

sixthDot
2pts0
forum.lazarus.freepascal.org 1y ago

Lazarus 4.0 Released

sixthDot
9pts0
pubs.acs.org 1y ago

Exposure to Rubber Additives in Indoor Climbing Facilities

sixthDot
3pts0
en.wikipedia.org 1y ago

Autoped

sixthDot
1pts1
www.hrmagazine.co.uk 1y ago

The rise of performance-enhancing drugs (2018)

sixthDot
1pts0
en.wikipedia.org 1y ago

An History of Covered Bridges

sixthDot
2pts0
fr.wikipedia.org 1y ago

The "little man" pastery of the 6th of December

sixthDot
1pts1
forum.lazarus.freepascal.org 1y ago

Lazarus Release 3.6

sixthDot
4pts0
news.ycombinator.com 1y ago

Ask HN: Why the heck foobillar is still not translated to Rust

sixthDot
1pts0
en.wikipedia.org 2y ago

Dark Data

sixthDot
8pts0
news.ycombinator.com 2y ago

Ask HN: State of permissive licences and AI training

sixthDot
1pts3
forum.lazarus.freepascal.org 2y ago

Fun Fact, PNG and Microsoft

sixthDot
2pts0
bulgarianmilitary.com 2y ago

Britain began producing Soviet spare parts based on reverse-engineering

sixthDot
1pts0
lucasfcosta.com 2y ago

UX patterns for CLI tools (2022)

sixthDot
8pts0
www.barrons.com 2y ago

France Orders Apple iPhone 12 Sales Halted over Radiation

sixthDot
4pts1
gitlab.com 3y ago

The Styx Programming Language

sixthDot
38pts26
gitlab.com 3y ago

Self-hosting the styx-lang compiler 18 months after

sixthDot
2pts1

This work on system of weight:

For each option and criterion, you assign a rating (0–10). Each criterion has an importance weight (1–5 stars). Decidit multiplies rating × weight and sums the values – the option with the highest score wins.

Is this really made for people who lack self-discipline or maybe just a website made for a portfolio ?

LLVM: The bad parts 6 months ago

Also the C API is a bit the poor child. Plenty of useful options (or even opt passes !) are not available.

If only that was only about emitting byte code in a file then calling the linker... you also have the problem of debug information, optimizers passes, the amount of tests required to prove the output byte code is valid, etc.

How this was discovered is incredible. An amator satelite was lauched. operators collected data. At some point they had the idea to plot them. That gave a big stain in the south atlantic.

Not into ZIG but for some reasons I monitor new issues that pop in the bug tracker of "new" / "raisins" languages. ZIG has clearly reached the next level, let's say if you compare the issues two years ago (lot of comptime/type system things) VS now.

I cannot reply on the blog but to answer the author about other languages, here is the D version, using a single template:

    auto ref T max(T)(auto ref T u, auto ref T v) => u > v ? u : v;
    
    void main()
    {
        int a = 1;
        int b = 0;
        int x;

        static assert(__traits(compiles, &max(a,b) == &a),
            "should have selected the lvalue version");
        static assert(__traits(compiles, x = max(1,0)),
            "should have selected the rvalue version");
        static assert(__traits(compiles, x = max(a,0)),
            "should have selected the rvalue version");
        static assert(__traits(compiles, x = max(1,0)),
            "should have selected the rvalue version");
    }

an hygienic way to handle that is often "assert", can be a macro or a built in statement.The main problem with assertions is the side-effects. The verification must be pure...

Bound checks are usually conditionally compiled. That's more a kind of "contract" you'll verify during testing. In the end the software actually used will not check anything.

    #ifdef CONTRACTS
    if (i >= array_length) panic("index out of bounds")
    #endif

What is really mind blowing is that, if understood correctly, bots would be used to check the availability of a product, that sounds so a "hacky" method, like "seriously people are doing that in 2025".

Basically any transfert function that is used as interpolator can also be used as "easing". E.g a quadratic Bézier (let's say with empirically determined coeffs). One lesser known I used to like much is the super ellipse, although very costly.

A problem I see with talking exclusively about lexing is that when you separate lexing from parsing you miss the point that is that a lexer is an iterator consumed by the parser.

Learning C3 1 year ago

Many languages propose a system of ranges:

    case 'a' .. 'z', 'A' .. 'Z', '0' .. '9', '_': ...;
although when working with enumerators, there is a still a risk caused by the fact that re-ordering enumerators or adding new ones can break the switches.

Despite of the drawback I prefer. Also a Range can be a formal expression which simplifies the grammar of other sub-expressions and statements, not only switches but also array slices, tuple slices, foreach, literal bitsets, etc.

int x = void;

this is what the D programming language does. Every var declaration has a well know value, unless it is initialized with void. This is nice, optimizing compilers are able to drop useless assignments anyway.

Compression reduces the range between the lower and the higher level so your ears are faced to a more or less "constant" pressure. Personally when I was into home production I only dared eating the peaks with a limiter and reasonable settings, e.g to gain one or two db, never more.

On top of that another problem with compression is that it is not neutral, bad compressors, especially in the digital domain can introduce aliasing.

Also search for the "loudness war". This is how we called the problem back in the mid 2000's.

Sure, CTFE can be used to generate strings, then later "mixed-in" as source code, but also can be used to execute normal functions and then the result can be stored in a compile-time constant (in D that's the `enum` storage class), for example generating an array using a function literal called at compile-time:

   enum arr = { return iota(5).map!(i => i * 10).array; }();
   static assert(arr == [0,10,20,30,40]);