Components

25 Twig Components
148 Render Count
566 ms Render Time
16.0 MiB Memory Usage

Components

Name Metadata Render Count Render Time
user_avatar
"App\Twig\Components\UserAvatarComponent"
components/user_avatar.html.twig
23 6.25ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
17 3.65ms
settings_row_switch
"App\Twig\Components\SettingsRowSwitchComponent"
components/_settings_row_switch.html.twig
15 2.02ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
13 2.55ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
12 1.54ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
12 5.83ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
12 10.19ms
entry_comment
"App\Twig\Components\EntryCommentComponent"
components/entry_comment.html.twig
11 181.55ms
entry_comments_nested
"App\Twig\Components\EntryCommentsNestedComponent"
components/_cached.html.twig
11 64.47ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 0.70ms
magazine_inline
"App\Twig\Components\MagazineInlineComponent"
components/magazine_inline.html.twig
3 0.44ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.49ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 7.19ms
entries_cross
"App\Twig\Components\EntriesCrossComponent"
components/_cached.html.twig
1 51.73ms
editor_toolbar
"App\Twig\Components\EditorToolbarComponent"
components/editor_toolbar.html.twig
1 0.22ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 0.41ms
magazine_box
"App\Twig\Components\MagazineBoxComponent"
components/magazine_box.html.twig
1 30.69ms
magazine_sub
"App\Twig\Components\MagazineSubComponent"
components/magazine_sub.html.twig
1 24.75ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 7.82ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 292.23ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 3.27ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 18.03ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 21.35ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 0.23ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 0.82ms

Render calls

entry App\Twig\Components\EntryComponent 14.0 MiB 7.19 ms
Input props
[
  "entry" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
    +title: "FOUND file in device by hex content using wxHexEditor"
    +url: null
    +body: """
      Just having a play around, this turned out to be not as clear cut as expected.\n
      \n
      so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
      \n
      I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
      \n
      What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
      \n
      Ok, I managed to do it with dd:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">hello\n
      </span>\n
      ```\n
      \n
      but why can I not find it using wxhexeditor??\n
      \n
      EDIT:\n
      \n
      Duh, I didn’t click that offset needed to be multiplied by the block size.\n
      \n
      If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
      \n
      ![](https://files.catbox.moe/6zvhx0.png)\n
      \n
      Final conclusion:\n
      \n
      After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
      \n
      I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
      \n
      Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 37
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701250420 {#2410
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 17506
    -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
    -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701203579
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3824501"
    +editedAt: DateTimeImmutable @1701860652 {#1850
      date: 2023-12-06 12:04:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701117179 {#2420
      date: 2023-11-27 21:32:59.0 +01:00
    }
  }
  "isSingle" => true
  "showShortSentence" => false
  "showBody" => true
]
Attributes
[
  "class" => "entry--single section--top"
]
Component
App\Twig\Components\EntryComponent {#2955
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2956 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
    +title: "FOUND file in device by hex content using wxHexEditor"
    +url: null
    +body: """
      Just having a play around, this turned out to be not as clear cut as expected.\n
      \n
      so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
      \n
      I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
      \n
      What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
      \n
      Ok, I managed to do it with dd:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">hello\n
      </span>\n
      ```\n
      \n
      but why can I not find it using wxhexeditor??\n
      \n
      EDIT:\n
      \n
      Duh, I didn’t click that offset needed to be multiplied by the block size.\n
      \n
      If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
      \n
      ![](https://files.catbox.moe/6zvhx0.png)\n
      \n
      Final conclusion:\n
      \n
      After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
      \n
      I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
      \n
      Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 37
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701250420 {#2410
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 17506
    -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
    -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701203579
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3824501"
    +editedAt: DateTimeImmutable @1701860652 {#1850
      date: 2023-12-06 12:04:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701117179 {#2420
      date: 2023-11-27 21:32:59.0 +01:00
    }
  }
  +isSingle: true
  +showShortSentence: false
  +showBody: true
  +showMagazineName: false
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.27 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3162
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.34 ms
Input props
[
  "date" => DateTimeImmutable @1701117179 {#2420
    date: 2023-11-27 21:32:59.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3232
  +date: DateTimeImmutable @1701117179 {#2420
    date: 2023-11-27 21:32:59.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.17 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701117179 {#2420
    date: 2023-11-27 21:32:59.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1701860652 {#1850
    date: 2023-12-06 12:04:12.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3296
  +createdAt: DateTimeImmutable @1701117179 {#2420
    date: 2023-11-27 21:32:59.0 +01:00
  }
  +editedAt: DateTimeImmutable @1701860652 {#1850
    date: 2023-12-06 12:04:12.0 +01:00
  }
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.38 ms
Input props
[
  "subject" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
    +title: "FOUND file in device by hex content using wxHexEditor"
    +url: null
    +body: """
      Just having a play around, this turned out to be not as clear cut as expected.\n
      \n
      so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
      \n
      I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
      \n
      What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
      \n
      Ok, I managed to do it with dd:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">hello\n
      </span>\n
      ```\n
      \n
      but why can I not find it using wxhexeditor??\n
      \n
      EDIT:\n
      \n
      Duh, I didn’t click that offset needed to be multiplied by the block size.\n
      \n
      If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
      \n
      ![](https://files.catbox.moe/6zvhx0.png)\n
      \n
      Final conclusion:\n
      \n
      After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
      \n
      I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
      \n
      Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 37
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701250420 {#2410
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 17506
    -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
    -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701203579
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3824501"
    +editedAt: DateTimeImmutable @1701860652 {#1850
      date: 2023-12-06 12:04:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701117179 {#2420
      date: 2023-11-27 21:32:59.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3361
  +subject: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
    +title: "FOUND file in device by hex content using wxHexEditor"
    +url: null
    +body: """
      Just having a play around, this turned out to be not as clear cut as expected.\n
      \n
      so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
      \n
      I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
      \n
      What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
      \n
      Ok, I managed to do it with dd:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">hello\n
      </span>\n
      ```\n
      \n
      but why can I not find it using wxhexeditor??\n
      \n
      EDIT:\n
      \n
      Duh, I didn’t click that offset needed to be multiplied by the block size.\n
      \n
      If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
      \n
      ![](https://files.catbox.moe/6zvhx0.png)\n
      \n
      Final conclusion:\n
      \n
      After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
      \n
      I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
      \n
      Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 37
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701250420 {#2410
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 17506
    -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
    -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701203579
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3824501"
    +editedAt: DateTimeImmutable @1701860652 {#1850
      date: 2023-12-06 12:04:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701117179 {#2420
      date: 2023-11-27 21:32:59.0 +01:00
    }
  }
  +formDest: "entry"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 1.15 ms
Input props
[
  "subject" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
    +title: "FOUND file in device by hex content using wxHexEditor"
    +url: null
    +body: """
      Just having a play around, this turned out to be not as clear cut as expected.\n
      \n
      so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
      \n
      I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
      \n
      What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
      \n
      Ok, I managed to do it with dd:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">hello\n
      </span>\n
      ```\n
      \n
      but why can I not find it using wxhexeditor??\n
      \n
      EDIT:\n
      \n
      Duh, I didn’t click that offset needed to be multiplied by the block size.\n
      \n
      If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
      \n
      ![](https://files.catbox.moe/6zvhx0.png)\n
      \n
      Final conclusion:\n
      \n
      After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
      \n
      I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
      \n
      Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 37
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701250420 {#2410
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 17506
    -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
    -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701203579
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3824501"
    +editedAt: DateTimeImmutable @1701860652 {#1850
      date: 2023-12-06 12:04:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701117179 {#2420
      date: 2023-11-27 21:32:59.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3427
  +formDest: "entry"
  +subject: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
    +title: "FOUND file in device by hex content using wxHexEditor"
    +url: null
    +body: """
      Just having a play around, this turned out to be not as clear cut as expected.\n
      \n
      so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
      \n
      I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
      \n
      What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
      \n
      Ok, I managed to do it with dd:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">hello\n
      </span>\n
      ```\n
      \n
      but why can I not find it using wxhexeditor??\n
      \n
      EDIT:\n
      \n
      Duh, I didn’t click that offset needed to be multiplied by the block size.\n
      \n
      If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
      \n
      ![](https://files.catbox.moe/6zvhx0.png)\n
      \n
      Final conclusion:\n
      \n
      After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
      \n
      I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
      \n
      Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 37
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701250420 {#2410
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 17506
    -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
    -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701203579
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3824501"
    +editedAt: DateTimeImmutable @1701860652 {#1850
      date: 2023-12-06 12:04:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701117179 {#2420
      date: 2023-11-27 21:32:59.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entries_cross App\Twig\Components\EntriesCrossComponent 14.0 MiB 51.73 ms
Input props
[
  "entry" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
    +title: "FOUND file in device by hex content using wxHexEditor"
    +url: null
    +body: """
      Just having a play around, this turned out to be not as clear cut as expected.\n
      \n
      so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
      \n
      I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
      \n
      What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
      \n
      Ok, I managed to do it with dd:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">hello\n
      </span>\n
      ```\n
      \n
      but why can I not find it using wxhexeditor??\n
      \n
      EDIT:\n
      \n
      Duh, I didn’t click that offset needed to be multiplied by the block size.\n
      \n
      If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
      \n
      ![](https://files.catbox.moe/6zvhx0.png)\n
      \n
      Final conclusion:\n
      \n
      After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
      \n
      I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
      \n
      Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 37
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701250420 {#2410
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 17506
    -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
    -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701203579
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3824501"
    +editedAt: DateTimeImmutable @1701860652 {#1850
      date: 2023-12-06 12:04:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701117179 {#2420
      date: 2023-11-27 21:32:59.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\EntriesCrossComponent {#3741
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
    +title: "FOUND file in device by hex content using wxHexEditor"
    +url: null
    +body: """
      Just having a play around, this turned out to be not as clear cut as expected.\n
      \n
      so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
      \n
      I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
      \n
      What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
      \n
      Ok, I managed to do it with dd:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">hello\n
      </span>\n
      ```\n
      \n
      but why can I not find it using wxhexeditor??\n
      \n
      EDIT:\n
      \n
      Duh, I didn’t click that offset needed to be multiplied by the block size.\n
      \n
      If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
      \n
      ![](https://files.catbox.moe/6zvhx0.png)\n
      \n
      Final conclusion:\n
      \n
      After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
      \n
      I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
      \n
      Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 37
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701250420 {#2410
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 17506
    -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
    -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701203579
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3824501"
    +editedAt: DateTimeImmutable @1701860652 {#1850
      date: 2023-12-06 12:04:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701117179 {#2420
      date: 2023-11-27 21:32:59.0 +01:00
    }
  }
  -repository: App\Repository\EntryRepository {#271 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
}
editor_toolbar App\Twig\Components\EditorToolbarComponent 14.0 MiB 0.22 ms
Input props
[
  "id" => "entry_comment_67ba17f792af00.30238843_body"
]
Attributes
[]
Component
App\Twig\Components\EditorToolbarComponent {#3866
  +id: "entry_comment_67ba17f792af00.30238843_body"
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 24.06 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4066
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702111183 {#4075
      date: 2023-12-09 09:39:43.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4064 …}
    +nested: Doctrine\ORM\PersistentCollection {#4062 …}
    +votes: Doctrine\ORM\PersistentCollection {#4060 …}
    +reports: Doctrine\ORM\PersistentCollection {#4058 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
    -id: 175660
    -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4084700"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223008 {#4011
      date: 2023-11-29 02:56:48.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#4499
  +comment: App\Entity\EntryComment {#4066
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702111183 {#4075
      date: 2023-12-09 09:39:43.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4064 …}
    +nested: Doctrine\ORM\PersistentCollection {#4062 …}
    +votes: Doctrine\ORM\PersistentCollection {#4060 …}
    +reports: Doctrine\ORM\PersistentCollection {#4058 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
    -id: 175660
    -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4084700"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223008 {#4011
      date: 2023-11-29 02:56:48.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4014
    +avatar: null
    +cover: null
    +email: "dario@feddit.it"
    +username: "@dario@feddit.it"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729017698 {#4074
      date: 2024-10-15 20:41:38.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
    +entries: Doctrine\ORM\PersistentCollection {#4008 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
    +posts: Doctrine\ORM\PersistentCollection {#3998 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
    +follows: Doctrine\ORM\PersistentCollection {#4130 …}
    +followers: Doctrine\ORM\PersistentCollection {#4126 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
    +reports: Doctrine\ORM\PersistentCollection {#4129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
    +violations: Doctrine\ORM\PersistentCollection {#4119 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
    +awards: Doctrine\ORM\PersistentCollection {#4120 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
    +categories: Doctrine\ORM\PersistentCollection {#4117 …}
    -id: 72210
    -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
    +apId: "dario@feddit.it"
    +apProfileId: "https://feddit.it/u/dario"
    +apPublicUrl: "https://feddit.it/u/dario"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.it/inbox"
    +apDomain: "feddit.it"
    +apPreferredUsername: "dario"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1725950304 {#4070
      date: 2024-09-10 08:38:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699258913 {#4068
      date: 2023-11-06 09:21:53.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#4573
  +user: App\Entity\User {#4014
    +avatar: null
    +cover: null
    +email: "dario@feddit.it"
    +username: "@dario@feddit.it"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729017698 {#4074
      date: 2024-10-15 20:41:38.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
    +entries: Doctrine\ORM\PersistentCollection {#4008 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
    +posts: Doctrine\ORM\PersistentCollection {#3998 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
    +follows: Doctrine\ORM\PersistentCollection {#4130 …}
    +followers: Doctrine\ORM\PersistentCollection {#4126 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
    +reports: Doctrine\ORM\PersistentCollection {#4129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
    +violations: Doctrine\ORM\PersistentCollection {#4119 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
    +awards: Doctrine\ORM\PersistentCollection {#4120 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
    +categories: Doctrine\ORM\PersistentCollection {#4117 …}
    -id: 72210
    -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
    +apId: "dario@feddit.it"
    +apProfileId: "https://feddit.it/u/dario"
    +apPublicUrl: "https://feddit.it/u/dario"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.it/inbox"
    +apDomain: "feddit.it"
    +apPreferredUsername: "dario"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1725950304 {#4070
      date: 2024-09-10 08:38:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699258913 {#4068
      date: 2023-11-06 09:21:53.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1701223008 {#4011
    date: 2023-11-29 02:56:48.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#4628
  +date: DateTimeImmutable @1701223008 {#4011
    date: 2023-11-29 02:56:48.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701223008 {#4011
    date: 2023-11-29 02:56:48.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#4682
  +createdAt: DateTimeImmutable @1701223008 {#4011
    date: 2023-11-29 02:56:48.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.22 ms
Input props
[
  "user" => App\Entity\User {#4014
    +avatar: null
    +cover: null
    +email: "dario@feddit.it"
    +username: "@dario@feddit.it"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729017698 {#4074
      date: 2024-10-15 20:41:38.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
    +entries: Doctrine\ORM\PersistentCollection {#4008 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
    +posts: Doctrine\ORM\PersistentCollection {#3998 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
    +follows: Doctrine\ORM\PersistentCollection {#4130 …}
    +followers: Doctrine\ORM\PersistentCollection {#4126 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
    +reports: Doctrine\ORM\PersistentCollection {#4129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
    +violations: Doctrine\ORM\PersistentCollection {#4119 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
    +awards: Doctrine\ORM\PersistentCollection {#4120 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
    +categories: Doctrine\ORM\PersistentCollection {#4117 …}
    -id: 72210
    -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
    +apId: "dario@feddit.it"
    +apProfileId: "https://feddit.it/u/dario"
    +apPublicUrl: "https://feddit.it/u/dario"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.it/inbox"
    +apDomain: "feddit.it"
    +apPreferredUsername: "dario"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1725950304 {#4070
      date: 2024-09-10 08:38:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699258913 {#4068
      date: 2023-11-06 09:21:53.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#4738
  +width: 40
  +height: 40
  +user: App\Entity\User {#4014
    +avatar: null
    +cover: null
    +email: "dario@feddit.it"
    +username: "@dario@feddit.it"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729017698 {#4074
      date: 2024-10-15 20:41:38.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
    +entries: Doctrine\ORM\PersistentCollection {#4008 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
    +posts: Doctrine\ORM\PersistentCollection {#3998 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
    +follows: Doctrine\ORM\PersistentCollection {#4130 …}
    +followers: Doctrine\ORM\PersistentCollection {#4126 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
    +reports: Doctrine\ORM\PersistentCollection {#4129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
    +violations: Doctrine\ORM\PersistentCollection {#4119 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
    +awards: Doctrine\ORM\PersistentCollection {#4120 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
    +categories: Doctrine\ORM\PersistentCollection {#4117 …}
    -id: 72210
    -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
    +apId: "dario@feddit.it"
    +apProfileId: "https://feddit.it/u/dario"
    +apPublicUrl: "https://feddit.it/u/dario"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.it/inbox"
    +apDomain: "feddit.it"
    +apPreferredUsername: "dario"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1725950304 {#4070
      date: 2024-09-10 08:38:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699258913 {#4068
      date: 2023-11-06 09:21:53.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.35 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4066
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702111183 {#4075
      date: 2023-12-09 09:39:43.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4064 …}
    +nested: Doctrine\ORM\PersistentCollection {#4062 …}
    +votes: Doctrine\ORM\PersistentCollection {#4060 …}
    +reports: Doctrine\ORM\PersistentCollection {#4058 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
    -id: 175660
    -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4084700"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223008 {#4011
      date: 2023-11-29 02:56:48.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#4821
  +subject: App\Entity\EntryComment {#4066
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702111183 {#4075
      date: 2023-12-09 09:39:43.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4064 …}
    +nested: Doctrine\ORM\PersistentCollection {#4062 …}
    +votes: Doctrine\ORM\PersistentCollection {#4060 …}
    +reports: Doctrine\ORM\PersistentCollection {#4058 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
    -id: 175660
    -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4084700"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223008 {#4011
      date: 2023-11-29 02:56:48.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.63 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4066
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702111183 {#4075
      date: 2023-12-09 09:39:43.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4064 …}
    +nested: Doctrine\ORM\PersistentCollection {#4062 …}
    +votes: Doctrine\ORM\PersistentCollection {#4060 …}
    +reports: Doctrine\ORM\PersistentCollection {#4058 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
    -id: 175660
    -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4084700"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223008 {#4011
      date: 2023-11-29 02:56:48.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#4878
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4066
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702111183 {#4075
      date: 2023-12-09 09:39:43.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4064 …}
    +nested: Doctrine\ORM\PersistentCollection {#4062 …}
    +votes: Doctrine\ORM\PersistentCollection {#4060 …}
    +reports: Doctrine\ORM\PersistentCollection {#4058 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
    -id: 175660
    -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4084700"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223008 {#4011
      date: 2023-11-29 02:56:48.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 16.15 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4066
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702111183 {#4075
      date: 2023-12-09 09:39:43.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4064 …}
    +nested: Doctrine\ORM\PersistentCollection {#4062 …}
    +votes: Doctrine\ORM\PersistentCollection {#4060 …}
    +reports: Doctrine\ORM\PersistentCollection {#4058 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
    -id: 175660
    -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4084700"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223008 {#4011
      date: 2023-11-29 02:56:48.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5125
  +comment: App\Entity\EntryComment {#4066
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702111183 {#4075
      date: 2023-12-09 09:39:43.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4064 …}
    +nested: Doctrine\ORM\PersistentCollection {#4062 …}
    +votes: Doctrine\ORM\PersistentCollection {#4060 …}
    +reports: Doctrine\ORM\PersistentCollection {#4058 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
    -id: 175660
    -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4084700"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223008 {#4011
      date: 2023-11-29 02:56:48.0 +01:00
    }
  }
  +nestedComments: [
    175683 => App\Entity\EntryComment {#4474
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4066}
      +root: App\Entity\EntryComment {#4066}
      +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1701223767 {#4472
        date: 2023-11-29 03:09:27.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@dario@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4475 …}
      +nested: Doctrine\ORM\PersistentCollection {#4477 …}
      +votes: Doctrine\ORM\PersistentCollection {#4479 …}
      +reports: Doctrine\ORM\PersistentCollection {#4481 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
      -id: 175683
      -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4082731"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223767 {#4473
        date: 2023-11-29 03:09:27.0 +01:00
      }
    }
    176304 => App\Entity\EntryComment {#4496
      +user: App\Entity\User {#4014}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4474}
      +root: App\Entity\EntryComment {#4066}
      +body: """
        ```\n
        \n
        <span style="color:#323232;">Language=English\n
        </span><span style="color:#323232;">UpdateCheck=1\n
        </span><span style="color:#323232;">LastUpdateCheckTime=1.698e+09\n
        </span><span style="color:#323232;">ColourHexForeground=#DEDDDA\n
        </span><span style="color:#323232;">ColourHexBackground=#000000\n
        </span><span style="color:#323232;">ColourHexBackgroundZebra=#3D3846\n
        </span><span style="color:#323232;">ColourHexSelectionForeground=#000000\n
        </span><span style="color:#323232;">ColourHexSelectionBackground=#613583\n
        </span><span style="color:#323232;">UseCustomHexFormat=0\n
        </span><span style="color:#323232;">CustomHexFormat=xx \n
        </span><span style="color:#323232;">UseBytesPerLineLimit=1\n
        </span><span style="color:#323232;">BytesPerLineLimit=16\n
        </span><span style="color:#323232;">CharacterEncodingFamily=DOS\n
        </span><span style="color:#323232;">CharacterEncoding=OEM - IBM PC/DOS CP437 - MS-DOS Latin US\n
        </span><span style="color:#323232;">FontSize=10\n
        </span><span style="color:#323232;">AutoShowTagPanel=1\n
        </span><span style="color:#323232;">ScreenX=26\n
        </span><span style="color:#323232;">ScreenY=23\n
        </span><span style="color:#323232;">ScreenW=618\n
        </span><span style="color:#323232;">ScreenH=716\n
        </span><span style="color:#323232;">ScreenFullScreen=0\n
        </span><span style="color:#323232;">FakeBlockLines=0\n
        </span><span style="color:#323232;">FakeBlockSize=8k\n
        </span><span style="color:#323232;">SingleInstance=0\n
        </span><span style="color:#323232;">ZebraStriping=1\n
        </span><span style="color:#323232;">SelectedChecksumFunctions=32648\n
        </span><span style="color:#323232;">CompareOptions=0\n
        </span><span style="color:#323232;">CompareOptionStopAfter=0\n
        </span><span style="color:#323232;">CompareOptionMergeSection=0\n
        </span>\n
        ```
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1701250420 {#4492
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +tags: [
        0 => "323232"
        4 => "deddda"
        6 => "000000"
        8 => "3d3846"
        12 => "613583"
      ]
      +mentions: [
        "@luthis@lemmy.nz"
        "@dario@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4500 …}
      +nested: Doctrine\ORM\PersistentCollection {#4502 …}
      +votes: Doctrine\ORM\PersistentCollection {#4498 …}
      +reports: Doctrine\ORM\PersistentCollection {#4504 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4506 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4508 …}
      -id: 176304
      -bodyTs: "'0':18,50,52,56,62,64,66 '000000':10,14 '1':4,22,40,58 '1.698e+09':6 '10':38 '16':24 '23':44 '26':42 '32648':60 '3d3846':12 '613583':16 '618':46 '716':48 '8k':54 'autoshowtagpanel':39 'bytesperlinelimit':23 'characterencod':27 'characterencodingfamili':25 'colourhexbackground':9 'colourhexbackgroundzebra':11 'colourhexforeground':7 'colourhexselectionbackground':15 'colourhexselectionforeground':13 'compareopt':61 'compareoptionmergesect':65 'compareoptionstopaft':63 'cp437':31 'customhexformat':19 'deddda':8 'dos':26,34 'english':2 'fakeblocklin':51 'fakeblocks':53 'fontsiz':37 'ibm':29 'languag':1 'lastupdatechecktim':5 'latin':35 'ms':33 'ms-dos':32 'oem':28 'pc/dos':30 'screenfullscreen':49 'screenh':47 'screeni':43 'screenw':45 'screenx':41 'selectedchecksumfunct':59 'singleinst':55 'updatecheck':3 'us':36 'usebytesperlinelimit':21 'usecustomhexformat':17 'xx':20 'zebrastrip':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4089426"
      +editedAt: DateTimeImmutable @1702111245 {#4489
        date: 2023-12-09 09:40:45.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701250420 {#4493
        date: 2023-11-29 10:33:40.0 +01:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 13.38 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4474
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4066
      +user: App\Entity\User {#4014
        +avatar: null
        +cover: null
        +email: "dario@feddit.it"
        +username: "@dario@feddit.it"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729017698 {#4074
          date: 2024-10-15 20:41:38.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
        +entries: Doctrine\ORM\PersistentCollection {#4008 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
        +posts: Doctrine\ORM\PersistentCollection {#3998 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
        +follows: Doctrine\ORM\PersistentCollection {#4130 …}
        +followers: Doctrine\ORM\PersistentCollection {#4126 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
        +reports: Doctrine\ORM\PersistentCollection {#4129 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
        +violations: Doctrine\ORM\PersistentCollection {#4119 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
        +awards: Doctrine\ORM\PersistentCollection {#4120 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
        +categories: Doctrine\ORM\PersistentCollection {#4117 …}
        -id: 72210
        -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
        +apId: "dario@feddit.it"
        +apProfileId: "https://feddit.it/u/dario"
        +apPublicUrl: "https://feddit.it/u/dario"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.it/inbox"
        +apDomain: "feddit.it"
        +apPreferredUsername: "dario"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1725950304 {#4070
          date: 2024-09-10 08:38:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699258913 {#4068
          date: 2023-11-06 09:21:53.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702111183 {#4075
        date: 2023-12-09 09:39:43.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4064 …}
      +nested: Doctrine\ORM\PersistentCollection {#4062 …}
      +votes: Doctrine\ORM\PersistentCollection {#4060 …}
      +reports: Doctrine\ORM\PersistentCollection {#4058 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
      -id: 175660
      -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4084700"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223008 {#4011
        date: 2023-11-29 02:56:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701223767 {#4472
      date: 2023-11-29 03:09:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4475 …}
    +nested: Doctrine\ORM\PersistentCollection {#4477 …}
    +votes: Doctrine\ORM\PersistentCollection {#4479 …}
    +reports: Doctrine\ORM\PersistentCollection {#4481 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
    -id: 175683
    -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4082731"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223767 {#4473
      date: 2023-11-29 03:09:27.0 +01:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5199
  +comment: App\Entity\EntryComment {#4474
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4066
      +user: App\Entity\User {#4014
        +avatar: null
        +cover: null
        +email: "dario@feddit.it"
        +username: "@dario@feddit.it"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729017698 {#4074
          date: 2024-10-15 20:41:38.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
        +entries: Doctrine\ORM\PersistentCollection {#4008 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
        +posts: Doctrine\ORM\PersistentCollection {#3998 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
        +follows: Doctrine\ORM\PersistentCollection {#4130 …}
        +followers: Doctrine\ORM\PersistentCollection {#4126 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
        +reports: Doctrine\ORM\PersistentCollection {#4129 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
        +violations: Doctrine\ORM\PersistentCollection {#4119 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
        +awards: Doctrine\ORM\PersistentCollection {#4120 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
        +categories: Doctrine\ORM\PersistentCollection {#4117 …}
        -id: 72210
        -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
        +apId: "dario@feddit.it"
        +apProfileId: "https://feddit.it/u/dario"
        +apPublicUrl: "https://feddit.it/u/dario"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.it/inbox"
        +apDomain: "feddit.it"
        +apPreferredUsername: "dario"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1725950304 {#4070
          date: 2024-09-10 08:38:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699258913 {#4068
          date: 2023-11-06 09:21:53.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702111183 {#4075
        date: 2023-12-09 09:39:43.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4064 …}
      +nested: Doctrine\ORM\PersistentCollection {#4062 …}
      +votes: Doctrine\ORM\PersistentCollection {#4060 …}
      +reports: Doctrine\ORM\PersistentCollection {#4058 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
      -id: 175660
      -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4084700"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223008 {#4011
        date: 2023-11-29 02:56:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701223767 {#4472
      date: 2023-11-29 03:09:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4475 …}
    +nested: Doctrine\ORM\PersistentCollection {#4477 …}
    +votes: Doctrine\ORM\PersistentCollection {#4479 …}
    +reports: Doctrine\ORM\PersistentCollection {#4481 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
    -id: 175683
    -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4082731"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223767 {#4473
      date: 2023-11-29 03:09:27.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.14 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5246
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1701223767 {#4473
    date: 2023-11-29 03:09:27.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5301
  +date: DateTimeImmutable @1701223767 {#4473
    date: 2023-11-29 03:09:27.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.08 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701223767 {#4473
    date: 2023-11-29 03:09:27.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5355
  +createdAt: DateTimeImmutable @1701223767 {#4473
    date: 2023-11-29 03:09:27.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.12 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5409
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.50 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4474
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4066
      +user: App\Entity\User {#4014
        +avatar: null
        +cover: null
        +email: "dario@feddit.it"
        +username: "@dario@feddit.it"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729017698 {#4074
          date: 2024-10-15 20:41:38.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
        +entries: Doctrine\ORM\PersistentCollection {#4008 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
        +posts: Doctrine\ORM\PersistentCollection {#3998 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
        +follows: Doctrine\ORM\PersistentCollection {#4130 …}
        +followers: Doctrine\ORM\PersistentCollection {#4126 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
        +reports: Doctrine\ORM\PersistentCollection {#4129 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
        +violations: Doctrine\ORM\PersistentCollection {#4119 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
        +awards: Doctrine\ORM\PersistentCollection {#4120 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
        +categories: Doctrine\ORM\PersistentCollection {#4117 …}
        -id: 72210
        -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
        +apId: "dario@feddit.it"
        +apProfileId: "https://feddit.it/u/dario"
        +apPublicUrl: "https://feddit.it/u/dario"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.it/inbox"
        +apDomain: "feddit.it"
        +apPreferredUsername: "dario"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1725950304 {#4070
          date: 2024-09-10 08:38:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699258913 {#4068
          date: 2023-11-06 09:21:53.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702111183 {#4075
        date: 2023-12-09 09:39:43.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4064 …}
      +nested: Doctrine\ORM\PersistentCollection {#4062 …}
      +votes: Doctrine\ORM\PersistentCollection {#4060 …}
      +reports: Doctrine\ORM\PersistentCollection {#4058 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
      -id: 175660
      -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4084700"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223008 {#4011
        date: 2023-11-29 02:56:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701223767 {#4472
      date: 2023-11-29 03:09:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4475 …}
    +nested: Doctrine\ORM\PersistentCollection {#4477 …}
    +votes: Doctrine\ORM\PersistentCollection {#4479 …}
    +reports: Doctrine\ORM\PersistentCollection {#4481 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
    -id: 175683
    -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4082731"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223767 {#4473
      date: 2023-11-29 03:09:27.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#5478
  +subject: App\Entity\EntryComment {#4474
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4066
      +user: App\Entity\User {#4014
        +avatar: null
        +cover: null
        +email: "dario@feddit.it"
        +username: "@dario@feddit.it"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729017698 {#4074
          date: 2024-10-15 20:41:38.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
        +entries: Doctrine\ORM\PersistentCollection {#4008 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
        +posts: Doctrine\ORM\PersistentCollection {#3998 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
        +follows: Doctrine\ORM\PersistentCollection {#4130 …}
        +followers: Doctrine\ORM\PersistentCollection {#4126 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
        +reports: Doctrine\ORM\PersistentCollection {#4129 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
        +violations: Doctrine\ORM\PersistentCollection {#4119 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
        +awards: Doctrine\ORM\PersistentCollection {#4120 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
        +categories: Doctrine\ORM\PersistentCollection {#4117 …}
        -id: 72210
        -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
        +apId: "dario@feddit.it"
        +apProfileId: "https://feddit.it/u/dario"
        +apPublicUrl: "https://feddit.it/u/dario"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.it/inbox"
        +apDomain: "feddit.it"
        +apPreferredUsername: "dario"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1725950304 {#4070
          date: 2024-09-10 08:38:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699258913 {#4068
          date: 2023-11-06 09:21:53.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702111183 {#4075
        date: 2023-12-09 09:39:43.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4064 …}
      +nested: Doctrine\ORM\PersistentCollection {#4062 …}
      +votes: Doctrine\ORM\PersistentCollection {#4060 …}
      +reports: Doctrine\ORM\PersistentCollection {#4058 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
      -id: 175660
      -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4084700"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223008 {#4011
        date: 2023-11-29 02:56:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701223767 {#4472
      date: 2023-11-29 03:09:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4475 …}
    +nested: Doctrine\ORM\PersistentCollection {#4477 …}
    +votes: Doctrine\ORM\PersistentCollection {#4479 …}
    +reports: Doctrine\ORM\PersistentCollection {#4481 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
    -id: 175683
    -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4082731"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223767 {#4473
      date: 2023-11-29 03:09:27.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.68 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4474
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4066
      +user: App\Entity\User {#4014
        +avatar: null
        +cover: null
        +email: "dario@feddit.it"
        +username: "@dario@feddit.it"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729017698 {#4074
          date: 2024-10-15 20:41:38.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
        +entries: Doctrine\ORM\PersistentCollection {#4008 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
        +posts: Doctrine\ORM\PersistentCollection {#3998 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
        +follows: Doctrine\ORM\PersistentCollection {#4130 …}
        +followers: Doctrine\ORM\PersistentCollection {#4126 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
        +reports: Doctrine\ORM\PersistentCollection {#4129 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
        +violations: Doctrine\ORM\PersistentCollection {#4119 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
        +awards: Doctrine\ORM\PersistentCollection {#4120 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
        +categories: Doctrine\ORM\PersistentCollection {#4117 …}
        -id: 72210
        -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
        +apId: "dario@feddit.it"
        +apProfileId: "https://feddit.it/u/dario"
        +apPublicUrl: "https://feddit.it/u/dario"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.it/inbox"
        +apDomain: "feddit.it"
        +apPreferredUsername: "dario"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1725950304 {#4070
          date: 2024-09-10 08:38:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699258913 {#4068
          date: 2023-11-06 09:21:53.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702111183 {#4075
        date: 2023-12-09 09:39:43.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4064 …}
      +nested: Doctrine\ORM\PersistentCollection {#4062 …}
      +votes: Doctrine\ORM\PersistentCollection {#4060 …}
      +reports: Doctrine\ORM\PersistentCollection {#4058 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
      -id: 175660
      -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4084700"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223008 {#4011
        date: 2023-11-29 02:56:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701223767 {#4472
      date: 2023-11-29 03:09:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4475 …}
    +nested: Doctrine\ORM\PersistentCollection {#4477 …}
    +votes: Doctrine\ORM\PersistentCollection {#4479 …}
    +reports: Doctrine\ORM\PersistentCollection {#4481 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
    -id: 175683
    -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4082731"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223767 {#4473
      date: 2023-11-29 03:09:27.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#5535
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4474
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4066
      +user: App\Entity\User {#4014
        +avatar: null
        +cover: null
        +email: "dario@feddit.it"
        +username: "@dario@feddit.it"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729017698 {#4074
          date: 2024-10-15 20:41:38.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
        +entries: Doctrine\ORM\PersistentCollection {#4008 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
        +posts: Doctrine\ORM\PersistentCollection {#3998 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
        +follows: Doctrine\ORM\PersistentCollection {#4130 …}
        +followers: Doctrine\ORM\PersistentCollection {#4126 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
        +reports: Doctrine\ORM\PersistentCollection {#4129 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
        +violations: Doctrine\ORM\PersistentCollection {#4119 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
        +awards: Doctrine\ORM\PersistentCollection {#4120 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
        +categories: Doctrine\ORM\PersistentCollection {#4117 …}
        -id: 72210
        -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
        +apId: "dario@feddit.it"
        +apProfileId: "https://feddit.it/u/dario"
        +apPublicUrl: "https://feddit.it/u/dario"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.it/inbox"
        +apDomain: "feddit.it"
        +apPreferredUsername: "dario"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1725950304 {#4070
          date: 2024-09-10 08:38:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699258913 {#4068
          date: 2023-11-06 09:21:53.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702111183 {#4075
        date: 2023-12-09 09:39:43.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4064 …}
      +nested: Doctrine\ORM\PersistentCollection {#4062 …}
      +votes: Doctrine\ORM\PersistentCollection {#4060 …}
      +reports: Doctrine\ORM\PersistentCollection {#4058 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
      -id: 175660
      -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4084700"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223008 {#4011
        date: 2023-11-29 02:56:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701223767 {#4472
      date: 2023-11-29 03:09:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4475 …}
    +nested: Doctrine\ORM\PersistentCollection {#4477 …}
    +votes: Doctrine\ORM\PersistentCollection {#4479 …}
    +reports: Doctrine\ORM\PersistentCollection {#4481 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
    -id: 175683
    -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4082731"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223767 {#4473
      date: 2023-11-29 03:09:27.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 7.96 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4474
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4066
      +user: App\Entity\User {#4014
        +avatar: null
        +cover: null
        +email: "dario@feddit.it"
        +username: "@dario@feddit.it"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729017698 {#4074
          date: 2024-10-15 20:41:38.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
        +entries: Doctrine\ORM\PersistentCollection {#4008 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
        +posts: Doctrine\ORM\PersistentCollection {#3998 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
        +follows: Doctrine\ORM\PersistentCollection {#4130 …}
        +followers: Doctrine\ORM\PersistentCollection {#4126 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
        +reports: Doctrine\ORM\PersistentCollection {#4129 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
        +violations: Doctrine\ORM\PersistentCollection {#4119 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
        +awards: Doctrine\ORM\PersistentCollection {#4120 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
        +categories: Doctrine\ORM\PersistentCollection {#4117 …}
        -id: 72210
        -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
        +apId: "dario@feddit.it"
        +apProfileId: "https://feddit.it/u/dario"
        +apPublicUrl: "https://feddit.it/u/dario"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.it/inbox"
        +apDomain: "feddit.it"
        +apPreferredUsername: "dario"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1725950304 {#4070
          date: 2024-09-10 08:38:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699258913 {#4068
          date: 2023-11-06 09:21:53.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702111183 {#4075
        date: 2023-12-09 09:39:43.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4064 …}
      +nested: Doctrine\ORM\PersistentCollection {#4062 …}
      +votes: Doctrine\ORM\PersistentCollection {#4060 …}
      +reports: Doctrine\ORM\PersistentCollection {#4058 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
      -id: 175660
      -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4084700"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223008 {#4011
        date: 2023-11-29 02:56:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701223767 {#4472
      date: 2023-11-29 03:09:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4475 …}
    +nested: Doctrine\ORM\PersistentCollection {#4477 …}
    +votes: Doctrine\ORM\PersistentCollection {#4479 …}
    +reports: Doctrine\ORM\PersistentCollection {#4481 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
    -id: 175683
    -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4082731"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223767 {#4473
      date: 2023-11-29 03:09:27.0 +01:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5775
  +comment: App\Entity\EntryComment {#4474
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4066
      +user: App\Entity\User {#4014
        +avatar: null
        +cover: null
        +email: "dario@feddit.it"
        +username: "@dario@feddit.it"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729017698 {#4074
          date: 2024-10-15 20:41:38.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
        +entries: Doctrine\ORM\PersistentCollection {#4008 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
        +posts: Doctrine\ORM\PersistentCollection {#3998 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
        +follows: Doctrine\ORM\PersistentCollection {#4130 …}
        +followers: Doctrine\ORM\PersistentCollection {#4126 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
        +reports: Doctrine\ORM\PersistentCollection {#4129 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
        +violations: Doctrine\ORM\PersistentCollection {#4119 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
        +awards: Doctrine\ORM\PersistentCollection {#4120 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
        +categories: Doctrine\ORM\PersistentCollection {#4117 …}
        -id: 72210
        -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
        +apId: "dario@feddit.it"
        +apProfileId: "https://feddit.it/u/dario"
        +apPublicUrl: "https://feddit.it/u/dario"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.it/inbox"
        +apDomain: "feddit.it"
        +apPreferredUsername: "dario"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1725950304 {#4070
          date: 2024-09-10 08:38:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699258913 {#4068
          date: 2023-11-06 09:21:53.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702111183 {#4075
        date: 2023-12-09 09:39:43.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4064 …}
      +nested: Doctrine\ORM\PersistentCollection {#4062 …}
      +votes: Doctrine\ORM\PersistentCollection {#4060 …}
      +reports: Doctrine\ORM\PersistentCollection {#4058 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
      -id: 175660
      -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4084700"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223008 {#4011
        date: 2023-11-29 02:56:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701223767 {#4472
      date: 2023-11-29 03:09:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4475 …}
    +nested: Doctrine\ORM\PersistentCollection {#4477 …}
    +votes: Doctrine\ORM\PersistentCollection {#4479 …}
    +reports: Doctrine\ORM\PersistentCollection {#4481 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
    -id: 175683
    -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4082731"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701223767 {#4473
      date: 2023-11-29 03:09:27.0 +01:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 7.35 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4496
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4474
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4066
        +user: App\Entity\User {#4014}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1702111183 {#4075
          date: 2023-12-09 09:39:43.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@luthis@lemmy.nz"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4064 …}
        +nested: Doctrine\ORM\PersistentCollection {#4062 …}
        +votes: Doctrine\ORM\PersistentCollection {#4060 …}
        +reports: Doctrine\ORM\PersistentCollection {#4058 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
        -id: 175660
        -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4084700"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701223008 {#4011
          date: 2023-11-29 02:56:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4066}
      +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1701223767 {#4472
        date: 2023-11-29 03:09:27.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@dario@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4475 …}
      +nested: Doctrine\ORM\PersistentCollection {#4477 …}
      +votes: Doctrine\ORM\PersistentCollection {#4479 …}
      +reports: Doctrine\ORM\PersistentCollection {#4481 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
      -id: 175683
      -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4082731"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223767 {#4473
        date: 2023-11-29 03:09:27.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: """
      ```\n
      \n
      <span style="color:#323232;">Language=English\n
      </span><span style="color:#323232;">UpdateCheck=1\n
      </span><span style="color:#323232;">LastUpdateCheckTime=1.698e+09\n
      </span><span style="color:#323232;">ColourHexForeground=#DEDDDA\n
      </span><span style="color:#323232;">ColourHexBackground=#000000\n
      </span><span style="color:#323232;">ColourHexBackgroundZebra=#3D3846\n
      </span><span style="color:#323232;">ColourHexSelectionForeground=#000000\n
      </span><span style="color:#323232;">ColourHexSelectionBackground=#613583\n
      </span><span style="color:#323232;">UseCustomHexFormat=0\n
      </span><span style="color:#323232;">CustomHexFormat=xx \n
      </span><span style="color:#323232;">UseBytesPerLineLimit=1\n
      </span><span style="color:#323232;">BytesPerLineLimit=16\n
      </span><span style="color:#323232;">CharacterEncodingFamily=DOS\n
      </span><span style="color:#323232;">CharacterEncoding=OEM - IBM PC/DOS CP437 - MS-DOS Latin US\n
      </span><span style="color:#323232;">FontSize=10\n
      </span><span style="color:#323232;">AutoShowTagPanel=1\n
      </span><span style="color:#323232;">ScreenX=26\n
      </span><span style="color:#323232;">ScreenY=23\n
      </span><span style="color:#323232;">ScreenW=618\n
      </span><span style="color:#323232;">ScreenH=716\n
      </span><span style="color:#323232;">ScreenFullScreen=0\n
      </span><span style="color:#323232;">FakeBlockLines=0\n
      </span><span style="color:#323232;">FakeBlockSize=8k\n
      </span><span style="color:#323232;">SingleInstance=0\n
      </span><span style="color:#323232;">ZebraStriping=1\n
      </span><span style="color:#323232;">SelectedChecksumFunctions=32648\n
      </span><span style="color:#323232;">CompareOptions=0\n
      </span><span style="color:#323232;">CompareOptionStopAfter=0\n
      </span><span style="color:#323232;">CompareOptionMergeSection=0\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701250420 {#4492
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +tags: [
      0 => "323232"
      4 => "deddda"
      6 => "000000"
      8 => "3d3846"
      12 => "613583"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4500 …}
    +nested: Doctrine\ORM\PersistentCollection {#4502 …}
    +votes: Doctrine\ORM\PersistentCollection {#4498 …}
    +reports: Doctrine\ORM\PersistentCollection {#4504 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4506 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4508 …}
    -id: 176304
    -bodyTs: "'0':18,50,52,56,62,64,66 '000000':10,14 '1':4,22,40,58 '1.698e+09':6 '10':38 '16':24 '23':44 '26':42 '32648':60 '3d3846':12 '613583':16 '618':46 '716':48 '8k':54 'autoshowtagpanel':39 'bytesperlinelimit':23 'characterencod':27 'characterencodingfamili':25 'colourhexbackground':9 'colourhexbackgroundzebra':11 'colourhexforeground':7 'colourhexselectionbackground':15 'colourhexselectionforeground':13 'compareopt':61 'compareoptionmergesect':65 'compareoptionstopaft':63 'cp437':31 'customhexformat':19 'deddda':8 'dos':26,34 'english':2 'fakeblocklin':51 'fakeblocks':53 'fontsiz':37 'ibm':29 'languag':1 'lastupdatechecktim':5 'latin':35 'ms':33 'ms-dos':32 'oem':28 'pc/dos':30 'screenfullscreen':49 'screenh':47 'screeni':43 'screenw':45 'screenx':41 'selectedchecksumfunct':59 'singleinst':55 'updatecheck':3 'us':36 'usebytesperlinelimit':21 'usecustomhexformat':17 'xx':20 'zebrastrip':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4089426"
    +editedAt: DateTimeImmutable @1702111245 {#4489
      date: 2023-12-09 09:40:45.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701250420 {#4493
      date: 2023-11-29 10:33:40.0 +01:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5830
  +comment: App\Entity\EntryComment {#4496
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4474
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4066
        +user: App\Entity\User {#4014}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1702111183 {#4075
          date: 2023-12-09 09:39:43.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@luthis@lemmy.nz"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4064 …}
        +nested: Doctrine\ORM\PersistentCollection {#4062 …}
        +votes: Doctrine\ORM\PersistentCollection {#4060 …}
        +reports: Doctrine\ORM\PersistentCollection {#4058 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
        -id: 175660
        -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4084700"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701223008 {#4011
          date: 2023-11-29 02:56:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4066}
      +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1701223767 {#4472
        date: 2023-11-29 03:09:27.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@dario@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4475 …}
      +nested: Doctrine\ORM\PersistentCollection {#4477 …}
      +votes: Doctrine\ORM\PersistentCollection {#4479 …}
      +reports: Doctrine\ORM\PersistentCollection {#4481 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
      -id: 175683
      -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4082731"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223767 {#4473
        date: 2023-11-29 03:09:27.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: """
      ```\n
      \n
      <span style="color:#323232;">Language=English\n
      </span><span style="color:#323232;">UpdateCheck=1\n
      </span><span style="color:#323232;">LastUpdateCheckTime=1.698e+09\n
      </span><span style="color:#323232;">ColourHexForeground=#DEDDDA\n
      </span><span style="color:#323232;">ColourHexBackground=#000000\n
      </span><span style="color:#323232;">ColourHexBackgroundZebra=#3D3846\n
      </span><span style="color:#323232;">ColourHexSelectionForeground=#000000\n
      </span><span style="color:#323232;">ColourHexSelectionBackground=#613583\n
      </span><span style="color:#323232;">UseCustomHexFormat=0\n
      </span><span style="color:#323232;">CustomHexFormat=xx \n
      </span><span style="color:#323232;">UseBytesPerLineLimit=1\n
      </span><span style="color:#323232;">BytesPerLineLimit=16\n
      </span><span style="color:#323232;">CharacterEncodingFamily=DOS\n
      </span><span style="color:#323232;">CharacterEncoding=OEM - IBM PC/DOS CP437 - MS-DOS Latin US\n
      </span><span style="color:#323232;">FontSize=10\n
      </span><span style="color:#323232;">AutoShowTagPanel=1\n
      </span><span style="color:#323232;">ScreenX=26\n
      </span><span style="color:#323232;">ScreenY=23\n
      </span><span style="color:#323232;">ScreenW=618\n
      </span><span style="color:#323232;">ScreenH=716\n
      </span><span style="color:#323232;">ScreenFullScreen=0\n
      </span><span style="color:#323232;">FakeBlockLines=0\n
      </span><span style="color:#323232;">FakeBlockSize=8k\n
      </span><span style="color:#323232;">SingleInstance=0\n
      </span><span style="color:#323232;">ZebraStriping=1\n
      </span><span style="color:#323232;">SelectedChecksumFunctions=32648\n
      </span><span style="color:#323232;">CompareOptions=0\n
      </span><span style="color:#323232;">CompareOptionStopAfter=0\n
      </span><span style="color:#323232;">CompareOptionMergeSection=0\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701250420 {#4492
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +tags: [
      0 => "323232"
      4 => "deddda"
      6 => "000000"
      8 => "3d3846"
      12 => "613583"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4500 …}
    +nested: Doctrine\ORM\PersistentCollection {#4502 …}
    +votes: Doctrine\ORM\PersistentCollection {#4498 …}
    +reports: Doctrine\ORM\PersistentCollection {#4504 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4506 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4508 …}
    -id: 176304
    -bodyTs: "'0':18,50,52,56,62,64,66 '000000':10,14 '1':4,22,40,58 '1.698e+09':6 '10':38 '16':24 '23':44 '26':42 '32648':60 '3d3846':12 '613583':16 '618':46 '716':48 '8k':54 'autoshowtagpanel':39 'bytesperlinelimit':23 'characterencod':27 'characterencodingfamili':25 'colourhexbackground':9 'colourhexbackgroundzebra':11 'colourhexforeground':7 'colourhexselectionbackground':15 'colourhexselectionforeground':13 'compareopt':61 'compareoptionmergesect':65 'compareoptionstopaft':63 'cp437':31 'customhexformat':19 'deddda':8 'dos':26,34 'english':2 'fakeblocklin':51 'fakeblocks':53 'fontsiz':37 'ibm':29 'languag':1 'lastupdatechecktim':5 'latin':35 'ms':33 'ms-dos':32 'oem':28 'pc/dos':30 'screenfullscreen':49 'screenh':47 'screeni':43 'screenw':45 'screenx':41 'selectedchecksumfunct':59 'singleinst':55 'updatecheck':3 'us':36 'usebytesperlinelimit':21 'usecustomhexformat':17 'xx':20 'zebrastrip':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4089426"
    +editedAt: DateTimeImmutable @1702111245 {#4489
      date: 2023-12-09 09:40:45.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701250420 {#4493
      date: 2023-11-29 10:33:40.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 3
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4014
    +avatar: null
    +cover: null
    +email: "dario@feddit.it"
    +username: "@dario@feddit.it"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729017698 {#4074
      date: 2024-10-15 20:41:38.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
    +entries: Doctrine\ORM\PersistentCollection {#4008 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
    +posts: Doctrine\ORM\PersistentCollection {#3998 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
    +follows: Doctrine\ORM\PersistentCollection {#4130 …}
    +followers: Doctrine\ORM\PersistentCollection {#4126 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
    +reports: Doctrine\ORM\PersistentCollection {#4129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
    +violations: Doctrine\ORM\PersistentCollection {#4119 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
    +awards: Doctrine\ORM\PersistentCollection {#4120 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
    +categories: Doctrine\ORM\PersistentCollection {#4117 …}
    -id: 72210
    -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
    +apId: "dario@feddit.it"
    +apProfileId: "https://feddit.it/u/dario"
    +apPublicUrl: "https://feddit.it/u/dario"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.it/inbox"
    +apDomain: "feddit.it"
    +apPreferredUsername: "dario"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1725950304 {#4070
      date: 2024-09-10 08:38:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699258913 {#4068
      date: 2023-11-06 09:21:53.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5875
  +user: App\Entity\User {#4014
    +avatar: null
    +cover: null
    +email: "dario@feddit.it"
    +username: "@dario@feddit.it"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729017698 {#4074
      date: 2024-10-15 20:41:38.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
    +entries: Doctrine\ORM\PersistentCollection {#4008 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
    +posts: Doctrine\ORM\PersistentCollection {#3998 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
    +follows: Doctrine\ORM\PersistentCollection {#4130 …}
    +followers: Doctrine\ORM\PersistentCollection {#4126 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
    +reports: Doctrine\ORM\PersistentCollection {#4129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
    +violations: Doctrine\ORM\PersistentCollection {#4119 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
    +awards: Doctrine\ORM\PersistentCollection {#4120 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
    +categories: Doctrine\ORM\PersistentCollection {#4117 …}
    -id: 72210
    -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
    +apId: "dario@feddit.it"
    +apProfileId: "https://feddit.it/u/dario"
    +apPublicUrl: "https://feddit.it/u/dario"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.it/inbox"
    +apDomain: "feddit.it"
    +apPreferredUsername: "dario"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1725950304 {#4070
      date: 2024-09-10 08:38:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699258913 {#4068
      date: 2023-11-06 09:21:53.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.12 ms
Input props
[
  "date" => DateTimeImmutable @1701250420 {#4493
    date: 2023-11-29 10:33:40.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5930
  +date: DateTimeImmutable @1701250420 {#4493
    date: 2023-11-29 10:33:40.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.22 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701250420 {#4493
    date: 2023-11-29 10:33:40.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1702111245 {#4489
    date: 2023-12-09 09:40:45.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5984
  +createdAt: DateTimeImmutable @1701250420 {#4493
    date: 2023-11-29 10:33:40.0 +01:00
  }
  +editedAt: DateTimeImmutable @1702111245 {#4489
    date: 2023-12-09 09:40:45.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4014
    +avatar: null
    +cover: null
    +email: "dario@feddit.it"
    +username: "@dario@feddit.it"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729017698 {#4074
      date: 2024-10-15 20:41:38.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
    +entries: Doctrine\ORM\PersistentCollection {#4008 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
    +posts: Doctrine\ORM\PersistentCollection {#3998 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
    +follows: Doctrine\ORM\PersistentCollection {#4130 …}
    +followers: Doctrine\ORM\PersistentCollection {#4126 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
    +reports: Doctrine\ORM\PersistentCollection {#4129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
    +violations: Doctrine\ORM\PersistentCollection {#4119 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
    +awards: Doctrine\ORM\PersistentCollection {#4120 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
    +categories: Doctrine\ORM\PersistentCollection {#4117 …}
    -id: 72210
    -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
    +apId: "dario@feddit.it"
    +apProfileId: "https://feddit.it/u/dario"
    +apPublicUrl: "https://feddit.it/u/dario"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.it/inbox"
    +apDomain: "feddit.it"
    +apPreferredUsername: "dario"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1725950304 {#4070
      date: 2024-09-10 08:38:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699258913 {#4068
      date: 2023-11-06 09:21:53.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6038
  +width: 40
  +height: 40
  +user: App\Entity\User {#4014
    +avatar: null
    +cover: null
    +email: "dario@feddit.it"
    +username: "@dario@feddit.it"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729017698 {#4074
      date: 2024-10-15 20:41:38.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
    +entries: Doctrine\ORM\PersistentCollection {#4008 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
    +posts: Doctrine\ORM\PersistentCollection {#3998 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
    +follows: Doctrine\ORM\PersistentCollection {#4130 …}
    +followers: Doctrine\ORM\PersistentCollection {#4126 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
    +reports: Doctrine\ORM\PersistentCollection {#4129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
    +violations: Doctrine\ORM\PersistentCollection {#4119 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
    +awards: Doctrine\ORM\PersistentCollection {#4120 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
    +categories: Doctrine\ORM\PersistentCollection {#4117 …}
    -id: 72210
    -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
    +apId: "dario@feddit.it"
    +apProfileId: "https://feddit.it/u/dario"
    +apPublicUrl: "https://feddit.it/u/dario"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.it/inbox"
    +apDomain: "feddit.it"
    +apPreferredUsername: "dario"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1725950304 {#4070
      date: 2024-09-10 08:38:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699258913 {#4068
      date: 2023-11-06 09:21:53.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.39 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4496
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4474
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4066
        +user: App\Entity\User {#4014}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1702111183 {#4075
          date: 2023-12-09 09:39:43.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@luthis@lemmy.nz"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4064 …}
        +nested: Doctrine\ORM\PersistentCollection {#4062 …}
        +votes: Doctrine\ORM\PersistentCollection {#4060 …}
        +reports: Doctrine\ORM\PersistentCollection {#4058 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
        -id: 175660
        -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4084700"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701223008 {#4011
          date: 2023-11-29 02:56:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4066}
      +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1701223767 {#4472
        date: 2023-11-29 03:09:27.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@dario@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4475 …}
      +nested: Doctrine\ORM\PersistentCollection {#4477 …}
      +votes: Doctrine\ORM\PersistentCollection {#4479 …}
      +reports: Doctrine\ORM\PersistentCollection {#4481 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
      -id: 175683
      -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4082731"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223767 {#4473
        date: 2023-11-29 03:09:27.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: """
      ```\n
      \n
      <span style="color:#323232;">Language=English\n
      </span><span style="color:#323232;">UpdateCheck=1\n
      </span><span style="color:#323232;">LastUpdateCheckTime=1.698e+09\n
      </span><span style="color:#323232;">ColourHexForeground=#DEDDDA\n
      </span><span style="color:#323232;">ColourHexBackground=#000000\n
      </span><span style="color:#323232;">ColourHexBackgroundZebra=#3D3846\n
      </span><span style="color:#323232;">ColourHexSelectionForeground=#000000\n
      </span><span style="color:#323232;">ColourHexSelectionBackground=#613583\n
      </span><span style="color:#323232;">UseCustomHexFormat=0\n
      </span><span style="color:#323232;">CustomHexFormat=xx \n
      </span><span style="color:#323232;">UseBytesPerLineLimit=1\n
      </span><span style="color:#323232;">BytesPerLineLimit=16\n
      </span><span style="color:#323232;">CharacterEncodingFamily=DOS\n
      </span><span style="color:#323232;">CharacterEncoding=OEM - IBM PC/DOS CP437 - MS-DOS Latin US\n
      </span><span style="color:#323232;">FontSize=10\n
      </span><span style="color:#323232;">AutoShowTagPanel=1\n
      </span><span style="color:#323232;">ScreenX=26\n
      </span><span style="color:#323232;">ScreenY=23\n
      </span><span style="color:#323232;">ScreenW=618\n
      </span><span style="color:#323232;">ScreenH=716\n
      </span><span style="color:#323232;">ScreenFullScreen=0\n
      </span><span style="color:#323232;">FakeBlockLines=0\n
      </span><span style="color:#323232;">FakeBlockSize=8k\n
      </span><span style="color:#323232;">SingleInstance=0\n
      </span><span style="color:#323232;">ZebraStriping=1\n
      </span><span style="color:#323232;">SelectedChecksumFunctions=32648\n
      </span><span style="color:#323232;">CompareOptions=0\n
      </span><span style="color:#323232;">CompareOptionStopAfter=0\n
      </span><span style="color:#323232;">CompareOptionMergeSection=0\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701250420 {#4492
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +tags: [
      0 => "323232"
      4 => "deddda"
      6 => "000000"
      8 => "3d3846"
      12 => "613583"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4500 …}
    +nested: Doctrine\ORM\PersistentCollection {#4502 …}
    +votes: Doctrine\ORM\PersistentCollection {#4498 …}
    +reports: Doctrine\ORM\PersistentCollection {#4504 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4506 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4508 …}
    -id: 176304
    -bodyTs: "'0':18,50,52,56,62,64,66 '000000':10,14 '1':4,22,40,58 '1.698e+09':6 '10':38 '16':24 '23':44 '26':42 '32648':60 '3d3846':12 '613583':16 '618':46 '716':48 '8k':54 'autoshowtagpanel':39 'bytesperlinelimit':23 'characterencod':27 'characterencodingfamili':25 'colourhexbackground':9 'colourhexbackgroundzebra':11 'colourhexforeground':7 'colourhexselectionbackground':15 'colourhexselectionforeground':13 'compareopt':61 'compareoptionmergesect':65 'compareoptionstopaft':63 'cp437':31 'customhexformat':19 'deddda':8 'dos':26,34 'english':2 'fakeblocklin':51 'fakeblocks':53 'fontsiz':37 'ibm':29 'languag':1 'lastupdatechecktim':5 'latin':35 'ms':33 'ms-dos':32 'oem':28 'pc/dos':30 'screenfullscreen':49 'screenh':47 'screeni':43 'screenw':45 'screenx':41 'selectedchecksumfunct':59 'singleinst':55 'updatecheck':3 'us':36 'usebytesperlinelimit':21 'usecustomhexformat':17 'xx':20 'zebrastrip':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4089426"
    +editedAt: DateTimeImmutable @1702111245 {#4489
      date: 2023-12-09 09:40:45.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701250420 {#4493
      date: 2023-11-29 10:33:40.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6105
  +subject: App\Entity\EntryComment {#4496
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4474
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4066
        +user: App\Entity\User {#4014}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1702111183 {#4075
          date: 2023-12-09 09:39:43.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@luthis@lemmy.nz"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4064 …}
        +nested: Doctrine\ORM\PersistentCollection {#4062 …}
        +votes: Doctrine\ORM\PersistentCollection {#4060 …}
        +reports: Doctrine\ORM\PersistentCollection {#4058 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
        -id: 175660
        -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4084700"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701223008 {#4011
          date: 2023-11-29 02:56:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4066}
      +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1701223767 {#4472
        date: 2023-11-29 03:09:27.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@dario@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4475 …}
      +nested: Doctrine\ORM\PersistentCollection {#4477 …}
      +votes: Doctrine\ORM\PersistentCollection {#4479 …}
      +reports: Doctrine\ORM\PersistentCollection {#4481 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
      -id: 175683
      -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4082731"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223767 {#4473
        date: 2023-11-29 03:09:27.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: """
      ```\n
      \n
      <span style="color:#323232;">Language=English\n
      </span><span style="color:#323232;">UpdateCheck=1\n
      </span><span style="color:#323232;">LastUpdateCheckTime=1.698e+09\n
      </span><span style="color:#323232;">ColourHexForeground=#DEDDDA\n
      </span><span style="color:#323232;">ColourHexBackground=#000000\n
      </span><span style="color:#323232;">ColourHexBackgroundZebra=#3D3846\n
      </span><span style="color:#323232;">ColourHexSelectionForeground=#000000\n
      </span><span style="color:#323232;">ColourHexSelectionBackground=#613583\n
      </span><span style="color:#323232;">UseCustomHexFormat=0\n
      </span><span style="color:#323232;">CustomHexFormat=xx \n
      </span><span style="color:#323232;">UseBytesPerLineLimit=1\n
      </span><span style="color:#323232;">BytesPerLineLimit=16\n
      </span><span style="color:#323232;">CharacterEncodingFamily=DOS\n
      </span><span style="color:#323232;">CharacterEncoding=OEM - IBM PC/DOS CP437 - MS-DOS Latin US\n
      </span><span style="color:#323232;">FontSize=10\n
      </span><span style="color:#323232;">AutoShowTagPanel=1\n
      </span><span style="color:#323232;">ScreenX=26\n
      </span><span style="color:#323232;">ScreenY=23\n
      </span><span style="color:#323232;">ScreenW=618\n
      </span><span style="color:#323232;">ScreenH=716\n
      </span><span style="color:#323232;">ScreenFullScreen=0\n
      </span><span style="color:#323232;">FakeBlockLines=0\n
      </span><span style="color:#323232;">FakeBlockSize=8k\n
      </span><span style="color:#323232;">SingleInstance=0\n
      </span><span style="color:#323232;">ZebraStriping=1\n
      </span><span style="color:#323232;">SelectedChecksumFunctions=32648\n
      </span><span style="color:#323232;">CompareOptions=0\n
      </span><span style="color:#323232;">CompareOptionStopAfter=0\n
      </span><span style="color:#323232;">CompareOptionMergeSection=0\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701250420 {#4492
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +tags: [
      0 => "323232"
      4 => "deddda"
      6 => "000000"
      8 => "3d3846"
      12 => "613583"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4500 …}
    +nested: Doctrine\ORM\PersistentCollection {#4502 …}
    +votes: Doctrine\ORM\PersistentCollection {#4498 …}
    +reports: Doctrine\ORM\PersistentCollection {#4504 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4506 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4508 …}
    -id: 176304
    -bodyTs: "'0':18,50,52,56,62,64,66 '000000':10,14 '1':4,22,40,58 '1.698e+09':6 '10':38 '16':24 '23':44 '26':42 '32648':60 '3d3846':12 '613583':16 '618':46 '716':48 '8k':54 'autoshowtagpanel':39 'bytesperlinelimit':23 'characterencod':27 'characterencodingfamili':25 'colourhexbackground':9 'colourhexbackgroundzebra':11 'colourhexforeground':7 'colourhexselectionbackground':15 'colourhexselectionforeground':13 'compareopt':61 'compareoptionmergesect':65 'compareoptionstopaft':63 'cp437':31 'customhexformat':19 'deddda':8 'dos':26,34 'english':2 'fakeblocklin':51 'fakeblocks':53 'fontsiz':37 'ibm':29 'languag':1 'lastupdatechecktim':5 'latin':35 'ms':33 'ms-dos':32 'oem':28 'pc/dos':30 'screenfullscreen':49 'screenh':47 'screeni':43 'screenw':45 'screenx':41 'selectedchecksumfunct':59 'singleinst':55 'updatecheck':3 'us':36 'usebytesperlinelimit':21 'usecustomhexformat':17 'xx':20 'zebrastrip':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4089426"
    +editedAt: DateTimeImmutable @1702111245 {#4489
      date: 2023-12-09 09:40:45.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701250420 {#4493
      date: 2023-11-29 10:33:40.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.68 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4496
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4474
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4066
        +user: App\Entity\User {#4014}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1702111183 {#4075
          date: 2023-12-09 09:39:43.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@luthis@lemmy.nz"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4064 …}
        +nested: Doctrine\ORM\PersistentCollection {#4062 …}
        +votes: Doctrine\ORM\PersistentCollection {#4060 …}
        +reports: Doctrine\ORM\PersistentCollection {#4058 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
        -id: 175660
        -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4084700"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701223008 {#4011
          date: 2023-11-29 02:56:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4066}
      +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1701223767 {#4472
        date: 2023-11-29 03:09:27.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@dario@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4475 …}
      +nested: Doctrine\ORM\PersistentCollection {#4477 …}
      +votes: Doctrine\ORM\PersistentCollection {#4479 …}
      +reports: Doctrine\ORM\PersistentCollection {#4481 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
      -id: 175683
      -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4082731"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223767 {#4473
        date: 2023-11-29 03:09:27.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: """
      ```\n
      \n
      <span style="color:#323232;">Language=English\n
      </span><span style="color:#323232;">UpdateCheck=1\n
      </span><span style="color:#323232;">LastUpdateCheckTime=1.698e+09\n
      </span><span style="color:#323232;">ColourHexForeground=#DEDDDA\n
      </span><span style="color:#323232;">ColourHexBackground=#000000\n
      </span><span style="color:#323232;">ColourHexBackgroundZebra=#3D3846\n
      </span><span style="color:#323232;">ColourHexSelectionForeground=#000000\n
      </span><span style="color:#323232;">ColourHexSelectionBackground=#613583\n
      </span><span style="color:#323232;">UseCustomHexFormat=0\n
      </span><span style="color:#323232;">CustomHexFormat=xx \n
      </span><span style="color:#323232;">UseBytesPerLineLimit=1\n
      </span><span style="color:#323232;">BytesPerLineLimit=16\n
      </span><span style="color:#323232;">CharacterEncodingFamily=DOS\n
      </span><span style="color:#323232;">CharacterEncoding=OEM - IBM PC/DOS CP437 - MS-DOS Latin US\n
      </span><span style="color:#323232;">FontSize=10\n
      </span><span style="color:#323232;">AutoShowTagPanel=1\n
      </span><span style="color:#323232;">ScreenX=26\n
      </span><span style="color:#323232;">ScreenY=23\n
      </span><span style="color:#323232;">ScreenW=618\n
      </span><span style="color:#323232;">ScreenH=716\n
      </span><span style="color:#323232;">ScreenFullScreen=0\n
      </span><span style="color:#323232;">FakeBlockLines=0\n
      </span><span style="color:#323232;">FakeBlockSize=8k\n
      </span><span style="color:#323232;">SingleInstance=0\n
      </span><span style="color:#323232;">ZebraStriping=1\n
      </span><span style="color:#323232;">SelectedChecksumFunctions=32648\n
      </span><span style="color:#323232;">CompareOptions=0\n
      </span><span style="color:#323232;">CompareOptionStopAfter=0\n
      </span><span style="color:#323232;">CompareOptionMergeSection=0\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701250420 {#4492
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +tags: [
      0 => "323232"
      4 => "deddda"
      6 => "000000"
      8 => "3d3846"
      12 => "613583"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4500 …}
    +nested: Doctrine\ORM\PersistentCollection {#4502 …}
    +votes: Doctrine\ORM\PersistentCollection {#4498 …}
    +reports: Doctrine\ORM\PersistentCollection {#4504 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4506 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4508 …}
    -id: 176304
    -bodyTs: "'0':18,50,52,56,62,64,66 '000000':10,14 '1':4,22,40,58 '1.698e+09':6 '10':38 '16':24 '23':44 '26':42 '32648':60 '3d3846':12 '613583':16 '618':46 '716':48 '8k':54 'autoshowtagpanel':39 'bytesperlinelimit':23 'characterencod':27 'characterencodingfamili':25 'colourhexbackground':9 'colourhexbackgroundzebra':11 'colourhexforeground':7 'colourhexselectionbackground':15 'colourhexselectionforeground':13 'compareopt':61 'compareoptionmergesect':65 'compareoptionstopaft':63 'cp437':31 'customhexformat':19 'deddda':8 'dos':26,34 'english':2 'fakeblocklin':51 'fakeblocks':53 'fontsiz':37 'ibm':29 'languag':1 'lastupdatechecktim':5 'latin':35 'ms':33 'ms-dos':32 'oem':28 'pc/dos':30 'screenfullscreen':49 'screenh':47 'screeni':43 'screenw':45 'screenx':41 'selectedchecksumfunct':59 'singleinst':55 'updatecheck':3 'us':36 'usebytesperlinelimit':21 'usecustomhexformat':17 'xx':20 'zebrastrip':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4089426"
    +editedAt: DateTimeImmutable @1702111245 {#4489
      date: 2023-12-09 09:40:45.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701250420 {#4493
      date: 2023-11-29 10:33:40.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6162
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4496
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4474
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4066
        +user: App\Entity\User {#4014}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1702111183 {#4075
          date: 2023-12-09 09:39:43.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@luthis@lemmy.nz"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4064 …}
        +nested: Doctrine\ORM\PersistentCollection {#4062 …}
        +votes: Doctrine\ORM\PersistentCollection {#4060 …}
        +reports: Doctrine\ORM\PersistentCollection {#4058 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
        -id: 175660
        -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4084700"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701223008 {#4011
          date: 2023-11-29 02:56:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4066}
      +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1701223767 {#4472
        date: 2023-11-29 03:09:27.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@dario@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4475 …}
      +nested: Doctrine\ORM\PersistentCollection {#4477 …}
      +votes: Doctrine\ORM\PersistentCollection {#4479 …}
      +reports: Doctrine\ORM\PersistentCollection {#4481 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
      -id: 175683
      -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4082731"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223767 {#4473
        date: 2023-11-29 03:09:27.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: """
      ```\n
      \n
      <span style="color:#323232;">Language=English\n
      </span><span style="color:#323232;">UpdateCheck=1\n
      </span><span style="color:#323232;">LastUpdateCheckTime=1.698e+09\n
      </span><span style="color:#323232;">ColourHexForeground=#DEDDDA\n
      </span><span style="color:#323232;">ColourHexBackground=#000000\n
      </span><span style="color:#323232;">ColourHexBackgroundZebra=#3D3846\n
      </span><span style="color:#323232;">ColourHexSelectionForeground=#000000\n
      </span><span style="color:#323232;">ColourHexSelectionBackground=#613583\n
      </span><span style="color:#323232;">UseCustomHexFormat=0\n
      </span><span style="color:#323232;">CustomHexFormat=xx \n
      </span><span style="color:#323232;">UseBytesPerLineLimit=1\n
      </span><span style="color:#323232;">BytesPerLineLimit=16\n
      </span><span style="color:#323232;">CharacterEncodingFamily=DOS\n
      </span><span style="color:#323232;">CharacterEncoding=OEM - IBM PC/DOS CP437 - MS-DOS Latin US\n
      </span><span style="color:#323232;">FontSize=10\n
      </span><span style="color:#323232;">AutoShowTagPanel=1\n
      </span><span style="color:#323232;">ScreenX=26\n
      </span><span style="color:#323232;">ScreenY=23\n
      </span><span style="color:#323232;">ScreenW=618\n
      </span><span style="color:#323232;">ScreenH=716\n
      </span><span style="color:#323232;">ScreenFullScreen=0\n
      </span><span style="color:#323232;">FakeBlockLines=0\n
      </span><span style="color:#323232;">FakeBlockSize=8k\n
      </span><span style="color:#323232;">SingleInstance=0\n
      </span><span style="color:#323232;">ZebraStriping=1\n
      </span><span style="color:#323232;">SelectedChecksumFunctions=32648\n
      </span><span style="color:#323232;">CompareOptions=0\n
      </span><span style="color:#323232;">CompareOptionStopAfter=0\n
      </span><span style="color:#323232;">CompareOptionMergeSection=0\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701250420 {#4492
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +tags: [
      0 => "323232"
      4 => "deddda"
      6 => "000000"
      8 => "3d3846"
      12 => "613583"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4500 …}
    +nested: Doctrine\ORM\PersistentCollection {#4502 …}
    +votes: Doctrine\ORM\PersistentCollection {#4498 …}
    +reports: Doctrine\ORM\PersistentCollection {#4504 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4506 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4508 …}
    -id: 176304
    -bodyTs: "'0':18,50,52,56,62,64,66 '000000':10,14 '1':4,22,40,58 '1.698e+09':6 '10':38 '16':24 '23':44 '26':42 '32648':60 '3d3846':12 '613583':16 '618':46 '716':48 '8k':54 'autoshowtagpanel':39 'bytesperlinelimit':23 'characterencod':27 'characterencodingfamili':25 'colourhexbackground':9 'colourhexbackgroundzebra':11 'colourhexforeground':7 'colourhexselectionbackground':15 'colourhexselectionforeground':13 'compareopt':61 'compareoptionmergesect':65 'compareoptionstopaft':63 'cp437':31 'customhexformat':19 'deddda':8 'dos':26,34 'english':2 'fakeblocklin':51 'fakeblocks':53 'fontsiz':37 'ibm':29 'languag':1 'lastupdatechecktim':5 'latin':35 'ms':33 'ms-dos':32 'oem':28 'pc/dos':30 'screenfullscreen':49 'screenh':47 'screeni':43 'screenw':45 'screenx':41 'selectedchecksumfunct':59 'singleinst':55 'updatecheck':3 'us':36 'usebytesperlinelimit':21 'usecustomhexformat':17 'xx':20 'zebrastrip':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4089426"
    +editedAt: DateTimeImmutable @1702111245 {#4489
      date: 2023-12-09 09:40:45.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701250420 {#4493
      date: 2023-11-29 10:33:40.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 0.31 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4496
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4474
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4066
        +user: App\Entity\User {#4014}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1702111183 {#4075
          date: 2023-12-09 09:39:43.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@luthis@lemmy.nz"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4064 …}
        +nested: Doctrine\ORM\PersistentCollection {#4062 …}
        +votes: Doctrine\ORM\PersistentCollection {#4060 …}
        +reports: Doctrine\ORM\PersistentCollection {#4058 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
        -id: 175660
        -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4084700"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701223008 {#4011
          date: 2023-11-29 02:56:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4066}
      +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1701223767 {#4472
        date: 2023-11-29 03:09:27.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@dario@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4475 …}
      +nested: Doctrine\ORM\PersistentCollection {#4477 …}
      +votes: Doctrine\ORM\PersistentCollection {#4479 …}
      +reports: Doctrine\ORM\PersistentCollection {#4481 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
      -id: 175683
      -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4082731"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223767 {#4473
        date: 2023-11-29 03:09:27.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: """
      ```\n
      \n
      <span style="color:#323232;">Language=English\n
      </span><span style="color:#323232;">UpdateCheck=1\n
      </span><span style="color:#323232;">LastUpdateCheckTime=1.698e+09\n
      </span><span style="color:#323232;">ColourHexForeground=#DEDDDA\n
      </span><span style="color:#323232;">ColourHexBackground=#000000\n
      </span><span style="color:#323232;">ColourHexBackgroundZebra=#3D3846\n
      </span><span style="color:#323232;">ColourHexSelectionForeground=#000000\n
      </span><span style="color:#323232;">ColourHexSelectionBackground=#613583\n
      </span><span style="color:#323232;">UseCustomHexFormat=0\n
      </span><span style="color:#323232;">CustomHexFormat=xx \n
      </span><span style="color:#323232;">UseBytesPerLineLimit=1\n
      </span><span style="color:#323232;">BytesPerLineLimit=16\n
      </span><span style="color:#323232;">CharacterEncodingFamily=DOS\n
      </span><span style="color:#323232;">CharacterEncoding=OEM - IBM PC/DOS CP437 - MS-DOS Latin US\n
      </span><span style="color:#323232;">FontSize=10\n
      </span><span style="color:#323232;">AutoShowTagPanel=1\n
      </span><span style="color:#323232;">ScreenX=26\n
      </span><span style="color:#323232;">ScreenY=23\n
      </span><span style="color:#323232;">ScreenW=618\n
      </span><span style="color:#323232;">ScreenH=716\n
      </span><span style="color:#323232;">ScreenFullScreen=0\n
      </span><span style="color:#323232;">FakeBlockLines=0\n
      </span><span style="color:#323232;">FakeBlockSize=8k\n
      </span><span style="color:#323232;">SingleInstance=0\n
      </span><span style="color:#323232;">ZebraStriping=1\n
      </span><span style="color:#323232;">SelectedChecksumFunctions=32648\n
      </span><span style="color:#323232;">CompareOptions=0\n
      </span><span style="color:#323232;">CompareOptionStopAfter=0\n
      </span><span style="color:#323232;">CompareOptionMergeSection=0\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701250420 {#4492
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +tags: [
      0 => "323232"
      4 => "deddda"
      6 => "000000"
      8 => "3d3846"
      12 => "613583"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4500 …}
    +nested: Doctrine\ORM\PersistentCollection {#4502 …}
    +votes: Doctrine\ORM\PersistentCollection {#4498 …}
    +reports: Doctrine\ORM\PersistentCollection {#4504 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4506 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4508 …}
    -id: 176304
    -bodyTs: "'0':18,50,52,56,62,64,66 '000000':10,14 '1':4,22,40,58 '1.698e+09':6 '10':38 '16':24 '23':44 '26':42 '32648':60 '3d3846':12 '613583':16 '618':46 '716':48 '8k':54 'autoshowtagpanel':39 'bytesperlinelimit':23 'characterencod':27 'characterencodingfamili':25 'colourhexbackground':9 'colourhexbackgroundzebra':11 'colourhexforeground':7 'colourhexselectionbackground':15 'colourhexselectionforeground':13 'compareopt':61 'compareoptionmergesect':65 'compareoptionstopaft':63 'cp437':31 'customhexformat':19 'deddda':8 'dos':26,34 'english':2 'fakeblocklin':51 'fakeblocks':53 'fontsiz':37 'ibm':29 'languag':1 'lastupdatechecktim':5 'latin':35 'ms':33 'ms-dos':32 'oem':28 'pc/dos':30 'screenfullscreen':49 'screenh':47 'screeni':43 'screenw':45 'screenx':41 'selectedchecksumfunct':59 'singleinst':55 'updatecheck':3 'us':36 'usebytesperlinelimit':21 'usecustomhexformat':17 'xx':20 'zebrastrip':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4089426"
    +editedAt: DateTimeImmutable @1702111245 {#4489
      date: 2023-12-09 09:40:45.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701250420 {#4493
      date: 2023-11-29 10:33:40.0 +01:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6402
  +comment: App\Entity\EntryComment {#4496
    +user: App\Entity\User {#4014
      +avatar: null
      +cover: null
      +email: "dario@feddit.it"
      +username: "@dario@feddit.it"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729017698 {#4074
        date: 2024-10-15 20:41:38.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4018 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4010 …}
      +entries: Doctrine\ORM\PersistentCollection {#4008 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4003 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4001 …}
      +posts: Doctrine\ORM\PersistentCollection {#3998 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3996 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3994 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3991 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3989 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3987 …}
      +follows: Doctrine\ORM\PersistentCollection {#4130 …}
      +followers: Doctrine\ORM\PersistentCollection {#4126 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4115 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4106 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4132 …}
      +reports: Doctrine\ORM\PersistentCollection {#4129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4092 …}
      +violations: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      +awards: Doctrine\ORM\PersistentCollection {#4120 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4118 …}
      +categories: Doctrine\ORM\PersistentCollection {#4117 …}
      -id: 72210
      -password: "$2y$13$/nvwdECkFtvQHJ9AeVDg4uyIY5GLTIn3CauuHVy4gQSuR9RGbg4qa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4110 …}
      +apId: "dario@feddit.it"
      +apProfileId: "https://feddit.it/u/dario"
      +apPublicUrl: "https://feddit.it/u/dario"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.it/inbox"
      +apDomain: "feddit.it"
      +apPreferredUsername: "dario"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1725950304 {#4070
        date: 2024-09-10 08:38:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699258913 {#4068
        date: 2023-11-06 09:21:53.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4474
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4066
        +user: App\Entity\User {#4014}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1702111183 {#4075
          date: 2023-12-09 09:39:43.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@luthis@lemmy.nz"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4064 …}
        +nested: Doctrine\ORM\PersistentCollection {#4062 …}
        +votes: Doctrine\ORM\PersistentCollection {#4060 …}
        +reports: Doctrine\ORM\PersistentCollection {#4058 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4026 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4030 …}
        -id: 175660
        -bodyTs: "'better':28,52 'chime':8 'color':50 'comparison':34 'configur':58 'consid':17 'ecosystem':27 'editor':31 'express':11 'featur':40 'file':59 'fix':71 'foss':26 'gratitud':13 'hex':30 'import':70 'interfac':43 'known':29 'land':72 'last':75 'latest':65 'mani':69 'much':2 'pale':32 'piec':21 'relat':3 'revis':67 'share':56 'sinc':73 'softwar':23 'stabl':76 'suggest':45 'term':38 'tweak':48 'underr':20 'unstabl':66 'upgrad':62 'user':42 'version':77 'view':53 'want':6 'wxhexeditor':36"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4084700"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701223008 {#4011
          date: 2023-11-29 02:56:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4066}
      +body: "Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1701223767 {#4472
        date: 2023-11-29 03:09:27.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@dario@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4475 …}
      +nested: Doctrine\ORM\PersistentCollection {#4477 …}
      +votes: Doctrine\ORM\PersistentCollection {#4479 …}
      +reports: Doctrine\ORM\PersistentCollection {#4481 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4483 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4485 …}
      -id: 175683
      -bodyTs: "'config':5 'definit':2 'scratch':10 'share':3 'surfac':12 've':7 'wxhexeditor':14 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4082731"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701223767 {#4473
        date: 2023-11-29 03:09:27.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4066}
    +body: """
      ```\n
      \n
      <span style="color:#323232;">Language=English\n
      </span><span style="color:#323232;">UpdateCheck=1\n
      </span><span style="color:#323232;">LastUpdateCheckTime=1.698e+09\n
      </span><span style="color:#323232;">ColourHexForeground=#DEDDDA\n
      </span><span style="color:#323232;">ColourHexBackground=#000000\n
      </span><span style="color:#323232;">ColourHexBackgroundZebra=#3D3846\n
      </span><span style="color:#323232;">ColourHexSelectionForeground=#000000\n
      </span><span style="color:#323232;">ColourHexSelectionBackground=#613583\n
      </span><span style="color:#323232;">UseCustomHexFormat=0\n
      </span><span style="color:#323232;">CustomHexFormat=xx \n
      </span><span style="color:#323232;">UseBytesPerLineLimit=1\n
      </span><span style="color:#323232;">BytesPerLineLimit=16\n
      </span><span style="color:#323232;">CharacterEncodingFamily=DOS\n
      </span><span style="color:#323232;">CharacterEncoding=OEM - IBM PC/DOS CP437 - MS-DOS Latin US\n
      </span><span style="color:#323232;">FontSize=10\n
      </span><span style="color:#323232;">AutoShowTagPanel=1\n
      </span><span style="color:#323232;">ScreenX=26\n
      </span><span style="color:#323232;">ScreenY=23\n
      </span><span style="color:#323232;">ScreenW=618\n
      </span><span style="color:#323232;">ScreenH=716\n
      </span><span style="color:#323232;">ScreenFullScreen=0\n
      </span><span style="color:#323232;">FakeBlockLines=0\n
      </span><span style="color:#323232;">FakeBlockSize=8k\n
      </span><span style="color:#323232;">SingleInstance=0\n
      </span><span style="color:#323232;">ZebraStriping=1\n
      </span><span style="color:#323232;">SelectedChecksumFunctions=32648\n
      </span><span style="color:#323232;">CompareOptions=0\n
      </span><span style="color:#323232;">CompareOptionStopAfter=0\n
      </span><span style="color:#323232;">CompareOptionMergeSection=0\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701250420 {#4492
      date: 2023-11-29 10:33:40.0 +01:00
    }
    +ip: null
    +tags: [
      0 => "323232"
      4 => "deddda"
      6 => "000000"
      8 => "3d3846"
      12 => "613583"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
      "@dario@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4500 …}
    +nested: Doctrine\ORM\PersistentCollection {#4502 …}
    +votes: Doctrine\ORM\PersistentCollection {#4498 …}
    +reports: Doctrine\ORM\PersistentCollection {#4504 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4506 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4508 …}
    -id: 176304
    -bodyTs: "'0':18,50,52,56,62,64,66 '000000':10,14 '1':4,22,40,58 '1.698e+09':6 '10':38 '16':24 '23':44 '26':42 '32648':60 '3d3846':12 '613583':16 '618':46 '716':48 '8k':54 'autoshowtagpanel':39 'bytesperlinelimit':23 'characterencod':27 'characterencodingfamili':25 'colourhexbackground':9 'colourhexbackgroundzebra':11 'colourhexforeground':7 'colourhexselectionbackground':15 'colourhexselectionforeground':13 'compareopt':61 'compareoptionmergesect':65 'compareoptionstopaft':63 'cp437':31 'customhexformat':19 'deddda':8 'dos':26,34 'english':2 'fakeblocklin':51 'fakeblocks':53 'fontsiz':37 'ibm':29 'languag':1 'lastupdatechecktim':5 'latin':35 'ms':33 'ms-dos':32 'oem':28 'pc/dos':30 'screenfullscreen':49 'screenh':47 'screeni':43 'screenw':45 'screenx':41 'selectedchecksumfunct':59 'singleinst':55 'updatecheck':3 'us':36 'usebytesperlinelimit':21 'usecustomhexformat':17 'xx':20 'zebrastrip':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4089426"
    +editedAt: DateTimeImmutable @1702111245 {#4489
      date: 2023-12-09 09:40:45.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701250420 {#4493
      date: 2023-11-29 10:33:40.0 +01:00
    }
  }
  +nestedComments: []
  +level: 3
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 15.09 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4098
    +user: App\Entity\User {#4087
      +avatar: null
      +cover: null
      +email: "chunkyhairball@lemmy.ml"
      +username: "@chunkyhairball@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1701920497 {#4107
        date: 2023-12-07 04:41:37.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
      +entries: Doctrine\ORM\PersistentCollection {#4080 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
      +posts: Doctrine\ORM\PersistentCollection {#4138 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
      +follows: Doctrine\ORM\PersistentCollection {#4150 …}
      +followers: Doctrine\ORM\PersistentCollection {#4152 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
      +reports: Doctrine\ORM\PersistentCollection {#4162 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
      +violations: Doctrine\ORM\PersistentCollection {#4166 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
      +awards: Doctrine\ORM\PersistentCollection {#4170 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
      +categories: Doctrine\ORM\PersistentCollection {#4174 …}
      -id: 69894
      -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
      +apId: "chunkyhairball@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/chunkyhairball"
      +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "chunkyhairball"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703285324 {#4108
        date: 2023-12-22 23:48:44.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698932130 {#4105
        date: 2023-11-02 14:35:30.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1702001241 {#4104
      date: 2023-12-08 03:07:21.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4103 …}
    +nested: Doctrine\ORM\PersistentCollection {#4102 …}
    +votes: Doctrine\ORM\PersistentCollection {#4093 …}
    +reports: Doctrine\ORM\PersistentCollection {#4096 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
    -id: 172913
    -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6187348"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701160113 {#4109
      date: 2023-11-28 09:28:33.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6489
  +comment: App\Entity\EntryComment {#4098
    +user: App\Entity\User {#4087
      +avatar: null
      +cover: null
      +email: "chunkyhairball@lemmy.ml"
      +username: "@chunkyhairball@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1701920497 {#4107
        date: 2023-12-07 04:41:37.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
      +entries: Doctrine\ORM\PersistentCollection {#4080 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
      +posts: Doctrine\ORM\PersistentCollection {#4138 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
      +follows: Doctrine\ORM\PersistentCollection {#4150 …}
      +followers: Doctrine\ORM\PersistentCollection {#4152 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
      +reports: Doctrine\ORM\PersistentCollection {#4162 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
      +violations: Doctrine\ORM\PersistentCollection {#4166 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
      +awards: Doctrine\ORM\PersistentCollection {#4170 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
      +categories: Doctrine\ORM\PersistentCollection {#4174 …}
      -id: 69894
      -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
      +apId: "chunkyhairball@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/chunkyhairball"
      +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "chunkyhairball"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703285324 {#4108
        date: 2023-12-22 23:48:44.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698932130 {#4105
        date: 2023-11-02 14:35:30.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1702001241 {#4104
      date: 2023-12-08 03:07:21.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4103 …}
    +nested: Doctrine\ORM\PersistentCollection {#4102 …}
    +votes: Doctrine\ORM\PersistentCollection {#4093 …}
    +reports: Doctrine\ORM\PersistentCollection {#4096 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
    -id: 172913
    -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6187348"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701160113 {#4109
      date: 2023-11-28 09:28:33.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4087
    +avatar: null
    +cover: null
    +email: "chunkyhairball@lemmy.ml"
    +username: "@chunkyhairball@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1701920497 {#4107
      date: 2023-12-07 04:41:37.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
    +entries: Doctrine\ORM\PersistentCollection {#4080 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
    +posts: Doctrine\ORM\PersistentCollection {#4138 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
    +follows: Doctrine\ORM\PersistentCollection {#4150 …}
    +followers: Doctrine\ORM\PersistentCollection {#4152 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
    +reports: Doctrine\ORM\PersistentCollection {#4162 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
    +violations: Doctrine\ORM\PersistentCollection {#4166 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
    +awards: Doctrine\ORM\PersistentCollection {#4170 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
    +categories: Doctrine\ORM\PersistentCollection {#4174 …}
    -id: 69894
    -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
    +apId: "chunkyhairball@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/chunkyhairball"
    +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "chunkyhairball"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1703285324 {#4108
      date: 2023-12-22 23:48:44.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698932130 {#4105
      date: 2023-11-02 14:35:30.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6534
  +user: App\Entity\User {#4087
    +avatar: null
    +cover: null
    +email: "chunkyhairball@lemmy.ml"
    +username: "@chunkyhairball@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1701920497 {#4107
      date: 2023-12-07 04:41:37.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
    +entries: Doctrine\ORM\PersistentCollection {#4080 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
    +posts: Doctrine\ORM\PersistentCollection {#4138 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
    +follows: Doctrine\ORM\PersistentCollection {#4150 …}
    +followers: Doctrine\ORM\PersistentCollection {#4152 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
    +reports: Doctrine\ORM\PersistentCollection {#4162 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
    +violations: Doctrine\ORM\PersistentCollection {#4166 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
    +awards: Doctrine\ORM\PersistentCollection {#4170 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
    +categories: Doctrine\ORM\PersistentCollection {#4174 …}
    -id: 69894
    -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
    +apId: "chunkyhairball@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/chunkyhairball"
    +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "chunkyhairball"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1703285324 {#4108
      date: 2023-12-22 23:48:44.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698932130 {#4105
      date: 2023-11-02 14:35:30.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.12 ms
Input props
[
  "date" => DateTimeImmutable @1701160113 {#4109
    date: 2023-11-28 09:28:33.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6589
  +date: DateTimeImmutable @1701160113 {#4109
    date: 2023-11-28 09:28:33.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.08 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701160113 {#4109
    date: 2023-11-28 09:28:33.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#6643
  +createdAt: DateTimeImmutable @1701160113 {#4109
    date: 2023-11-28 09:28:33.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4087
    +avatar: null
    +cover: null
    +email: "chunkyhairball@lemmy.ml"
    +username: "@chunkyhairball@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1701920497 {#4107
      date: 2023-12-07 04:41:37.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
    +entries: Doctrine\ORM\PersistentCollection {#4080 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
    +posts: Doctrine\ORM\PersistentCollection {#4138 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
    +follows: Doctrine\ORM\PersistentCollection {#4150 …}
    +followers: Doctrine\ORM\PersistentCollection {#4152 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
    +reports: Doctrine\ORM\PersistentCollection {#4162 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
    +violations: Doctrine\ORM\PersistentCollection {#4166 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
    +awards: Doctrine\ORM\PersistentCollection {#4170 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
    +categories: Doctrine\ORM\PersistentCollection {#4174 …}
    -id: 69894
    -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
    +apId: "chunkyhairball@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/chunkyhairball"
    +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "chunkyhairball"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1703285324 {#4108
      date: 2023-12-22 23:48:44.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698932130 {#4105
      date: 2023-11-02 14:35:30.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6697
  +width: 40
  +height: 40
  +user: App\Entity\User {#4087
    +avatar: null
    +cover: null
    +email: "chunkyhairball@lemmy.ml"
    +username: "@chunkyhairball@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1701920497 {#4107
      date: 2023-12-07 04:41:37.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
    +entries: Doctrine\ORM\PersistentCollection {#4080 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
    +posts: Doctrine\ORM\PersistentCollection {#4138 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
    +follows: Doctrine\ORM\PersistentCollection {#4150 …}
    +followers: Doctrine\ORM\PersistentCollection {#4152 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
    +reports: Doctrine\ORM\PersistentCollection {#4162 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
    +violations: Doctrine\ORM\PersistentCollection {#4166 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
    +awards: Doctrine\ORM\PersistentCollection {#4170 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
    +categories: Doctrine\ORM\PersistentCollection {#4174 …}
    -id: 69894
    -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
    +apId: "chunkyhairball@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/chunkyhairball"
    +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "chunkyhairball"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1703285324 {#4108
      date: 2023-12-22 23:48:44.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698932130 {#4105
      date: 2023-11-02 14:35:30.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.30 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4098
    +user: App\Entity\User {#4087
      +avatar: null
      +cover: null
      +email: "chunkyhairball@lemmy.ml"
      +username: "@chunkyhairball@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1701920497 {#4107
        date: 2023-12-07 04:41:37.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
      +entries: Doctrine\ORM\PersistentCollection {#4080 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
      +posts: Doctrine\ORM\PersistentCollection {#4138 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
      +follows: Doctrine\ORM\PersistentCollection {#4150 …}
      +followers: Doctrine\ORM\PersistentCollection {#4152 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
      +reports: Doctrine\ORM\PersistentCollection {#4162 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
      +violations: Doctrine\ORM\PersistentCollection {#4166 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
      +awards: Doctrine\ORM\PersistentCollection {#4170 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
      +categories: Doctrine\ORM\PersistentCollection {#4174 …}
      -id: 69894
      -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
      +apId: "chunkyhairball@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/chunkyhairball"
      +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "chunkyhairball"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703285324 {#4108
        date: 2023-12-22 23:48:44.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698932130 {#4105
        date: 2023-11-02 14:35:30.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1702001241 {#4104
      date: 2023-12-08 03:07:21.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4103 …}
    +nested: Doctrine\ORM\PersistentCollection {#4102 …}
    +votes: Doctrine\ORM\PersistentCollection {#4093 …}
    +reports: Doctrine\ORM\PersistentCollection {#4096 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
    -id: 172913
    -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6187348"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701160113 {#4109
      date: 2023-11-28 09:28:33.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6772
  +subject: App\Entity\EntryComment {#4098
    +user: App\Entity\User {#4087
      +avatar: null
      +cover: null
      +email: "chunkyhairball@lemmy.ml"
      +username: "@chunkyhairball@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1701920497 {#4107
        date: 2023-12-07 04:41:37.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
      +entries: Doctrine\ORM\PersistentCollection {#4080 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
      +posts: Doctrine\ORM\PersistentCollection {#4138 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
      +follows: Doctrine\ORM\PersistentCollection {#4150 …}
      +followers: Doctrine\ORM\PersistentCollection {#4152 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
      +reports: Doctrine\ORM\PersistentCollection {#4162 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
      +violations: Doctrine\ORM\PersistentCollection {#4166 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
      +awards: Doctrine\ORM\PersistentCollection {#4170 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
      +categories: Doctrine\ORM\PersistentCollection {#4174 …}
      -id: 69894
      -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
      +apId: "chunkyhairball@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/chunkyhairball"
      +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "chunkyhairball"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703285324 {#4108
        date: 2023-12-22 23:48:44.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698932130 {#4105
        date: 2023-11-02 14:35:30.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1702001241 {#4104
      date: 2023-12-08 03:07:21.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4103 …}
    +nested: Doctrine\ORM\PersistentCollection {#4102 …}
    +votes: Doctrine\ORM\PersistentCollection {#4093 …}
    +reports: Doctrine\ORM\PersistentCollection {#4096 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
    -id: 172913
    -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6187348"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701160113 {#4109
      date: 2023-11-28 09:28:33.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.56 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4098
    +user: App\Entity\User {#4087
      +avatar: null
      +cover: null
      +email: "chunkyhairball@lemmy.ml"
      +username: "@chunkyhairball@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1701920497 {#4107
        date: 2023-12-07 04:41:37.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
      +entries: Doctrine\ORM\PersistentCollection {#4080 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
      +posts: Doctrine\ORM\PersistentCollection {#4138 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
      +follows: Doctrine\ORM\PersistentCollection {#4150 …}
      +followers: Doctrine\ORM\PersistentCollection {#4152 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
      +reports: Doctrine\ORM\PersistentCollection {#4162 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
      +violations: Doctrine\ORM\PersistentCollection {#4166 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
      +awards: Doctrine\ORM\PersistentCollection {#4170 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
      +categories: Doctrine\ORM\PersistentCollection {#4174 …}
      -id: 69894
      -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
      +apId: "chunkyhairball@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/chunkyhairball"
      +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "chunkyhairball"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703285324 {#4108
        date: 2023-12-22 23:48:44.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698932130 {#4105
        date: 2023-11-02 14:35:30.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1702001241 {#4104
      date: 2023-12-08 03:07:21.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4103 …}
    +nested: Doctrine\ORM\PersistentCollection {#4102 …}
    +votes: Doctrine\ORM\PersistentCollection {#4093 …}
    +reports: Doctrine\ORM\PersistentCollection {#4096 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
    -id: 172913
    -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6187348"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701160113 {#4109
      date: 2023-11-28 09:28:33.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6829
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4098
    +user: App\Entity\User {#4087
      +avatar: null
      +cover: null
      +email: "chunkyhairball@lemmy.ml"
      +username: "@chunkyhairball@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1701920497 {#4107
        date: 2023-12-07 04:41:37.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
      +entries: Doctrine\ORM\PersistentCollection {#4080 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
      +posts: Doctrine\ORM\PersistentCollection {#4138 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
      +follows: Doctrine\ORM\PersistentCollection {#4150 …}
      +followers: Doctrine\ORM\PersistentCollection {#4152 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
      +reports: Doctrine\ORM\PersistentCollection {#4162 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
      +violations: Doctrine\ORM\PersistentCollection {#4166 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
      +awards: Doctrine\ORM\PersistentCollection {#4170 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
      +categories: Doctrine\ORM\PersistentCollection {#4174 …}
      -id: 69894
      -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
      +apId: "chunkyhairball@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/chunkyhairball"
      +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "chunkyhairball"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703285324 {#4108
        date: 2023-12-22 23:48:44.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698932130 {#4105
        date: 2023-11-02 14:35:30.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1702001241 {#4104
      date: 2023-12-08 03:07:21.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4103 …}
    +nested: Doctrine\ORM\PersistentCollection {#4102 …}
    +votes: Doctrine\ORM\PersistentCollection {#4093 …}
    +reports: Doctrine\ORM\PersistentCollection {#4096 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
    -id: 172913
    -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6187348"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701160113 {#4109
      date: 2023-11-28 09:28:33.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 8.56 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4098
    +user: App\Entity\User {#4087
      +avatar: null
      +cover: null
      +email: "chunkyhairball@lemmy.ml"
      +username: "@chunkyhairball@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1701920497 {#4107
        date: 2023-12-07 04:41:37.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
      +entries: Doctrine\ORM\PersistentCollection {#4080 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
      +posts: Doctrine\ORM\PersistentCollection {#4138 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
      +follows: Doctrine\ORM\PersistentCollection {#4150 …}
      +followers: Doctrine\ORM\PersistentCollection {#4152 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
      +reports: Doctrine\ORM\PersistentCollection {#4162 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
      +violations: Doctrine\ORM\PersistentCollection {#4166 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
      +awards: Doctrine\ORM\PersistentCollection {#4170 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
      +categories: Doctrine\ORM\PersistentCollection {#4174 …}
      -id: 69894
      -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
      +apId: "chunkyhairball@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/chunkyhairball"
      +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "chunkyhairball"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703285324 {#4108
        date: 2023-12-22 23:48:44.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698932130 {#4105
        date: 2023-11-02 14:35:30.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1702001241 {#4104
      date: 2023-12-08 03:07:21.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4103 …}
    +nested: Doctrine\ORM\PersistentCollection {#4102 …}
    +votes: Doctrine\ORM\PersistentCollection {#4093 …}
    +reports: Doctrine\ORM\PersistentCollection {#4096 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
    -id: 172913
    -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6187348"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701160113 {#4109
      date: 2023-11-28 09:28:33.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#7069
  +comment: App\Entity\EntryComment {#4098
    +user: App\Entity\User {#4087
      +avatar: null
      +cover: null
      +email: "chunkyhairball@lemmy.ml"
      +username: "@chunkyhairball@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1701920497 {#4107
        date: 2023-12-07 04:41:37.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
      +entries: Doctrine\ORM\PersistentCollection {#4080 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
      +posts: Doctrine\ORM\PersistentCollection {#4138 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
      +follows: Doctrine\ORM\PersistentCollection {#4150 …}
      +followers: Doctrine\ORM\PersistentCollection {#4152 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
      +reports: Doctrine\ORM\PersistentCollection {#4162 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
      +violations: Doctrine\ORM\PersistentCollection {#4166 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
      +awards: Doctrine\ORM\PersistentCollection {#4170 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
      +categories: Doctrine\ORM\PersistentCollection {#4174 …}
      -id: 69894
      -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
      +apId: "chunkyhairball@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/chunkyhairball"
      +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "chunkyhairball"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703285324 {#4108
        date: 2023-12-22 23:48:44.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698932130 {#4105
        date: 2023-11-02 14:35:30.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1702001241 {#4104
      date: 2023-12-08 03:07:21.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4103 …}
    +nested: Doctrine\ORM\PersistentCollection {#4102 …}
    +votes: Doctrine\ORM\PersistentCollection {#4093 …}
    +reports: Doctrine\ORM\PersistentCollection {#4096 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
    -id: 172913
    -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6187348"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701160113 {#4109
      date: 2023-11-28 09:28:33.0 +01:00
    }
  }
  +nestedComments: [
    174472 => App\Entity\EntryComment {#4459
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4098}
      +root: App\Entity\EntryComment {#4098}
      +body: "Thanks! I will keep it up!"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1701198096 {#4457
        date: 2023-11-28 20:01:36.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@chunkyhairball@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4460 …}
      +nested: Doctrine\ORM\PersistentCollection {#4462 …}
      +votes: Doctrine\ORM\PersistentCollection {#4464 …}
      +reports: Doctrine\ORM\PersistentCollection {#4466 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4468 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4470 …}
      -id: 174472
      -bodyTs: "'keep':4 'thank':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4075058"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701198096 {#4458
        date: 2023-11-28 20:01:36.0 +01:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 7.30 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4459
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4098
      +user: App\Entity\User {#4087
        +avatar: null
        +cover: null
        +email: "chunkyhairball@lemmy.ml"
        +username: "@chunkyhairball@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1701920497 {#4107
          date: 2023-12-07 04:41:37.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
        +entries: Doctrine\ORM\PersistentCollection {#4080 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
        +posts: Doctrine\ORM\PersistentCollection {#4138 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
        +follows: Doctrine\ORM\PersistentCollection {#4150 …}
        +followers: Doctrine\ORM\PersistentCollection {#4152 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
        +reports: Doctrine\ORM\PersistentCollection {#4162 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
        +violations: Doctrine\ORM\PersistentCollection {#4166 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
        +awards: Doctrine\ORM\PersistentCollection {#4170 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
        +categories: Doctrine\ORM\PersistentCollection {#4174 …}
        -id: 69894
        -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
        +apId: "chunkyhairball@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/chunkyhairball"
        +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "chunkyhairball"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1703285324 {#4108
          date: 2023-12-22 23:48:44.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698932130 {#4105
          date: 2023-11-02 14:35:30.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1702001241 {#4104
        date: 2023-12-08 03:07:21.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4103 …}
      +nested: Doctrine\ORM\PersistentCollection {#4102 …}
      +votes: Doctrine\ORM\PersistentCollection {#4093 …}
      +reports: Doctrine\ORM\PersistentCollection {#4096 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
      -id: 172913
      -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6187348"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701160113 {#4109
        date: 2023-11-28 09:28:33.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4098}
    +body: "Thanks! I will keep it up!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701198096 {#4457
      date: 2023-11-28 20:01:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@chunkyhairball@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4460 …}
    +nested: Doctrine\ORM\PersistentCollection {#4462 …}
    +votes: Doctrine\ORM\PersistentCollection {#4464 …}
    +reports: Doctrine\ORM\PersistentCollection {#4466 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4468 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4470 …}
    -id: 174472
    -bodyTs: "'keep':4 'thank':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4075058"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701198096 {#4458
      date: 2023-11-28 20:01:36.0 +01:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7129
  +comment: App\Entity\EntryComment {#4459
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4098
      +user: App\Entity\User {#4087
        +avatar: null
        +cover: null
        +email: "chunkyhairball@lemmy.ml"
        +username: "@chunkyhairball@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1701920497 {#4107
          date: 2023-12-07 04:41:37.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
        +entries: Doctrine\ORM\PersistentCollection {#4080 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
        +posts: Doctrine\ORM\PersistentCollection {#4138 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
        +follows: Doctrine\ORM\PersistentCollection {#4150 …}
        +followers: Doctrine\ORM\PersistentCollection {#4152 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
        +reports: Doctrine\ORM\PersistentCollection {#4162 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
        +violations: Doctrine\ORM\PersistentCollection {#4166 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
        +awards: Doctrine\ORM\PersistentCollection {#4170 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
        +categories: Doctrine\ORM\PersistentCollection {#4174 …}
        -id: 69894
        -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
        +apId: "chunkyhairball@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/chunkyhairball"
        +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "chunkyhairball"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1703285324 {#4108
          date: 2023-12-22 23:48:44.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698932130 {#4105
          date: 2023-11-02 14:35:30.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1702001241 {#4104
        date: 2023-12-08 03:07:21.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4103 …}
      +nested: Doctrine\ORM\PersistentCollection {#4102 …}
      +votes: Doctrine\ORM\PersistentCollection {#4093 …}
      +reports: Doctrine\ORM\PersistentCollection {#4096 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
      -id: 172913
      -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6187348"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701160113 {#4109
        date: 2023-11-28 09:28:33.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4098}
    +body: "Thanks! I will keep it up!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701198096 {#4457
      date: 2023-11-28 20:01:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@chunkyhairball@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4460 …}
    +nested: Doctrine\ORM\PersistentCollection {#4462 …}
    +votes: Doctrine\ORM\PersistentCollection {#4464 …}
    +reports: Doctrine\ORM\PersistentCollection {#4466 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4468 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4470 …}
    -id: 174472
    -bodyTs: "'keep':4 'thank':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4075058"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701198096 {#4458
      date: 2023-11-28 20:01:36.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.13 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7174
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.12 ms
Input props
[
  "date" => DateTimeImmutable @1701198096 {#4458
    date: 2023-11-28 20:01:36.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7229
  +date: DateTimeImmutable @1701198096 {#4458
    date: 2023-11-28 20:01:36.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.08 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701198096 {#4458
    date: 2023-11-28 20:01:36.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7283
  +createdAt: DateTimeImmutable @1701198096 {#4458
    date: 2023-11-28 20:01:36.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.17 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7337
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.47 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4459
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4098
      +user: App\Entity\User {#4087
        +avatar: null
        +cover: null
        +email: "chunkyhairball@lemmy.ml"
        +username: "@chunkyhairball@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1701920497 {#4107
          date: 2023-12-07 04:41:37.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
        +entries: Doctrine\ORM\PersistentCollection {#4080 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
        +posts: Doctrine\ORM\PersistentCollection {#4138 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
        +follows: Doctrine\ORM\PersistentCollection {#4150 …}
        +followers: Doctrine\ORM\PersistentCollection {#4152 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
        +reports: Doctrine\ORM\PersistentCollection {#4162 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
        +violations: Doctrine\ORM\PersistentCollection {#4166 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
        +awards: Doctrine\ORM\PersistentCollection {#4170 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
        +categories: Doctrine\ORM\PersistentCollection {#4174 …}
        -id: 69894
        -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
        +apId: "chunkyhairball@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/chunkyhairball"
        +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "chunkyhairball"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1703285324 {#4108
          date: 2023-12-22 23:48:44.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698932130 {#4105
          date: 2023-11-02 14:35:30.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1702001241 {#4104
        date: 2023-12-08 03:07:21.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4103 …}
      +nested: Doctrine\ORM\PersistentCollection {#4102 …}
      +votes: Doctrine\ORM\PersistentCollection {#4093 …}
      +reports: Doctrine\ORM\PersistentCollection {#4096 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
      -id: 172913
      -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6187348"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701160113 {#4109
        date: 2023-11-28 09:28:33.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4098}
    +body: "Thanks! I will keep it up!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701198096 {#4457
      date: 2023-11-28 20:01:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@chunkyhairball@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4460 …}
    +nested: Doctrine\ORM\PersistentCollection {#4462 …}
    +votes: Doctrine\ORM\PersistentCollection {#4464 …}
    +reports: Doctrine\ORM\PersistentCollection {#4466 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4468 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4470 …}
    -id: 174472
    -bodyTs: "'keep':4 'thank':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4075058"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701198096 {#4458
      date: 2023-11-28 20:01:36.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3094
  +subject: App\Entity\EntryComment {#4459
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4098
      +user: App\Entity\User {#4087
        +avatar: null
        +cover: null
        +email: "chunkyhairball@lemmy.ml"
        +username: "@chunkyhairball@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1701920497 {#4107
          date: 2023-12-07 04:41:37.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
        +entries: Doctrine\ORM\PersistentCollection {#4080 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
        +posts: Doctrine\ORM\PersistentCollection {#4138 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
        +follows: Doctrine\ORM\PersistentCollection {#4150 …}
        +followers: Doctrine\ORM\PersistentCollection {#4152 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
        +reports: Doctrine\ORM\PersistentCollection {#4162 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
        +violations: Doctrine\ORM\PersistentCollection {#4166 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
        +awards: Doctrine\ORM\PersistentCollection {#4170 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
        +categories: Doctrine\ORM\PersistentCollection {#4174 …}
        -id: 69894
        -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
        +apId: "chunkyhairball@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/chunkyhairball"
        +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "chunkyhairball"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1703285324 {#4108
          date: 2023-12-22 23:48:44.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698932130 {#4105
          date: 2023-11-02 14:35:30.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1702001241 {#4104
        date: 2023-12-08 03:07:21.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4103 …}
      +nested: Doctrine\ORM\PersistentCollection {#4102 …}
      +votes: Doctrine\ORM\PersistentCollection {#4093 …}
      +reports: Doctrine\ORM\PersistentCollection {#4096 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
      -id: 172913
      -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6187348"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701160113 {#4109
        date: 2023-11-28 09:28:33.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4098}
    +body: "Thanks! I will keep it up!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701198096 {#4457
      date: 2023-11-28 20:01:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@chunkyhairball@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4460 …}
    +nested: Doctrine\ORM\PersistentCollection {#4462 …}
    +votes: Doctrine\ORM\PersistentCollection {#4464 …}
    +reports: Doctrine\ORM\PersistentCollection {#4466 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4468 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4470 …}
    -id: 174472
    -bodyTs: "'keep':4 'thank':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4075058"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701198096 {#4458
      date: 2023-11-28 20:01:36.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.62 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4459
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4098
      +user: App\Entity\User {#4087
        +avatar: null
        +cover: null
        +email: "chunkyhairball@lemmy.ml"
        +username: "@chunkyhairball@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1701920497 {#4107
          date: 2023-12-07 04:41:37.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
        +entries: Doctrine\ORM\PersistentCollection {#4080 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
        +posts: Doctrine\ORM\PersistentCollection {#4138 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
        +follows: Doctrine\ORM\PersistentCollection {#4150 …}
        +followers: Doctrine\ORM\PersistentCollection {#4152 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
        +reports: Doctrine\ORM\PersistentCollection {#4162 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
        +violations: Doctrine\ORM\PersistentCollection {#4166 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
        +awards: Doctrine\ORM\PersistentCollection {#4170 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
        +categories: Doctrine\ORM\PersistentCollection {#4174 …}
        -id: 69894
        -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
        +apId: "chunkyhairball@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/chunkyhairball"
        +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "chunkyhairball"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1703285324 {#4108
          date: 2023-12-22 23:48:44.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698932130 {#4105
          date: 2023-11-02 14:35:30.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1702001241 {#4104
        date: 2023-12-08 03:07:21.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4103 …}
      +nested: Doctrine\ORM\PersistentCollection {#4102 …}
      +votes: Doctrine\ORM\PersistentCollection {#4093 …}
      +reports: Doctrine\ORM\PersistentCollection {#4096 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
      -id: 172913
      -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6187348"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701160113 {#4109
        date: 2023-11-28 09:28:33.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4098}
    +body: "Thanks! I will keep it up!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701198096 {#4457
      date: 2023-11-28 20:01:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@chunkyhairball@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4460 …}
    +nested: Doctrine\ORM\PersistentCollection {#4462 …}
    +votes: Doctrine\ORM\PersistentCollection {#4464 …}
    +reports: Doctrine\ORM\PersistentCollection {#4466 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4468 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4470 …}
    -id: 174472
    -bodyTs: "'keep':4 'thank':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4075058"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701198096 {#4458
      date: 2023-11-28 20:01:36.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3123
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4459
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4098
      +user: App\Entity\User {#4087
        +avatar: null
        +cover: null
        +email: "chunkyhairball@lemmy.ml"
        +username: "@chunkyhairball@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1701920497 {#4107
          date: 2023-12-07 04:41:37.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
        +entries: Doctrine\ORM\PersistentCollection {#4080 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
        +posts: Doctrine\ORM\PersistentCollection {#4138 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
        +follows: Doctrine\ORM\PersistentCollection {#4150 …}
        +followers: Doctrine\ORM\PersistentCollection {#4152 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
        +reports: Doctrine\ORM\PersistentCollection {#4162 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
        +violations: Doctrine\ORM\PersistentCollection {#4166 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
        +awards: Doctrine\ORM\PersistentCollection {#4170 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
        +categories: Doctrine\ORM\PersistentCollection {#4174 …}
        -id: 69894
        -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
        +apId: "chunkyhairball@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/chunkyhairball"
        +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "chunkyhairball"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1703285324 {#4108
          date: 2023-12-22 23:48:44.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698932130 {#4105
          date: 2023-11-02 14:35:30.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1702001241 {#4104
        date: 2023-12-08 03:07:21.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4103 …}
      +nested: Doctrine\ORM\PersistentCollection {#4102 …}
      +votes: Doctrine\ORM\PersistentCollection {#4093 …}
      +reports: Doctrine\ORM\PersistentCollection {#4096 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
      -id: 172913
      -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6187348"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701160113 {#4109
        date: 2023-11-28 09:28:33.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4098}
    +body: "Thanks! I will keep it up!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701198096 {#4457
      date: 2023-11-28 20:01:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@chunkyhairball@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4460 …}
    +nested: Doctrine\ORM\PersistentCollection {#4462 …}
    +votes: Doctrine\ORM\PersistentCollection {#4464 …}
    +reports: Doctrine\ORM\PersistentCollection {#4466 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4468 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4470 …}
    -id: 174472
    -bodyTs: "'keep':4 'thank':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4075058"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701198096 {#4458
      date: 2023-11-28 20:01:36.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 0.32 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4459
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4098
      +user: App\Entity\User {#4087
        +avatar: null
        +cover: null
        +email: "chunkyhairball@lemmy.ml"
        +username: "@chunkyhairball@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1701920497 {#4107
          date: 2023-12-07 04:41:37.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
        +entries: Doctrine\ORM\PersistentCollection {#4080 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
        +posts: Doctrine\ORM\PersistentCollection {#4138 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
        +follows: Doctrine\ORM\PersistentCollection {#4150 …}
        +followers: Doctrine\ORM\PersistentCollection {#4152 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
        +reports: Doctrine\ORM\PersistentCollection {#4162 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
        +violations: Doctrine\ORM\PersistentCollection {#4166 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
        +awards: Doctrine\ORM\PersistentCollection {#4170 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
        +categories: Doctrine\ORM\PersistentCollection {#4174 …}
        -id: 69894
        -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
        +apId: "chunkyhairball@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/chunkyhairball"
        +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "chunkyhairball"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1703285324 {#4108
          date: 2023-12-22 23:48:44.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698932130 {#4105
          date: 2023-11-02 14:35:30.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1702001241 {#4104
        date: 2023-12-08 03:07:21.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4103 …}
      +nested: Doctrine\ORM\PersistentCollection {#4102 …}
      +votes: Doctrine\ORM\PersistentCollection {#4093 …}
      +reports: Doctrine\ORM\PersistentCollection {#4096 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
      -id: 172913
      -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6187348"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701160113 {#4109
        date: 2023-11-28 09:28:33.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4098}
    +body: "Thanks! I will keep it up!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701198096 {#4457
      date: 2023-11-28 20:01:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@chunkyhairball@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4460 …}
    +nested: Doctrine\ORM\PersistentCollection {#4462 …}
    +votes: Doctrine\ORM\PersistentCollection {#4464 …}
    +reports: Doctrine\ORM\PersistentCollection {#4466 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4468 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4470 …}
    -id: 174472
    -bodyTs: "'keep':4 'thank':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4075058"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701198096 {#4458
      date: 2023-11-28 20:01:36.0 +01:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#7519
  +comment: App\Entity\EntryComment {#4459
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4098
      +user: App\Entity\User {#4087
        +avatar: null
        +cover: null
        +email: "chunkyhairball@lemmy.ml"
        +username: "@chunkyhairball@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1701920497 {#4107
          date: 2023-12-07 04:41:37.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4086 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4084 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4082 …}
        +entries: Doctrine\ORM\PersistentCollection {#4080 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4076 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4135 …}
        +posts: Doctrine\ORM\PersistentCollection {#4138 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4140 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4142 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4144 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4146 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4148 …}
        +follows: Doctrine\ORM\PersistentCollection {#4150 …}
        +followers: Doctrine\ORM\PersistentCollection {#4152 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4154 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4156 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4158 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4160 …}
        +reports: Doctrine\ORM\PersistentCollection {#4162 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
        +violations: Doctrine\ORM\PersistentCollection {#4166 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
        +awards: Doctrine\ORM\PersistentCollection {#4170 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4172 …}
        +categories: Doctrine\ORM\PersistentCollection {#4174 …}
        -id: 69894
        -password: "$2y$13$caRjXMxzTKDpsNicmrorv.VquoO82n8F4jg6ODAferjJw6HEDJnjG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4176 …}
        +apId: "chunkyhairball@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/chunkyhairball"
        +apPublicUrl: "https://lemmy.ml/u/chunkyhairball"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "chunkyhairball"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1703285324 {#4108
          date: 2023-12-22 23:48:44.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698932130 {#4105
          date: 2023-11-02 14:35:30.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Luthis, you’re doing God’s work here. You are learning by experimentation and then, importantly, *documenting and sharing* what you’ve learned. There is absolutely zero wrong and only good to be had in either of those and in combining them, you’re doing service to our entire community."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1702001241 {#4104
        date: 2023-12-08 03:07:21.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4103 …}
      +nested: Doctrine\ORM\PersistentCollection {#4102 …}
      +votes: Doctrine\ORM\PersistentCollection {#4093 …}
      +reports: Doctrine\ORM\PersistentCollection {#4096 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4091 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4089 …}
      -id: 172913
      -bodyTs: "'absolut':26 'combin':41 'communiti':50 'document':17 'either':36 'entir':49 'experiment':13 'god':5 'good':31 'import':16 'learn':11,23 'luthi':1 're':3,44 'servic':46 'share':19 've':22 'work':7 'wrong':28 'zero':27"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6187348"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701160113 {#4109
        date: 2023-11-28 09:28:33.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4098}
    +body: "Thanks! I will keep it up!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701198096 {#4457
      date: 2023-11-28 20:01:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@chunkyhairball@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4460 …}
    +nested: Doctrine\ORM\PersistentCollection {#4462 …}
    +votes: Doctrine\ORM\PersistentCollection {#4464 …}
    +reports: Doctrine\ORM\PersistentCollection {#4466 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4468 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4470 …}
    -id: 174472
    -bodyTs: "'keep':4 'thank':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4075058"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701198096 {#4458
      date: 2023-11-28 20:01:36.0 +01:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 24.53 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4183
    +user: App\Entity\User {#4196
      +avatar: null
      +cover: null
      +email: "SaltyIceteaMaker@lemmy.ml"
      +username: "@SaltyIceteaMaker@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1708611908 {#4180
        date: 2024-02-22 15:25:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
      +entries: Doctrine\ORM\PersistentCollection {#4203 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
      +posts: Doctrine\ORM\PersistentCollection {#4211 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
      +follows: Doctrine\ORM\PersistentCollection {#4223 …}
      +followers: Doctrine\ORM\PersistentCollection {#4225 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
      +reports: Doctrine\ORM\PersistentCollection {#4235 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
      +violations: Doctrine\ORM\PersistentCollection {#4239 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
      +awards: Doctrine\ORM\PersistentCollection {#4243 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
      +categories: Doctrine\ORM\PersistentCollection {#4247 …}
      -id: 49841
      -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
      +apId: "SaltyIceteaMaker@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "SaltyIceteaMaker"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726299731 {#4181
        date: 2024-09-14 09:42:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696475475 {#4182
        date: 2023-10-05 05:11:15.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917806 {#4178
      date: 2023-12-07 03:56:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4184 …}
    +nested: Doctrine\ORM\PersistentCollection {#4186 …}
    +votes: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 172779
    -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6186168"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701154565 {#4179
      date: 2023-11-28 07:56:05.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7595
  +comment: App\Entity\EntryComment {#4183
    +user: App\Entity\User {#4196
      +avatar: null
      +cover: null
      +email: "SaltyIceteaMaker@lemmy.ml"
      +username: "@SaltyIceteaMaker@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1708611908 {#4180
        date: 2024-02-22 15:25:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
      +entries: Doctrine\ORM\PersistentCollection {#4203 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
      +posts: Doctrine\ORM\PersistentCollection {#4211 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
      +follows: Doctrine\ORM\PersistentCollection {#4223 …}
      +followers: Doctrine\ORM\PersistentCollection {#4225 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
      +reports: Doctrine\ORM\PersistentCollection {#4235 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
      +violations: Doctrine\ORM\PersistentCollection {#4239 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
      +awards: Doctrine\ORM\PersistentCollection {#4243 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
      +categories: Doctrine\ORM\PersistentCollection {#4247 …}
      -id: 49841
      -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
      +apId: "SaltyIceteaMaker@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "SaltyIceteaMaker"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726299731 {#4181
        date: 2024-09-14 09:42:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696475475 {#4182
        date: 2023-10-05 05:11:15.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917806 {#4178
      date: 2023-12-07 03:56:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4184 …}
    +nested: Doctrine\ORM\PersistentCollection {#4186 …}
    +votes: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 172779
    -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6186168"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701154565 {#4179
      date: 2023-11-28 07:56:05.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4196
    +avatar: null
    +cover: null
    +email: "SaltyIceteaMaker@lemmy.ml"
    +username: "@SaltyIceteaMaker@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1708611908 {#4180
      date: 2024-02-22 15:25:08.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
    +entries: Doctrine\ORM\PersistentCollection {#4203 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
    +posts: Doctrine\ORM\PersistentCollection {#4211 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
    +follows: Doctrine\ORM\PersistentCollection {#4223 …}
    +followers: Doctrine\ORM\PersistentCollection {#4225 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
    +reports: Doctrine\ORM\PersistentCollection {#4235 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
    +violations: Doctrine\ORM\PersistentCollection {#4239 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
    +awards: Doctrine\ORM\PersistentCollection {#4243 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
    +categories: Doctrine\ORM\PersistentCollection {#4247 …}
    -id: 49841
    -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
    +apId: "SaltyIceteaMaker@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
    +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "SaltyIceteaMaker"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726299731 {#4181
      date: 2024-09-14 09:42:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696475475 {#4182
      date: 2023-10-05 05:11:15.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7640
  +user: App\Entity\User {#4196
    +avatar: null
    +cover: null
    +email: "SaltyIceteaMaker@lemmy.ml"
    +username: "@SaltyIceteaMaker@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1708611908 {#4180
      date: 2024-02-22 15:25:08.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
    +entries: Doctrine\ORM\PersistentCollection {#4203 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
    +posts: Doctrine\ORM\PersistentCollection {#4211 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
    +follows: Doctrine\ORM\PersistentCollection {#4223 …}
    +followers: Doctrine\ORM\PersistentCollection {#4225 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
    +reports: Doctrine\ORM\PersistentCollection {#4235 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
    +violations: Doctrine\ORM\PersistentCollection {#4239 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
    +awards: Doctrine\ORM\PersistentCollection {#4243 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
    +categories: Doctrine\ORM\PersistentCollection {#4247 …}
    -id: 49841
    -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
    +apId: "SaltyIceteaMaker@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
    +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "SaltyIceteaMaker"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726299731 {#4181
      date: 2024-09-14 09:42:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696475475 {#4182
      date: 2023-10-05 05:11:15.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.12 ms
Input props
[
  "date" => DateTimeImmutable @1701154565 {#4179
    date: 2023-11-28 07:56:05.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7695
  +date: DateTimeImmutable @1701154565 {#4179
    date: 2023-11-28 07:56:05.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.08 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701154565 {#4179
    date: 2023-11-28 07:56:05.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7749
  +createdAt: DateTimeImmutable @1701154565 {#4179
    date: 2023-11-28 07:56:05.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4196
    +avatar: null
    +cover: null
    +email: "SaltyIceteaMaker@lemmy.ml"
    +username: "@SaltyIceteaMaker@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1708611908 {#4180
      date: 2024-02-22 15:25:08.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
    +entries: Doctrine\ORM\PersistentCollection {#4203 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
    +posts: Doctrine\ORM\PersistentCollection {#4211 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
    +follows: Doctrine\ORM\PersistentCollection {#4223 …}
    +followers: Doctrine\ORM\PersistentCollection {#4225 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
    +reports: Doctrine\ORM\PersistentCollection {#4235 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
    +violations: Doctrine\ORM\PersistentCollection {#4239 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
    +awards: Doctrine\ORM\PersistentCollection {#4243 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
    +categories: Doctrine\ORM\PersistentCollection {#4247 …}
    -id: 49841
    -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
    +apId: "SaltyIceteaMaker@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
    +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "SaltyIceteaMaker"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726299731 {#4181
      date: 2024-09-14 09:42:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696475475 {#4182
      date: 2023-10-05 05:11:15.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7803
  +width: 40
  +height: 40
  +user: App\Entity\User {#4196
    +avatar: null
    +cover: null
    +email: "SaltyIceteaMaker@lemmy.ml"
    +username: "@SaltyIceteaMaker@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1708611908 {#4180
      date: 2024-02-22 15:25:08.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
    +entries: Doctrine\ORM\PersistentCollection {#4203 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
    +posts: Doctrine\ORM\PersistentCollection {#4211 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
    +follows: Doctrine\ORM\PersistentCollection {#4223 …}
    +followers: Doctrine\ORM\PersistentCollection {#4225 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
    +reports: Doctrine\ORM\PersistentCollection {#4235 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
    +violations: Doctrine\ORM\PersistentCollection {#4239 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
    +awards: Doctrine\ORM\PersistentCollection {#4243 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
    +categories: Doctrine\ORM\PersistentCollection {#4247 …}
    -id: 49841
    -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
    +apId: "SaltyIceteaMaker@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
    +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "SaltyIceteaMaker"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726299731 {#4181
      date: 2024-09-14 09:42:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696475475 {#4182
      date: 2023-10-05 05:11:15.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.68 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4183
    +user: App\Entity\User {#4196
      +avatar: null
      +cover: null
      +email: "SaltyIceteaMaker@lemmy.ml"
      +username: "@SaltyIceteaMaker@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1708611908 {#4180
        date: 2024-02-22 15:25:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
      +entries: Doctrine\ORM\PersistentCollection {#4203 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
      +posts: Doctrine\ORM\PersistentCollection {#4211 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
      +follows: Doctrine\ORM\PersistentCollection {#4223 …}
      +followers: Doctrine\ORM\PersistentCollection {#4225 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
      +reports: Doctrine\ORM\PersistentCollection {#4235 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
      +violations: Doctrine\ORM\PersistentCollection {#4239 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
      +awards: Doctrine\ORM\PersistentCollection {#4243 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
      +categories: Doctrine\ORM\PersistentCollection {#4247 …}
      -id: 49841
      -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
      +apId: "SaltyIceteaMaker@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "SaltyIceteaMaker"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726299731 {#4181
        date: 2024-09-14 09:42:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696475475 {#4182
        date: 2023-10-05 05:11:15.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917806 {#4178
      date: 2023-12-07 03:56:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4184 …}
    +nested: Doctrine\ORM\PersistentCollection {#4186 …}
    +votes: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 172779
    -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6186168"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701154565 {#4179
      date: 2023-11-28 07:56:05.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7872
  +subject: App\Entity\EntryComment {#4183
    +user: App\Entity\User {#4196
      +avatar: null
      +cover: null
      +email: "SaltyIceteaMaker@lemmy.ml"
      +username: "@SaltyIceteaMaker@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1708611908 {#4180
        date: 2024-02-22 15:25:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
      +entries: Doctrine\ORM\PersistentCollection {#4203 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
      +posts: Doctrine\ORM\PersistentCollection {#4211 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
      +follows: Doctrine\ORM\PersistentCollection {#4223 …}
      +followers: Doctrine\ORM\PersistentCollection {#4225 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
      +reports: Doctrine\ORM\PersistentCollection {#4235 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
      +violations: Doctrine\ORM\PersistentCollection {#4239 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
      +awards: Doctrine\ORM\PersistentCollection {#4243 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
      +categories: Doctrine\ORM\PersistentCollection {#4247 …}
      -id: 49841
      -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
      +apId: "SaltyIceteaMaker@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "SaltyIceteaMaker"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726299731 {#4181
        date: 2024-09-14 09:42:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696475475 {#4182
        date: 2023-10-05 05:11:15.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917806 {#4178
      date: 2023-12-07 03:56:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4184 …}
    +nested: Doctrine\ORM\PersistentCollection {#4186 …}
    +votes: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 172779
    -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6186168"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701154565 {#4179
      date: 2023-11-28 07:56:05.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.81 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4183
    +user: App\Entity\User {#4196
      +avatar: null
      +cover: null
      +email: "SaltyIceteaMaker@lemmy.ml"
      +username: "@SaltyIceteaMaker@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1708611908 {#4180
        date: 2024-02-22 15:25:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
      +entries: Doctrine\ORM\PersistentCollection {#4203 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
      +posts: Doctrine\ORM\PersistentCollection {#4211 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
      +follows: Doctrine\ORM\PersistentCollection {#4223 …}
      +followers: Doctrine\ORM\PersistentCollection {#4225 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
      +reports: Doctrine\ORM\PersistentCollection {#4235 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
      +violations: Doctrine\ORM\PersistentCollection {#4239 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
      +awards: Doctrine\ORM\PersistentCollection {#4243 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
      +categories: Doctrine\ORM\PersistentCollection {#4247 …}
      -id: 49841
      -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
      +apId: "SaltyIceteaMaker@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "SaltyIceteaMaker"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726299731 {#4181
        date: 2024-09-14 09:42:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696475475 {#4182
        date: 2023-10-05 05:11:15.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917806 {#4178
      date: 2023-12-07 03:56:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4184 …}
    +nested: Doctrine\ORM\PersistentCollection {#4186 …}
    +votes: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 172779
    -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6186168"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701154565 {#4179
      date: 2023-11-28 07:56:05.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7929
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4183
    +user: App\Entity\User {#4196
      +avatar: null
      +cover: null
      +email: "SaltyIceteaMaker@lemmy.ml"
      +username: "@SaltyIceteaMaker@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1708611908 {#4180
        date: 2024-02-22 15:25:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
      +entries: Doctrine\ORM\PersistentCollection {#4203 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
      +posts: Doctrine\ORM\PersistentCollection {#4211 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
      +follows: Doctrine\ORM\PersistentCollection {#4223 …}
      +followers: Doctrine\ORM\PersistentCollection {#4225 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
      +reports: Doctrine\ORM\PersistentCollection {#4235 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
      +violations: Doctrine\ORM\PersistentCollection {#4239 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
      +awards: Doctrine\ORM\PersistentCollection {#4243 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
      +categories: Doctrine\ORM\PersistentCollection {#4247 …}
      -id: 49841
      -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
      +apId: "SaltyIceteaMaker@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "SaltyIceteaMaker"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726299731 {#4181
        date: 2024-09-14 09:42:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696475475 {#4182
        date: 2023-10-05 05:11:15.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917806 {#4178
      date: 2023-12-07 03:56:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4184 …}
    +nested: Doctrine\ORM\PersistentCollection {#4186 …}
    +votes: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 172779
    -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6186168"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701154565 {#4179
      date: 2023-11-28 07:56:05.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 17.16 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4183
    +user: App\Entity\User {#4196
      +avatar: null
      +cover: null
      +email: "SaltyIceteaMaker@lemmy.ml"
      +username: "@SaltyIceteaMaker@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1708611908 {#4180
        date: 2024-02-22 15:25:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
      +entries: Doctrine\ORM\PersistentCollection {#4203 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
      +posts: Doctrine\ORM\PersistentCollection {#4211 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
      +follows: Doctrine\ORM\PersistentCollection {#4223 …}
      +followers: Doctrine\ORM\PersistentCollection {#4225 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
      +reports: Doctrine\ORM\PersistentCollection {#4235 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
      +violations: Doctrine\ORM\PersistentCollection {#4239 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
      +awards: Doctrine\ORM\PersistentCollection {#4243 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
      +categories: Doctrine\ORM\PersistentCollection {#4247 …}
      -id: 49841
      -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
      +apId: "SaltyIceteaMaker@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "SaltyIceteaMaker"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726299731 {#4181
        date: 2024-09-14 09:42:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696475475 {#4182
        date: 2023-10-05 05:11:15.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917806 {#4178
      date: 2023-12-07 03:56:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4184 …}
    +nested: Doctrine\ORM\PersistentCollection {#4186 …}
    +votes: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 172779
    -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6186168"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701154565 {#4179
      date: 2023-11-28 07:56:05.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8169
  +comment: App\Entity\EntryComment {#4183
    +user: App\Entity\User {#4196
      +avatar: null
      +cover: null
      +email: "SaltyIceteaMaker@lemmy.ml"
      +username: "@SaltyIceteaMaker@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1708611908 {#4180
        date: 2024-02-22 15:25:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
      +entries: Doctrine\ORM\PersistentCollection {#4203 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
      +posts: Doctrine\ORM\PersistentCollection {#4211 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
      +follows: Doctrine\ORM\PersistentCollection {#4223 …}
      +followers: Doctrine\ORM\PersistentCollection {#4225 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
      +reports: Doctrine\ORM\PersistentCollection {#4235 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
      +violations: Doctrine\ORM\PersistentCollection {#4239 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
      +awards: Doctrine\ORM\PersistentCollection {#4243 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
      +categories: Doctrine\ORM\PersistentCollection {#4247 …}
      -id: 49841
      -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
      +apId: "SaltyIceteaMaker@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "SaltyIceteaMaker"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726299731 {#4181
        date: 2024-09-14 09:42:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696475475 {#4182
        date: 2023-10-05 05:11:15.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917806 {#4178
      date: 2023-12-07 03:56:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4184 …}
    +nested: Doctrine\ORM\PersistentCollection {#4186 …}
    +votes: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 172779
    -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6186168"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701154565 {#4179
      date: 2023-11-28 07:56:05.0 +01:00
    }
  }
  +nestedComments: [
    172842 => App\Entity\EntryComment {#4425
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4183}
      +root: App\Entity\EntryComment {#4183}
      +body: "Yeah now I stand a better chance of recovering files if something catastrophic happens"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1701157279 {#4424
        date: 2023-11-28 08:41:19.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@SaltyIceteaMaker@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4429 …}
      +nested: Doctrine\ORM\PersistentCollection {#4435 …}
      +votes: Doctrine\ORM\PersistentCollection {#4431 …}
      +reports: Doctrine\ORM\PersistentCollection {#4436 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
      -id: 172842
      -bodyTs: "'better':6 'catastroph':13 'chanc':7 'file':10 'happen':14 'recov':9 'someth':12 'stand':4 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4064967"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701157279 {#4421
        date: 2023-11-28 08:41:19.0 +01:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 15.31 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4425
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4183
      +user: App\Entity\User {#4196
        +avatar: null
        +cover: null
        +email: "SaltyIceteaMaker@lemmy.ml"
        +username: "@SaltyIceteaMaker@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1708611908 {#4180
          date: 2024-02-22 15:25:08.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
        +entries: Doctrine\ORM\PersistentCollection {#4203 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
        +posts: Doctrine\ORM\PersistentCollection {#4211 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
        +follows: Doctrine\ORM\PersistentCollection {#4223 …}
        +followers: Doctrine\ORM\PersistentCollection {#4225 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
        +reports: Doctrine\ORM\PersistentCollection {#4235 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
        +violations: Doctrine\ORM\PersistentCollection {#4239 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
        +awards: Doctrine\ORM\PersistentCollection {#4243 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
        +categories: Doctrine\ORM\PersistentCollection {#4247 …}
        -id: 49841
        -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
        +apId: "SaltyIceteaMaker@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "SaltyIceteaMaker"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1726299731 {#4181
          date: 2024-09-14 09:42:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696475475 {#4182
          date: 2023-10-05 05:11:15.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917806 {#4178
        date: 2023-12-07 03:56:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4184 …}
      +nested: Doctrine\ORM\PersistentCollection {#4186 …}
      +votes: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 172779
      -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6186168"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701154565 {#4179
        date: 2023-11-28 07:56:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4183}
    +body: "Yeah now I stand a better chance of recovering files if something catastrophic happens"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157279 {#4424
      date: 2023-11-28 08:41:19.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@SaltyIceteaMaker@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4429 …}
    +nested: Doctrine\ORM\PersistentCollection {#4435 …}
    +votes: Doctrine\ORM\PersistentCollection {#4431 …}
    +reports: Doctrine\ORM\PersistentCollection {#4436 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
    -id: 172842
    -bodyTs: "'better':6 'catastroph':13 'chanc':7 'file':10 'happen':14 'recov':9 'someth':12 'stand':4 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064967"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157279 {#4421
      date: 2023-11-28 08:41:19.0 +01:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8229
  +comment: App\Entity\EntryComment {#4425
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4183
      +user: App\Entity\User {#4196
        +avatar: null
        +cover: null
        +email: "SaltyIceteaMaker@lemmy.ml"
        +username: "@SaltyIceteaMaker@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1708611908 {#4180
          date: 2024-02-22 15:25:08.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
        +entries: Doctrine\ORM\PersistentCollection {#4203 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
        +posts: Doctrine\ORM\PersistentCollection {#4211 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
        +follows: Doctrine\ORM\PersistentCollection {#4223 …}
        +followers: Doctrine\ORM\PersistentCollection {#4225 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
        +reports: Doctrine\ORM\PersistentCollection {#4235 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
        +violations: Doctrine\ORM\PersistentCollection {#4239 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
        +awards: Doctrine\ORM\PersistentCollection {#4243 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
        +categories: Doctrine\ORM\PersistentCollection {#4247 …}
        -id: 49841
        -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
        +apId: "SaltyIceteaMaker@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "SaltyIceteaMaker"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1726299731 {#4181
          date: 2024-09-14 09:42:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696475475 {#4182
          date: 2023-10-05 05:11:15.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917806 {#4178
        date: 2023-12-07 03:56:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4184 …}
      +nested: Doctrine\ORM\PersistentCollection {#4186 …}
      +votes: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 172779
      -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6186168"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701154565 {#4179
        date: 2023-11-28 07:56:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4183}
    +body: "Yeah now I stand a better chance of recovering files if something catastrophic happens"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157279 {#4424
      date: 2023-11-28 08:41:19.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@SaltyIceteaMaker@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4429 …}
    +nested: Doctrine\ORM\PersistentCollection {#4435 …}
    +votes: Doctrine\ORM\PersistentCollection {#4431 …}
    +reports: Doctrine\ORM\PersistentCollection {#4436 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
    -id: 172842
    -bodyTs: "'better':6 'catastroph':13 'chanc':7 'file':10 'happen':14 'recov':9 'someth':12 'stand':4 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064967"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157279 {#4421
      date: 2023-11-28 08:41:19.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.14 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8274
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 1.06 ms
Input props
[
  "date" => DateTimeImmutable @1701157279 {#4421
    date: 2023-11-28 08:41:19.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8329
  +date: DateTimeImmutable @1701157279 {#4421
    date: 2023-11-28 08:41:19.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701157279 {#4421
    date: 2023-11-28 08:41:19.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8383
  +createdAt: DateTimeImmutable @1701157279 {#4421
    date: 2023-11-28 08:41:19.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.14 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8437
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.46 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4425
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4183
      +user: App\Entity\User {#4196
        +avatar: null
        +cover: null
        +email: "SaltyIceteaMaker@lemmy.ml"
        +username: "@SaltyIceteaMaker@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1708611908 {#4180
          date: 2024-02-22 15:25:08.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
        +entries: Doctrine\ORM\PersistentCollection {#4203 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
        +posts: Doctrine\ORM\PersistentCollection {#4211 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
        +follows: Doctrine\ORM\PersistentCollection {#4223 …}
        +followers: Doctrine\ORM\PersistentCollection {#4225 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
        +reports: Doctrine\ORM\PersistentCollection {#4235 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
        +violations: Doctrine\ORM\PersistentCollection {#4239 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
        +awards: Doctrine\ORM\PersistentCollection {#4243 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
        +categories: Doctrine\ORM\PersistentCollection {#4247 …}
        -id: 49841
        -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
        +apId: "SaltyIceteaMaker@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "SaltyIceteaMaker"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1726299731 {#4181
          date: 2024-09-14 09:42:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696475475 {#4182
          date: 2023-10-05 05:11:15.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917806 {#4178
        date: 2023-12-07 03:56:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4184 …}
      +nested: Doctrine\ORM\PersistentCollection {#4186 …}
      +votes: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 172779
      -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6186168"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701154565 {#4179
        date: 2023-11-28 07:56:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4183}
    +body: "Yeah now I stand a better chance of recovering files if something catastrophic happens"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157279 {#4424
      date: 2023-11-28 08:41:19.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@SaltyIceteaMaker@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4429 …}
    +nested: Doctrine\ORM\PersistentCollection {#4435 …}
    +votes: Doctrine\ORM\PersistentCollection {#4431 …}
    +reports: Doctrine\ORM\PersistentCollection {#4436 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
    -id: 172842
    -bodyTs: "'better':6 'catastroph':13 'chanc':7 'file':10 'happen':14 'recov':9 'someth':12 'stand':4 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064967"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157279 {#4421
      date: 2023-11-28 08:41:19.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#8506
  +subject: App\Entity\EntryComment {#4425
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4183
      +user: App\Entity\User {#4196
        +avatar: null
        +cover: null
        +email: "SaltyIceteaMaker@lemmy.ml"
        +username: "@SaltyIceteaMaker@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1708611908 {#4180
          date: 2024-02-22 15:25:08.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
        +entries: Doctrine\ORM\PersistentCollection {#4203 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
        +posts: Doctrine\ORM\PersistentCollection {#4211 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
        +follows: Doctrine\ORM\PersistentCollection {#4223 …}
        +followers: Doctrine\ORM\PersistentCollection {#4225 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
        +reports: Doctrine\ORM\PersistentCollection {#4235 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
        +violations: Doctrine\ORM\PersistentCollection {#4239 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
        +awards: Doctrine\ORM\PersistentCollection {#4243 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
        +categories: Doctrine\ORM\PersistentCollection {#4247 …}
        -id: 49841
        -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
        +apId: "SaltyIceteaMaker@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "SaltyIceteaMaker"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1726299731 {#4181
          date: 2024-09-14 09:42:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696475475 {#4182
          date: 2023-10-05 05:11:15.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917806 {#4178
        date: 2023-12-07 03:56:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4184 …}
      +nested: Doctrine\ORM\PersistentCollection {#4186 …}
      +votes: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 172779
      -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6186168"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701154565 {#4179
        date: 2023-11-28 07:56:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4183}
    +body: "Yeah now I stand a better chance of recovering files if something catastrophic happens"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157279 {#4424
      date: 2023-11-28 08:41:19.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@SaltyIceteaMaker@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4429 …}
    +nested: Doctrine\ORM\PersistentCollection {#4435 …}
    +votes: Doctrine\ORM\PersistentCollection {#4431 …}
    +reports: Doctrine\ORM\PersistentCollection {#4436 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
    -id: 172842
    -bodyTs: "'better':6 'catastroph':13 'chanc':7 'file':10 'happen':14 'recov':9 'someth':12 'stand':4 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064967"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157279 {#4421
      date: 2023-11-28 08:41:19.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.84 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4425
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4183
      +user: App\Entity\User {#4196
        +avatar: null
        +cover: null
        +email: "SaltyIceteaMaker@lemmy.ml"
        +username: "@SaltyIceteaMaker@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1708611908 {#4180
          date: 2024-02-22 15:25:08.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
        +entries: Doctrine\ORM\PersistentCollection {#4203 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
        +posts: Doctrine\ORM\PersistentCollection {#4211 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
        +follows: Doctrine\ORM\PersistentCollection {#4223 …}
        +followers: Doctrine\ORM\PersistentCollection {#4225 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
        +reports: Doctrine\ORM\PersistentCollection {#4235 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
        +violations: Doctrine\ORM\PersistentCollection {#4239 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
        +awards: Doctrine\ORM\PersistentCollection {#4243 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
        +categories: Doctrine\ORM\PersistentCollection {#4247 …}
        -id: 49841
        -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
        +apId: "SaltyIceteaMaker@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "SaltyIceteaMaker"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1726299731 {#4181
          date: 2024-09-14 09:42:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696475475 {#4182
          date: 2023-10-05 05:11:15.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917806 {#4178
        date: 2023-12-07 03:56:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4184 …}
      +nested: Doctrine\ORM\PersistentCollection {#4186 …}
      +votes: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 172779
      -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6186168"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701154565 {#4179
        date: 2023-11-28 07:56:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4183}
    +body: "Yeah now I stand a better chance of recovering files if something catastrophic happens"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157279 {#4424
      date: 2023-11-28 08:41:19.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@SaltyIceteaMaker@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4429 …}
    +nested: Doctrine\ORM\PersistentCollection {#4435 …}
    +votes: Doctrine\ORM\PersistentCollection {#4431 …}
    +reports: Doctrine\ORM\PersistentCollection {#4436 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
    -id: 172842
    -bodyTs: "'better':6 'catastroph':13 'chanc':7 'file':10 'happen':14 'recov':9 'someth':12 'stand':4 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064967"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157279 {#4421
      date: 2023-11-28 08:41:19.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#8563
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4425
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4183
      +user: App\Entity\User {#4196
        +avatar: null
        +cover: null
        +email: "SaltyIceteaMaker@lemmy.ml"
        +username: "@SaltyIceteaMaker@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1708611908 {#4180
          date: 2024-02-22 15:25:08.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
        +entries: Doctrine\ORM\PersistentCollection {#4203 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
        +posts: Doctrine\ORM\PersistentCollection {#4211 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
        +follows: Doctrine\ORM\PersistentCollection {#4223 …}
        +followers: Doctrine\ORM\PersistentCollection {#4225 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
        +reports: Doctrine\ORM\PersistentCollection {#4235 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
        +violations: Doctrine\ORM\PersistentCollection {#4239 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
        +awards: Doctrine\ORM\PersistentCollection {#4243 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
        +categories: Doctrine\ORM\PersistentCollection {#4247 …}
        -id: 49841
        -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
        +apId: "SaltyIceteaMaker@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "SaltyIceteaMaker"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1726299731 {#4181
          date: 2024-09-14 09:42:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696475475 {#4182
          date: 2023-10-05 05:11:15.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917806 {#4178
        date: 2023-12-07 03:56:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4184 …}
      +nested: Doctrine\ORM\PersistentCollection {#4186 …}
      +votes: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 172779
      -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6186168"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701154565 {#4179
        date: 2023-11-28 07:56:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4183}
    +body: "Yeah now I stand a better chance of recovering files if something catastrophic happens"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157279 {#4424
      date: 2023-11-28 08:41:19.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@SaltyIceteaMaker@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4429 …}
    +nested: Doctrine\ORM\PersistentCollection {#4435 …}
    +votes: Doctrine\ORM\PersistentCollection {#4431 …}
    +reports: Doctrine\ORM\PersistentCollection {#4436 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
    -id: 172842
    -bodyTs: "'better':6 'catastroph':13 'chanc':7 'file':10 'happen':14 'recov':9 'someth':12 'stand':4 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064967"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157279 {#4421
      date: 2023-11-28 08:41:19.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 1.03 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4425
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4183
      +user: App\Entity\User {#4196
        +avatar: null
        +cover: null
        +email: "SaltyIceteaMaker@lemmy.ml"
        +username: "@SaltyIceteaMaker@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1708611908 {#4180
          date: 2024-02-22 15:25:08.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
        +entries: Doctrine\ORM\PersistentCollection {#4203 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
        +posts: Doctrine\ORM\PersistentCollection {#4211 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
        +follows: Doctrine\ORM\PersistentCollection {#4223 …}
        +followers: Doctrine\ORM\PersistentCollection {#4225 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
        +reports: Doctrine\ORM\PersistentCollection {#4235 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
        +violations: Doctrine\ORM\PersistentCollection {#4239 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
        +awards: Doctrine\ORM\PersistentCollection {#4243 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
        +categories: Doctrine\ORM\PersistentCollection {#4247 …}
        -id: 49841
        -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
        +apId: "SaltyIceteaMaker@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "SaltyIceteaMaker"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1726299731 {#4181
          date: 2024-09-14 09:42:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696475475 {#4182
          date: 2023-10-05 05:11:15.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917806 {#4178
        date: 2023-12-07 03:56:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4184 …}
      +nested: Doctrine\ORM\PersistentCollection {#4186 …}
      +votes: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 172779
      -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6186168"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701154565 {#4179
        date: 2023-11-28 07:56:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4183}
    +body: "Yeah now I stand a better chance of recovering files if something catastrophic happens"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157279 {#4424
      date: 2023-11-28 08:41:19.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@SaltyIceteaMaker@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4429 …}
    +nested: Doctrine\ORM\PersistentCollection {#4435 …}
    +votes: Doctrine\ORM\PersistentCollection {#4431 …}
    +reports: Doctrine\ORM\PersistentCollection {#4436 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
    -id: 172842
    -bodyTs: "'better':6 'catastroph':13 'chanc':7 'file':10 'happen':14 'recov':9 'someth':12 'stand':4 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064967"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157279 {#4421
      date: 2023-11-28 08:41:19.0 +01:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8803
  +comment: App\Entity\EntryComment {#4425
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4183
      +user: App\Entity\User {#4196
        +avatar: null
        +cover: null
        +email: "SaltyIceteaMaker@lemmy.ml"
        +username: "@SaltyIceteaMaker@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1708611908 {#4180
          date: 2024-02-22 15:25:08.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4197 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4199 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4201 …}
        +entries: Doctrine\ORM\PersistentCollection {#4203 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4205 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4207 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4209 …}
        +posts: Doctrine\ORM\PersistentCollection {#4211 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4213 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4215 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4217 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4219 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4221 …}
        +follows: Doctrine\ORM\PersistentCollection {#4223 …}
        +followers: Doctrine\ORM\PersistentCollection {#4225 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4227 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4229 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4231 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4233 …}
        +reports: Doctrine\ORM\PersistentCollection {#4235 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4237 …}
        +violations: Doctrine\ORM\PersistentCollection {#4239 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4241 …}
        +awards: Doctrine\ORM\PersistentCollection {#4243 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4245 …}
        +categories: Doctrine\ORM\PersistentCollection {#4247 …}
        -id: 49841
        -password: "$2y$13$4Zqi78sXHmGe43qS8SPjc.P7ecp.LdlOSwRKKd01BbUZFDpJf1MMe"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4249 …}
        +apId: "SaltyIceteaMaker@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apPublicUrl: "https://lemmy.ml/u/SaltyIceteaMaker"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "SaltyIceteaMaker"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1726299731 {#4181
          date: 2024-09-14 09:42:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696475475 {#4182
          date: 2023-10-05 05:11:15.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Of course that was worth 3 hours. Every tinkering/experimenting is worth it. In the worst case you gain experience"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917806 {#4178
        date: 2023-12-07 03:56:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4184 …}
      +nested: Doctrine\ORM\PersistentCollection {#4186 …}
      +votes: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 172779
      -bodyTs: "'3':6 'case':16 'cours':2 'everi':8 'experi':19 'gain':18 'hour':7 'tinkering/experimenting':9 'worst':15 'worth':5,11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6186168"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701154565 {#4179
        date: 2023-11-28 07:56:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4183}
    +body: "Yeah now I stand a better chance of recovering files if something catastrophic happens"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157279 {#4424
      date: 2023-11-28 08:41:19.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@SaltyIceteaMaker@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4429 …}
    +nested: Doctrine\ORM\PersistentCollection {#4435 …}
    +votes: Doctrine\ORM\PersistentCollection {#4431 …}
    +reports: Doctrine\ORM\PersistentCollection {#4436 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
    -id: 172842
    -bodyTs: "'better':6 'catastroph':13 'chanc':7 'file':10 'happen':14 'recov':9 'someth':12 'stand':4 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064967"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157279 {#4421
      date: 2023-11-28 08:41:19.0 +01:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 24.84 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4256
    +user: App\Entity\User {#4269
      +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
      +cover: null
      +email: "Azzk1kr@feddit.nl"
      +username: "@Azzk1kr@feddit.nl"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728744868 {#4253
        date: 2024-10-12 16:54:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
      +entries: Doctrine\ORM\PersistentCollection {#4277 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
      +posts: Doctrine\ORM\PersistentCollection {#4285 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
      +follows: Doctrine\ORM\PersistentCollection {#4297 …}
      +followers: Doctrine\ORM\PersistentCollection {#4299 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
      +reports: Doctrine\ORM\PersistentCollection {#4309 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
      +violations: Doctrine\ORM\PersistentCollection {#4313 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
      +awards: Doctrine\ORM\PersistentCollection {#4317 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
      +categories: Doctrine\ORM\PersistentCollection {#4321 …}
      -id: 73470
      -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
      +apId: "Azzk1kr@feddit.nl"
      +apProfileId: "https://feddit.nl/u/Azzk1kr"
      +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.nl/inbox"
      +apDomain: "feddit.nl"
      +apPreferredUsername: "Azzk1kr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729469885 {#4254
        date: 2024-10-21 02:18:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699540359 {#4255
        date: 2023-11-09 15:32:39.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "You wasted three hours so you can share this knowledge :D"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917777 {#4251
      date: 2023-12-07 03:56:17.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4257 …}
    +nested: Doctrine\ORM\PersistentCollection {#4259 …}
    +votes: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 172807
    -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.nl/comment/4933087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701155533 {#4252
      date: 2023-11-28 08:12:13.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8879
  +comment: App\Entity\EntryComment {#4256
    +user: App\Entity\User {#4269
      +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
      +cover: null
      +email: "Azzk1kr@feddit.nl"
      +username: "@Azzk1kr@feddit.nl"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728744868 {#4253
        date: 2024-10-12 16:54:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
      +entries: Doctrine\ORM\PersistentCollection {#4277 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
      +posts: Doctrine\ORM\PersistentCollection {#4285 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
      +follows: Doctrine\ORM\PersistentCollection {#4297 …}
      +followers: Doctrine\ORM\PersistentCollection {#4299 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
      +reports: Doctrine\ORM\PersistentCollection {#4309 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
      +violations: Doctrine\ORM\PersistentCollection {#4313 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
      +awards: Doctrine\ORM\PersistentCollection {#4317 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
      +categories: Doctrine\ORM\PersistentCollection {#4321 …}
      -id: 73470
      -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
      +apId: "Azzk1kr@feddit.nl"
      +apProfileId: "https://feddit.nl/u/Azzk1kr"
      +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.nl/inbox"
      +apDomain: "feddit.nl"
      +apPreferredUsername: "Azzk1kr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729469885 {#4254
        date: 2024-10-21 02:18:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699540359 {#4255
        date: 2023-11-09 15:32:39.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "You wasted three hours so you can share this knowledge :D"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917777 {#4251
      date: 2023-12-07 03:56:17.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4257 …}
    +nested: Doctrine\ORM\PersistentCollection {#4259 …}
    +votes: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 172807
    -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.nl/comment/4933087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701155533 {#4252
      date: 2023-11-28 08:12:13.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.19 ms
Input props
[
  "user" => App\Entity\User {#4269
    +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
    +cover: null
    +email: "Azzk1kr@feddit.nl"
    +username: "@Azzk1kr@feddit.nl"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728744868 {#4253
      date: 2024-10-12 16:54:28.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
    +entries: Doctrine\ORM\PersistentCollection {#4277 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
    +posts: Doctrine\ORM\PersistentCollection {#4285 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
    +follows: Doctrine\ORM\PersistentCollection {#4297 …}
    +followers: Doctrine\ORM\PersistentCollection {#4299 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
    +reports: Doctrine\ORM\PersistentCollection {#4309 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
    +violations: Doctrine\ORM\PersistentCollection {#4313 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
    +awards: Doctrine\ORM\PersistentCollection {#4317 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
    +categories: Doctrine\ORM\PersistentCollection {#4321 …}
    -id: 73470
    -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
    +apId: "Azzk1kr@feddit.nl"
    +apProfileId: "https://feddit.nl/u/Azzk1kr"
    +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.nl/inbox"
    +apDomain: "feddit.nl"
    +apPreferredUsername: "Azzk1kr"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729469885 {#4254
      date: 2024-10-21 02:18:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699540359 {#4255
      date: 2023-11-09 15:32:39.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8924
  +user: App\Entity\User {#4269
    +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
    +cover: null
    +email: "Azzk1kr@feddit.nl"
    +username: "@Azzk1kr@feddit.nl"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728744868 {#4253
      date: 2024-10-12 16:54:28.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
    +entries: Doctrine\ORM\PersistentCollection {#4277 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
    +posts: Doctrine\ORM\PersistentCollection {#4285 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
    +follows: Doctrine\ORM\PersistentCollection {#4297 …}
    +followers: Doctrine\ORM\PersistentCollection {#4299 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
    +reports: Doctrine\ORM\PersistentCollection {#4309 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
    +violations: Doctrine\ORM\PersistentCollection {#4313 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
    +awards: Doctrine\ORM\PersistentCollection {#4317 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
    +categories: Doctrine\ORM\PersistentCollection {#4321 …}
    -id: 73470
    -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
    +apId: "Azzk1kr@feddit.nl"
    +apProfileId: "https://feddit.nl/u/Azzk1kr"
    +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.nl/inbox"
    +apDomain: "feddit.nl"
    +apPreferredUsername: "Azzk1kr"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729469885 {#4254
      date: 2024-10-21 02:18:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699540359 {#4255
      date: 2023-11-09 15:32:39.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.16 ms
Input props
[
  "date" => DateTimeImmutable @1701155533 {#4252
    date: 2023-11-28 08:12:13.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8979
  +date: DateTimeImmutable @1701155533 {#4252
    date: 2023-11-28 08:12:13.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701155533 {#4252
    date: 2023-11-28 08:12:13.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#9033
  +createdAt: DateTimeImmutable @1701155533 {#4252
    date: 2023-11-28 08:12:13.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.74 ms
Input props
[
  "user" => App\Entity\User {#4269
    +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
    +cover: null
    +email: "Azzk1kr@feddit.nl"
    +username: "@Azzk1kr@feddit.nl"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728744868 {#4253
      date: 2024-10-12 16:54:28.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
    +entries: Doctrine\ORM\PersistentCollection {#4277 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
    +posts: Doctrine\ORM\PersistentCollection {#4285 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
    +follows: Doctrine\ORM\PersistentCollection {#4297 …}
    +followers: Doctrine\ORM\PersistentCollection {#4299 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
    +reports: Doctrine\ORM\PersistentCollection {#4309 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
    +violations: Doctrine\ORM\PersistentCollection {#4313 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
    +awards: Doctrine\ORM\PersistentCollection {#4317 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
    +categories: Doctrine\ORM\PersistentCollection {#4321 …}
    -id: 73470
    -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
    +apId: "Azzk1kr@feddit.nl"
    +apProfileId: "https://feddit.nl/u/Azzk1kr"
    +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.nl/inbox"
    +apDomain: "feddit.nl"
    +apPreferredUsername: "Azzk1kr"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729469885 {#4254
      date: 2024-10-21 02:18:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699540359 {#4255
      date: 2023-11-09 15:32:39.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#9087
  +width: 40
  +height: 40
  +user: App\Entity\User {#4269
    +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
    +cover: null
    +email: "Azzk1kr@feddit.nl"
    +username: "@Azzk1kr@feddit.nl"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728744868 {#4253
      date: 2024-10-12 16:54:28.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
    +entries: Doctrine\ORM\PersistentCollection {#4277 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
    +posts: Doctrine\ORM\PersistentCollection {#4285 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
    +follows: Doctrine\ORM\PersistentCollection {#4297 …}
    +followers: Doctrine\ORM\PersistentCollection {#4299 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
    +reports: Doctrine\ORM\PersistentCollection {#4309 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
    +violations: Doctrine\ORM\PersistentCollection {#4313 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
    +awards: Doctrine\ORM\PersistentCollection {#4317 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
    +categories: Doctrine\ORM\PersistentCollection {#4321 …}
    -id: 73470
    -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
    +apId: "Azzk1kr@feddit.nl"
    +apProfileId: "https://feddit.nl/u/Azzk1kr"
    +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.nl/inbox"
    +apDomain: "feddit.nl"
    +apPreferredUsername: "Azzk1kr"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729469885 {#4254
      date: 2024-10-21 02:18:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699540359 {#4255
      date: 2023-11-09 15:32:39.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.62 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4256
    +user: App\Entity\User {#4269
      +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
      +cover: null
      +email: "Azzk1kr@feddit.nl"
      +username: "@Azzk1kr@feddit.nl"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728744868 {#4253
        date: 2024-10-12 16:54:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
      +entries: Doctrine\ORM\PersistentCollection {#4277 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
      +posts: Doctrine\ORM\PersistentCollection {#4285 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
      +follows: Doctrine\ORM\PersistentCollection {#4297 …}
      +followers: Doctrine\ORM\PersistentCollection {#4299 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
      +reports: Doctrine\ORM\PersistentCollection {#4309 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
      +violations: Doctrine\ORM\PersistentCollection {#4313 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
      +awards: Doctrine\ORM\PersistentCollection {#4317 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
      +categories: Doctrine\ORM\PersistentCollection {#4321 …}
      -id: 73470
      -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
      +apId: "Azzk1kr@feddit.nl"
      +apProfileId: "https://feddit.nl/u/Azzk1kr"
      +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.nl/inbox"
      +apDomain: "feddit.nl"
      +apPreferredUsername: "Azzk1kr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729469885 {#4254
        date: 2024-10-21 02:18:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699540359 {#4255
        date: 2023-11-09 15:32:39.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "You wasted three hours so you can share this knowledge :D"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917777 {#4251
      date: 2023-12-07 03:56:17.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4257 …}
    +nested: Doctrine\ORM\PersistentCollection {#4259 …}
    +votes: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 172807
    -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.nl/comment/4933087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701155533 {#4252
      date: 2023-11-28 08:12:13.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#9158
  +subject: App\Entity\EntryComment {#4256
    +user: App\Entity\User {#4269
      +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
      +cover: null
      +email: "Azzk1kr@feddit.nl"
      +username: "@Azzk1kr@feddit.nl"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728744868 {#4253
        date: 2024-10-12 16:54:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
      +entries: Doctrine\ORM\PersistentCollection {#4277 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
      +posts: Doctrine\ORM\PersistentCollection {#4285 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
      +follows: Doctrine\ORM\PersistentCollection {#4297 …}
      +followers: Doctrine\ORM\PersistentCollection {#4299 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
      +reports: Doctrine\ORM\PersistentCollection {#4309 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
      +violations: Doctrine\ORM\PersistentCollection {#4313 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
      +awards: Doctrine\ORM\PersistentCollection {#4317 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
      +categories: Doctrine\ORM\PersistentCollection {#4321 …}
      -id: 73470
      -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
      +apId: "Azzk1kr@feddit.nl"
      +apProfileId: "https://feddit.nl/u/Azzk1kr"
      +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.nl/inbox"
      +apDomain: "feddit.nl"
      +apPreferredUsername: "Azzk1kr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729469885 {#4254
        date: 2024-10-21 02:18:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699540359 {#4255
        date: 2023-11-09 15:32:39.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "You wasted three hours so you can share this knowledge :D"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917777 {#4251
      date: 2023-12-07 03:56:17.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4257 …}
    +nested: Doctrine\ORM\PersistentCollection {#4259 …}
    +votes: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 172807
    -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.nl/comment/4933087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701155533 {#4252
      date: 2023-11-28 08:12:13.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 1.26 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4256
    +user: App\Entity\User {#4269
      +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
      +cover: null
      +email: "Azzk1kr@feddit.nl"
      +username: "@Azzk1kr@feddit.nl"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728744868 {#4253
        date: 2024-10-12 16:54:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
      +entries: Doctrine\ORM\PersistentCollection {#4277 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
      +posts: Doctrine\ORM\PersistentCollection {#4285 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
      +follows: Doctrine\ORM\PersistentCollection {#4297 …}
      +followers: Doctrine\ORM\PersistentCollection {#4299 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
      +reports: Doctrine\ORM\PersistentCollection {#4309 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
      +violations: Doctrine\ORM\PersistentCollection {#4313 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
      +awards: Doctrine\ORM\PersistentCollection {#4317 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
      +categories: Doctrine\ORM\PersistentCollection {#4321 …}
      -id: 73470
      -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
      +apId: "Azzk1kr@feddit.nl"
      +apProfileId: "https://feddit.nl/u/Azzk1kr"
      +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.nl/inbox"
      +apDomain: "feddit.nl"
      +apPreferredUsername: "Azzk1kr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729469885 {#4254
        date: 2024-10-21 02:18:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699540359 {#4255
        date: 2023-11-09 15:32:39.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "You wasted three hours so you can share this knowledge :D"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917777 {#4251
      date: 2023-12-07 03:56:17.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4257 …}
    +nested: Doctrine\ORM\PersistentCollection {#4259 …}
    +votes: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 172807
    -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.nl/comment/4933087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701155533 {#4252
      date: 2023-11-28 08:12:13.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#9215
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4256
    +user: App\Entity\User {#4269
      +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
      +cover: null
      +email: "Azzk1kr@feddit.nl"
      +username: "@Azzk1kr@feddit.nl"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728744868 {#4253
        date: 2024-10-12 16:54:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
      +entries: Doctrine\ORM\PersistentCollection {#4277 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
      +posts: Doctrine\ORM\PersistentCollection {#4285 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
      +follows: Doctrine\ORM\PersistentCollection {#4297 …}
      +followers: Doctrine\ORM\PersistentCollection {#4299 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
      +reports: Doctrine\ORM\PersistentCollection {#4309 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
      +violations: Doctrine\ORM\PersistentCollection {#4313 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
      +awards: Doctrine\ORM\PersistentCollection {#4317 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
      +categories: Doctrine\ORM\PersistentCollection {#4321 …}
      -id: 73470
      -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
      +apId: "Azzk1kr@feddit.nl"
      +apProfileId: "https://feddit.nl/u/Azzk1kr"
      +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.nl/inbox"
      +apDomain: "feddit.nl"
      +apPreferredUsername: "Azzk1kr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729469885 {#4254
        date: 2024-10-21 02:18:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699540359 {#4255
        date: 2023-11-09 15:32:39.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "You wasted three hours so you can share this knowledge :D"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917777 {#4251
      date: 2023-12-07 03:56:17.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4257 …}
    +nested: Doctrine\ORM\PersistentCollection {#4259 …}
    +votes: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 172807
    -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.nl/comment/4933087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701155533 {#4252
      date: 2023-11-28 08:12:13.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 10.91 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4256
    +user: App\Entity\User {#4269
      +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
      +cover: null
      +email: "Azzk1kr@feddit.nl"
      +username: "@Azzk1kr@feddit.nl"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728744868 {#4253
        date: 2024-10-12 16:54:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
      +entries: Doctrine\ORM\PersistentCollection {#4277 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
      +posts: Doctrine\ORM\PersistentCollection {#4285 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
      +follows: Doctrine\ORM\PersistentCollection {#4297 …}
      +followers: Doctrine\ORM\PersistentCollection {#4299 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
      +reports: Doctrine\ORM\PersistentCollection {#4309 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
      +violations: Doctrine\ORM\PersistentCollection {#4313 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
      +awards: Doctrine\ORM\PersistentCollection {#4317 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
      +categories: Doctrine\ORM\PersistentCollection {#4321 …}
      -id: 73470
      -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
      +apId: "Azzk1kr@feddit.nl"
      +apProfileId: "https://feddit.nl/u/Azzk1kr"
      +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.nl/inbox"
      +apDomain: "feddit.nl"
      +apPreferredUsername: "Azzk1kr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729469885 {#4254
        date: 2024-10-21 02:18:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699540359 {#4255
        date: 2023-11-09 15:32:39.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "You wasted three hours so you can share this knowledge :D"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917777 {#4251
      date: 2023-12-07 03:56:17.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4257 …}
    +nested: Doctrine\ORM\PersistentCollection {#4259 …}
    +votes: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 172807
    -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.nl/comment/4933087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701155533 {#4252
      date: 2023-11-28 08:12:13.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#9455
  +comment: App\Entity\EntryComment {#4256
    +user: App\Entity\User {#4269
      +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
      +cover: null
      +email: "Azzk1kr@feddit.nl"
      +username: "@Azzk1kr@feddit.nl"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728744868 {#4253
        date: 2024-10-12 16:54:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
      +entries: Doctrine\ORM\PersistentCollection {#4277 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
      +posts: Doctrine\ORM\PersistentCollection {#4285 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
      +follows: Doctrine\ORM\PersistentCollection {#4297 …}
      +followers: Doctrine\ORM\PersistentCollection {#4299 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
      +reports: Doctrine\ORM\PersistentCollection {#4309 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
      +violations: Doctrine\ORM\PersistentCollection {#4313 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
      +awards: Doctrine\ORM\PersistentCollection {#4317 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
      +categories: Doctrine\ORM\PersistentCollection {#4321 …}
      -id: 73470
      -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
      +apId: "Azzk1kr@feddit.nl"
      +apProfileId: "https://feddit.nl/u/Azzk1kr"
      +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.nl/inbox"
      +apDomain: "feddit.nl"
      +apPreferredUsername: "Azzk1kr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729469885 {#4254
        date: 2024-10-21 02:18:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699540359 {#4255
        date: 2023-11-09 15:32:39.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "You wasted three hours so you can share this knowledge :D"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701917777 {#4251
      date: 2023-12-07 03:56:17.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4257 …}
    +nested: Doctrine\ORM\PersistentCollection {#4259 …}
    +votes: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 172807
    -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.nl/comment/4933087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701155533 {#4252
      date: 2023-11-28 08:12:13.0 +01:00
    }
  }
  +nestedComments: [
    172839 => App\Entity\EntryComment {#4444
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4256}
      +root: App\Entity\EntryComment {#4256}
      +body: "True, now *you* have the power to find your files manually!"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1701157228 {#4442
        date: 2023-11-28 08:40:28.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@Azzk1kr@feddit.nl"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4445 …}
      +nested: Doctrine\ORM\PersistentCollection {#4447 …}
      +votes: Doctrine\ORM\PersistentCollection {#4449 …}
      +reports: Doctrine\ORM\PersistentCollection {#4451 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
      -id: 172839
      -bodyTs: "'file':10 'find':8 'manual':11 'power':6 'true':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.nz/comment/4064957"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701157228 {#4443
        date: 2023-11-28 08:40:28.0 +01:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 9.39 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4444
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4256
      +user: App\Entity\User {#4269
        +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
        +cover: null
        +email: "Azzk1kr@feddit.nl"
        +username: "@Azzk1kr@feddit.nl"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728744868 {#4253
          date: 2024-10-12 16:54:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
        +entries: Doctrine\ORM\PersistentCollection {#4277 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
        +posts: Doctrine\ORM\PersistentCollection {#4285 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
        +follows: Doctrine\ORM\PersistentCollection {#4297 …}
        +followers: Doctrine\ORM\PersistentCollection {#4299 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
        +reports: Doctrine\ORM\PersistentCollection {#4309 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
        +violations: Doctrine\ORM\PersistentCollection {#4313 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
        +awards: Doctrine\ORM\PersistentCollection {#4317 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
        +categories: Doctrine\ORM\PersistentCollection {#4321 …}
        -id: 73470
        -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
        +apId: "Azzk1kr@feddit.nl"
        +apProfileId: "https://feddit.nl/u/Azzk1kr"
        +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.nl/inbox"
        +apDomain: "feddit.nl"
        +apPreferredUsername: "Azzk1kr"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729469885 {#4254
          date: 2024-10-21 02:18:05.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699540359 {#4255
          date: 2023-11-09 15:32:39.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "You wasted three hours so you can share this knowledge :D"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917777 {#4251
        date: 2023-12-07 03:56:17.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4257 …}
      +nested: Doctrine\ORM\PersistentCollection {#4259 …}
      +votes: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 172807
      -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.nl/comment/4933087"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701155533 {#4252
        date: 2023-11-28 08:12:13.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4256}
    +body: "True, now *you* have the power to find your files manually!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157228 {#4442
      date: 2023-11-28 08:40:28.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@Azzk1kr@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4445 …}
    +nested: Doctrine\ORM\PersistentCollection {#4447 …}
    +votes: Doctrine\ORM\PersistentCollection {#4449 …}
    +reports: Doctrine\ORM\PersistentCollection {#4451 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
    -id: 172839
    -bodyTs: "'file':10 'find':8 'manual':11 'power':6 'true':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064957"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157228 {#4443
      date: 2023-11-28 08:40:28.0 +01:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#9515
  +comment: App\Entity\EntryComment {#4444
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4256
      +user: App\Entity\User {#4269
        +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
        +cover: null
        +email: "Azzk1kr@feddit.nl"
        +username: "@Azzk1kr@feddit.nl"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728744868 {#4253
          date: 2024-10-12 16:54:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
        +entries: Doctrine\ORM\PersistentCollection {#4277 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
        +posts: Doctrine\ORM\PersistentCollection {#4285 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
        +follows: Doctrine\ORM\PersistentCollection {#4297 …}
        +followers: Doctrine\ORM\PersistentCollection {#4299 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
        +reports: Doctrine\ORM\PersistentCollection {#4309 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
        +violations: Doctrine\ORM\PersistentCollection {#4313 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
        +awards: Doctrine\ORM\PersistentCollection {#4317 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
        +categories: Doctrine\ORM\PersistentCollection {#4321 …}
        -id: 73470
        -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
        +apId: "Azzk1kr@feddit.nl"
        +apProfileId: "https://feddit.nl/u/Azzk1kr"
        +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.nl/inbox"
        +apDomain: "feddit.nl"
        +apPreferredUsername: "Azzk1kr"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729469885 {#4254
          date: 2024-10-21 02:18:05.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699540359 {#4255
          date: 2023-11-09 15:32:39.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "You wasted three hours so you can share this knowledge :D"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917777 {#4251
        date: 2023-12-07 03:56:17.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4257 …}
      +nested: Doctrine\ORM\PersistentCollection {#4259 …}
      +votes: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 172807
      -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.nl/comment/4933087"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701155533 {#4252
        date: 2023-11-28 08:12:13.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4256}
    +body: "True, now *you* have the power to find your files manually!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157228 {#4442
      date: 2023-11-28 08:40:28.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@Azzk1kr@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4445 …}
    +nested: Doctrine\ORM\PersistentCollection {#4447 …}
    +votes: Doctrine\ORM\PersistentCollection {#4449 …}
    +reports: Doctrine\ORM\PersistentCollection {#4451 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
    -id: 172839
    -bodyTs: "'file':10 'find':8 'manual':11 'power':6 'true':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064957"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157228 {#4443
      date: 2023-11-28 08:40:28.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.23 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#9560
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.23 ms
Input props
[
  "date" => DateTimeImmutable @1701157228 {#4443
    date: 2023-11-28 08:40:28.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#9615
  +date: DateTimeImmutable @1701157228 {#4443
    date: 2023-11-28 08:40:28.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.15 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701157228 {#4443
    date: 2023-11-28 08:40:28.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#9669
  +createdAt: DateTimeImmutable @1701157228 {#4443
    date: 2023-11-28 08:40:28.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.24 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#9723
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.68 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4444
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4256
      +user: App\Entity\User {#4269
        +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
        +cover: null
        +email: "Azzk1kr@feddit.nl"
        +username: "@Azzk1kr@feddit.nl"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728744868 {#4253
          date: 2024-10-12 16:54:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
        +entries: Doctrine\ORM\PersistentCollection {#4277 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
        +posts: Doctrine\ORM\PersistentCollection {#4285 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
        +follows: Doctrine\ORM\PersistentCollection {#4297 …}
        +followers: Doctrine\ORM\PersistentCollection {#4299 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
        +reports: Doctrine\ORM\PersistentCollection {#4309 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
        +violations: Doctrine\ORM\PersistentCollection {#4313 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
        +awards: Doctrine\ORM\PersistentCollection {#4317 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
        +categories: Doctrine\ORM\PersistentCollection {#4321 …}
        -id: 73470
        -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
        +apId: "Azzk1kr@feddit.nl"
        +apProfileId: "https://feddit.nl/u/Azzk1kr"
        +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.nl/inbox"
        +apDomain: "feddit.nl"
        +apPreferredUsername: "Azzk1kr"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729469885 {#4254
          date: 2024-10-21 02:18:05.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699540359 {#4255
          date: 2023-11-09 15:32:39.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "You wasted three hours so you can share this knowledge :D"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917777 {#4251
        date: 2023-12-07 03:56:17.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4257 …}
      +nested: Doctrine\ORM\PersistentCollection {#4259 …}
      +votes: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 172807
      -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.nl/comment/4933087"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701155533 {#4252
        date: 2023-11-28 08:12:13.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4256}
    +body: "True, now *you* have the power to find your files manually!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157228 {#4442
      date: 2023-11-28 08:40:28.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@Azzk1kr@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4445 …}
    +nested: Doctrine\ORM\PersistentCollection {#4447 …}
    +votes: Doctrine\ORM\PersistentCollection {#4449 …}
    +reports: Doctrine\ORM\PersistentCollection {#4451 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
    -id: 172839
    -bodyTs: "'file':10 'find':8 'manual':11 'power':6 'true':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064957"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157228 {#4443
      date: 2023-11-28 08:40:28.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#9798
  +subject: App\Entity\EntryComment {#4444
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4256
      +user: App\Entity\User {#4269
        +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
        +cover: null
        +email: "Azzk1kr@feddit.nl"
        +username: "@Azzk1kr@feddit.nl"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728744868 {#4253
          date: 2024-10-12 16:54:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
        +entries: Doctrine\ORM\PersistentCollection {#4277 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
        +posts: Doctrine\ORM\PersistentCollection {#4285 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
        +follows: Doctrine\ORM\PersistentCollection {#4297 …}
        +followers: Doctrine\ORM\PersistentCollection {#4299 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
        +reports: Doctrine\ORM\PersistentCollection {#4309 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
        +violations: Doctrine\ORM\PersistentCollection {#4313 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
        +awards: Doctrine\ORM\PersistentCollection {#4317 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
        +categories: Doctrine\ORM\PersistentCollection {#4321 …}
        -id: 73470
        -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
        +apId: "Azzk1kr@feddit.nl"
        +apProfileId: "https://feddit.nl/u/Azzk1kr"
        +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.nl/inbox"
        +apDomain: "feddit.nl"
        +apPreferredUsername: "Azzk1kr"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729469885 {#4254
          date: 2024-10-21 02:18:05.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699540359 {#4255
          date: 2023-11-09 15:32:39.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "You wasted three hours so you can share this knowledge :D"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917777 {#4251
        date: 2023-12-07 03:56:17.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4257 …}
      +nested: Doctrine\ORM\PersistentCollection {#4259 …}
      +votes: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 172807
      -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.nl/comment/4933087"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701155533 {#4252
        date: 2023-11-28 08:12:13.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4256}
    +body: "True, now *you* have the power to find your files manually!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157228 {#4442
      date: 2023-11-28 08:40:28.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@Azzk1kr@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4445 …}
    +nested: Doctrine\ORM\PersistentCollection {#4447 …}
    +votes: Doctrine\ORM\PersistentCollection {#4449 …}
    +reports: Doctrine\ORM\PersistentCollection {#4451 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
    -id: 172839
    -bodyTs: "'file':10 'find':8 'manual':11 'power':6 'true':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064957"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157228 {#4443
      date: 2023-11-28 08:40:28.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 1.16 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4444
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4256
      +user: App\Entity\User {#4269
        +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
        +cover: null
        +email: "Azzk1kr@feddit.nl"
        +username: "@Azzk1kr@feddit.nl"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728744868 {#4253
          date: 2024-10-12 16:54:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
        +entries: Doctrine\ORM\PersistentCollection {#4277 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
        +posts: Doctrine\ORM\PersistentCollection {#4285 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
        +follows: Doctrine\ORM\PersistentCollection {#4297 …}
        +followers: Doctrine\ORM\PersistentCollection {#4299 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
        +reports: Doctrine\ORM\PersistentCollection {#4309 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
        +violations: Doctrine\ORM\PersistentCollection {#4313 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
        +awards: Doctrine\ORM\PersistentCollection {#4317 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
        +categories: Doctrine\ORM\PersistentCollection {#4321 …}
        -id: 73470
        -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
        +apId: "Azzk1kr@feddit.nl"
        +apProfileId: "https://feddit.nl/u/Azzk1kr"
        +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.nl/inbox"
        +apDomain: "feddit.nl"
        +apPreferredUsername: "Azzk1kr"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729469885 {#4254
          date: 2024-10-21 02:18:05.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699540359 {#4255
          date: 2023-11-09 15:32:39.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "You wasted three hours so you can share this knowledge :D"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917777 {#4251
        date: 2023-12-07 03:56:17.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4257 …}
      +nested: Doctrine\ORM\PersistentCollection {#4259 …}
      +votes: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 172807
      -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.nl/comment/4933087"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701155533 {#4252
        date: 2023-11-28 08:12:13.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4256}
    +body: "True, now *you* have the power to find your files manually!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157228 {#4442
      date: 2023-11-28 08:40:28.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@Azzk1kr@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4445 …}
    +nested: Doctrine\ORM\PersistentCollection {#4447 …}
    +votes: Doctrine\ORM\PersistentCollection {#4449 …}
    +reports: Doctrine\ORM\PersistentCollection {#4451 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
    -id: 172839
    -bodyTs: "'file':10 'find':8 'manual':11 'power':6 'true':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064957"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157228 {#4443
      date: 2023-11-28 08:40:28.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#9855
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4444
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4256
      +user: App\Entity\User {#4269
        +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
        +cover: null
        +email: "Azzk1kr@feddit.nl"
        +username: "@Azzk1kr@feddit.nl"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728744868 {#4253
          date: 2024-10-12 16:54:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
        +entries: Doctrine\ORM\PersistentCollection {#4277 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
        +posts: Doctrine\ORM\PersistentCollection {#4285 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
        +follows: Doctrine\ORM\PersistentCollection {#4297 …}
        +followers: Doctrine\ORM\PersistentCollection {#4299 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
        +reports: Doctrine\ORM\PersistentCollection {#4309 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
        +violations: Doctrine\ORM\PersistentCollection {#4313 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
        +awards: Doctrine\ORM\PersistentCollection {#4317 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
        +categories: Doctrine\ORM\PersistentCollection {#4321 …}
        -id: 73470
        -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
        +apId: "Azzk1kr@feddit.nl"
        +apProfileId: "https://feddit.nl/u/Azzk1kr"
        +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.nl/inbox"
        +apDomain: "feddit.nl"
        +apPreferredUsername: "Azzk1kr"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729469885 {#4254
          date: 2024-10-21 02:18:05.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699540359 {#4255
          date: 2023-11-09 15:32:39.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "You wasted three hours so you can share this knowledge :D"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917777 {#4251
        date: 2023-12-07 03:56:17.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4257 …}
      +nested: Doctrine\ORM\PersistentCollection {#4259 …}
      +votes: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 172807
      -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.nl/comment/4933087"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701155533 {#4252
        date: 2023-11-28 08:12:13.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4256}
    +body: "True, now *you* have the power to find your files manually!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157228 {#4442
      date: 2023-11-28 08:40:28.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@Azzk1kr@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4445 …}
    +nested: Doctrine\ORM\PersistentCollection {#4447 …}
    +votes: Doctrine\ORM\PersistentCollection {#4449 …}
    +reports: Doctrine\ORM\PersistentCollection {#4451 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
    -id: 172839
    -bodyTs: "'file':10 'find':8 'manual':11 'power':6 'true':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064957"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157228 {#4443
      date: 2023-11-28 08:40:28.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 0.41 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4444
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4256
      +user: App\Entity\User {#4269
        +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
        +cover: null
        +email: "Azzk1kr@feddit.nl"
        +username: "@Azzk1kr@feddit.nl"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728744868 {#4253
          date: 2024-10-12 16:54:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
        +entries: Doctrine\ORM\PersistentCollection {#4277 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
        +posts: Doctrine\ORM\PersistentCollection {#4285 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
        +follows: Doctrine\ORM\PersistentCollection {#4297 …}
        +followers: Doctrine\ORM\PersistentCollection {#4299 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
        +reports: Doctrine\ORM\PersistentCollection {#4309 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
        +violations: Doctrine\ORM\PersistentCollection {#4313 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
        +awards: Doctrine\ORM\PersistentCollection {#4317 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
        +categories: Doctrine\ORM\PersistentCollection {#4321 …}
        -id: 73470
        -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
        +apId: "Azzk1kr@feddit.nl"
        +apProfileId: "https://feddit.nl/u/Azzk1kr"
        +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.nl/inbox"
        +apDomain: "feddit.nl"
        +apPreferredUsername: "Azzk1kr"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729469885 {#4254
          date: 2024-10-21 02:18:05.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699540359 {#4255
          date: 2023-11-09 15:32:39.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "You wasted three hours so you can share this knowledge :D"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917777 {#4251
        date: 2023-12-07 03:56:17.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4257 …}
      +nested: Doctrine\ORM\PersistentCollection {#4259 …}
      +votes: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 172807
      -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.nl/comment/4933087"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701155533 {#4252
        date: 2023-11-28 08:12:13.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4256}
    +body: "True, now *you* have the power to find your files manually!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157228 {#4442
      date: 2023-11-28 08:40:28.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@Azzk1kr@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4445 …}
    +nested: Doctrine\ORM\PersistentCollection {#4447 …}
    +votes: Doctrine\ORM\PersistentCollection {#4449 …}
    +reports: Doctrine\ORM\PersistentCollection {#4451 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
    -id: 172839
    -bodyTs: "'file':10 'find':8 'manual':11 'power':6 'true':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064957"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157228 {#4443
      date: 2023-11-28 08:40:28.0 +01:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#10095
  +comment: App\Entity\EntryComment {#4444
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4256
      +user: App\Entity\User {#4269
        +avatar: Proxies\__CG__\App\Entity\Image {#4270 …}
        +cover: null
        +email: "Azzk1kr@feddit.nl"
        +username: "@Azzk1kr@feddit.nl"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728744868 {#4253
          date: 2024-10-12 16:54:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4271 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4273 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4275 …}
        +entries: Doctrine\ORM\PersistentCollection {#4277 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4279 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4281 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4283 …}
        +posts: Doctrine\ORM\PersistentCollection {#4285 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4287 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4289 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4291 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4293 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4295 …}
        +follows: Doctrine\ORM\PersistentCollection {#4297 …}
        +followers: Doctrine\ORM\PersistentCollection {#4299 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4301 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4303 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4305 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4307 …}
        +reports: Doctrine\ORM\PersistentCollection {#4309 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4311 …}
        +violations: Doctrine\ORM\PersistentCollection {#4313 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
        +awards: Doctrine\ORM\PersistentCollection {#4317 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4319 …}
        +categories: Doctrine\ORM\PersistentCollection {#4321 …}
        -id: 73470
        -password: "$2y$13$NSYtmoe7nOZr3Lq7RCWLpew2QhDs50dNG7jBg6RcStf9AS33Mxcte"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4323 …}
        +apId: "Azzk1kr@feddit.nl"
        +apProfileId: "https://feddit.nl/u/Azzk1kr"
        +apPublicUrl: "https://feddit.nl/u/Azzk1kr"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.nl/inbox"
        +apDomain: "feddit.nl"
        +apPreferredUsername: "Azzk1kr"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729469885 {#4254
          date: 2024-10-21 02:18:05.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1699540359 {#4255
          date: 2023-11-09 15:32:39.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "You wasted three hours so you can share this knowledge :D"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701917777 {#4251
        date: 2023-12-07 03:56:17.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4257 …}
      +nested: Doctrine\ORM\PersistentCollection {#4259 …}
      +votes: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 172807
      -bodyTs: "'d':11 'hour':4 'knowledg':10 'share':8 'three':3 'wast':2"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.nl/comment/4933087"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701155533 {#4252
        date: 2023-11-28 08:12:13.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4256}
    +body: "True, now *you* have the power to find your files manually!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701157228 {#4442
      date: 2023-11-28 08:40:28.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@Azzk1kr@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4445 …}
    +nested: Doctrine\ORM\PersistentCollection {#4447 …}
    +votes: Doctrine\ORM\PersistentCollection {#4449 …}
    +reports: Doctrine\ORM\PersistentCollection {#4451 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
    -id: 172839
    -bodyTs: "'file':10 'find':8 'manual':11 'power':6 'true':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4064957"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701157228 {#4443
      date: 2023-11-28 08:40:28.0 +01:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 10.98 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4330
    +user: App\Entity\User {#4343
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4327
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
      +entries: Doctrine\ORM\PersistentCollection {#4350 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
      +posts: Doctrine\ORM\PersistentCollection {#4358 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
      +follows: Doctrine\ORM\PersistentCollection {#4370 …}
      +followers: Doctrine\ORM\PersistentCollection {#4372 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
      +reports: Doctrine\ORM\PersistentCollection {#4382 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
      +violations: Doctrine\ORM\PersistentCollection {#4386 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
      +awards: Doctrine\ORM\PersistentCollection {#4390 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
      +categories: Doctrine\ORM\PersistentCollection {#4394 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4328
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4329
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sounds like a good time to me!! Hey and look at all that wasted space you found 😹"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1701131889 {#4325
      date: 2023-11-28 01:38:09.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4333 …}
    +votes: Doctrine\ORM\PersistentCollection {#4335 …}
    +reports: Doctrine\ORM\PersistentCollection {#4337 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4339 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4341 …}
    -id: 172098
    -bodyTs: "'found':17 'good':4 'hey':8 'like':2 'look':10 'sound':1 'space':15 'time':5 'wast':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5634494"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701131889 {#4326
      date: 2023-11-28 01:38:09.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#10171
  +comment: App\Entity\EntryComment {#4330
    +user: App\Entity\User {#4343
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4327
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
      +entries: Doctrine\ORM\PersistentCollection {#4350 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
      +posts: Doctrine\ORM\PersistentCollection {#4358 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
      +follows: Doctrine\ORM\PersistentCollection {#4370 …}
      +followers: Doctrine\ORM\PersistentCollection {#4372 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
      +reports: Doctrine\ORM\PersistentCollection {#4382 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
      +violations: Doctrine\ORM\PersistentCollection {#4386 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
      +awards: Doctrine\ORM\PersistentCollection {#4390 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
      +categories: Doctrine\ORM\PersistentCollection {#4394 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4328
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4329
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sounds like a good time to me!! Hey and look at all that wasted space you found 😹"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1701131889 {#4325
      date: 2023-11-28 01:38:09.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4333 …}
    +votes: Doctrine\ORM\PersistentCollection {#4335 …}
    +reports: Doctrine\ORM\PersistentCollection {#4337 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4339 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4341 …}
    -id: 172098
    -bodyTs: "'found':17 'good':4 'hey':8 'like':2 'look':10 'sound':1 'space':15 'time':5 'wast':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5634494"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701131889 {#4326
      date: 2023-11-28 01:38:09.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.21 ms
Input props
[
  "user" => App\Entity\User {#4343
    +avatar: null
    +cover: null
    +email: "mvirts@lemmy.world"
    +username: "@mvirts@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729583515 {#4327
      date: 2024-10-22 09:51:55.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
    +entries: Doctrine\ORM\PersistentCollection {#4350 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
    +posts: Doctrine\ORM\PersistentCollection {#4358 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
    +follows: Doctrine\ORM\PersistentCollection {#4370 …}
    +followers: Doctrine\ORM\PersistentCollection {#4372 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
    +reports: Doctrine\ORM\PersistentCollection {#4382 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
    +violations: Doctrine\ORM\PersistentCollection {#4386 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
    +awards: Doctrine\ORM\PersistentCollection {#4390 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
    +categories: Doctrine\ORM\PersistentCollection {#4394 …}
    -id: 19523
    -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
    +apId: "mvirts@lemmy.world"
    +apProfileId: "https://lemmy.world/u/mvirts"
    +apPublicUrl: "https://lemmy.world/u/mvirts"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "mvirts"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729282890 {#4328
      date: 2024-10-18 22:21:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688619237 {#4329
      date: 2023-07-06 06:53:57.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#10216
  +user: App\Entity\User {#4343
    +avatar: null
    +cover: null
    +email: "mvirts@lemmy.world"
    +username: "@mvirts@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729583515 {#4327
      date: 2024-10-22 09:51:55.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
    +entries: Doctrine\ORM\PersistentCollection {#4350 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
    +posts: Doctrine\ORM\PersistentCollection {#4358 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
    +follows: Doctrine\ORM\PersistentCollection {#4370 …}
    +followers: Doctrine\ORM\PersistentCollection {#4372 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
    +reports: Doctrine\ORM\PersistentCollection {#4382 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
    +violations: Doctrine\ORM\PersistentCollection {#4386 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
    +awards: Doctrine\ORM\PersistentCollection {#4390 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
    +categories: Doctrine\ORM\PersistentCollection {#4394 …}
    -id: 19523
    -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
    +apId: "mvirts@lemmy.world"
    +apProfileId: "https://lemmy.world/u/mvirts"
    +apPublicUrl: "https://lemmy.world/u/mvirts"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "mvirts"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729282890 {#4328
      date: 2024-10-18 22:21:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688619237 {#4329
      date: 2023-07-06 06:53:57.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.22 ms
Input props
[
  "date" => DateTimeImmutable @1701131889 {#4326
    date: 2023-11-28 01:38:09.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10271
  +date: DateTimeImmutable @1701131889 {#4326
    date: 2023-11-28 01:38:09.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.16 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701131889 {#4326
    date: 2023-11-28 01:38:09.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#10325
  +createdAt: DateTimeImmutable @1701131889 {#4326
    date: 2023-11-28 01:38:09.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.23 ms
Input props
[
  "user" => App\Entity\User {#4343
    +avatar: null
    +cover: null
    +email: "mvirts@lemmy.world"
    +username: "@mvirts@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729583515 {#4327
      date: 2024-10-22 09:51:55.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
    +entries: Doctrine\ORM\PersistentCollection {#4350 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
    +posts: Doctrine\ORM\PersistentCollection {#4358 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
    +follows: Doctrine\ORM\PersistentCollection {#4370 …}
    +followers: Doctrine\ORM\PersistentCollection {#4372 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
    +reports: Doctrine\ORM\PersistentCollection {#4382 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
    +violations: Doctrine\ORM\PersistentCollection {#4386 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
    +awards: Doctrine\ORM\PersistentCollection {#4390 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
    +categories: Doctrine\ORM\PersistentCollection {#4394 …}
    -id: 19523
    -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
    +apId: "mvirts@lemmy.world"
    +apProfileId: "https://lemmy.world/u/mvirts"
    +apPublicUrl: "https://lemmy.world/u/mvirts"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "mvirts"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729282890 {#4328
      date: 2024-10-18 22:21:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688619237 {#4329
      date: 2023-07-06 06:53:57.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#10379
  +width: 40
  +height: 40
  +user: App\Entity\User {#4343
    +avatar: null
    +cover: null
    +email: "mvirts@lemmy.world"
    +username: "@mvirts@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729583515 {#4327
      date: 2024-10-22 09:51:55.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
    +entries: Doctrine\ORM\PersistentCollection {#4350 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
    +posts: Doctrine\ORM\PersistentCollection {#4358 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
    +follows: Doctrine\ORM\PersistentCollection {#4370 …}
    +followers: Doctrine\ORM\PersistentCollection {#4372 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
    +reports: Doctrine\ORM\PersistentCollection {#4382 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
    +violations: Doctrine\ORM\PersistentCollection {#4386 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
    +awards: Doctrine\ORM\PersistentCollection {#4390 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
    +categories: Doctrine\ORM\PersistentCollection {#4394 …}
    -id: 19523
    -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
    +apId: "mvirts@lemmy.world"
    +apProfileId: "https://lemmy.world/u/mvirts"
    +apPublicUrl: "https://lemmy.world/u/mvirts"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "mvirts"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729282890 {#4328
      date: 2024-10-18 22:21:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688619237 {#4329
      date: 2023-07-06 06:53:57.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.61 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4330
    +user: App\Entity\User {#4343
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4327
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
      +entries: Doctrine\ORM\PersistentCollection {#4350 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
      +posts: Doctrine\ORM\PersistentCollection {#4358 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
      +follows: Doctrine\ORM\PersistentCollection {#4370 …}
      +followers: Doctrine\ORM\PersistentCollection {#4372 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
      +reports: Doctrine\ORM\PersistentCollection {#4382 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
      +violations: Doctrine\ORM\PersistentCollection {#4386 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
      +awards: Doctrine\ORM\PersistentCollection {#4390 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
      +categories: Doctrine\ORM\PersistentCollection {#4394 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4328
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4329
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sounds like a good time to me!! Hey and look at all that wasted space you found 😹"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1701131889 {#4325
      date: 2023-11-28 01:38:09.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4333 …}
    +votes: Doctrine\ORM\PersistentCollection {#4335 …}
    +reports: Doctrine\ORM\PersistentCollection {#4337 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4339 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4341 …}
    -id: 172098
    -bodyTs: "'found':17 'good':4 'hey':8 'like':2 'look':10 'sound':1 'space':15 'time':5 'wast':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5634494"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701131889 {#4326
      date: 2023-11-28 01:38:09.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#10448
  +subject: App\Entity\EntryComment {#4330
    +user: App\Entity\User {#4343
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4327
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
      +entries: Doctrine\ORM\PersistentCollection {#4350 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
      +posts: Doctrine\ORM\PersistentCollection {#4358 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
      +follows: Doctrine\ORM\PersistentCollection {#4370 …}
      +followers: Doctrine\ORM\PersistentCollection {#4372 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
      +reports: Doctrine\ORM\PersistentCollection {#4382 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
      +violations: Doctrine\ORM\PersistentCollection {#4386 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
      +awards: Doctrine\ORM\PersistentCollection {#4390 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
      +categories: Doctrine\ORM\PersistentCollection {#4394 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4328
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4329
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sounds like a good time to me!! Hey and look at all that wasted space you found 😹"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1701131889 {#4325
      date: 2023-11-28 01:38:09.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4333 …}
    +votes: Doctrine\ORM\PersistentCollection {#4335 …}
    +reports: Doctrine\ORM\PersistentCollection {#4337 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4339 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4341 …}
    -id: 172098
    -bodyTs: "'found':17 'good':4 'hey':8 'like':2 'look':10 'sound':1 'space':15 'time':5 'wast':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5634494"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701131889 {#4326
      date: 2023-11-28 01:38:09.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.90 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4330
    +user: App\Entity\User {#4343
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4327
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
      +entries: Doctrine\ORM\PersistentCollection {#4350 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
      +posts: Doctrine\ORM\PersistentCollection {#4358 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
      +follows: Doctrine\ORM\PersistentCollection {#4370 …}
      +followers: Doctrine\ORM\PersistentCollection {#4372 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
      +reports: Doctrine\ORM\PersistentCollection {#4382 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
      +violations: Doctrine\ORM\PersistentCollection {#4386 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
      +awards: Doctrine\ORM\PersistentCollection {#4390 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
      +categories: Doctrine\ORM\PersistentCollection {#4394 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4328
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4329
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sounds like a good time to me!! Hey and look at all that wasted space you found 😹"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1701131889 {#4325
      date: 2023-11-28 01:38:09.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4333 …}
    +votes: Doctrine\ORM\PersistentCollection {#4335 …}
    +reports: Doctrine\ORM\PersistentCollection {#4337 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4339 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4341 …}
    -id: 172098
    -bodyTs: "'found':17 'good':4 'hey':8 'like':2 'look':10 'sound':1 'space':15 'time':5 'wast':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5634494"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701131889 {#4326
      date: 2023-11-28 01:38:09.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#10505
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4330
    +user: App\Entity\User {#4343
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4327
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
      +entries: Doctrine\ORM\PersistentCollection {#4350 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
      +posts: Doctrine\ORM\PersistentCollection {#4358 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
      +follows: Doctrine\ORM\PersistentCollection {#4370 …}
      +followers: Doctrine\ORM\PersistentCollection {#4372 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
      +reports: Doctrine\ORM\PersistentCollection {#4382 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
      +violations: Doctrine\ORM\PersistentCollection {#4386 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
      +awards: Doctrine\ORM\PersistentCollection {#4390 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
      +categories: Doctrine\ORM\PersistentCollection {#4394 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4328
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4329
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sounds like a good time to me!! Hey and look at all that wasted space you found 😹"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1701131889 {#4325
      date: 2023-11-28 01:38:09.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4333 …}
    +votes: Doctrine\ORM\PersistentCollection {#4335 …}
    +reports: Doctrine\ORM\PersistentCollection {#4337 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4339 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4341 …}
    -id: 172098
    -bodyTs: "'found':17 'good':4 'hey':8 'like':2 'look':10 'sound':1 'space':15 'time':5 'wast':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5634494"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701131889 {#4326
      date: 2023-11-28 01:38:09.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 0.91 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4330
    +user: App\Entity\User {#4343
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4327
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
      +entries: Doctrine\ORM\PersistentCollection {#4350 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
      +posts: Doctrine\ORM\PersistentCollection {#4358 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
      +follows: Doctrine\ORM\PersistentCollection {#4370 …}
      +followers: Doctrine\ORM\PersistentCollection {#4372 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
      +reports: Doctrine\ORM\PersistentCollection {#4382 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
      +violations: Doctrine\ORM\PersistentCollection {#4386 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
      +awards: Doctrine\ORM\PersistentCollection {#4390 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
      +categories: Doctrine\ORM\PersistentCollection {#4394 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4328
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4329
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sounds like a good time to me!! Hey and look at all that wasted space you found 😹"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1701131889 {#4325
      date: 2023-11-28 01:38:09.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4333 …}
    +votes: Doctrine\ORM\PersistentCollection {#4335 …}
    +reports: Doctrine\ORM\PersistentCollection {#4337 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4339 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4341 …}
    -id: 172098
    -bodyTs: "'found':17 'good':4 'hey':8 'like':2 'look':10 'sound':1 'space':15 'time':5 'wast':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5634494"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701131889 {#4326
      date: 2023-11-28 01:38:09.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#10745
  +comment: App\Entity\EntryComment {#4330
    +user: App\Entity\User {#4343
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4327
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4344 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4346 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4348 …}
      +entries: Doctrine\ORM\PersistentCollection {#4350 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4352 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4354 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4356 …}
      +posts: Doctrine\ORM\PersistentCollection {#4358 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4360 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4362 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4364 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4366 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4368 …}
      +follows: Doctrine\ORM\PersistentCollection {#4370 …}
      +followers: Doctrine\ORM\PersistentCollection {#4372 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4374 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4376 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4378 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4380 …}
      +reports: Doctrine\ORM\PersistentCollection {#4382 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4384 …}
      +violations: Doctrine\ORM\PersistentCollection {#4386 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
      +awards: Doctrine\ORM\PersistentCollection {#4390 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4392 …}
      +categories: Doctrine\ORM\PersistentCollection {#4394 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4396 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4328
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4329
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "luthis@lemmy.nz"
        +username: "@luthis@lemmy.nz"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710243751 {#1536
          date: 2024-03-12 12:42:31.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 18947
        -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "luthis@lemmy.nz"
        +apProfileId: "https://lemmy.nz/u/luthis"
        +apPublicUrl: "https://lemmy.nz/u/luthis"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.nz/inbox"
        +apDomain: "lemmy.nz"
        +apPreferredUsername: "luthis"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728885031 {#1515
          date: 2024-10-14 07:50:31.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688528340 {#1516
          date: 2023-07-05 05:39:00.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sounds like a good time to me!! Hey and look at all that wasted space you found 😹"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1701131889 {#4325
      date: 2023-11-28 01:38:09.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4333 …}
    +votes: Doctrine\ORM\PersistentCollection {#4335 …}
    +reports: Doctrine\ORM\PersistentCollection {#4337 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4339 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4341 …}
    -id: 172098
    -bodyTs: "'found':17 'good':4 'hey':8 'like':2 'look':10 'sound':1 'space':15 'time':5 'wast':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5634494"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701131889 {#4326
      date: 2023-11-28 01:38:09.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 29.33 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4404
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Tried a different way:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"> filefrag -v testfile \n
      </span><span style="color:#323232;">Filesystem type is: ef53\n
      </span><span style="color:#323232;">File size of testfile is 6 (1 block of 4096 bytes)\n
      </span><span style="color:#323232;"> ext:     logical_offset:        physical_offset: length:   expected: flags:\n
      </span><span style="color:#323232;">   0:        0..       0:    4660742..   4660742:      1:             last,eof\n
      </span>\n
      ```\n
      \n
      Went to offset 4660742 in wxhexeditor, but still when I copy out the hex and convert to ascii, it’s nonsense
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701118421 {#4398
      date: 2023-11-27 21:53:41.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4405 …}
    +nested: Doctrine\ORM\PersistentCollection {#4407 …}
    +votes: Doctrine\ORM\PersistentCollection {#4409 …}
    +reports: Doctrine\ORM\PersistentCollection {#4411 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    -id: 171414
    -bodyTs: "'..':33,36 '0':31,32,34 '1':18,38 '4096':21 '4660742':35,37,44 '6':17 'ascii':58 'block':19 'byte':22 'convert':56 'copi':51 'differ':3 'ef53':11 'eof':40 'expect':29 'ext':23 'file':12 'filefrag':5 'filesystem':8 'flag':30 'hex':54 'last':39 'length':28 'logic':24 'nonsens':61 'offset':25,27,43 'physic':26 'size':13 'still':48 'testfil':7,15 'tri':1 'type':9 'v':6 'way':4 'went':41 'wxhexeditor':46"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4055140"
    +editedAt: DateTimeImmutable @1701853023 {#4399
      date: 2023-12-06 09:57:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701118421 {#4400
      date: 2023-11-27 21:53:41.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#10815
  +comment: App\Entity\EntryComment {#4404
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Tried a different way:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"> filefrag -v testfile \n
      </span><span style="color:#323232;">Filesystem type is: ef53\n
      </span><span style="color:#323232;">File size of testfile is 6 (1 block of 4096 bytes)\n
      </span><span style="color:#323232;"> ext:     logical_offset:        physical_offset: length:   expected: flags:\n
      </span><span style="color:#323232;">   0:        0..       0:    4660742..   4660742:      1:             last,eof\n
      </span>\n
      ```\n
      \n
      Went to offset 4660742 in wxhexeditor, but still when I copy out the hex and convert to ascii, it’s nonsense
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701118421 {#4398
      date: 2023-11-27 21:53:41.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4405 …}
    +nested: Doctrine\ORM\PersistentCollection {#4407 …}
    +votes: Doctrine\ORM\PersistentCollection {#4409 …}
    +reports: Doctrine\ORM\PersistentCollection {#4411 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    -id: 171414
    -bodyTs: "'..':33,36 '0':31,32,34 '1':18,38 '4096':21 '4660742':35,37,44 '6':17 'ascii':58 'block':19 'byte':22 'convert':56 'copi':51 'differ':3 'ef53':11 'eof':40 'expect':29 'ext':23 'file':12 'filefrag':5 'filesystem':8 'flag':30 'hex':54 'last':39 'length':28 'logic':24 'nonsens':61 'offset':25,27,43 'physic':26 'size':13 'still':48 'testfil':7,15 'tri':1 'type':9 'v':6 'way':4 'went':41 'wxhexeditor':46"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4055140"
    +editedAt: DateTimeImmutable @1701853023 {#4399
      date: 2023-12-06 09:57:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701118421 {#4400
      date: 2023-11-27 21:53:41.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.25 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#10860
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.23 ms
Input props
[
  "date" => DateTimeImmutable @1701118421 {#4400
    date: 2023-11-27 21:53:41.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10915
  +date: DateTimeImmutable @1701118421 {#4400
    date: 2023-11-27 21:53:41.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.23 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701118421 {#4400
    date: 2023-11-27 21:53:41.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1701853023 {#4399
    date: 2023-12-06 09:57:03.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#10969
  +createdAt: DateTimeImmutable @1701118421 {#4400
    date: 2023-11-27 21:53:41.0 +01:00
  }
  +editedAt: DateTimeImmutable @1701853023 {#4399
    date: 2023-12-06 09:57:03.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.14 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11023
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.38 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4404
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Tried a different way:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"> filefrag -v testfile \n
      </span><span style="color:#323232;">Filesystem type is: ef53\n
      </span><span style="color:#323232;">File size of testfile is 6 (1 block of 4096 bytes)\n
      </span><span style="color:#323232;"> ext:     logical_offset:        physical_offset: length:   expected: flags:\n
      </span><span style="color:#323232;">   0:        0..       0:    4660742..   4660742:      1:             last,eof\n
      </span>\n
      ```\n
      \n
      Went to offset 4660742 in wxhexeditor, but still when I copy out the hex and convert to ascii, it’s nonsense
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701118421 {#4398
      date: 2023-11-27 21:53:41.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4405 …}
    +nested: Doctrine\ORM\PersistentCollection {#4407 …}
    +votes: Doctrine\ORM\PersistentCollection {#4409 …}
    +reports: Doctrine\ORM\PersistentCollection {#4411 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    -id: 171414
    -bodyTs: "'..':33,36 '0':31,32,34 '1':18,38 '4096':21 '4660742':35,37,44 '6':17 'ascii':58 'block':19 'byte':22 'convert':56 'copi':51 'differ':3 'ef53':11 'eof':40 'expect':29 'ext':23 'file':12 'filefrag':5 'filesystem':8 'flag':30 'hex':54 'last':39 'length':28 'logic':24 'nonsens':61 'offset':25,27,43 'physic':26 'size':13 'still':48 'testfil':7,15 'tri':1 'type':9 'v':6 'way':4 'went':41 'wxhexeditor':46"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4055140"
    +editedAt: DateTimeImmutable @1701853023 {#4399
      date: 2023-12-06 09:57:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701118421 {#4400
      date: 2023-11-27 21:53:41.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#11098
  +subject: App\Entity\EntryComment {#4404
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Tried a different way:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"> filefrag -v testfile \n
      </span><span style="color:#323232;">Filesystem type is: ef53\n
      </span><span style="color:#323232;">File size of testfile is 6 (1 block of 4096 bytes)\n
      </span><span style="color:#323232;"> ext:     logical_offset:        physical_offset: length:   expected: flags:\n
      </span><span style="color:#323232;">   0:        0..       0:    4660742..   4660742:      1:             last,eof\n
      </span>\n
      ```\n
      \n
      Went to offset 4660742 in wxhexeditor, but still when I copy out the hex and convert to ascii, it’s nonsense
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701118421 {#4398
      date: 2023-11-27 21:53:41.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4405 …}
    +nested: Doctrine\ORM\PersistentCollection {#4407 …}
    +votes: Doctrine\ORM\PersistentCollection {#4409 …}
    +reports: Doctrine\ORM\PersistentCollection {#4411 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    -id: 171414
    -bodyTs: "'..':33,36 '0':31,32,34 '1':18,38 '4096':21 '4660742':35,37,44 '6':17 'ascii':58 'block':19 'byte':22 'convert':56 'copi':51 'differ':3 'ef53':11 'eof':40 'expect':29 'ext':23 'file':12 'filefrag':5 'filesystem':8 'flag':30 'hex':54 'last':39 'length':28 'logic':24 'nonsens':61 'offset':25,27,43 'physic':26 'size':13 'still':48 'testfil':7,15 'tri':1 'type':9 'v':6 'way':4 'went':41 'wxhexeditor':46"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4055140"
    +editedAt: DateTimeImmutable @1701853023 {#4399
      date: 2023-12-06 09:57:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701118421 {#4400
      date: 2023-11-27 21:53:41.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.90 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4404
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Tried a different way:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"> filefrag -v testfile \n
      </span><span style="color:#323232;">Filesystem type is: ef53\n
      </span><span style="color:#323232;">File size of testfile is 6 (1 block of 4096 bytes)\n
      </span><span style="color:#323232;"> ext:     logical_offset:        physical_offset: length:   expected: flags:\n
      </span><span style="color:#323232;">   0:        0..       0:    4660742..   4660742:      1:             last,eof\n
      </span>\n
      ```\n
      \n
      Went to offset 4660742 in wxhexeditor, but still when I copy out the hex and convert to ascii, it’s nonsense
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701118421 {#4398
      date: 2023-11-27 21:53:41.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4405 …}
    +nested: Doctrine\ORM\PersistentCollection {#4407 …}
    +votes: Doctrine\ORM\PersistentCollection {#4409 …}
    +reports: Doctrine\ORM\PersistentCollection {#4411 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    -id: 171414
    -bodyTs: "'..':33,36 '0':31,32,34 '1':18,38 '4096':21 '4660742':35,37,44 '6':17 'ascii':58 'block':19 'byte':22 'convert':56 'copi':51 'differ':3 'ef53':11 'eof':40 'expect':29 'ext':23 'file':12 'filefrag':5 'filesystem':8 'flag':30 'hex':54 'last':39 'length':28 'logic':24 'nonsens':61 'offset':25,27,43 'physic':26 'size':13 'still':48 'testfil':7,15 'tri':1 'type':9 'v':6 'way':4 'went':41 'wxhexeditor':46"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4055140"
    +editedAt: DateTimeImmutable @1701853023 {#4399
      date: 2023-12-06 09:57:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701118421 {#4400
      date: 2023-11-27 21:53:41.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#11155
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4404
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Tried a different way:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"> filefrag -v testfile \n
      </span><span style="color:#323232;">Filesystem type is: ef53\n
      </span><span style="color:#323232;">File size of testfile is 6 (1 block of 4096 bytes)\n
      </span><span style="color:#323232;"> ext:     logical_offset:        physical_offset: length:   expected: flags:\n
      </span><span style="color:#323232;">   0:        0..       0:    4660742..   4660742:      1:             last,eof\n
      </span>\n
      ```\n
      \n
      Went to offset 4660742 in wxhexeditor, but still when I copy out the hex and convert to ascii, it’s nonsense
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701118421 {#4398
      date: 2023-11-27 21:53:41.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4405 …}
    +nested: Doctrine\ORM\PersistentCollection {#4407 …}
    +votes: Doctrine\ORM\PersistentCollection {#4409 …}
    +reports: Doctrine\ORM\PersistentCollection {#4411 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    -id: 171414
    -bodyTs: "'..':33,36 '0':31,32,34 '1':18,38 '4096':21 '4660742':35,37,44 '6':17 'ascii':58 'block':19 'byte':22 'convert':56 'copi':51 'differ':3 'ef53':11 'eof':40 'expect':29 'ext':23 'file':12 'filefrag':5 'filesystem':8 'flag':30 'hex':54 'last':39 'length':28 'logic':24 'nonsens':61 'offset':25,27,43 'physic':26 'size':13 'still':48 'testfil':7,15 'tri':1 'type':9 'v':6 'way':4 'went':41 'wxhexeditor':46"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4055140"
    +editedAt: DateTimeImmutable @1701853023 {#4399
      date: 2023-12-06 09:57:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701118421 {#4400
      date: 2023-11-27 21:53:41.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 0.74 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4404
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Tried a different way:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"> filefrag -v testfile \n
      </span><span style="color:#323232;">Filesystem type is: ef53\n
      </span><span style="color:#323232;">File size of testfile is 6 (1 block of 4096 bytes)\n
      </span><span style="color:#323232;"> ext:     logical_offset:        physical_offset: length:   expected: flags:\n
      </span><span style="color:#323232;">   0:        0..       0:    4660742..   4660742:      1:             last,eof\n
      </span>\n
      ```\n
      \n
      Went to offset 4660742 in wxhexeditor, but still when I copy out the hex and convert to ascii, it’s nonsense
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701118421 {#4398
      date: 2023-11-27 21:53:41.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4405 …}
    +nested: Doctrine\ORM\PersistentCollection {#4407 …}
    +votes: Doctrine\ORM\PersistentCollection {#4409 …}
    +reports: Doctrine\ORM\PersistentCollection {#4411 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    -id: 171414
    -bodyTs: "'..':33,36 '0':31,32,34 '1':18,38 '4096':21 '4660742':35,37,44 '6':17 'ascii':58 'block':19 'byte':22 'convert':56 'copi':51 'differ':3 'ef53':11 'eof':40 'expect':29 'ext':23 'file':12 'filefrag':5 'filesystem':8 'flag':30 'hex':54 'last':39 'length':28 'logic':24 'nonsens':61 'offset':25,27,43 'physic':26 'size':13 'still':48 'testfil':7,15 'tri':1 'type':9 'v':6 'way':4 'went':41 'wxhexeditor':46"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4055140"
    +editedAt: DateTimeImmutable @1701853023 {#4399
      date: 2023-12-06 09:57:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701118421 {#4400
      date: 2023-11-27 21:53:41.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#11395
  +comment: App\Entity\EntryComment {#4404
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "luthis@lemmy.nz"
      +username: "@luthis@lemmy.nz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710243751 {#1536
        date: 2024-03-12 12:42:31.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 18947
      -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "luthis@lemmy.nz"
      +apProfileId: "https://lemmy.nz/u/luthis"
      +apPublicUrl: "https://lemmy.nz/u/luthis"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.nz/inbox"
      +apDomain: "lemmy.nz"
      +apPreferredUsername: "luthis"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728885031 {#1515
        date: 2024-10-14 07:50:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688528340 {#1516
        date: 2023-07-05 05:39:00.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "FOUND-file-in-device-by-hex-content-using-wxHexEditor"
      +title: "FOUND file in device by hex content using wxHexEditor"
      +url: null
      +body: """
        Just having a play around, this turned out to be not as clear cut as expected.\n
        \n
        so I created a file and entered some text, used xxd to get the hex values, and then opened the device /dev/sdb1 in wxhexeditor and tried to find my file, but it’s not finding it. Inode is 19, so it should be right at the start of the first block group, but after several minutes, no joy. (drive is ext4.)\n
        \n
        I thought this was going to be an easy task, just multiply the inode by the block size, open the device with wxhexeditor, and scroll to the line corresponding to the calculated byte, copy out the hex values and convert to ascii and voila, there’s the ‘hello world’… except no.\n
        \n
        What am I missing here? Drive isn’t encrypted, nothing silly like that.\n
        \n
        Ok, I managed to do it with dd:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">sudo dd if=/dev/sdb1 bs=8M skip=$((4660742*4096)) iflag=skip_bytes | head -c 4096\n
        </span><span style="color:#323232;">\n
        </span><span style="color:#323232;">hello\n
        </span>\n
        ```\n
        \n
        but why can I not find it using wxhexeditor??\n
        \n
        EDIT:\n
        \n
        Duh, I didn’t click that offset needed to be multiplied by the block size.\n
        \n
        If I go to offset 4660742*4096=19090399232 in wxhexeditor, indeed I see the file contents:\n
        \n
        ![](https://files.catbox.moe/6zvhx0.png)\n
        \n
        Final conclusion:\n
        \n
        After some more testing, I have concluded: you cannot easily calculate the offset using the inode. Finding files across the disk requires using the inode tables to get the offset and actual file location. So an inode does not correlate with a physical/logical sequential disk location.\n
        \n
        I created a new file, it received inode 21, but the offset was smaller than inode 19.\n
        \n
        Was that a good use of 3 hours of my life? Well… I still have no idea what’s up with the Kardashians, so… I guess?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 37
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701250420 {#2410
        date: 2023-11-29 10:33:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 17506
      -titleTs: "'content':7 'devic':4 'file':2 'found':1 'hex':6 'use':8 'wxhexeditor':9"
      -bodyTs: "'/6zvhx0.png)':209 '/dev/sdb1':38,153 '19':55,274 '19090399232':198 '21':266 '3':281 '4096':158,164,197 '4660742':157,196 '8m':155 'across':230 'actual':243 'around':5 'ascii':119 'block':67,94,189 'bs':154 'byte':110,161 'c':163 'calcul':109,222 'cannot':220 'clear':13 'click':180 'conclud':218 'conclus':211 'content':206 'convert':117 'copi':111 'correl':251 'correspond':106 'creat':19,259 'cut':14 'dd':149,151 'devic':37,98 'didn':178 'disk':232,256 'drive':75,134 'duh':176 'easi':86 'easili':221 'edit':175 'encrypt':137 'enter':23 'except':127 'expect':16 'ext4':77 'file':21,46,205,229,244,262 'files.catbox.moe':208 'files.catbox.moe/6zvhx0.png)':207 'final':210 'find':44,51,171,228 'first':66 'get':29,239 'go':82,193 'good':278 'group':68 'guess':300 'head':162 'hello':125,165 'hex':31,114 'hour':282 'idea':291 'iflag':159 'inde':201 'inod':53,91,227,236,248,265,273 'isn':135 'joy':74 'kardashian':297 'life':285 'like':140 'line':105 'locat':245,257 'manag':144 'minut':72 'miss':132 'multipli':89,186 'need':183 'new':261 'noth':138 'offset':182,195,224,241,269 'ok':142 'open':35,96 'physical/logical':254 'play':4 'receiv':264 'requir':233 'right':60 'scroll':102 'see':203 'sequenti':255 'sever':71 'silli':139 'size':95,190 'skip':156,160 'smaller':271 'start':63 'still':288 'sudo':150 'tabl':237 'task':87 'test':215 'text':25 'thought':79 'tri':42 'turn':7 'use':26,173,225,234,279 'valu':32,115 'voila':121 'well':286 'world':126 'wxhexeditor':40,100,174,200 'xxd':27"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701203579
      +visibility: "visible             "
      +apId: "https://lemmy.nz/post/3824501"
      +editedAt: DateTimeImmutable @1701860652 {#1850
        date: 2023-12-06 12:04:12.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701117179 {#2420
        date: 2023-11-27 21:32:59.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Tried a different way:\n
      \n
      ```\n
      \n
      <span style="color:#323232;"> filefrag -v testfile \n
      </span><span style="color:#323232;">Filesystem type is: ef53\n
      </span><span style="color:#323232;">File size of testfile is 6 (1 block of 4096 bytes)\n
      </span><span style="color:#323232;"> ext:     logical_offset:        physical_offset: length:   expected: flags:\n
      </span><span style="color:#323232;">   0:        0..       0:    4660742..   4660742:      1:             last,eof\n
      </span>\n
      ```\n
      \n
      Went to offset 4660742 in wxhexeditor, but still when I copy out the hex and convert to ascii, it’s nonsense
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701118421 {#4398
      date: 2023-11-27 21:53:41.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4405 …}
    +nested: Doctrine\ORM\PersistentCollection {#4407 …}
    +votes: Doctrine\ORM\PersistentCollection {#4409 …}
    +reports: Doctrine\ORM\PersistentCollection {#4411 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    -id: 171414
    -bodyTs: "'..':33,36 '0':31,32,34 '1':18,38 '4096':21 '4660742':35,37,44 '6':17 'ascii':58 'block':19 'byte':22 'convert':56 'copi':51 'differ':3 'ef53':11 'eof':40 'expect':29 'ext':23 'file':12 'filefrag':5 'filesystem':8 'flag':30 'hex':54 'last':39 'length':28 'logic':24 'nonsens':61 'offset':25,27,43 'physic':26 'size':13 'still':48 'testfil':7,15 'tri':1 'type':9 'v':6 'way':4 'went':41 'wxhexeditor':46"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4055140"
    +editedAt: DateTimeImmutable @1701853023 {#4399
      date: 2023-12-06 09:57:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701118421 {#4400
      date: 2023-11-27 21:53:41.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 14.0 MiB 0.34 ms
Input props
[
  "label" => "Sidebar position"
  "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION"
  "values" => [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  "defaultValue" => "RIGHT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#11520
  +label: "Sidebar position"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION"
  +values: [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  +defaultValue: "RIGHT"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.20 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11584
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.13 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11649
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.12 ms
Input props
[
  "label" => "Infinite scrolling"
  "help" => "Automatically load more content when you reach the bottom of the page."
  "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11705
  +label: "Infinite scrolling"
  +help: "Automatically load more content when you reach the bottom of the page."
  +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.12 ms
Input props
[
  "label" => "Sticky navbar"
  "help" => "The navbar will stick to the top of the page when you scroll down."
  "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11764
  +label: "Sticky navbar"
  +help: "The navbar will stick to the top of the page when you scroll down."
  +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.12 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11820
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.12 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11876
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 0.27 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#11934
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.13 ms
Input props
[
  "label" => "Show "Support Us" block"
  "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11997
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 0.15 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#12055
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 0.14 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#12111
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 0.14 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#12167
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.12 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12223
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.12 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12279
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.12 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12335
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.12 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12391
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.13 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12447
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.20 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12503
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_POSTS_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.11 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12559
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 14.0 MiB 0.15 ms
Input props
[
  "label" => "Comment reply position"
  "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION"
  "values" => [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  "defaultValue" => "TOP"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#12615
  +label: "Comment reply position"
  +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  +settingsKey: "KBIN_COMMENTS_REPLY_POSITION"
  +values: [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  +defaultValue: "TOP"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.16 ms
Input props
[
  "label" => "Show Comment Avatars"
  "help" => "Display/hide user avatars when viewing comments on a single thread or post."
  "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12673
  +label: "Show Comment Avatars"
  +help: "Display/hide user avatars when viewing comments on a single thread or post."
  +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR"
  +defaultValue: true
  +reloadRequired: true
}
user_actions App\Twig\Components\UserActionsComponent 14.0 MiB 0.41 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#12750
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "luthis@lemmy.nz"
    +username: "@luthis@lemmy.nz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710243751 {#1536
      date: 2024-03-12 12:42:31.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 18947
    -password: "$2y$13$ucpQZCT.IywGEaRXwqbNIutU7j6VTefJCTBb7NOBrDOrMBXs4fLRW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "luthis@lemmy.nz"
    +apProfileId: "https://lemmy.nz/u/luthis"
    +apPublicUrl: "https://lemmy.nz/u/luthis"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.nz/inbox"
    +apDomain: "lemmy.nz"
    +apPreferredUsername: "luthis"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728885031 {#1515
      date: 2024-10-14 07:50:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688528340 {#1516
      date: 2023-07-05 05:39:00.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
}
date App\Twig\Components\DateComponent 14.0 MiB 0.12 ms
Input props
[
  "date" => DateTimeImmutable @1701117179 {#2420
    date: 2023-11-27 21:32:59.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#12811
  +date: DateTimeImmutable @1701117179 {#2420
    date: 2023-11-27 21:32:59.0 +01:00
  }
}
magazine_box App\Twig\Components\MagazineBoxComponent 14.0 MiB 30.69 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  "showSectionTitle" => true
]
Attributes
[]
Component
App\Twig\Components\MagazineBoxComponent {#12867
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +showCover: true
  +showDescription: true
  +showRules: true
  +showSubscribeButton: true
  +showInfo: true
  +showMeta: true
  +showSectionTitle: true
  +stretchedLink: true
}
magazine_sub App\Twig\Components\MagazineSubComponent 14.0 MiB 24.75 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineSubComponent {#12925
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
}
date App\Twig\Components\DateComponent 14.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1698929468 {#272
    date: 2023-11-02 13:51:08.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#13099
  +date: DateTimeImmutable @1698929468 {#272
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.49 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#13158
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#13205
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13207 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13209 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13211 …}
    +entries: Doctrine\ORM\PersistentCollection {#13213 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13215 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13217 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13219 …}
    +posts: Doctrine\ORM\PersistentCollection {#13221 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13223 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13225 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13227 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13229 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13231 …}
    +follows: Doctrine\ORM\PersistentCollection {#13233 …}
    +followers: Doctrine\ORM\PersistentCollection {#13235 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13237 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13239 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13241 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13243 …}
    +reports: Doctrine\ORM\PersistentCollection {#13245 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13247 …}
    +violations: Doctrine\ORM\PersistentCollection {#13249 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13251 …}
    +awards: Doctrine\ORM\PersistentCollection {#13253 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13255 …}
    +categories: Doctrine\ORM\PersistentCollection {#13257 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13259 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#13206
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#13176
  +user: Proxies\__CG__\App\Entity\User {#13158
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#13205
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13207 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13209 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13211 …}
    +entries: Doctrine\ORM\PersistentCollection {#13213 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13215 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13217 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13219 …}
    +posts: Doctrine\ORM\PersistentCollection {#13221 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13223 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13225 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13227 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13229 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13231 …}
    +follows: Doctrine\ORM\PersistentCollection {#13233 …}
    +followers: Doctrine\ORM\PersistentCollection {#13235 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13237 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13239 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13241 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13243 …}
    +reports: Doctrine\ORM\PersistentCollection {#13245 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13247 …}
    +violations: Doctrine\ORM\PersistentCollection {#13249 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13251 …}
    +awards: Doctrine\ORM\PersistentCollection {#13253 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13255 …}
    +categories: Doctrine\ORM\PersistentCollection {#13257 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13259 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#13206
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: true
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 14.0 MiB 7.82 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#13367
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +title: "related_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#334 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
active_users App\Twig\Components\ActiveUsersComponent 14.0 MiB 292.23 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#13493
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  -userRepository: App\Repository\UserRepository {#603 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.59 ms
Input props
[
  "user" => App\Entity\User {#13032
    +avatar: Proxies\__CG__\App\Entity\Image {#13033 …}
    +cover: null
    +email: "Atemu@lemmy.ml"
    +username: "@Atemu@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Interested in Linux, FOSS, data storage systems, unfucking our society and a bit of gaming.\n
      \n
      I help maintain Nixpkgs.\n
      \n
      [github.com/Atemu](https://github.com/Atemu)  \n
      [reddit.com/u/Atemu12](https://reddit.com/u/Atemu12) (Probably won’t be active much anymore.)
      """
    +lastActive: DateTime @1729396942 {#13036
      date: 2024-10-20 06:02:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13021 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13022 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13029 …}
    +entries: Doctrine\ORM\PersistentCollection {#13028 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13026 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13031 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13052 …}
    +posts: Doctrine\ORM\PersistentCollection {#13002 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13015 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13005 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13008 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13010 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13013 …}
    +follows: Doctrine\ORM\PersistentCollection {#13012 …}
    +followers: Doctrine\ORM\PersistentCollection {#13004 …}
    +blocks: Doctrine\ORM\PersistentCollection {#3117 …}
    +blockers: Doctrine\ORM\PersistentCollection {#3112 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#6093 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7674 …}
    +reports: Doctrine\ORM\PersistentCollection {#7858 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7865 …}
    +violations: Doctrine\ORM\PersistentCollection {#7906 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7917 …}
    +awards: Doctrine\ORM\PersistentCollection {#8023 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#8025 …}
    +categories: Doctrine\ORM\PersistentCollection {#8471 …}
    -id: 5938
    -password: "$2y$13$JxSh1RDq/Oh88oiVcyCayeV7PKcm4JNuxZLdWnJzE./BPtMEyMCiS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#8498 …}
    +apId: "Atemu@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/Atemu"
    +apPublicUrl: "https://lemmy.ml/u/Atemu"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "Atemu"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729164511 {#13037
      date: 2024-10-17 13:28:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687268817 {#13035
      date: 2023-06-20 15:46:57.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13549
  +width: 65
  +height: 65
  +user: App\Entity\User {#13032
    +avatar: Proxies\__CG__\App\Entity\Image {#13033 …}
    +cover: null
    +email: "Atemu@lemmy.ml"
    +username: "@Atemu@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Interested in Linux, FOSS, data storage systems, unfucking our society and a bit of gaming.\n
      \n
      I help maintain Nixpkgs.\n
      \n
      [github.com/Atemu](https://github.com/Atemu)  \n
      [reddit.com/u/Atemu12](https://reddit.com/u/Atemu12) (Probably won’t be active much anymore.)
      """
    +lastActive: DateTime @1729396942 {#13036
      date: 2024-10-20 06:02:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13021 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13022 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13029 …}
    +entries: Doctrine\ORM\PersistentCollection {#13028 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13026 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13031 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13052 …}
    +posts: Doctrine\ORM\PersistentCollection {#13002 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13015 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13005 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13008 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13010 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13013 …}
    +follows: Doctrine\ORM\PersistentCollection {#13012 …}
    +followers: Doctrine\ORM\PersistentCollection {#13004 …}
    +blocks: Doctrine\ORM\PersistentCollection {#3117 …}
    +blockers: Doctrine\ORM\PersistentCollection {#3112 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#6093 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7674 …}
    +reports: Doctrine\ORM\PersistentCollection {#7858 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7865 …}
    +violations: Doctrine\ORM\PersistentCollection {#7906 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7917 …}
    +awards: Doctrine\ORM\PersistentCollection {#8023 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#8025 …}
    +categories: Doctrine\ORM\PersistentCollection {#8471 …}
    -id: 5938
    -password: "$2y$13$JxSh1RDq/Oh88oiVcyCayeV7PKcm4JNuxZLdWnJzE./BPtMEyMCiS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#8498 …}
    +apId: "Atemu@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/Atemu"
    +apPublicUrl: "https://lemmy.ml/u/Atemu"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "Atemu"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729164511 {#13037
      date: 2024-10-17 13:28:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687268817 {#13035
      date: 2023-06-20 15:46:57.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.33 ms
Input props
[
  "user" => App\Entity\User {#15137
    +avatar: Proxies\__CG__\App\Entity\Image {#15138 …}
    +cover: null
    +email: "leo@lemmy.linuxuserspace.show"
    +username: "@leo@lemmy.linuxuserspace.show"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "One half of the dudes that do the [**Linux User Space**](https://linuxuserspace.show) audio/video podcast."
    +lastActive: DateTime @1726917179 {#15134
      date: 2024-09-21 13:12:59.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#15139 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#15141 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#15143 …}
    +entries: Doctrine\ORM\PersistentCollection {#15145 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#15147 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#15149 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#15151 …}
    +posts: Doctrine\ORM\PersistentCollection {#15153 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#15155 …}
    +postComments: Doctrine\ORM\PersistentCollection {#15157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#15159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#15161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#15163 …}
    +follows: Doctrine\ORM\PersistentCollection {#15165 …}
    +followers: Doctrine\ORM\PersistentCollection {#15167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#15169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#15171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#15173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#15175 …}
    +reports: Doctrine\ORM\PersistentCollection {#15177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#15179 …}
    +violations: Doctrine\ORM\PersistentCollection {#15181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#15183 …}
    +awards: Doctrine\ORM\PersistentCollection {#15185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#15187 …}
    +categories: Doctrine\ORM\PersistentCollection {#15189 …}
    -id: 72648
    -password: "$2y$13$W8YhyvvVNVHZSh6lOqmhieygIfQY8gVPc2loboqaiA49bZDhTgM0e"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#15191 …}
    +apId: "leo@lemmy.linuxuserspace.show"
    +apProfileId: "https://lemmy.linuxuserspace.show/u/leo"
    +apPublicUrl: "https://lemmy.linuxuserspace.show/u/leo"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.linuxuserspace.show/inbox"
    +apDomain: "lemmy.linuxuserspace.show"
    +apPreferredUsername: "leo"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728021691 {#15135
      date: 2024-10-04 08:01:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699347479 {#15136
      date: 2023-11-07 09:57:59.0 +01:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15305
  +width: 65
  +height: 65
  +user: App\Entity\User {#15137
    +avatar: Proxies\__CG__\App\Entity\Image {#15138 …}
    +cover: null
    +email: "leo@lemmy.linuxuserspace.show"
    +username: "@leo@lemmy.linuxuserspace.show"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "One half of the dudes that do the [**Linux User Space**](https://linuxuserspace.show) audio/video podcast."
    +lastActive: DateTime @1726917179 {#15134
      date: 2024-09-21 13:12:59.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#15139 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#15141 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#15143 …}
    +entries: Doctrine\ORM\PersistentCollection {#15145 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#15147 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#15149 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#15151 …}
    +posts: Doctrine\ORM\PersistentCollection {#15153 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#15155 …}
    +postComments: Doctrine\ORM\PersistentCollection {#15157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#15159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#15161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#15163 …}
    +follows: Doctrine\ORM\PersistentCollection {#15165 …}
    +followers: Doctrine\ORM\PersistentCollection {#15167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#15169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#15171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#15173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#15175 …}
    +reports: Doctrine\ORM\PersistentCollection {#15177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#15179 …}
    +violations: Doctrine\ORM\PersistentCollection {#15181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#15183 …}
    +awards: Doctrine\ORM\PersistentCollection {#15185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#15187 …}
    +categories: Doctrine\ORM\PersistentCollection {#15189 …}
    -id: 72648
    -password: "$2y$13$W8YhyvvVNVHZSh6lOqmhieygIfQY8gVPc2loboqaiA49bZDhTgM0e"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#15191 …}
    +apId: "leo@lemmy.linuxuserspace.show"
    +apProfileId: "https://lemmy.linuxuserspace.show/u/leo"
    +apPublicUrl: "https://lemmy.linuxuserspace.show/u/leo"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.linuxuserspace.show/inbox"
    +apDomain: "lemmy.linuxuserspace.show"
    +apPreferredUsername: "leo"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728021691 {#15135
      date: 2024-10-04 08:01:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699347479 {#15136
      date: 2023-11-07 09:57:59.0 +01:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.29 ms
Input props
[
  "user" => App\Entity\User {#13714
    +avatar: Proxies\__CG__\App\Entity\Image {#13713 …}
    +cover: null
    +email: "tsonfeir@lemm.ee"
    +username: "@tsonfeir@lemm.ee"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I woke up in the morning at 11:47, and I can’t believe I have to face the horror of another fucking day."
    +lastActive: DateTime @1712696669 {#13717
      date: 2024-04-09 23:04:29.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13712 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13710 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13708 …}
    +entries: Doctrine\ORM\PersistentCollection {#13706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13702 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13700 …}
    +posts: Doctrine\ORM\PersistentCollection {#13698 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13696 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13694 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13692 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13690 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13688 …}
    +follows: Doctrine\ORM\PersistentCollection {#13686 …}
    +followers: Doctrine\ORM\PersistentCollection {#13684 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13682 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13680 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13678 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13676 …}
    +reports: Doctrine\ORM\PersistentCollection {#13674 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13672 …}
    +violations: Doctrine\ORM\PersistentCollection {#13670 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13668 …}
    +awards: Doctrine\ORM\PersistentCollection {#13666 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13664 …}
    +categories: Doctrine\ORM\PersistentCollection {#13662 …}
    -id: 28864
    -password: "$2y$13$17oScd/vU6XtPBQW4IhhSuhvmW5nqvCcVmroa2TDrml94enazXM6e"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13660 …}
    +apId: "tsonfeir@lemm.ee"
    +apProfileId: "https://lemm.ee/u/tsonfeir"
    +apPublicUrl: "https://lemm.ee/u/tsonfeir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemm.ee/inbox"
    +apDomain: "lemm.ee"
    +apPreferredUsername: "tsonfeir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709487684 {#13716
      date: 2024-03-03 18:41:24.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689443284 {#13715
      date: 2023-07-15 19:48:04.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15362
  +width: 65
  +height: 65
  +user: App\Entity\User {#13714
    +avatar: Proxies\__CG__\App\Entity\Image {#13713 …}
    +cover: null
    +email: "tsonfeir@lemm.ee"
    +username: "@tsonfeir@lemm.ee"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I woke up in the morning at 11:47, and I can’t believe I have to face the horror of another fucking day."
    +lastActive: DateTime @1712696669 {#13717
      date: 2024-04-09 23:04:29.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13712 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13710 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13708 …}
    +entries: Doctrine\ORM\PersistentCollection {#13706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13702 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13700 …}
    +posts: Doctrine\ORM\PersistentCollection {#13698 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13696 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13694 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13692 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13690 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13688 …}
    +follows: Doctrine\ORM\PersistentCollection {#13686 …}
    +followers: Doctrine\ORM\PersistentCollection {#13684 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13682 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13680 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13678 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13676 …}
    +reports: Doctrine\ORM\PersistentCollection {#13674 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13672 …}
    +violations: Doctrine\ORM\PersistentCollection {#13670 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13668 …}
    +awards: Doctrine\ORM\PersistentCollection {#13666 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13664 …}
    +categories: Doctrine\ORM\PersistentCollection {#13662 …}
    -id: 28864
    -password: "$2y$13$17oScd/vU6XtPBQW4IhhSuhvmW5nqvCcVmroa2TDrml94enazXM6e"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13660 …}
    +apId: "tsonfeir@lemm.ee"
    +apProfileId: "https://lemm.ee/u/tsonfeir"
    +apPublicUrl: "https://lemm.ee/u/tsonfeir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemm.ee/inbox"
    +apDomain: "lemm.ee"
    +apPreferredUsername: "tsonfeir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709487684 {#13716
      date: 2024-03-03 18:41:24.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689443284 {#13715
      date: 2023-07-15 19:48:04.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.35 ms
Input props
[
  "user" => App\Entity\User {#14029
    +avatar: Proxies\__CG__\App\Entity\Image {#14030 …}
    +cover: Proxies\__CG__\App\Entity\Image {#14027 …}
    +email: "Sven_Ademi@mastodon.social"
    +username: "@Sven_Ademi@mastodon.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1700505262 {#14034
      date: 2023-11-20 19:34:22.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14028 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14026 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14024 …}
    +entries: Doctrine\ORM\PersistentCollection {#14022 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14020 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14018 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14016 …}
    +posts: Doctrine\ORM\PersistentCollection {#14014 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14012 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14010 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14008 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14006 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14004 …}
    +follows: Doctrine\ORM\PersistentCollection {#14002 …}
    +followers: Doctrine\ORM\PersistentCollection {#14000 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13998 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13996 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13994 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13992 …}
    +reports: Doctrine\ORM\PersistentCollection {#13990 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13988 …}
    +violations: Doctrine\ORM\PersistentCollection {#13986 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13984 …}
    +awards: Doctrine\ORM\PersistentCollection {#13982 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13980 …}
    +categories: Doctrine\ORM\PersistentCollection {#13978 …}
    -id: 77345
    -password: "$2y$13$oW32Mk05Nmbk/oGeEtBsn.6EqG3SUbpgB.iV5uMKCy3wARCepczwK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13976 …}
    +apId: "Sven_Ademi@mastodon.social"
    +apProfileId: "https://mastodon.social/users/Sven_Ademi"
    +apPublicUrl: "https://mastodon.social/@Sven_Ademi"
    +apFollowersUrl: "https://mastodon.social/users/Sven_Ademi/followers"
    +apInboxUrl: "https://mastodon.social/inbox"
    +apDomain: "mastodon.social"
    +apPreferredUsername: "Sven_Ademi"
    +apDiscoverable: false
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700505260 {#14031
      date: 2023-11-20 19:34:20.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700505259 {#14032
      date: 2023-11-20 19:34:19.0 +01:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15419
  +width: 65
  +height: 65
  +user: App\Entity\User {#14029
    +avatar: Proxies\__CG__\App\Entity\Image {#14030 …}
    +cover: Proxies\__CG__\App\Entity\Image {#14027 …}
    +email: "Sven_Ademi@mastodon.social"
    +username: "@Sven_Ademi@mastodon.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1700505262 {#14034
      date: 2023-11-20 19:34:22.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14028 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14026 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14024 …}
    +entries: Doctrine\ORM\PersistentCollection {#14022 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14020 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14018 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14016 …}
    +posts: Doctrine\ORM\PersistentCollection {#14014 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14012 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14010 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14008 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14006 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14004 …}
    +follows: Doctrine\ORM\PersistentCollection {#14002 …}
    +followers: Doctrine\ORM\PersistentCollection {#14000 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13998 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13996 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13994 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13992 …}
    +reports: Doctrine\ORM\PersistentCollection {#13990 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13988 …}
    +violations: Doctrine\ORM\PersistentCollection {#13986 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13984 …}
    +awards: Doctrine\ORM\PersistentCollection {#13982 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13980 …}
    +categories: Doctrine\ORM\PersistentCollection {#13978 …}
    -id: 77345
    -password: "$2y$13$oW32Mk05Nmbk/oGeEtBsn.6EqG3SUbpgB.iV5uMKCy3wARCepczwK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13976 …}
    +apId: "Sven_Ademi@mastodon.social"
    +apProfileId: "https://mastodon.social/users/Sven_Ademi"
    +apPublicUrl: "https://mastodon.social/@Sven_Ademi"
    +apFollowersUrl: "https://mastodon.social/users/Sven_Ademi/followers"
    +apInboxUrl: "https://mastodon.social/inbox"
    +apDomain: "mastodon.social"
    +apPreferredUsername: "Sven_Ademi"
    +apDiscoverable: false
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700505260 {#14031
      date: 2023-11-20 19:34:20.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700505259 {#14032
      date: 2023-11-20 19:34:19.0 +01:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.28 ms
Input props
[
  "user" => App\Entity\User {#15077
    +avatar: Proxies\__CG__\App\Entity\Image {#15078 …}
    +cover: Proxies\__CG__\App\Entity\Image {#15079 …}
    +email: "s38b35M5@lemmy.world"
    +username: "@s38b35M5@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Musician, mechanic, writer, dreamer, techy, green thumb, emigrant, BP2, ADHD, Father, weirdo\n
      \n
      [www.battleforlibraries.com](https://www.battleforlibraries.com/)\n
      \n
      #DigitalRightsForLibraries
      """
    +lastActive: DateTime @1728802643 {#15074
      date: 2024-10-13 08:57:23.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#15080 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#15082 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#15084 …}
    +entries: Doctrine\ORM\PersistentCollection {#15086 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#15088 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#15090 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#15092 …}
    +posts: Doctrine\ORM\PersistentCollection {#15094 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#15096 …}
    +postComments: Doctrine\ORM\PersistentCollection {#15098 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#15100 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#15102 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#15104 …}
    +follows: Doctrine\ORM\PersistentCollection {#15106 …}
    +followers: Doctrine\ORM\PersistentCollection {#15108 …}
    +blocks: Doctrine\ORM\PersistentCollection {#15110 …}
    +blockers: Doctrine\ORM\PersistentCollection {#15112 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#15114 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#15116 …}
    +reports: Doctrine\ORM\PersistentCollection {#15118 …}
    +favourites: Doctrine\ORM\PersistentCollection {#15120 …}
    +violations: Doctrine\ORM\PersistentCollection {#15122 …}
    +notifications: Doctrine\ORM\PersistentCollection {#15124 …}
    +awards: Doctrine\ORM\PersistentCollection {#15126 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#15128 …}
    +categories: Doctrine\ORM\PersistentCollection {#15130 …}
    -id: 57749
    -password: "$2y$13$oDWs7zAIdiYjtAnG9AcoOuBrGcHze868xVmVqk0kQi/IrzSqzZ0Oi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#15132 …}
    +apId: "s38b35M5@lemmy.world"
    +apProfileId: "https://lemmy.world/u/s38b35M5"
    +apPublicUrl: "https://lemmy.world/u/s38b35M5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "s38b35M5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729550618 {#15075
      date: 2024-10-22 00:43:38.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697205459 {#15076
      date: 2023-10-13 15:57:39.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15476
  +width: 65
  +height: 65
  +user: App\Entity\User {#15077
    +avatar: Proxies\__CG__\App\Entity\Image {#15078 …}
    +cover: Proxies\__CG__\App\Entity\Image {#15079 …}
    +email: "s38b35M5@lemmy.world"
    +username: "@s38b35M5@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Musician, mechanic, writer, dreamer, techy, green thumb, emigrant, BP2, ADHD, Father, weirdo\n
      \n
      [www.battleforlibraries.com](https://www.battleforlibraries.com/)\n
      \n
      #DigitalRightsForLibraries
      """
    +lastActive: DateTime @1728802643 {#15074
      date: 2024-10-13 08:57:23.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#15080 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#15082 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#15084 …}
    +entries: Doctrine\ORM\PersistentCollection {#15086 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#15088 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#15090 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#15092 …}
    +posts: Doctrine\ORM\PersistentCollection {#15094 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#15096 …}
    +postComments: Doctrine\ORM\PersistentCollection {#15098 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#15100 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#15102 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#15104 …}
    +follows: Doctrine\ORM\PersistentCollection {#15106 …}
    +followers: Doctrine\ORM\PersistentCollection {#15108 …}
    +blocks: Doctrine\ORM\PersistentCollection {#15110 …}
    +blockers: Doctrine\ORM\PersistentCollection {#15112 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#15114 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#15116 …}
    +reports: Doctrine\ORM\PersistentCollection {#15118 …}
    +favourites: Doctrine\ORM\PersistentCollection {#15120 …}
    +violations: Doctrine\ORM\PersistentCollection {#15122 …}
    +notifications: Doctrine\ORM\PersistentCollection {#15124 …}
    +awards: Doctrine\ORM\PersistentCollection {#15126 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#15128 …}
    +categories: Doctrine\ORM\PersistentCollection {#15130 …}
    -id: 57749
    -password: "$2y$13$oDWs7zAIdiYjtAnG9AcoOuBrGcHze868xVmVqk0kQi/IrzSqzZ0Oi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#15132 …}
    +apId: "s38b35M5@lemmy.world"
    +apProfileId: "https://lemmy.world/u/s38b35M5"
    +apPublicUrl: "https://lemmy.world/u/s38b35M5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "s38b35M5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729550618 {#15075
      date: 2024-10-22 00:43:38.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697205459 {#15076
      date: 2023-10-13 15:57:39.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.28 ms
Input props
[
  "user" => App\Entity\User {#14182
    +avatar: Proxies\__CG__\App\Entity\Image {#14183 …}
    +cover: Proxies\__CG__\App\Entity\Image {#14184 …}
    +email: "Rustmilian@lemmy.world"
    +username: "@Rustmilian@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Dyslexic [Privacy](/c/privacy@lemmy.ml) &amp; [Foss](/c/foss@lemmy.world) advocate, and [Linux](/c/Linux@lemmy.ml) user.   \n
      ![](https://i.postimg.cc/BbbYLqbm/b7f.jpg)   \n
      Ace 🖤🩶🤍💜\n
      \n
      [~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en)
      """
    +lastActive: DateTime @1729266600 {#14179
      date: 2024-10-18 17:50:00.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14185 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14187 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14189 …}
    +entries: Doctrine\ORM\PersistentCollection {#14191 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14193 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14195 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14197 …}
    +posts: Doctrine\ORM\PersistentCollection {#14199 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14201 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14203 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14205 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14207 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14209 …}
    +follows: Doctrine\ORM\PersistentCollection {#14211 …}
    +followers: Doctrine\ORM\PersistentCollection {#14213 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14215 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14217 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14219 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14221 …}
    +reports: Doctrine\ORM\PersistentCollection {#14223 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14225 …}
    +violations: Doctrine\ORM\PersistentCollection {#14227 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14229 …}
    +awards: Doctrine\ORM\PersistentCollection {#14231 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14233 …}
    +categories: Doctrine\ORM\PersistentCollection {#14235 …}
    -id: 49449
    -password: "$2y$13$4Jzy1Ci4G3kZwOVlOI2yNe0zT/RQdD2nPaBErp9ymyRaMLSjJEI8."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14237 …}
    +apId: "Rustmilian@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Rustmilian"
    +apPublicUrl: "https://lemmy.world/u/Rustmilian"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Rustmilian"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729552448 {#14180
      date: 2024-10-22 01:14:08.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696458048 {#14181
      date: 2023-10-05 00:20:48.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15533
  +width: 65
  +height: 65
  +user: App\Entity\User {#14182
    +avatar: Proxies\__CG__\App\Entity\Image {#14183 …}
    +cover: Proxies\__CG__\App\Entity\Image {#14184 …}
    +email: "Rustmilian@lemmy.world"
    +username: "@Rustmilian@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Dyslexic [Privacy](/c/privacy@lemmy.ml) &amp; [Foss](/c/foss@lemmy.world) advocate, and [Linux](/c/Linux@lemmy.ml) user.   \n
      ![](https://i.postimg.cc/BbbYLqbm/b7f.jpg)   \n
      Ace 🖤🩶🤍💜\n
      \n
      [~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en)
      """
    +lastActive: DateTime @1729266600 {#14179
      date: 2024-10-18 17:50:00.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14185 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14187 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14189 …}
    +entries: Doctrine\ORM\PersistentCollection {#14191 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14193 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14195 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14197 …}
    +posts: Doctrine\ORM\PersistentCollection {#14199 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14201 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14203 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14205 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14207 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14209 …}
    +follows: Doctrine\ORM\PersistentCollection {#14211 …}
    +followers: Doctrine\ORM\PersistentCollection {#14213 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14215 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14217 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14219 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14221 …}
    +reports: Doctrine\ORM\PersistentCollection {#14223 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14225 …}
    +violations: Doctrine\ORM\PersistentCollection {#14227 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14229 …}
    +awards: Doctrine\ORM\PersistentCollection {#14231 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14233 …}
    +categories: Doctrine\ORM\PersistentCollection {#14235 …}
    -id: 49449
    -password: "$2y$13$4Jzy1Ci4G3kZwOVlOI2yNe0zT/RQdD2nPaBErp9ymyRaMLSjJEI8."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14237 …}
    +apId: "Rustmilian@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Rustmilian"
    +apPublicUrl: "https://lemmy.world/u/Rustmilian"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Rustmilian"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729552448 {#14180
      date: 2024-10-22 01:14:08.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696458048 {#14181
      date: 2023-10-05 00:20:48.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.29 ms
Input props
[
  "user" => App\Entity\User {#14302
    +avatar: Proxies\__CG__\App\Entity\Image {#14303 …}
    +cover: null
    +email: "blakeus12@hexbear.net"
    +username: "@blakeus12@hexbear.net"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Marxist-Leninist trapped in the U.S. Empire. From the river to the sea!\n
      \n
      Mastodon: blakeus12@toots.matapacos.dog
      """
    +lastActive: DateTime @1728021211 {#14299
      date: 2024-10-04 07:53:31.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14304 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14306 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14308 …}
    +entries: Doctrine\ORM\PersistentCollection {#14310 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14312 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14314 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14316 …}
    +posts: Doctrine\ORM\PersistentCollection {#14318 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14320 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14322 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14324 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14326 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14328 …}
    +follows: Doctrine\ORM\PersistentCollection {#14330 …}
    +followers: Doctrine\ORM\PersistentCollection {#14332 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14334 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14336 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14338 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14340 …}
    +reports: Doctrine\ORM\PersistentCollection {#14342 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14344 …}
    +violations: Doctrine\ORM\PersistentCollection {#14346 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14348 …}
    +awards: Doctrine\ORM\PersistentCollection {#14350 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14352 …}
    +categories: Doctrine\ORM\PersistentCollection {#14354 …}
    -id: 64911
    -password: "$2y$13$QdCbTCGXsFLPo35xoqNxXON2GHe00Nuo7BpVlPG6HMLbqE20swWvi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14356 …}
    +apId: "blakeus12@hexbear.net"
    +apProfileId: "https://hexbear.net/u/blakeus12"
    +apPublicUrl: "https://hexbear.net/u/blakeus12"
    +apFollowersUrl: null
    +apInboxUrl: "https://hexbear.net/inbox"
    +apDomain: "hexbear.net"
    +apPreferredUsername: "blakeus12"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1720047044 {#14300
      date: 2024-07-04 00:50:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698010857 {#14301
      date: 2023-10-22 23:40:57.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15590
  +width: 65
  +height: 65
  +user: App\Entity\User {#14302
    +avatar: Proxies\__CG__\App\Entity\Image {#14303 …}
    +cover: null
    +email: "blakeus12@hexbear.net"
    +username: "@blakeus12@hexbear.net"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Marxist-Leninist trapped in the U.S. Empire. From the river to the sea!\n
      \n
      Mastodon: blakeus12@toots.matapacos.dog
      """
    +lastActive: DateTime @1728021211 {#14299
      date: 2024-10-04 07:53:31.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14304 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14306 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14308 …}
    +entries: Doctrine\ORM\PersistentCollection {#14310 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14312 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14314 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14316 …}
    +posts: Doctrine\ORM\PersistentCollection {#14318 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14320 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14322 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14324 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14326 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14328 …}
    +follows: Doctrine\ORM\PersistentCollection {#14330 …}
    +followers: Doctrine\ORM\PersistentCollection {#14332 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14334 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14336 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14338 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14340 …}
    +reports: Doctrine\ORM\PersistentCollection {#14342 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14344 …}
    +violations: Doctrine\ORM\PersistentCollection {#14346 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14348 …}
    +awards: Doctrine\ORM\PersistentCollection {#14350 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14352 …}
    +categories: Doctrine\ORM\PersistentCollection {#14354 …}
    -id: 64911
    -password: "$2y$13$QdCbTCGXsFLPo35xoqNxXON2GHe00Nuo7BpVlPG6HMLbqE20swWvi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14356 …}
    +apId: "blakeus12@hexbear.net"
    +apProfileId: "https://hexbear.net/u/blakeus12"
    +apPublicUrl: "https://hexbear.net/u/blakeus12"
    +apFollowersUrl: null
    +apInboxUrl: "https://hexbear.net/inbox"
    +apDomain: "hexbear.net"
    +apPreferredUsername: "blakeus12"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1720047044 {#14300
      date: 2024-07-04 00:50:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698010857 {#14301
      date: 2023-10-22 23:40:57.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.31 ms
Input props
[
  "user" => App\Entity\User {#14778
    +avatar: Proxies\__CG__\App\Entity\Image {#14779 …}
    +cover: Proxies\__CG__\App\Entity\Image {#14780 …}
    +email: "voxel@infosec.exchange"
    +username: "@voxel@infosec.exchange"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      A [#privacy](https://infosec.exchange/tags/privacy) 🕶️ and [#cybersecurity](https://infosec.exchange/tags/cybersecurity) 🛡️ focused Voxel :p You can find here all kinds of posts related to these topics 👀 You will sometimes also find post about my opinions, thoughs or other tech related stuff. :D\n
      \n
      If you wanna get in contact with me, just ask, I'm open for meeting new people 🤍\n
      \n
      ⚠️ No enter for threads.net users! ⚠️
      """
    +lastActive: DateTime @1726427025 {#14775
      date: 2024-09-15 21:03:45.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14781 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14783 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14785 …}
    +entries: Doctrine\ORM\PersistentCollection {#14787 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14789 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14791 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14793 …}
    +posts: Doctrine\ORM\PersistentCollection {#14795 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14797 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14799 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14801 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14803 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14805 …}
    +follows: Doctrine\ORM\PersistentCollection {#14807 …}
    +followers: Doctrine\ORM\PersistentCollection {#14809 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14811 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14813 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14815 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14817 …}
    +reports: Doctrine\ORM\PersistentCollection {#14819 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14821 …}
    +violations: Doctrine\ORM\PersistentCollection {#14823 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14825 …}
    +awards: Doctrine\ORM\PersistentCollection {#14827 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14829 …}
    +categories: Doctrine\ORM\PersistentCollection {#14831 …}
    -id: 53000
    -password: "$2y$13$pd7Up6WjCEl8oqexMRyMpOiVLvCy/dNuZRfIrsmSYPg42bruvRe9W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14833 …}
    +apId: "voxel@infosec.exchange"
    +apProfileId: "https://infosec.exchange/users/voxel"
    +apPublicUrl: "https://infosec.exchange/@voxel"
    +apFollowersUrl: "https://infosec.exchange/users/voxel/followers"
    +apInboxUrl: "https://infosec.exchange/inbox"
    +apDomain: "infosec.exchange"
    +apPreferredUsername: "voxel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1704403416 {#14776
      date: 2024-01-04 22:23:36.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696709863 {#14777
      date: 2023-10-07 22:17:43.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15647
  +width: 65
  +height: 65
  +user: App\Entity\User {#14778
    +avatar: Proxies\__CG__\App\Entity\Image {#14779 …}
    +cover: Proxies\__CG__\App\Entity\Image {#14780 …}
    +email: "voxel@infosec.exchange"
    +username: "@voxel@infosec.exchange"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      A [#privacy](https://infosec.exchange/tags/privacy) 🕶️ and [#cybersecurity](https://infosec.exchange/tags/cybersecurity) 🛡️ focused Voxel :p You can find here all kinds of posts related to these topics 👀 You will sometimes also find post about my opinions, thoughs or other tech related stuff. :D\n
      \n
      If you wanna get in contact with me, just ask, I'm open for meeting new people 🤍\n
      \n
      ⚠️ No enter for threads.net users! ⚠️
      """
    +lastActive: DateTime @1726427025 {#14775
      date: 2024-09-15 21:03:45.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14781 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14783 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14785 …}
    +entries: Doctrine\ORM\PersistentCollection {#14787 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14789 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14791 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14793 …}
    +posts: Doctrine\ORM\PersistentCollection {#14795 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14797 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14799 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14801 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14803 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14805 …}
    +follows: Doctrine\ORM\PersistentCollection {#14807 …}
    +followers: Doctrine\ORM\PersistentCollection {#14809 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14811 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14813 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14815 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14817 …}
    +reports: Doctrine\ORM\PersistentCollection {#14819 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14821 …}
    +violations: Doctrine\ORM\PersistentCollection {#14823 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14825 …}
    +awards: Doctrine\ORM\PersistentCollection {#14827 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14829 …}
    +categories: Doctrine\ORM\PersistentCollection {#14831 …}
    -id: 53000
    -password: "$2y$13$pd7Up6WjCEl8oqexMRyMpOiVLvCy/dNuZRfIrsmSYPg42bruvRe9W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14833 …}
    +apId: "voxel@infosec.exchange"
    +apProfileId: "https://infosec.exchange/users/voxel"
    +apPublicUrl: "https://infosec.exchange/@voxel"
    +apFollowersUrl: "https://infosec.exchange/users/voxel/followers"
    +apInboxUrl: "https://infosec.exchange/inbox"
    +apDomain: "infosec.exchange"
    +apPreferredUsername: "voxel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1704403416 {#14776
      date: 2024-01-04 22:23:36.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696709863 {#14777
      date: 2023-10-07 22:17:43.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.29 ms
Input props
[
  "user" => App\Entity\User {#14479
    +avatar: Proxies\__CG__\App\Entity\Image {#14480 …}
    +cover: null
    +email: "JRepin@lemmy.ml"
    +username: "@JRepin@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Digital and software freedom/rights advocate from Slovenia, Europe. Also a member of the Pirate party. You can find me on Mastodon: [@JRepin@mstdn.io](https://mstdn.io/users/JRepin)"
    +lastActive: DateTime @1712118057 {#14476
      date: 2024-04-03 06:20:57.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14481 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14483 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14485 …}
    +entries: Doctrine\ORM\PersistentCollection {#14487 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14489 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14491 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14493 …}
    +posts: Doctrine\ORM\PersistentCollection {#14495 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14497 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14499 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14501 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14503 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14505 …}
    +follows: Doctrine\ORM\PersistentCollection {#14507 …}
    +followers: Doctrine\ORM\PersistentCollection {#14509 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14511 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14513 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14515 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14517 …}
    +reports: Doctrine\ORM\PersistentCollection {#14519 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14521 …}
    +violations: Doctrine\ORM\PersistentCollection {#14523 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14525 …}
    +awards: Doctrine\ORM\PersistentCollection {#14527 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14529 …}
    +categories: Doctrine\ORM\PersistentCollection {#14531 …}
    -id: 8432
    -password: "$2y$13$NkQPCf6y3ReJWEtJdwrqBOPCnmZ/MEweAXw5TwVva5EXpWpF3hwEG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14533 …}
    +apId: "JRepin@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/JRepin"
    +apPublicUrl: "https://lemmy.ml/u/JRepin"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "JRepin"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700420973 {#14477
      date: 2023-11-19 20:09:33.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687499209 {#14478
      date: 2023-06-23 07:46:49.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15704
  +width: 65
  +height: 65
  +user: App\Entity\User {#14479
    +avatar: Proxies\__CG__\App\Entity\Image {#14480 …}
    +cover: null
    +email: "JRepin@lemmy.ml"
    +username: "@JRepin@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Digital and software freedom/rights advocate from Slovenia, Europe. Also a member of the Pirate party. You can find me on Mastodon: [@JRepin@mstdn.io](https://mstdn.io/users/JRepin)"
    +lastActive: DateTime @1712118057 {#14476
      date: 2024-04-03 06:20:57.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14481 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14483 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14485 …}
    +entries: Doctrine\ORM\PersistentCollection {#14487 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14489 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14491 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14493 …}
    +posts: Doctrine\ORM\PersistentCollection {#14495 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14497 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14499 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14501 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14503 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14505 …}
    +follows: Doctrine\ORM\PersistentCollection {#14507 …}
    +followers: Doctrine\ORM\PersistentCollection {#14509 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14511 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14513 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14515 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14517 …}
    +reports: Doctrine\ORM\PersistentCollection {#14519 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14521 …}
    +violations: Doctrine\ORM\PersistentCollection {#14523 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14525 …}
    +awards: Doctrine\ORM\PersistentCollection {#14527 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14529 …}
    +categories: Doctrine\ORM\PersistentCollection {#14531 …}
    -id: 8432
    -password: "$2y$13$NkQPCf6y3ReJWEtJdwrqBOPCnmZ/MEweAXw5TwVva5EXpWpF3hwEG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14533 …}
    +apId: "JRepin@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/JRepin"
    +apPublicUrl: "https://lemmy.ml/u/JRepin"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "JRepin"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700420973 {#14477
      date: 2023-11-19 20:09:33.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687499209 {#14478
      date: 2023-06-23 07:46:49.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.30 ms
Input props
[
  "user" => App\Entity\User {#14598
    +avatar: Proxies\__CG__\App\Entity\Image {#14599 …}
    +cover: Proxies\__CG__\App\Entity\Image {#14600 …}
    +email: "mr_MADAFAKA@lemmy.ml"
    +username: "@mr_MADAFAKA@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![tux gif](https://i.imgur.com/aBYLNRo.gif)"
    +lastActive: DateTime @1728820284 {#14595
      date: 2024-10-13 13:51:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14601 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14603 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14605 …}
    +entries: Doctrine\ORM\PersistentCollection {#14607 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14609 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14611 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14613 …}
    +posts: Doctrine\ORM\PersistentCollection {#14615 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14617 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14619 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14621 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14623 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14625 …}
    +follows: Doctrine\ORM\PersistentCollection {#14627 …}
    +followers: Doctrine\ORM\PersistentCollection {#14629 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14631 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14633 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14635 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14637 …}
    +reports: Doctrine\ORM\PersistentCollection {#14639 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14641 …}
    +violations: Doctrine\ORM\PersistentCollection {#14643 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14645 …}
    +awards: Doctrine\ORM\PersistentCollection {#14647 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14649 …}
    +categories: Doctrine\ORM\PersistentCollection {#14651 …}
    -id: 51553
    -password: "$2y$13$41.KpmYo8uPKCWyw9SDmuO4OoMVCCTDv9B45PYBFu0F.DkOHtmfPi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14653 …}
    +apId: "mr_MADAFAKA@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/mr_MADAFAKA"
    +apPublicUrl: "https://lemmy.ml/u/mr_MADAFAKA"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "mr_MADAFAKA"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719925473 {#14596
      date: 2024-07-02 15:04:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696574389 {#14597
      date: 2023-10-06 08:39:49.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15761
  +width: 65
  +height: 65
  +user: App\Entity\User {#14598
    +avatar: Proxies\__CG__\App\Entity\Image {#14599 …}
    +cover: Proxies\__CG__\App\Entity\Image {#14600 …}
    +email: "mr_MADAFAKA@lemmy.ml"
    +username: "@mr_MADAFAKA@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![tux gif](https://i.imgur.com/aBYLNRo.gif)"
    +lastActive: DateTime @1728820284 {#14595
      date: 2024-10-13 13:51:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14601 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14603 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14605 …}
    +entries: Doctrine\ORM\PersistentCollection {#14607 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14609 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14611 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14613 …}
    +posts: Doctrine\ORM\PersistentCollection {#14615 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14617 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14619 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14621 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14623 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14625 …}
    +follows: Doctrine\ORM\PersistentCollection {#14627 …}
    +followers: Doctrine\ORM\PersistentCollection {#14629 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14631 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14633 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14635 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14637 …}
    +reports: Doctrine\ORM\PersistentCollection {#14639 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14641 …}
    +violations: Doctrine\ORM\PersistentCollection {#14643 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14645 …}
    +awards: Doctrine\ORM\PersistentCollection {#14647 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14649 …}
    +categories: Doctrine\ORM\PersistentCollection {#14651 …}
    -id: 51553
    -password: "$2y$13$41.KpmYo8uPKCWyw9SDmuO4OoMVCCTDv9B45PYBFu0F.DkOHtmfPi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14653 …}
    +apId: "mr_MADAFAKA@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/mr_MADAFAKA"
    +apPublicUrl: "https://lemmy.ml/u/mr_MADAFAKA"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "mr_MADAFAKA"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719925473 {#14596
      date: 2024-07-02 15:04:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696574389 {#14597
      date: 2023-10-06 08:39:49.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.28 ms
Input props
[
  "user" => App\Entity\User {#8551
    +avatar: Proxies\__CG__\App\Entity\Image {#8597 …}
    +cover: null
    +email: "morrowind@lemmy.ml"
    +username: "@morrowind@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      If you’re here, there’s still hope for the internet\n
      \n
      Don’t let it fall
      """
    +lastActive: DateTime @1729484238 {#8493
      date: 2024-10-21 06:17:18.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#8657 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#8659 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#9121 …}
    +entries: Doctrine\ORM\PersistentCollection {#9144 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#9151 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#9192 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9203 …}
    +posts: Doctrine\ORM\PersistentCollection {#9309 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#9311 …}
    +postComments: Doctrine\ORM\PersistentCollection {#9757 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#9790 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#9779 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#9833 …}
    +follows: Doctrine\ORM\PersistentCollection {#9889 …}
    +followers: Doctrine\ORM\PersistentCollection {#9950 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10250 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10434 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10441 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10482 …}
    +reports: Doctrine\ORM\PersistentCollection {#10493 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10599 …}
    +violations: Doctrine\ORM\PersistentCollection {#10601 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11057 …}
    +awards: Doctrine\ORM\PersistentCollection {#11090 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11079 …}
    +categories: Doctrine\ORM\PersistentCollection {#11133 …}
    -id: 10079
    -password: "$2y$13$.3aRC68M5ht.sH.0tcZGBugJVGvv8bC5BWMnX4UrZpRpgHPvfnFCS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11189 …}
    +apId: "morrowind@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/morrowind"
    +apPublicUrl: "https://lemmy.ml/u/morrowind"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "morrowind"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729383871 {#8540
      date: 2024-10-20 02:24:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687576087 {#8541
      date: 2023-06-24 05:08:07.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15818
  +width: 65
  +height: 65
  +user: App\Entity\User {#8551
    +avatar: Proxies\__CG__\App\Entity\Image {#8597 …}
    +cover: null
    +email: "morrowind@lemmy.ml"
    +username: "@morrowind@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      If you’re here, there’s still hope for the internet\n
      \n
      Don’t let it fall
      """
    +lastActive: DateTime @1729484238 {#8493
      date: 2024-10-21 06:17:18.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#8657 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#8659 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#9121 …}
    +entries: Doctrine\ORM\PersistentCollection {#9144 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#9151 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#9192 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9203 …}
    +posts: Doctrine\ORM\PersistentCollection {#9309 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#9311 …}
    +postComments: Doctrine\ORM\PersistentCollection {#9757 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#9790 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#9779 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#9833 …}
    +follows: Doctrine\ORM\PersistentCollection {#9889 …}
    +followers: Doctrine\ORM\PersistentCollection {#9950 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10250 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10434 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10441 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10482 …}
    +reports: Doctrine\ORM\PersistentCollection {#10493 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10599 …}
    +violations: Doctrine\ORM\PersistentCollection {#10601 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11057 …}
    +awards: Doctrine\ORM\PersistentCollection {#11090 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11079 …}
    +categories: Doctrine\ORM\PersistentCollection {#11133 …}
    -id: 10079
    -password: "$2y$13$.3aRC68M5ht.sH.0tcZGBugJVGvv8bC5BWMnX4UrZpRpgHPvfnFCS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11189 …}
    +apId: "morrowind@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/morrowind"
    +apPublicUrl: "https://lemmy.ml/u/morrowind"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "morrowind"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729383871 {#8540
      date: 2024-10-20 02:24:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687576087 {#8541
      date: 2023-06-24 05:08:07.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.29 ms
Input props
[
  "user" => App\Entity\User {#15017
    +avatar: Proxies\__CG__\App\Entity\Image {#15018 …}
    +cover: Proxies\__CG__\App\Entity\Image {#15019 …}
    +email: "callyral@pawb.social"
    +username: "@callyral@pawb.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      **favorite bands** · Lemon Demon; Tally Hall.\n
      \n
      **favorite artists** · cavetown; Neil Cicierega; Bo Burnham; Jack Stauber; Will Wood; Toby Fox.\n
      \n
      𝙸’𝚖 𝚑𝚊𝚕𝚏 𝚑𝚞𝚖𝚊𝚗 𝚊𝚗𝚍 𝚑𝚊𝚕𝚏 𝚖𝚊𝚌𝚑𝚒𝚗𝚎\n
      \n
      **mastodon** · @callyral@furry.engineer
      """
    +lastActive: DateTime @1729374980 {#15014
      date: 2024-10-19 23:56:20.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#15020 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#15022 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#15024 …}
    +entries: Doctrine\ORM\PersistentCollection {#15026 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#15028 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#15030 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#15032 …}
    +posts: Doctrine\ORM\PersistentCollection {#15034 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#15036 …}
    +postComments: Doctrine\ORM\PersistentCollection {#15038 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#15040 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#15042 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#15044 …}
    +follows: Doctrine\ORM\PersistentCollection {#15046 …}
    +followers: Doctrine\ORM\PersistentCollection {#15048 …}
    +blocks: Doctrine\ORM\PersistentCollection {#15050 …}
    +blockers: Doctrine\ORM\PersistentCollection {#15052 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#15054 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#15056 …}
    +reports: Doctrine\ORM\PersistentCollection {#15058 …}
    +favourites: Doctrine\ORM\PersistentCollection {#15060 …}
    +violations: Doctrine\ORM\PersistentCollection {#15062 …}
    +notifications: Doctrine\ORM\PersistentCollection {#15064 …}
    +awards: Doctrine\ORM\PersistentCollection {#15066 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#15068 …}
    +categories: Doctrine\ORM\PersistentCollection {#15070 …}
    -id: 48919
    -password: "$2y$13$fDKM9yCso0u5eDLX6KzaTuA5.uG/rsi9/iqIdSPwquXMc5QESl/xq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#15072 …}
    +apId: "callyral@pawb.social"
    +apProfileId: "https://pawb.social/u/callyral"
    +apPublicUrl: "https://pawb.social/u/callyral"
    +apFollowersUrl: null
    +apInboxUrl: "https://pawb.social/inbox"
    +apDomain: "pawb.social"
    +apPreferredUsername: "callyral"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729118769 {#15015
      date: 2024-10-17 00:46:09.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696442504 {#15016
      date: 2023-10-04 20:01:44.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15875
  +width: 65
  +height: 65
  +user: App\Entity\User {#15017
    +avatar: Proxies\__CG__\App\Entity\Image {#15018 …}
    +cover: Proxies\__CG__\App\Entity\Image {#15019 …}
    +email: "callyral@pawb.social"
    +username: "@callyral@pawb.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      **favorite bands** · Lemon Demon; Tally Hall.\n
      \n
      **favorite artists** · cavetown; Neil Cicierega; Bo Burnham; Jack Stauber; Will Wood; Toby Fox.\n
      \n
      𝙸’𝚖 𝚑𝚊𝚕𝚏 𝚑𝚞𝚖𝚊𝚗 𝚊𝚗𝚍 𝚑𝚊𝚕𝚏 𝚖𝚊𝚌𝚑𝚒𝚗𝚎\n
      \n
      **mastodon** · @callyral@furry.engineer
      """
    +lastActive: DateTime @1729374980 {#15014
      date: 2024-10-19 23:56:20.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#15020 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#15022 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#15024 …}
    +entries: Doctrine\ORM\PersistentCollection {#15026 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#15028 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#15030 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#15032 …}
    +posts: Doctrine\ORM\PersistentCollection {#15034 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#15036 …}
    +postComments: Doctrine\ORM\PersistentCollection {#15038 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#15040 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#15042 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#15044 …}
    +follows: Doctrine\ORM\PersistentCollection {#15046 …}
    +followers: Doctrine\ORM\PersistentCollection {#15048 …}
    +blocks: Doctrine\ORM\PersistentCollection {#15050 …}
    +blockers: Doctrine\ORM\PersistentCollection {#15052 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#15054 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#15056 …}
    +reports: Doctrine\ORM\PersistentCollection {#15058 …}
    +favourites: Doctrine\ORM\PersistentCollection {#15060 …}
    +violations: Doctrine\ORM\PersistentCollection {#15062 …}
    +notifications: Doctrine\ORM\PersistentCollection {#15064 …}
    +awards: Doctrine\ORM\PersistentCollection {#15066 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#15068 …}
    +categories: Doctrine\ORM\PersistentCollection {#15070 …}
    -id: 48919
    -password: "$2y$13$fDKM9yCso0u5eDLX6KzaTuA5.uG/rsi9/iqIdSPwquXMc5QESl/xq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#15072 …}
    +apId: "callyral@pawb.social"
    +apProfileId: "https://pawb.social/u/callyral"
    +apPublicUrl: "https://pawb.social/u/callyral"
    +apFollowersUrl: null
    +apInboxUrl: "https://pawb.social/inbox"
    +apDomain: "pawb.social"
    +apPreferredUsername: "callyral"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729118769 {#15015
      date: 2024-10-17 00:46:09.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696442504 {#15016
      date: 2023-10-04 20:01:44.0 +02:00
    }
  }
  +asLink: true
}
related_categories App\Twig\Components\RelatedCategoriesComponent 14.0 MiB 3.27 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#15937
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "related"
  +title: "related_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#15938 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_posts App\Twig\Components\RelatedPostsComponent 16.0 MiB 18.03 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#16014
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +post: null
  +title: "related_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#16015 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
date App\Twig\Components\DateComponent 14.0 MiB 0.16 ms
Input props
[
  "date" => DateTimeImmutable @1706085505 {#16087
    date: 2024-01-24 09:38:25.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#16144
  +date: DateTimeImmutable @1706085505 {#16087
    date: 2024-01-24 09:38:25.0 +01:00
  }
}
magazine_inline App\Twig\Components\MagazineInlineComponent 16.0 MiB 0.20 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineInlineComponent {#16244
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +showTitle: true
  +fullName: false
  +stretchedLink: false
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1705588943 {#16167
    date: 2024-01-18 15:42:23.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#16318
  +date: DateTimeImmutable @1705588943 {#16167
    date: 2024-01-18 15:42:23.0 +01:00
  }
}
magazine_inline App\Twig\Components\MagazineInlineComponent 16.0 MiB 0.12 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineInlineComponent {#16372
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +showTitle: true
  +fullName: false
  +stretchedLink: false
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1696888038 {#16180
    date: 2023-10-09 23:47:18.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#16442
  +date: DateTimeImmutable @1696888038 {#16180
    date: 2023-10-09 23:47:18.0 +02:00
  }
}
magazine_inline App\Twig\Components\MagazineInlineComponent 16.0 MiB 0.12 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineInlineComponent {#16496
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +showTitle: true
  +fullName: false
  +stretchedLink: false
  +showAvatar: false
}
related_entries App\Twig\Components\RelatedEntriesComponent 16.0 MiB 21.35 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#16557
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +entry: null
  +title: "related_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#271 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
support_us_block App\Twig\Components\SupportUsBlock 16.0 MiB 0.23 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#16650
  +subject: ? App\Entity\Contracts\VotableInterface
  +url: ? string
  -twig: Twig\Environment {#1252 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -partnerBlockRepository: App\Repository\PartnerBlockRepository {#16649 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 16.0 MiB 0.82 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#16725
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#334 …}
}