Readit News logoReadit News
olodus commented on LTS kernels are no longer supported for 6 years because no one used them   lunduke.locals.com/post/4... · Posted by u/josteink
nobodyandproud · 2 years ago
I approve of this fight-picking. It’s what journalists are meant to do.

The Linux Foundatiom should an engineers-first organization.

The leadership team breakdown shows me it’s full of MBAs specializing in “on a computer”.

olodus · 2 years ago
I agree, Journalists should pick fights, but I would prefer if they built up their arguments a bit better than this.

I am one who is not familiar with the author previously, and from what he brings up I am highly inclined to agree with him, but I have to agree I became more sceptical to his arguments when all he brings up to support it is one very sparing data point (that graph feels very misleading). Give me data on how the kernel support has changed over time. Give me data on how the foundations income has changed over time. Not showing me any of this makes me very sceptical. Would showing this data not support the authors point?

olodus commented on Arena allocator tips and tricks   nullprogram.com/blog/2023... · Posted by u/jandeboevrie
squeek502 · 2 years ago
There's support for exactly this type of OOM testing in Zig via std.testing.checkAllAllocationFailures:

- https://github.com/ziglang/zig/blob/1606717b5fed83ee64ba1a91...

- https://www.ryanliptak.com/blog/zig-intro-to-check-all-alloc...

olodus · 2 years ago
Oh cool, didn't know that. Thanks.
olodus commented on Arena allocator tips and tricks   nullprogram.com/blog/2023... · Posted by u/jandeboevrie
kgeist · 2 years ago
In my hobby project, I started always passing an allocator argument to every function or object which requires allocation (inspired by Zig) and I love it so far. Often I can just pass a bump pointer allocator or a stack-based allocator and do not care about deallocation of individual objects. I also wrote a simple unit testing framework to test out-of-memory conditions because it's easy to do when you're in control of allocators. Basically I inject an allocator which calculates how many allocations are done when a unit test is run, and then unit tests are later rerun again by injecting OOM at every known allocation point. A lot of bugs and crashes happen when an OOM is encountered because such paths are rarely tested. The idea of my pet project is a very resilient HTTP server with request-scoped allocations and recovery from OOM without crashes.
olodus · 2 years ago
Oh wow that is a really interesting test solution. That would be an interesting thing to add to all zig tests (I know they already have the testing allocator and good valgrind support but I don't think that tests/simulates oom).

I love things like these that use existing tests and expand the to just test further thing in already covered flows. We have done similar things at my work where we test expansion of data models against old models to check that we cover upgrade scenarios.

olodus commented on Unity's oldest community announces dissolution   farewell.bostonunitygroup... · Posted by u/Morizero
LoganDark · 2 years ago
They can't ever introduce any revenue sharing because they promised not to do that and would be immensely vulnerable to lawsuits if they ever went back on that promise. This was their attempt to do something that doesn't technically count as revenue sharing.
olodus · 2 years ago
Yeah I agree with you on this. This might have been the CEO too proud to not go back on his strong words against revenue share. That said the alternative they presented is a really stupid alternative. I don't think anyone has argued that Unity shouldn't be able to make money or increase their fees if necessary, but they should have followed their word on "stay on the terms you signed up to" and not do such a crazy version of fee increase as they did (install fee is a really stupid metric and that the install fee didn't have a roof was really bad).
olodus commented on MMT Verify: is there pressure on the Russian Economy?   new-wayland.com/blog/mmt-... · Posted by u/neilwilson
olodus · 2 years ago
I agree with the article that it might be misleading to measure the rubble against US Dollar or Euro as not as much trade is done in those currencies in Russia currently. That said, if you measure the rubble against the ruppie or yuan instead, for example, the rubble has also weakened quite a bit. Weird that the article doesn't do that comparison... Strange...
olodus commented on Show HN: Obl.ong, Free, quality domains for all   obl.ong... · Posted by u/reesericci
TrevorAustin · 2 years ago
And here Oblong itself is the NGO, so mysubdomain.obl.ong isn't that crazy.

"Oblong" is kind of an awkward word though. Anyone want to set up a fork at .bi.ngo?

Dang, now I'm going to be thinking of .ngo and .ong domains all day...

olodus · 2 years ago
Oh, now you got me started aswell. There are so many good ones.

k.ong - cool word, don't know what it would be for. Maybe the home of the mascot of the K language (I don't think K has a mascot from what I know but they should have one).

whats.wr.ong - find a therapist site.

Much harder to figure out any on '.ngo' I feel...

olodus commented on Richard Scarry Collection: Archive.org   archive.org/search?query=... · Posted by u/getwiththeprog
pfdietz · 2 years ago
Are these not still under copyright? Scarry died in 1994.
olodus · 2 years ago
Was about to ask the same question (though didn't know when he died).

Ok then, I'll get back to these when we finally have been able to convince the government that the current copyright length is obscene or when they have entered public commons - whichever is earlier (don't make me bring the mood down by suggesting which one I think will come first).

olodus commented on Jujutsu: A Git-compatible DVCS that is both simple and powerful   github.com/martinvonz/jj... · Posted by u/lemper
josephg · 2 years ago
Pijul is interesting, but my understanding is that it still operates on lines, and does diffs when you push the commit button. And that makes it not work well for real-time collaborative editing. Ideally I’d like a tool that can span both the real-time collaborative editing and offline collaboration use cases. But it’s a very interesting tool, and I’d like to have another read through the docs at some point. I remember being very impressed with it when I took a look a few years ago.
olodus · 2 years ago
Last time I looked at it they had experimental support for binary diffs (not just lines). That was quite a while ago though, they have probably gotten further now.
olodus commented on Austral Programming Language   austral-lang.org... · Posted by u/frutiger
zetalyrae · 2 years ago
No, on the contrary, Austral is entirely built around resource management. The central concept is linear types, which is about ensuring 1) resources are disposed of and 2) resourced are used according to their protocol, e.g. no use-after-free.

There's "no garbage collection" because Austral lets you have manual memory management without the danger, like Rust.

There are no destructors in the sense of special destructor functions which are called implicity at the end of scope, or when the stack unwinds. Rather, you have to call the destructors yourself, explicitly, and if you forget the compiler will complain.

This sounds verbose until you start paying attention to all the mistakes you make all the time that involve, in some way, forgetting to use a value. The language makes it impossible to forget to do something.

olodus · 2 years ago
People might feel like it is too verbose, but I think it is good to have the clarity. I write C at my day job and I have no problem with the 'verbosity' if it provides clarity of what happens. What I want is the compiler to help if I ever forget who owns a particular data value and miss to clean it up. For that linear types are perfect. I also prefer their simpleness over Rust's affine types which easily gets very complicated (see the difference between theirs and your borrow checker). Linear types gives me an easy way to define basic "state machines" for how to handle the data using types and then verifies that I implemented them correctly. That is kinda all I need. Feels like a good "get shit done" language.
olodus commented on Austral Programming Language   austral-lang.org... · Posted by u/frutiger
mrkeen · 2 years ago
This language looks super promising. With the exceptions of 'no type inference' and 'no arithmetic precedence', I really like its anti-features list.

With regard to 'no arithmetic precedence', I tried

    printLn((1 + 2) + 3);
and

    printLn(1 + 2 + 3);
Sure enough, the first one compiles, but the second doesn't.

Also, (n-1) is a parse error unless you put a space after the minus.

I got curious if recursion was properly handled, given it wasn't in the anti-features list, but no luck:

    module body Foo is

        function go(acc: Nat64, n: Nat64): Nat64 is
            if n = 0 then
                return acc;
            else
                return go(acc + n, n - 1);
            end if;
        end;

        function main(): ExitCode is
            printLn(go(0, 135000));
            return ExitSuccess();
        end;

    end module body.
yields

    Segmentation fault (core dumped)

olodus · 2 years ago
I disagree with you about 'no type inference'. I understand why some swear by type inference, but personally I prefer the complete clarity it provides to avoid it. If writing those characters annoys you, have tooling help you with avoiding that.

u/olodus

KarmaCake day476April 13, 2017View Original