he/him

Alts (mostly for modding)

@sga013@lemmy.world

(Earlier also had @sga@lemmy.world for a year before I switched to @sga@lemmings.world, now trying piefed)

  • 4 Posts
  • 103 Comments
Joined 10 months ago
cake
Cake day: March 14th, 2025

help-circle

  • the bad thing oabout regex parsing html (or xml) in general is that how often it just works. like 90% of times, it works 100%, it is just the last 10% where shit breaks. I in most of my scripts use regex or grep, or in language with string methods, use find, and the amount of times it works is just so appealing to implement because all xml parsing libraries suck, and their bindings suck and it is just way to much work when grep ‘title’ gets you 90% there. I feel this.



  • Thank you for telling that, I absolutely had no idea about that. In my mind, it has been a almost brute force reverse engineering effect, with some help from some documentation (for example, reference metal docs) or having some open source stuff for apple stuff (if that even exists).

    regarding bootloader, is it not the case that bootloader just checks for signature of os, and it does not allow you to boot anything else. I did not mean that having a bootloader unlockable means having docs, but as i get it, the general approach to get android image working is to load a gsi (generic system image), if that does not work, we swap kernel or some other system stuff from available os images (which are closed black boxes mostly). now if we can not even boot a gsi (or some other android tree for lineage os), then there is no hope in running anything. and even if gsi runs, that may still have broken stuff (eg, camera or wifi, which i know are some of common culprits).


  • if i am not wrong, boot process on non x86-64 is not standardised (no obivous uefi independent of os or setup). this genuinely limits the distros one can find, and mostly first party support is all you get. when first party does linux (raspberry pi or other sbcs), it is fine, and often their boot can be “used” by other third party distros (assuming license allows that). if first party does not, there is no way to get work done. something like android - if you get first party unlockable boot lock, you can hope for custom roms, without that, its playing darts where board is invisible. with apple mac, enough people had dart boards that random trial (and recovery processes) allowed them to get in. with qualcomm stuff, there is some first party support (and some second party support from nvidia who use qualcomm cpu for their servers) but qualcomm graphics is still a issue (first party support is very slow) and not enough third party interest (not enough people have qualcomm laptops for dartboards)



  • sga@piefed.socialtoMemes@sopuli.xyzconditional soap
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    i have really long hair for a dude (longer than my back), and wsash my hair nearly once a week, with whatever soap or shampoo i can find (i have washed my hair with dish soap previosly).

    Imo the only thing that matters is do not let your hair get dirty (tie in a bun for example) and you are mostly good to go.







  • I have a similar-ish problem, but on qutebrowser. If I interact, I get a similar text overlay of a piefed homepage, so i have to reload the page and then it does not happen. problem is that i can not reliably recreate it, with each page it is pretty much 70-30 odds of happening vs not happening. never got it in librewolf (firefox). thought it was a caching related issue, so cleared all of site data, also cleared all qutebrowser data once too. relevant things in config are dark mode, and a css to make backround black and text white (i can share it, just do not think it is very relevant because i have seen it happen without that css)




  • sga@piefed.socialMtoFediverse memes@feddit.ukAmazing Art
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 month ago

    as i said i do not have any issue with subject matter or meme. problem is that we have a rule “We are not YPTB”. so anything which is too community or moderation specific is not allowed (it is just so shit flinging between comms or instances does not happen).

    I just pointed it out. my general moderation style is to almost never delete unless blatant rules violation, and hence i asked if i am missing something.

    I am still not removing because comments seem shit free, so there is no need to do anything.

    I hope I have been able to explain my side.


  • i am not a web dev, so please correct me if i am wrong, but a runtime is essentially a specific version of browser in some capacity, more comparable to blink in some sense (minus the html+css parts). so there is a js engine (v8 or firefox’s spider if i am not wrong) and that essentially just executes the js, but it needs stuff around it (think for example io or cli interface). none of the run times implement independent js engines, as they are really hard, but surrounding stuff is relatively easier, and likes of deno/node/bun implement that.

    And as other commenter said - it has other stuff too, for example a package manager, transpiler (most common would be converting typescript to js i think), bundler (just makes a bundle kinda like java jar), etc.


  • sga@piefed.socialMtoFediverse memes@feddit.ukAmazing Art
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 month ago

    Pardon me matey, but I am not sure if this post fits. This seems to be complaining what should or should not be posted in art share community (and i am not commenting on the subject matter here - I agree with your reasoning in disclaimer), but it is not a meme. it is specific to art share community. I an not removing it just yet, possibly because there is some meme that I do not understand, so if there is, please reply.




  • my guess is mostly lack of arrays in posix shell. there are other things as well, but arrays are really useful, especially when they are making other things easier to write. A stupid comparison i can think of is a compiled language targettng x86-64v2 or 3 instead of v1 because it has avx (i am not actually sure when avx was added, but imagine some instruction being added). without avx, your binary would be slower (in posix, for arrays, you essentially need to maintain a string and use awk/sed/cut to get particular elements, and many things would just not be possible). If they would target v1 (posix), it will run in more places, but it would be slower for a lot of people who have v2 or newer. And a lot of people have v2 or newer (bash).