• 1 Post
  • 29 Comments
Joined 2 years ago
cake
Cake day: June 22nd, 2023

help-circle









  • I don’t understand what you’re asking: you want some kind of graphical display of the file structure? Grep per se doesn’t do that, but maybe you could match the output against “tree” output? I generally just use M-x grep in Emacs which doesn’t make a tree-like display, but lets me navigate to matched lines by clicking on them.




  • solrize@lemmy.mltoLinux@programming.devFLX1s is Launched
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    2 months ago

    The old fashioned belt pagers that copier technicians used to wear. You could call a phone number and send a numeric or sometimes text message to the person’s pager. They were one-way, receive only, so the message would normally be your phone number and the person would go to a landline phone and call you. That was before everyone had mobile phones.

    You can still get those pagers and the privacy attraction is that they don’t send anything like your location back to the phone carrier. Instead they are basically broadcast receivers, and the message is broadcast to your whole reception zone, typically the size of a city but potentially bigger on the fancier plans.

    Service appears to start around $15/month per a quick search I just did. That’s more than I pay for unlimited voice and text plus a GB of data on my crappy MVNO cellular plan. So they aren’t that good a value for most of us in this day and age. But they do still exist.

    More info available by web search.


  • It really doesn’t seem like a winnable situation. A ton of phone functionality that people rely on (always-on internet everywhere you go) is fundamentally invasive no matter how the phone is built. All you can do is decrease your reliance. There have been a couple of threads about POCSAG pagers but you have to be pretty dedicated to pay for one of those, and they are still just one way. Anyway trying to be really paranoid about this stuff warps your mind.







  • This is probably an ok use for a GADT. Something like:

    {-# LANGUAGE DataKinds      #-}
    {-# LANGUAGE GADTs          #-}
    {-# LANGUAGE KindSignatures #-}
    
    data Bap = Baptized | Unbaptized
    
    data Person :: Bap -> * where
       Baptize :: Person Unbaptized -> Person Baptized
       NewPerson :: Person Unbaptized
    
    conditionalBaptize :: Person a -> Person Baptized
    conditionalBaptize p =
        case p of NewPerson -> Baptize p
                  Baptize _ -> p
    
    main = return ()