• 3 Posts
  • 22 Comments
Joined 11 months ago
cake
Cake day: December 6th, 2023

help-circle
  • I now know that it’s a Heisenbug:

    Some tabs in my still-running browser-instance fake downloading stuff:

    if I try downloading the same file multiple-times, instead of showing the

    filename(1).pdf

    ( the “(1)” part that FF applies, to prevent a filename-collision )

    doesn’t appear in those tabs, as it isn’t really saving the file in Downloads,

    but does appear when doing the same download in other tabs, tabs which are saving the files in Downloads.

    This means that something in the tab-instance code is being obliterated/broken, somehow,

    and it isn’t affecting all tabs.

    Obviously a coder familiar with the codebase would possibly be able to use that, as leverage, to dig-in & get the bug.

    The fact that the FF “Downloads” list isn’t being updated properly also is a clue ( the whole subsystem seems to be corrupted-code? )

    I don’t consider there to be any point in anybody bothering with this discussion, anymore, however,

    since it seems to require some ??whatever??, to activate the bug, and if it isn’t guaranteed to be always-appearing, then … what proof is there that it’s real, to anyone else?

    Why is it that it’s happening in some tabs, some of the time??

    Why is it happening at all?

    Since people just randomly trying to replicate the bug, & NOT seeing evidence, “proves” it isn’t real,

    therefore … everybody should just not bother considering it.

    Why waste effort.

    I’ve been forced to switch to Brave to get reliable-downloads, & I hate Brave.

    Cheers, people.

    _ /\ _





  • Power-consumption.

    Also, the vibration produced by the 2.5" drives is less, but they’re more-sensitive to it, to begin with.

    I’d not even consider spinning-platter drives, nowadays, though:

    SATA SSD’s for a NAS strike me as being the sanest choice.

    Samsung what are those called, Evo drives?

    excellently-high MTBF, ultra-short ( compared with rotating-platters ) seek-time ( literally orders-of-magnitude quicker ), etc.

    I don’t know of ANY reason to go with spinning-platters, nowadays.

    ( & I’m saying that as a guy stupid-enough to have not realized this in time, & who spent money on such a thing, when SSD’s really were the answer )


  • My experience is that USB storage sometimes breaks-connection for no discernable reason.

    That if one REALLY wants to do USB storage, then put it inside the housing, and don’t use one of the external-connectors, use something you can permanently-fix, so nothing can even sneeze in its direction.

    This mayn’t help you with your puzzle, but it’s bedrock and unchangeable, in my experience.

    USB-storage is an unreliable joke.

    ANY revision of it, that I’ve tried.

    hth…


  • Hierarchical organizing is a balance:

    You can do things the Apple way, & have only 3 choices at each level, but then you either need to dumb-down everything so it fits in a sane depth, discarding most potentials, XOR you run into near-infinite-depth…

    Or you can do thing the other way, with wide selections at each level, and much fewer levels…

    but then you get the visual/cognitive clutter…


    Sometimes I do it so that at the top I’ve got something like…

    • Humanities
    • Geekery
    • Art
    • Apps
    • Projects
    • Books
    • Articles

    ( I’m just doing this off the top of my head, hence the not-in-alphabetical-order-or-any-other-sane-grouping )

    In other cases I might do this…

    • Books___Technical
    • Books___REF
    • Books___Psychology

    etc.

    IOW, limit the number-of-things visible at each level,

    AND fan-out enough so that I reduce the stuff at the next stage, see?

    That balance is the whole key.

    However you impliment your right-balance, it’s the most important thing in getting it usably-right for you, long-term.

    It may require you to develop a couple new habits, like more-careful organizing, or like bearing something that you don’t like, aesthetically, but the reduced-waste-of-effort in having things FINDABLE can become significant, long-term, see?

    _ /\ _


  • Paragone@lemmy.worldtoSelfhosted@lemmy.worldIs RAID1 over USB Reliable?
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    4
    ·
    5 months ago

    USB-storage isn’t reliable.

    Period.

    ANY fscking thing that bumps any connection, can break the dam link.

    Then your kernel can re-label the device when it re-connects,

    and you’ve got to reassemble your RAID.

    just my experience.

    use ANY other method you can, other than USB.

    stick a SATA adaptor on there somewhere, if you can.

    Get a different motherboard.

    ANYthing, but not USB.




  • the healthiest alarm-clock I know-of is simply to have 2 lamps on wall-plug timers, such that the warm-white one comes on 1st, then say 5mins later, the daylight one comes on.

    Given how the beginning of sunshine changes through the year, you have to change these timers every couple of weeks, or 1/2-month, but that’s a small price to pay for quiet, biochemistry-altering waking up that actually works properly.

    Not an app, but it is an alarm-clock, and it wakes one up well, using the very skin-light-sensing system we are evolved to be using, instead of using some noisemaker, as “normal” alarm-clocks do.

    _ /\ _


  • Paragone@lemmy.worldtoSelfhosted@lemmy.worldCheap, but reliable SSDs?
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    6 months ago

    Reliability’s kinda high on my priority-list.

    Try Samsung.

    Nowadays I can’t imagine using SATA for anything but archival storage ( get the fastest NVMe you can for your operating-system, and be stunned by how much quicker your machine is ).

    Last time I was digging into stats, the reliability-rate for Samsung devices was much higher than that of Western Digital,

    and the off-brands … often are a bit of a bad-joke, for reliability ( Adata & Kingston, I’m looking at you, and will never trust such scum again ).


    just my experience/opinion, is all.


  • SanDisk usb-keys work.

    You really want to use the thing for read-only, though, if you can:

    the writes it takes to kill some portion of a filesystem, vs the writes you get before corrupting things, on a USB driver, don’t line-up.

    Use NVMe as your 1st-choice for storage ( future purchases, obviously ), the fastest you can get, and be stunned by how much faster the same motherboard is, with superfast OS storage…


    I’d stick /home, not /usr, on the USB.


  • Paragone@lemmy.worldtoSelfhosted@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    3
    ·
    7 months ago

    IF JBOD, && Linux, THEN yes you can know, through SMARTTOOLS, or something like that…

    However, I can’t imagine how you’d get 2 separate PCIe

    ( presuming NVMe devices …

    … no, this thing must be presuming SATA, NOT NVMe …

    even in SATA, there’s no bifurcator for SATA, I don’t think:

    SAS has expanders, which can take a single SAS channel & attach something like 128 SAS devices onto it,

    PCIe has some kind of equivalent, and there is a PCIe card which crams loads of NVMe’s into it, out in the last year, but SATA??

    Hmm… )

    shrug


  • There was a youtube vid, testing multimeters, & there was a specific condition that produced wrong results in all the meters except Fluke, who had engineered to prevent that wrongness.

    That was what decided me on trusting Fluke, in the future.

    been years, no idea what channel it was on, sorry, but it should be findable for someone with patience, knowing that only the Fluke got it right, of the ones tested.


    Do pay attention to the calibration-certificates, though:

    Anybody paying for Fluke who ignores that their handhelds have no more than 2.5-digits of actual-accuracy, is foolish/incompetent.

    ( the cheap ones are sooo much worse… )


  • I am trying to lear basic HTML/CSS/JavaScript ( again, last learned HTML back in the 1990’s, am using “JavaScript: The Good Parts” & other books ),

    & have discovered that you can have, on the same phone/tablet, Termux/Nginx running,

    you have to feed /data/data/com.termux/files/usr/etc/nginx/nginx.conf the root-dir you want it to use

    ( which is actually in a proot-distro install, down below

    /data/data/llcom.termux/files/usr/var/lib/proot-distro/installed-rootfs/ … )

    … and then you can have your browser hit

    http://localhost:8080/

    and it’ll grab index.html.


    Notice that that is http, NOT httpS.

    None of the browsers I’ve tried can get the default connection to localhost, because they all default to https, & nginx isn’t serving https.

    That wasted an entire fscking day, to discover.


    Now learning can begin!


  • Paragone@lemmy.worldtoSelfhosted@lemmy.worldSelf hosted LLM
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    8 months ago

    Thanks to this post, and the other comments in here, I’ve discovered that the ultimate ui for ai-models may well be

    https://github.com/ParisNeo/lollms-webui

    and on HuggingFace ( that name is aweful: to me it is the creepy-horrible FaceHugger, from the movie Alien, that I saw so many decades ago ) TheBloke has some models which are smaller

    https://huggingface.co/TheBloke/

    so you can choose a model that will actually-work on your hardware.

    I think Llama-2 for brainstorming & CodeLlama-instruct for learning programming examples seems to be the cleanest pair, from what I’ve read, and he’s got GGUF versions with different quantizations, so you can choose what will actually-fit on your hardware.

    There are other models on huggingface which seem very useful, like

    • whisper-large-v3 for speech-to-text,
    • whisperspeech for text-to-speech,
    • sdxl-turbo for image-making ( for some copyright-free subjects to practice drawing with ), and so-on…

    Some models require GPU, not all.

    Damn things moved fast!


  • Paragone@lemmy.worldtoSelfhosted@lemmy.worldSoftware vs Hardware RAID
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    9 months ago

    I read somewhere, years ago, that RAID6 takes about 2 cores, on a working server.

    That may have been a decade ago, and hardware’s improved significantly since then.

    Bet on 1 core being saturated, min, with heavy use of a RAID6 or Z2 array, I suspect…


    I’d go with software raid, not hardware: with hardware RAID, a dead array, due to a dead controller-card, means you need EXACTLY the same card, possibly the same firmware-revision, to be able to recover the RAID.

    With mdadm, that simply isn’t a problem: mdadm can always understand mdadm RAID’s.

    _ /\ _



  • EasyDNS.ca or if they also do EasyDNS.com


    GoDaddy was a bunch of sleazebags, back in the day…

    Go search http://slashdot.org/ for them, and see…

    not only hosting lots of sleazebags, but also having tons of compromised mail machines, so their machines were, according to what I’d read there, the source of much of the world’s spam, and they wouldn’t fix things.


    EasyDNS was recommended by one of the SysAdmin reporters on The Register, a few years ago.

    He also recommended Linode & Vultr, back then, too.


    This stuff in this comment is just my opinion, and my memory of what trustworthy people were reporting a few years ago.

    _ /\ _




  • It looks like you’re considering different programming-paradigms, and I’m asking you to consider having a toggleable set of modes, so something which needs ( for whatever reason ) to be in a particular paradigm, … can be in that paradigm.

    Functional, imperative, whatever.

    Make it like radiobuttons, from the user-perspective: modal, with a declarable project-default, and variances declared on a per-file basis.

    THIS file needs to be THIS paradigm, e.g…

    ( functional overall, imperative for the tricky-to-make-fast/efficient bit, as 1 possible example: eradicate many bugs & put performance where it needs to be. )


    just an idea from somebody whose been working on cracking what the proper minimal-set of maximally-orthogonal programming languages requires, for a decade or 2…


    Salut, Namaste, & Kaizen, eh?

    _ /\ _