1,209 karma · joined Feb 10, 2016 (10y ago) · 426 submissions
comment 7y ago · link · parent
I had a Fairphone 2 before and I used LineageOS on it. Then I decided to change it, got a second hand OnePlus 5, installed again LineageOS and it's just the same thing, except the phone is faster and doesn't have a few hardware bugs.
I actually choose the OnePlus also because all OnePlus models seem to be well supported by LineageOS, which is probably related to the fact the OnePlus releases quite a lot of things as open source[1] (another good reason for the choice). On top of that, it seems to have a good quality/price ratio. I am quite happy of the choice.
comment 7y ago · link · parent
This is what I understood, at least. Things are quite complicated!
comment 7y ago · link · parent
I believe this is an important problem in medicine (not only psychology): there is a good difference between knowing the solution for something, and convincing the patient to abide to that solution. Each of us has their own set of beliefs about where working solutions come from: professionals, the internet, fortune tellers, friends, self help books. If professionals do not have enough strength in this set, they will not work.
I am not saying that fortune tellers are the solution; I am just saying that this problem exists and that the fact that people believe in medicine professionals cannot be taken for granted.
comment 7y ago · link · parent
307.
Metamath Zero, a bootstrapping theorem prover(arxiv.org ↗)
125 points · by giomasce · 7y ago · 36 comments
comment 7y ago · link · parent
(BTW, I already have more editors and code hosting platforms than I need, so they are not good points for me)
310.
Tinycc gets RISC-V support(lists.nongnu.org ↗)
2 points · by giomasce · 7y ago · discuss
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
In a strong ordering, two objects can only by one smaller, equal or larger than the other. If they are equal, it means that they are substitutable.
In a weak ordering, two objects can only be one smaller, equivalent or larger than the other. No substitutability is implied.
In a partial ordering, two objects can be one smaller, equivalent or larger than the other, or just not comparable. Again, no substitutability is implied.
There is no point in distinguishing strict vs non-strict: depending on whether you call < or <= you will get the string or not string variant, and the same for > and >=.
comment 7y ago · link · parent
You can probably convince yourself of this if you think at the triangles mentioned in the article. Their angles do not change even when you change side.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
I am perfectly fine with saying that GnuPG uses old algorithms, or that different applications should use different keys, algorithms or techniques. But, please, when designing such systems keep in mind that you want to check where your keys come from and which identity they are attached to. And TTBOMK only OpenPGP is currently able to do that. To me it would be great if all crypto applications done in the right way would have a way to tie their keys to the OpenPGP web of trust, in the same way Monkeysphere tried to do for SSL and SSH keys.
comment 7y ago · link · parent
comment 7y ago · link · parent
To further reduce epsilon (or, in somewhat standard terminology, the "binary seed") I am also writing asmc (https://gitlab.com/giomasce/asmc), which is a minimal operating system with a minimal compiler, totalling less than 6 KiB binary seed. This compiler is not for C, but for G, which is a C-inspired language that I invented for this purpose (see the project README and links for more details). The target for asmc is to be able to build and boot Linux and a static copy of tcc (the latter is more or less already there; Linux is, of course, the hard part), at which point it can bootstrap nbs. I'm not there yet, though.
Also, to be fair, although asmc's seed is 6 KiB, you still need an x86 CPU (I'm not aware of free implementations), a loader and a BIOS to have a functional environment. This is not little thing, but I guess it is a reasonable target so far.
comment 7y ago · link · parent
Flex 2.5.11 is rather old now. When I have time I will also add another stage to compile a more recent version. But I believe that flex 2.5.11 can generate the lexer of the latest flex release. Also, it seems that all flex versions can be compiled with a yacc that is not bison. This is what I recall from my experiments of a few weeks ago, that I still have not consolidated in a working script. Surprises might happen!
The other steps of the project are described in the README (where flex is not mentioned yet, but all the rest is). Later steps will be bison, as I said, and then who know. I should aim at Perl, which then would unlock autotools, but Perl itself has a lot of dependencies and I haven't yet begun unravelling them. Also bash and coreutils should be bootstrapped at some point, but for the moment dash and Heirloom can do their job without problems, so it is not a priority (although it might become at some point). Later targets will be binutils, gcc and glibc, but do not hold your breath. Eventually I would like to bootstrap Debian packaging tools and start building Debian packages. That might require that I train my offspring into programming and convince them to continue my mission.
comment 7y ago · link · parent
Bison is my next target, but I haven't been able to work much on it lately. It's true that it should be possible to bootstrap it by history, although I really hope that one does not need to many steps to get to the latest release.
comment 7y ago · link · parent
More or less the same happens with C++ header-only libraries, which are basically uncompiled static libraries. They are very nice and possibly allow strong optimization, but are rather painful to handle in a distribution.
> Plus with a static binary, if you really care about order of loading/unloading etc (which you ideally shouldn't) its trivial to manage with a custom linker script.
Why? It seems to me rather sensible to deinitialize resources in the opposite order in which you initialized them. This way the time span of different resources are contained each within the other instead of just overlap. When using RAII in C++ (which is basically just atexit on a finer grain) it often makes sense to have this requirement.
comment 7y ago · link · parent
I would like this EU English to evolve in the direction of keeping a simple grammar and going towards a more regular pronunciation. Basically it would become a new form of Esperanto, except that differently from Esperanto it would actually have a viable path for many people to learn it.
I know I like to dream, but maybe...
comment 7y ago · link · parent
comment 7y ago · link · parent
Much more convenient than the web interface, if you ask me. And without the problem of remembering the right URL.