• 0 Posts
  • 35 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle
  • Tetsuo@jlai.lutoMildly Infuriating@lemmy.worldUnfortunate post placement
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    9 days ago

    I care, what do you think I could do ?

    Israël is backed up by the most powerful country in the world both politically and militarily.

    Many people do care, it’s just not something they can fix.

    We can donate to lessen the suffering but at the end of the day, one dude in the Whitehouse could probably get a cease fire in minutes if they really wanted to.


  • Tetsuo@jlai.lutoSelfhosted@lemmy.worldSimple mail server
    link
    fedilink
    English
    arrow-up
    15
    ·
    24 days ago

    If you do self host I suggest reading carefully the Gmail guidelines for mails. They are the leaders in the field and they dictate the level of security required.

    DNS forward and reverse, DKIM, SPF, DMARC, ARC, DANE, bounce signature etc. Email is indeed a very complicated thing to host. I work on emails system all day and and I wouldn’t host my own mail.

    Even worse I’m hoping email disappear and another technology takes it place. Emails are unreliable and outdated, they need to go.




  • I don’t think so.

    If they only relied on the sensor it would constantly turn on and off which is something I have never seen on that kind of faucets. I think there is always a delay before shutting down but sometimes that delay is set so low that it feels like you need to constantly activate the sensor.

    Edit: clarification: What I meant is that if you just move once your hand in front of the sensor it should remain ON longer than just the time your hand was detected. I have never seen a sensor that literally activates only to the millisecond when something is moving. Even just to prevent false activation for half a second you kind of need a delay in there. If not you could have a 100ms activation that doesn’t even have the time to let the water out by opening the faucet and you create unnecessary wear on the valve system. My point being it never really makes sense in engineering to have a button or sensor direct output used. Usually you have mechanisms to prevent “bouncing” and so on. But I’m no plumber so it is just assumptions.



  • Also as DDG is based in the US it is most likely legally bound to give your informations to any agency with a nice gag order on top of it.

    I can’t imagine any serious privacy oriented business to be headquartered in the US.

    The whole better privacy is true with DDG but certainly not to the extent people would like to think.

    That being said DDG has decent search results and is slightly better than Google for privacy. Google is an ecosystem so every little bit you don’t give them is a success.

    It’s really too bad we don’t have good private search engines…




  • Have you checked when the file was last modified.

    If it fits the date you did the Spotify command then I wouldn’t worry much about it.

    If you still are concerned you can send the file to virustotal to be safe.

    If it’s more concerning for you for a functional reason then move the file elsewhere if nothing break you should be fine.



  • I would use the second one as a backup.

    You could use one of these USB SDcard reader and script something that backups the content of the running/live SDcard to the second one on the USB stick. With dd or something you could have an always ready backup SDcard of the RasPi system.

    That or using an old Android phone as a media center and putting the second SDcard in that.

    Or using an old Android phone as a surveillance camera but that would be a bit overkill to have 256Gb.

    Also if you have an early model of the Switch you could hack it to run pi… homebrews and in that case having a super large SDcard could be good.


  • Tetsuo@jlai.lutoLinux@lemmy.mlMy First Regular Expressions
    link
    fedilink
    arrow-up
    39
    ·
    edit-2
    6 months ago

    Good job !

    I highly recommend trying out the various online regex editor.

    These WISIWIG kind of editors are great because you immediately see what the regex is catching and for what reason.

    I took the first one in my search results but try different ones.

    https://regex101.com/

    Also I used GPT to get some regex for some specific strings and it can be helpful to get a quickstart at building a specific regex.

    In that case I was building a regex for a specific log from postfix.

    PS: just make sure to select the correct flavor of regex you are using in these online tools.

    Edit: Also one of my favorite YT channels has pretty cool videos on RegEx : https://youtu.be/6gddK-cOxYc?si=0bnNkSDzifjdxwjU