Skip Navigation
P2996R4 - Reflection for C++26
  • No requires(requires(...

    No decltype((auto))

    No noexcept(noexcept(...

    To be fair, it's quite an advancement considering what I was expecting.

    Just about my only question is why the return is a string and not a `string_view``.

  • Discusión Random Semanal - Semana del 24/06/24
  • No problema.

    Hicimos llorar y retirarse al tal "Messías", we made him cry and retire. Dos veces. Lo humillamos y lo hicimos un meme. Podemos hacerlo de nuevo. Yes we can.

    Mentira. Aposté Chile 0-4 Argentina en la oficina.

  • 40 years later, X Window System is far more relevant than anyone could guess
  • Think about it, do you really want to have X11 going forward the next decades?

    If the alternative is a new system that literally does nothing? Sure!

    Want to present a menu for windows? Wayland: "lol, do it yourself".

    Want to position a window? Wayland: "lol, do it yourself".

    Want to remember that a window has a position? Wayland: "lol, do it yourself".

    Want to add a global keyboard shortcut? Wayland: "AAAAHAHAHAHAHAHAHHAHAHAHAHAHAHA!"

    X11 may be old and whatever you want, but it works and it's battle-tested. Wayland can't even launch a full desktop session in my machine, which is even less than the failure Pulseaudio was back in its day and that's saying something. And even if it did somehow launch, I probably would not be able to use anything serious like a media player or multiple workspaces on it.

  • I was looking at the firefox flatpak on flathub. Won't this warning make a non tech-savy user anxious? This might make them think they'll get a virus or something like that.
  • I mean yes, how exactly would you want the web to work?

    Text and images and hyperlinks; maybe audio and video if you're lucky and you can prove you can be trusted. No such thing as scripting, or if it's allowed, only in a limited manner with no such thing as "eval" and obfuscation and no ability to add or delete nodes from the DOM (or if it's allowed, those nodes must reflect under View Source / CTRL+U). No such things as loading a javascript audioplayer that tries to mix 123456 weird sources, just link me the .m3u direct to the audio stream's .mp3 file, or even better an .opus.

    Definitively no DRM.

    If any such thing as GPU access is provided it should be to deposit data, not to run code.

  • 40 years later, X Window System is far more relevant than anyone could guess
  • It's not dead there either, although I'd make the argument that X11 as a project is "mature" or "finalized", it doesn't really need hyperactive development like the tiktok children are used to.

    (There are very good arguments that a new software stack was needed, but I'd expect the result to at least do something; ATM Wayland is little more than literally a "everyone else do my work for me" project)

  • How to prevent files from being displaced? This protection should (somehow) persist through disk cloning.
  • I ask for some method that prevents the file to even be copied through a disk clone

    Oh that's quite simple! Just don't have the files on the first disk in the first place. Make them a remote mount from a server, for example via sshfs, webdav, etc. Heck, even ftp if it comes down to it. That way, even though you can clone the disks, you can not get to the files if you don't also have the full authentication requirements for the remote server (such as a password).

    At a conceptual level, you can't do anything via root to prevent someone who clones the disk from... well, cloning the disk. Having physical access to a disk is a much higher level of access than even root, so if what you are looking for is for your content to not be cloned, you need to fortify physical access to the device.

  • SSH as a sudo replacement
  • alias run0=sudo

    (not really; I'd rather not introduce an alias or any sort of symbolic behaviour that would teach me to expect that systemd crap is available on a system. The less you rely on it, the better)

  • I was looking at the firefox flatpak on flathub. Won't this warning make a non tech-savy user anxious? This might make them think they'll get a virus or something like that.
  • To be fair, the fact that browsers are allowed to do so much that this warning has to be shown is more an indictment on the current state of browsers (which at this point are almost like installing VMWare and a virtual machine on your computer!) than on something something Firefox or something something Flatpak.

  • [Solved] What font am I missing?
  • Yeah I just checked Atkinson Hyperlegible and, at least the version I can access (the one on Github) lacks entire Latin and compatible character ranges, as well as having a substantially limited math symbols set (only two greek letters show, for example).

    The weird thing is, if I understand how fonts correctly, that shouldn't have been an issue. The font doesn't register those missing characters, so your browser should have known to fallback to a default typeface for the missing characters. It'd be weird if you have none of the many compatible fonts (not even, say, Times New Roman).

  • [Solved] What font am I missing?
  • Leading with the hard questions, I see!

    (I honestly wouldn't know how to answer the question. I guess in order to pirate it, you'd have to fetch a copy from someone who broke the license terms and is thus not authorized to distribute it, but that kinda turns into a Catch-22)

  • It's easier to remember the IPs of good DNSes, too.
  • Yeah I've heard about punycode. Personally, I'm well against it because it puts down non-MURRICAN English domain names as second-class citizens on the internet. If I have a website about Copiapó, a perfectly legal town, there's no good reason why the domain name should not be copiapó.cl rather than copiap-xcwhngoingohi4oleleiyho42yt4ptg4ht4.cl, making it look "suspect" and "malware-y".

    There were quite some complains back in the time about Firefox choosing not to "flag" internationalized names as potentially dangerous, and pretty much all those complaints that I know of likely came from English speakers who simply can't understand other countries in the world even can have different alphabets.

  • [Solved] What font am I missing?
  • It's likely that system only has the base Latin-1 font set for some weird reason? Or a misconfigured fontserver (or equivalent in Windows). My understanding is that the text "sail the high seas" uses glyphs in both the Latin D group and the phonetic extensions groups (feel free to correct me!), so pretty much any Unicode-aware font since 2010, FOSS or otherwise, would render this correctly.

    I personally recommend the Liberation font set, although it's free software so you can't really pirate it.

  • Fork it! It's time for a Mastodon hard fork
  • Grandmas can easily install Cookie Clicker and Angry Bird and DownloadMoreRam and anything else they find on the internet with quite an ease. Are you telling me the average internet person is noticeably less capable than a grandma?

  • It's easier to remember the IPs of good DNSes, too.

    Today in our newest take on "older technology is better": why NAT rules!

    172
    Nadie: La educación en Chile en una línea de tiempo alterna:

    Hablando en serio.

    Todo el mundo habla de lo mal que está la educación, que los profesores, que los estudiantes y blah blah, y no estoy en desacuerdo que hay cosas ahí que están mal. Me podría mandar un ensayo en cómo no puede ser que una manga de pendejos de 12 vengan a amenazar a un profe en la sala. O que las salas en cuestión no deberían tener más de 20 alumnos.

    Pero igual hay temas de método y de material de fondo, como este.

    ¿Por qué no es más común en Chile enseñar las cosas de una manera más atractiva? O al menos, más inmersiva que "copie el texto aprobado 131 veces". O, no sé, cuando yo estaba en la media la manera que nos enseñaban castellano era penca (ni qué decir del inglés) pero pucha que aprendimos harto el un (1) (uno) semestre que nos hicieron escribir y ejecutar una obra de teatro.

    1
    How do you get themes? Are [desktop]-look.org sites trustworthy?

    Hey everyone I was wondering how do you spice up your cursors, icons, themes, etc., In particular for desktop environments such as XFCE, Mate. Are there any good repositories to use?

    I've taken a look at a number of apparently cloned sites like "xfce-look.org", "kde-look.org", "gnome-look.org", but while they seem to show a wide offering of themes, it seems downloading from them is blocked via uBO since it reports a "fp2" fingerprinting script without which apparently downloads are not enabled. Are those sites trustworthy? They seem to be associated to a "OpenDesktop" initiative of which the only reputation I can find is that they were added to EasyList Privacy blocklist.

    If there are other alternative hubs or repos from which to theme a distro (as agnostically as posisble) that'd be welcome info.

    Cheers. Thanks. Et cetera.

    5
    ISO8601 @lemmy.sdf.org lambalicious @lemmy.sdf.org
    Standards shouldn't be behind a paywall

    publicado de forma cruzada desde: https://lemmy.world/post/9470764

    > - ISO 8601 is paywalled > - RFC allows a space instead of a T (e.g. 2020-12-09 16:09:...) which is nicer to read.

    0
    ISO8601 @lemmy.sdf.org lambalicious @lemmy.sdf.org
    Anything of interest happen in 9-11?

    I've seen the Wikipedia article on year 9 doesn't mention anything of relevance happening during November. Closest thing seems to be September. Since people around have spent a few years making lots of ruckus about how the date with "9, 11" has some sort of importance as a date, I was wondering if I'm missing something here.

    0
    ISO8601 @lemmy.sdf.org lambalicious @lemmy.sdf.org
    What is the need of T in the new (2019) time format?

    Basically title. 2019 edition of the Standard denotes the "T" prefix to time as mandatory (except in "unambiguous contexts"):

    01:29:59 is now actually T01:29:59, with the former form now designated as an alternative

    But date does not have a "D" prefix, not even in "ambiguous contexts".

    1973-09-11 never needs to be something like eg.: D1973-09-11

    Anyone know the reasoning behind this change and what is the intended use? The only time-only format with separators that I can think would be undecidable in ambiguous contexts would be hh:mm which I guess could be mistaken for bible verses?

    0
    jacobin.com The Chilean Coup Set Environmental Policy Back Decades

    Before Chile’s coup, Salvador Allende’s government was engaged in plans to reform the environmentally destructive copper industry. Augusto Pinochet’s military dictatorship put a stop to them, crushing organized labor in the process.

    The Chilean Coup Set Environmental Policy Back Decades

    En English pero bueno, qué se le va a hacer.

    Hoy que se unen las coyunturas de los 50 años del golpe y la dictadura, el cambio climático, y los socavones de los edificios en Valpo, este artículo se ve particularmente relevante.

    Si no hubiera sido por el golpe, quién sabe, Long Chile AU o tal vez podríamos haber sido una potencia mundial de la sustentabilidad climática.

    0
    www.nbcnews.com Rep. Ocasio-Cortez calls on U.S. to declassify documents on Chile’s 1973 coup

    A delegation of U.S. lawmakers traveled to Chile ahead of the 50th anniversary of the coup against President Salvador Allende on Sept. 11, 1973.

    Rep. Ocasio-Cortez calls on U.S. to declassify documents on Chile’s 1973 coup

    No lo había visto por acá así que aprovecho de compartirlo. La noticia la vi originalmente reposteada en lemmy.world, pero no los voy a someter al uptime de ese servidor xd.

    0
    ISO8601 @lemmy.sdf.org lambalicious @lemmy.sdf.org
    2023-08-13: Kindly proposing a logo / banner for this community

    I mean, it's the obvious choice. So why not? Maybe we can do with the zoom on the cat if there is a better version.

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)LA
    lambalicious @lemmy.sdf.org

    I write English / Escribo en Español.

    Vidya / videojuegos. Internet. Cats / Gatos. Pizza. Nap / Siesta.

    This user's posts under CC-BY-NC-SA license. Ask me if you need a different permission.

    Posts 9
    Comments 304