GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by Gabriel Pettier (tshirtman@mas.to), page 2

  1. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Monday, 17-Jun-2024 17:04:39 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • 13 barn owls in a trenchcoat
    • slamr

    @slamr @HauntedOwlbear i found their products in a place near me, not cheap (cheese is not cheap in the first place, but you do pay more for less here), but i tried the camembert and the blue cheese and was blown away by the latter, the camembert is not bad at all, but the blue cheese is next level, really creamy and tasty. Really worth the price imho. Thanks for sharing about them!

    In conversation Monday, 17-Jun-2024 17:04:39 JST from mas.to permalink
  2. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Sunday, 16-Jun-2024 21:10:33 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • 洪 民憙 (Hong Minhee)

    @hongminhee there is a tsvector datatype for that https://www.postgresql.org/docs/current/textsearch-intro.html the "best" way certainly depends on your constraint, but i would evaluate that first and see if it doesn't match your need, look for solutions more specific to it.

    In conversation Sunday, 16-Jun-2024 21:10:33 JST from mas.to permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: www.postgresql.org
      12.1. Introduction
      12.1. Introduction # 12.1.1. What Is a Document? 12.1.2. Basic Text Matching 12.1.3. Configurations Full Text Searching (or just text search) …
  3. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Saturday, 15-Jun-2024 12:55:13 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Kevin Beaumont

    @GossiTheDog ok, this is bad, really, but on the other hand, how are antivax conspiracy theorists going to process that information?

    In conversation Saturday, 15-Jun-2024 12:55:13 JST from mas.to permalink
  4. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Monday, 27-May-2024 05:09:59 JST Gabriel Pettier Gabriel Pettier
    • Tokyo Outsider (337ppm)
    • C.

    @tokyo_0 @cazabon yes, the "and" will ensure the result of "in" is used if needed. the code is similar to:

    if not Ecryption.AES:
    . . . flag = False
    else:
    . . . flag = "FLAG" in stream

    but i commonly need to check/rethink if "not" affects the whole "and" expression 😅.

    regarding compile/run time, python does most things on the latter, and doesn't optimise this kind of expressions, because the language gives you too much freedom to be able to check they are valid.

    In conversation Monday, 27-May-2024 05:09:59 JST from mas.to permalink
  5. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Sunday, 26-May-2024 23:47:19 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Tokyo Outsider (337ppm)
    • C.

    @tokyo_0 @cazabon In python, values are generally "truthy" except for:
    - False
    - None
    - 0
    - "" (empty string)
    - [] (empty list)
    - () (empty tuple)
    - {} (empty dictionary)
    - set() (empty set)

    which are "falsy".

    Here your test probably assumes the value is True or False, but it could be something else, like either a string containing a key, or None, or a custom object or None.

    In conversation Sunday, 26-May-2024 23:47:19 JST from mas.to permalink
  6. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Sunday, 26-May-2024 19:07:36 JST Gabriel Pettier Gabriel Pettier
    • Dgar

    @dgar didn't vote, because i didn't listen to the full playlist yet and i don't remember where i stopped 😬 .

    Busy today, but will try to give it another go.

    In conversation Sunday, 26-May-2024 19:07:36 JST from mas.to permalink
  7. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Sunday, 26-May-2024 17:59:22 JST Gabriel Pettier Gabriel Pettier
    • Tokyo Outsider (337ppm)
    • C.

    @tokyo_0 @cazabon "and" and "or" will short-circuit if the first part is enough to know the result.

    >>> def spy(value):
    ... print("called with", value)
    ... return value
    ...
    >>> spy(True) or spy(False)
    called with True
    True
    >>> spy(True) and spy(False)
    called with True
    called with False
    False
    >>> spy(False) and spy(True)
    called with False
    False

    so "in" will only be called if the value before the and is "truthy", which means that bool(value) returns True.

    In conversation Sunday, 26-May-2024 17:59:22 JST from gnusocial.jp permalink
  8. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Sunday, 26-May-2024 17:37:18 JST Gabriel Pettier Gabriel Pettier
    • Tokyo Outsider (337ppm)
    • C.

    @cazabon @tokyo_0 hm, association doesn't change the result here

    >>> (not True) and True
    False
    >>> (not False) and True
    True
    >>> not (True and True)
    False
    >>> not (False and True)
    True
    >>>

    I think the question is more about the common misconception of beginner than "in" does more regarding "and" that it really does.

    "in" evaluates if the value before it is in the value after it, "and" checks that the value on both sides are true.

    A and B in C => A and (B in C)
    ≠> A in C and B in C

    In conversation Sunday, 26-May-2024 17:37:18 JST from mas.to permalink
  9. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Wednesday, 22-May-2024 16:18:47 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Adam Jacobs 🇺🇦

    @statsguy sms is widely considered unsecure, yes, as it's possible to fraudulently clone a simcard, and get the sms instead of you, an app generated code doesn't have this issue, as they don't need communication, the code is time + key based, and if they did, they could communicate through encryption.

    In conversation Wednesday, 22-May-2024 16:18:47 JST from mas.to permalink
  10. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Wednesday, 22-May-2024 16:18:46 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Adam Jacobs 🇺🇦

    @statsguy NP, regarding the "need" part, that i had forgotten to answer, of course maybe not *all* apps need it, but one should not underestimate the ability to move "laterally", from gaining access to an apparently low criticity account/app, to others, by leveraging it for say, impersonation, or digging information that could help further attacks, email is of course the most obvious failure point, everyone has all their secrets in it, but social accounts can be used to extort money from friends

    In conversation Wednesday, 22-May-2024 16:18:46 JST from mas.to permalink
  11. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Wednesday, 22-May-2024 16:18:45 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Adam Jacobs 🇺🇦

    @statsguy Personnally i use freeotp+ for "one time passwords" like this, unless there is a specific app to use for the service, as this one is open sources and allows me to export my config in a file to save securely somewhere, in case my phone is stolen or lost (because yes, it can be a big problem if you lose your phone).

    In conversation Wednesday, 22-May-2024 16:18:45 JST from mas.to permalink
  12. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Wednesday, 22-May-2024 16:18:45 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Adam Jacobs 🇺🇦

    @statsguy so it’s really better to just be safe(r) by default, and give as little as possible an attack surface so say, if a state actor is working against you, you are certainly still in trouble, but if it’s "just" a bunch of scammers, at least you are not an easy prey for them, it’ll cost them too much time/money to get you to you hope for a worthy reward.

    In conversation Wednesday, 22-May-2024 16:18:45 JST from mas.to permalink
  13. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Sunday, 28-Apr-2024 11:45:43 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Frédéric Jacobs

    @fj will these aerosol affect the greenhouse or reflexion properties of our atmosphere? given such interventions have been proposed? 🥹

    In conversation Sunday, 28-Apr-2024 11:45:43 JST from mas.to permalink
  14. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Wednesday, 10-Apr-2024 09:54:20 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Evan Prodromou

    @evan fair enough, your post just got me curious about what it was, and I still am, I'm not even necessarily against these things, they are just pretty different from the ethos I see around here, but I'm glad people are experimenting things with the protocol.

    In conversation Wednesday, 10-Apr-2024 09:54:20 JST from mas.to permalink
  15. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Wednesday, 10-Apr-2024 08:49:47 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Evan Prodromou

    @evan ok, sure. 👍

    In conversation Wednesday, 10-Apr-2024 08:49:47 JST from mas.to permalink
  16. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Wednesday, 10-Apr-2024 08:30:20 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Evan Prodromou

    @evan algorithmic, ad powered, paid posts, not sure how the integration will look like. And even less how welcome it'll be here 😅.

    In conversation Wednesday, 10-Apr-2024 08:30:20 JST from mas.to permalink
  17. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Monday, 08-Apr-2024 15:03:33 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Anne

    @annecavicchi Reposting with #AltText

    In conversation Monday, 08-Apr-2024 15:03:33 JST from mas.to permalink

    Attachments


    1. https://media.mas.to/media_attachments/files/112/230/578/264/157/518/original/405bc712530c6d18.png
  18. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Monday, 08-Apr-2024 15:03:33 JST Gabriel Pettier Gabriel Pettier
    • Anne

    @annecavicchi it'll be shared around more easily with alt-text. 😬

    In conversation Monday, 08-Apr-2024 15:03:33 JST from mas.to permalink
  19. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Friday, 15-Mar-2024 11:26:53 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • Paul Cantrell

    @inthehands I'd probably start at qemu, this might help https://blog.greggant.com/posts/2021/01/13/install-powerpc-macos-osx-on-apple-silicon-m1-and-x86-intel.html

    In conversation Friday, 15-Mar-2024 11:26:53 JST from mas.to permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: blog.greggant.com
      Running Mac OS 9 and Mac OS X 10.0 - 10.4 on Apple Silicon (M1) & Intel via QEMU
      from http://blog.greggant.com/about/
      The info this guide is valid but I written a new one about QEMU screamer which emulates Mac OS 9 - OS X 10.14 with sound.
  20. Embed this notice
    Gabriel Pettier (tshirtman@mas.to)'s status on Tuesday, 27-Feb-2024 22:21:04 JST Gabriel Pettier Gabriel Pettier
    in reply to
    • sebsauvage

    @sebsauvage j'ai un bose quiet comfort 2 depuis 4 ans, j'ai due recoudre les coussinets dont la couture s'ouvrait tranquillement, ça a permis de le prolonger, mais je crois que l'électronique a fait son temps, j'ai parfois des craquements/grésillements dans une oreille, donc reco bienvenue.

    In conversation Tuesday, 27-Feb-2024 22:21:04 JST from mas.to permalink
  • After
  • Before

User actions

    Gabriel Pettier

    Gabriel Pettier

    Dissipé, curieux, ultracrépidarianiste.développeur (#python :python:), vegan :seedling: (éco/éthique), linuxien (ubuntu depuis 2005) #kivyDissipated, curious, overly opiniated, developer, vegan, linux user.Lives near #Amsterdam, in the Netherlands.he/himil/lui

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          40578
          Member since
          26 Nov 2022
          Notices
          66
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.