HN user

SkySkimmer

408 karma
Posts4
Comments37
View on HN

When you look at an old version of a wikipedia article it still displays the current version of images. That's why in your link the image legend has eg

[light green] Countries that have announced their impending recognition of Palestine (Australia, France, Malta, and San Marino)

but Australia is dark green in the current image (France still light green and I can't be bothered zooming to see the small ones)

What I really want is to for git to treat each commit as a repository state, so that removing indentation from the state at commit A means that the patch for commit B adds all the indentation

`git rebase -X theirs` seems like it should be close, but commit B will only override conflicting chunks (so a change from A which doesn't conflict with B will persist, this shouldn't be a problem for your use case)

If you search for @@loop in TFA the last occurrence is in this paragraph:

if a function is not purely tail-recursive, but contains some tail-recursive calls then the transformation will rewrite those calls but not the other ones. This may result in better code but it's hard to be sure in advance. In such cases (and cases where functions become purely tail-recursive only after inlining), users can force the transformation by using the [@@loop] attribute

It would set a dangerous precedent

This seems to be false as the precedent already exists.

sources: Étude d'impact (PDF linked in https://www.legifrance.gouv.fr/dossierlegislatif/JORFDOLE000...) says

Par ses modalités, ce dispositif est à rapprocher du dispositif de filtrage prévu au 1° de l’article L. 521-3-1 du code de la consommation, permettant aux agents de la DGCCRF d’ordonner, selon des conditions et modalités particulières, aux opérateurs de plateformes en ligne, aux fournisseurs d’accès à internet ainsi qu’aux exploitants de navigateurs internet d’afficher un message avertissant les consommateurs du risque de préjudice encouru s’ils accèdent au contenu manifestement illicite, et au b du 2° du même article, qui leur permet d’ordonner à ces mêmes opérateurs et aux hébergeurs de prendre toute mesure utile destinée à limiter l’accès à ces contenus.

Article L. 521-3-1 du code de la consommation: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI0000...

Meta Myths 4 years ago

I thought this would be myths about myths, but it's actually facebook gossip.

Does anyone know any interesting myths about myths?

Okular works nicely for .cbz files (zip files of images.) Oddly, it won't open the same files named with a .zip extension. Not a terrible inconvenience, just a little odd.

This can be made to work if you tell mime that zip is an alias for cbz: put

    <?xml version="1.0"?>
    <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
    
      <mime-type type="application/zip">
        <alias type="application/x-cbz"/>
      </mime-type>
    
    </mime-info>
in ~/.local/share/mime/packages/some-name.xml then run "update-mime-database ~/.local/share/mime"

I've had this for 2 years and 2 days and haven't noticed any issues.

Disable clickselectsall in address bar based on https://superuser.com/questions/540851/go-back-to-not-select..., but wrapped in a .deb using triggers so I don't have to do it manually everytime firefox updates. https://gist.github.com/SkySkimmer/ae3038a20b68c0c85155c5d23...

When the web extension change was new and people were complaining I wondered if this sort of patch would replace some extensions, but it seems that hasn't happened. I guess distribution is too painful?

uBlock Origin 1.41 4 years ago

I've blocked so many fixed position headers with this thing. Although tbh I should learn the filter syntax to make them position: absolute instead.

Since March 31, 2021, when the deadline set for websites and mobile applications to comply with the new rules on cookies expired, the CNIL has adopted nearly 100 corrective measures (orders and sanctions) related to non-compliance with the legislation on cookies.

I didn't realize there was that delay, I thought the rule was supposed to be enforced years ago.

Yes, for instance https://animalcharityevaluators.org/charity-review/the-human...

The results from several studies suggest higher levels of mortality in cage-free systems compared to battery cages and there is reason to believe that higher levels of mortality correspond to lower levels of welfare since the increased mortality may result from disease, feather pecking, and injuries. Among the nine experts interviewed in The Open Philanthropy Project’s report “How Will Hen Welfare be Impacted by the Transition to Cage-Free Housing?” there was unanimous agreement that mortality will likely be significantly higher following the transition to cage-free systems. The authors of the report express optimism that producers will be motivated to and capable of reducing mortality levels to be comparable with battery cages and maintain the view that cage-free systems will have a net positive impact on welfare in the long term.

(a link to the mentioned report is included in the footnote)

After enough runs, Vigil promises that all remaining code meets its oaths.

Good thing that's only a promise and not an oath. In the scenario where we have `f` and `g`, `f` calling `g` incorrectly and `g` violating its own oaths. Vigil will delete `f` and `g` will go without punishment forever!