508 karma · joined August 2, 2012
I've done that a couple times to make a bunch of mismatched disk fit into zfs's requirement that all are of the same size. The ability to work with a mix of disk sizes is one advantage of btrfs - if you remember to be extra careful on a disk failure and bad shutdown. Plus the ability to dynamically grow the array, but there is work to improve that in the zfs side as well.
However that project is based on an old version of clang and the changes were never upstreamed (initially it was a commercial product), so sadly this project is practically dead.
I can't remember were I read it, but among the claims were that it is too closely coupled to GNOME, and various things like fractional scaling, apps having to provide min/max/close buttons/decorations, or window shading not being in the core protocol because of that. Also - and more seriously - the rendering was claimed to be based an outdated/wrong model meaning GUI applications can't detect and optimize for things like when to render or not, e.g. make decisions based on refresh rates or not being focused, resulting in performance or battery life problems.
The other point about missing native network support I can dismiss myself, but for the others I am not knowledgeable enough.
As to "Val", there is inout (and sink set) which Herb Sutter also suggested for C++ to replace all the &ref, const ref&, *ptr, and value parameter mess which to a degree Rust also inherited.
The default let parameters (const ref&) is also what Carbon defaults to. And with explicit copies there are now destructive moves as in Rust. They write "Our goals overlap substantially with that of Rust and other commendable efforts, such as Zig or Vale" - a wasted opportunity to mention "Rust" in the title here!
I just think the fun keyword is silly and the wrong width, just use fn already! But I like any language where reference and value semantics are not hidden behind compiler magic.
Combined with thoughtful use of `# pragma: no cover` a 98% code coverage nowadays is an immediate warning that something was rushed. With this and type checking I feel RuntimeErrors much easier to avoid these days.
And typing, not even a mention?! :) But otherwise a great article, thank you!
To fix that I usually preprocess them with subclean[1], i.e. extract the subtitles with `ffmpeg -i IN out.srt` in clean and use that srt file. There are some players with cleanup options, but I never found them comprehensive enough.
Also, separate subtitle tracks would be awesome, or a slider for "how much information" you want displayed.
This paper is from 2011 and appeared in the journal Applied Economics, but that is behind a paywall.
Also, under "Why not Rust?"
If you want to use Rust, and it is technically and economically
viable for your project, you should use Rust. In fact, if you can
use Rust or any other established programming language, you should.
Carbon is for organizations and projects that heavily depend on C++;
for example, projects that have a lot of C++ code or use many
third-party C++ libraries.CamelCaseForEverything is such a waste, maybe they use it for implicit public/private as in Go? And maybe to please existing Go or Java users?
Earthquake-prone Japan might have a hard time finding an appropriate location.
1: 6m Tom Scott video https://www.youtube.com/watch?v=aoy_WJ3mE50
So these bounds are set by the software (and are guarded against manipulation). Then each read or write to memory is checked against these bounds by the "fine grained MMU" hardware.
> Any piece of code running in a process can construct an integer value and, if this integer corresponds to a valid location in the process’ address space, then it can access memory at that location.
What this adds:
> CHERI changes this. Every load or store instruction and every instruction fetch must be authorized by an architectural capability.
So it should be possibly to call into any function (e.g. from an untrusted blob, and given the capabilities are set up) and on return have the guarantee that none of the callers memory has been touched and all the side effects are contained in the return value, and maybe selected whitelisted addresses?
I remember the mill architecture[1] also claims to have that capability, I think they called these calls "Portals". Btw the talks by Ivan Godard are a must watch if you have any interest in hardware architecture.
But how can existing code be just a recompile away from benefiting from these features, don't the capabilities have to be set up somehow (unless it is purely functional language)?
With it there are 4 Dune "movies" out: the 1984 Lynch version, the 2000 Sci-Fi Channel one (a 3 part mini series, nearly a movie), the aforementioned 2013 one, and of course the 2021 Villeneuve one.
Is this the reason why manyclang (using llvms cmake based build system) can be provided easily, but it would be more difficult for gcc? Or is the object -> binary dependency automatically deduced?
1: https://godbolt.org/z/bKfG14P64 - the difference between `e()` and `n()` is that one is marked `noexcept`. Both `f()` and `g()` run directly to `ret` (return) in the normal case.
See London or Paris or even New York City. Just getting everyone a car only creates cities which are contain more parking lots than buildings and green spaces.
We propose a dynamically triggered optimization regime for the shell
that we call Jash, short for ‘Just a shell’. Jash inspects each shell
command as it comes in to identify candidates for rewriting.What also comes to mind when editing source code is a non-browser participant which can actually run and test the code (or for other non-interactive backends, such as en external spellcheck).
What works for me is having the `about:memory` tab open and clicking on "Minimize memory usage" at the end of the day when I suspend the machine. And, I have a lot of tabs and windows open, strewn over various virtual desktops. Though most tabs are not loaded but more expensive bookmarks, but I have no add-on which actively unloads tabs.
It then describes how the availability of books made propagation of existing technology and newer developments possible and faster.
The only other comparable moments in history are probably the evolution of spoken language, the invention of writing and most recently the internet.
Also much recommended from that Chanel are the videos on the "Origins of Precision"[1], and "The 1751 Machine that Made Everything"[2].
1: https://www.youtube.com/watch?v=gNRnrn5DE58 2: https://www.youtube.com/watch?v=djB9oK6pkbA
But as hinted at in the safety section, with modern sensors and some brains behind them paternoster can be made safe. You can even make them wheelchair accessible by gradually stopping a cabin and informing all other passengers about that.
And when a department in a large and busy office building is spread across a few floors then a paternoster is the most efficient way of moving between floors.
> instead of solving it again, you can simply push Resol, and the conflict will be solved.
Oh noes, so no obscure "pijul rerere" to learn!? I mean, very nice!
> pijul record
I see, that's what that field is for - I tried it briefly when pijul had the interim name and wondered why it was listed and editable in the record editor.
> In Pijul, conflicts occur between changes (not between commits or states), and are solved by changes.
So some channels contains the changeset (Fix, ..), and if adding that change to a channel creates a conflict, the resolution results in the set (pre_Fix, Fix, ..) on that channel. Then adding "Fix" to another channel will automatically pull in the "dependent change" "pre_Foo" as well, if applicable? Or is a separate "new_Fix" created?
Can a link between two changes be created manually, even though the delta does not require it? E.g. to attach an empty commit, if these are even possible in Pijul (compare git's "--allow-empty"). Or, more reasonably, to record logical dependencies which do not show up in the code, such a separate changes for testing vs. the code itself.