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 aliss (aliss@outerheaven.club)

  1. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Thursday, 29-Sep-2022 22:12:19 JST aliss aliss
    what’s wrong sweetie? you haven’t eaten your hatsune miku electric blue ramen
    In conversation Thursday, 29-Sep-2022 22:12:19 JST from outerheaven.club permalink

    Attachments


    1. https://outerheaven.club/media/ceeeb3da-d799-4d56-9b6c-2d81a6cb9d44/image.png

    2. https://outerheaven.club/media/015387fb-dab9-42be-97bc-6488446646a4/image.png

    3. https://outerheaven.club/media/cb046534-b76c-4807-bb44-8659e91fbb66/image.png
  2. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Thursday, 22-Sep-2022 03:30:07 JST aliss aliss
    fedi
    In conversation Thursday, 22-Sep-2022 03:30:07 JST from outerheaven.club permalink

    Attachments


  3. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 22:29:15 JST aliss aliss
    :acat_insane::acat_insane::acat_insane::acat_insane::acat_insane::acat_insane::acat_insane::acat_insane:
    In conversation Wednesday, 21-Sep-2022 22:29:15 JST from outerheaven.club permalink
  4. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 21:47:06 JST aliss aliss
    in reply to
    • Hélène
    @helene it's suffering
    In conversation Wednesday, 21-Sep-2022 21:47:06 JST from outerheaven.club permalink
  5. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:39:49 JST aliss aliss
    in reply to
    • Tosti ?
    @tost wait why the getopts and how's the mismatch
    In conversation Wednesday, 21-Sep-2022 09:39:49 JST from gnusocial.jp permalink
  6. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:39:47 JST aliss aliss
    in reply to
    • Tosti ?

    @tost yes because if ID is empty then we need to source os-release but if it’s not empty then we can assume it was sourced already

    did it like this to not do it like "${ID:-$([ -f /etc/os-release && . /etc/os-release)}"

    In conversation Wednesday, 21-Sep-2022 09:39:47 JST from gnusocial.jp permalink
  7. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:39:45 JST aliss aliss
    in reply to
    • Tosti ?

    @tost

    if you use $ID after that point, then you lose our on your ID_LIKE preference .

    you mean that if i were to change $ID afterwards and run the conditional again then i’d lose the initial value?

    if you use $dist after that point, it’s not going to be set if ID is already set .

    you’re right, so more code, another conditional, would be needed like: if $ID is already set, then put it to dist=.. which would mask the family in a context where the user already has the environ with $ID=kali, then my code wouldn’t do anything still hmmmm :02think:

    mebbe like this?:

    if [ -z "$ID_LIKE" ] && [ -f /etc/os-release ] then . /etc/os-release else return 1 fi dist="${ID_LIKE:-$ID}"
    In conversation Wednesday, 21-Sep-2022 09:39:45 JST from gnusocial.jp permalink
  8. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:39:43 JST aliss aliss
    in reply to
    • Tosti ?
    @tost aaaa ic u were trying to provide cli through getopts and grabbing it with OPTARG, i was confused at first

    oki resty well <3
    In conversation Wednesday, 21-Sep-2022 09:39:43 JST from gnusocial.jp permalink
  9. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:35:43 JST aliss aliss
    in reply to
    • Tosti ?
    • some fedifriend
    @samgai @tost would the first one be problematic with substring matches on data that has a well-defined structure too?
    https://outerheaven.club/notice/ANha4e6GZvHvYwOmWW
    In conversation Wednesday, 21-Sep-2022 09:35:43 JST from outerheaven.club permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: outerheaven.club
      aliss (@aliss@outerheaven.club)
      @tost tosti tosti tosti i achieved to make mine shorter and beat yours for 18 characters ????mine:#!/bin/sh check_distro() { distro=$(sed -n 's/^\(ID\|ID_LIKE\)= *\([^ ]*\) */\2/p' /etc/os-relea...
  10. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:35:39 JST aliss aliss
    in reply to
    • Tosti ?
    • some fedifriend
    @tost @samgai initially i didn't think to source it directly because this post made me worried
    https://unix.stackexchange.com/a/433245
    In conversation Wednesday, 21-Sep-2022 09:35:39 JST from outerheaven.club permalink

    Attachments


  11. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:35:37 JST aliss aliss
    in reply to
    • Tosti ?
    • some fedifriend
    @tost @samgai true
    tosti do you prefer this source+case over your grep version?
    In conversation Wednesday, 21-Sep-2022 09:35:37 JST from outerheaven.club permalink
  12. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:35:35 JST aliss aliss
    in reply to
    • Tosti ?
    • some fedifriend

    @tost @samgai yay we found an even shorter solution! another win for lateral thinking :meow_party:

    i learned a lot through the way, all thanks to you :02superblush:

    don’t forget to do something like ${ID=$ID_LIKE}

    hmmm yea you wrote "${ID:=$ID_LIKE}" originally i’d write "${ID_LIKE:-$ID}“ ie: if ID_LIKE exists use that, bc is the family, if not use ID, because that will be “mommy distro”, and the :- because i don’t want to override ID_LIKE

    In conversation Wednesday, 21-Sep-2022 09:35:35 JST from outerheaven.club permalink
  13. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:35:32 JST aliss aliss
    in reply to
    • Tosti ?
    • some fedifriend
    @tost @samgai what only - would mean?
    In conversation Wednesday, 21-Sep-2022 09:35:32 JST from outerheaven.club permalink
  14. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:35:30 JST aliss aliss
    in reply to
    • Tosti ?

    @tost my brain melty a bit with the way you phrased it! haha

    i was familiar with this section and i didn’t use - because if it’s set to empty string it wont expand to the second element, and i wanted that so i used :- (if i got it correctly)

    if i’ve got it wrong could u clarify / develop further? <33

    In conversation Wednesday, 21-Sep-2022 09:35:30 JST from outerheaven.club permalink
  15. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:35:27 JST aliss aliss
    in reply to
    • Tosti ?
    @tost aaaaaa i knew my posix after all :shiro_wink:
    In conversation Wednesday, 21-Sep-2022 09:35:27 JST from outerheaven.club permalink
  16. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Wednesday, 21-Sep-2022 09:35:26 JST aliss aliss
    in reply to
    • Tosti ?
    • aliss

    @tost what about

    if [ -z "$ID" ] && [ -f /etc/os-release ] then . /etc/os-release dist="${ID_LIKE:-$ID}" fi

    only when var doesn’t exist and when file exists, then source the file, then assign family to var

    In conversation Wednesday, 21-Sep-2022 09:35:26 JST from gnusocial.jp permalink
  17. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Monday, 19-Sep-2022 22:21:29 JST aliss aliss
    in reply to
    • Hélène
    • Tosti ?
    @tost @helene there is now
    https://blog.palantir.com/g%C3%B6del-a-build-system-for-the-go-programming-language-9f7d2a4974e8
    https://github.com/palantir/godel

    damn go community you have ruined the go language
    In conversation Monday, 19-Sep-2022 22:21:29 JST from outerheaven.club permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: miro.medium.com
      gödel: A Build System for the Go Programming Language
      from https://palantir.medium.com
      gödel is a build tool for the Go programming language. It is the primary development and build tool for over 100 Go projects at Palantir…
    2. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
      GitHub - palantir/godel: Go tool for formatting, checking, building, distributing and publishing projects
      Go tool for formatting, checking, building, distributing and publishing projects - GitHub - palantir/godel: Go tool for formatting, checking, building, distributing and publishing projects
  18. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Monday, 19-Sep-2022 09:27:11 JST aliss aliss
    in reply to
    • Hélène
    • Tosti ?
    • aliss
    @tost @helene im only somewhat entering adulthood in shell scripting everywhere else im baby
    In conversation Monday, 19-Sep-2022 09:27:11 JST from outerheaven.club permalink
  19. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Monday, 19-Sep-2022 09:27:09 JST aliss aliss
    in reply to
    • Hélène
    • Tosti ?
    • aliss
    @helene @tost tosti is ze shell mommy tho
    In conversation Monday, 19-Sep-2022 09:27:09 JST from gnusocial.jp permalink
  20. Embed this notice
    aliss (aliss@outerheaven.club)'s status on Monday, 19-Sep-2022 09:27:05 JST aliss aliss
    166 replies in a thread also called "a few"
    In conversation Monday, 19-Sep-2022 09:27:05 JST from outerheaven.club permalink
  • Before

User actions

    aliss

    aliss

    she/herwitchvery reddemon of the best hell+18yes i rt my own stuffyes hiding repeats is a feature

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          3982
          Member since
          8 Aug 2022
          Notices
          152
          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.