Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
0.88 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.07 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\EntryComment {#1370
  +user: Proxies\__CG__\App\Entity\User {#1375 …}
  +entry: App\Entity\Entry {#1849 …}
  +magazine: App\Entity\Magazine {#312
    +icon: Proxies\__CG__\App\Entity\Image {#293 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#320
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#284 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
    +entries: Doctrine\ORM\PersistentCollection {#227 …}
    +posts: Doctrine\ORM\PersistentCollection {#185 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
    +bans: Doctrine\ORM\PersistentCollection {#164 …}
    +reports: Doctrine\ORM\PersistentCollection {#150 …}
    +badges: Doctrine\ORM\PersistentCollection {#128 …}
    +logs: Doctrine\ORM\PersistentCollection {#118 …}
    +awards: Doctrine\ORM\PersistentCollection {#107 …}
    +categories: Doctrine\ORM\PersistentCollection {#94 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#321
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#315
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +parent: null
  +root: null
  +body: """
    The first two lines of the for loop,\n
    \n
    ```\n
    \n
    <span style="color:#323232;">byte upper_byte = input_bin >> 8;\n
    </span><span style="color:#323232;">byte lower_byte = input_bin &amp; 0x00FF;\n
    </span>\n
    ```\n
    \n
    don’t really accomplish anything. The first line is bit shifting to the right 8, and then you just bitwise and it resulting in the same thing. For example, starting with `input_bin`:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">1000 0000 0000 0000\n
    </span><span style="color:#323232;">>> 8\n
    </span><span style="color:#323232;">0000 0000 1000 0000\n
    </span><span style="color:#323232;">&amp; 0xFF\n
    </span><span style="color:#323232;">0000 0000 1000 0000\n
    </span>\n
    ```\n
    \n
    So, every time you go through a cycle of the for loop, you’ll just start with the same values in `upper_byte`, and `lower_byte`. To sequentially output each shifted value, you’ll instead want something like:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">output_value = 0b1\n
    </span><span style="color:#323232;">for i = 1 to 16:\n
    </span><span style="color:#323232;">    latch(low)\n
    </span><span style="color:#323232;">    shift_out(output_value)\n
    </span><span style="color:#323232;">    latch(high)\n
    </span><span style="color:#323232;">    output_value = output_value &lt;&lt; 1\n
    </span>\n
    ```\n
    \n
    That is, if I interpereted correctly that you want the shift registers to output the following:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">output_count, upper_shift_register, lower_shift_register\n
    </span><span style="color:#323232;">1, 00000000, 00000001\n
    </span><span style="color:#323232;">2, 00000000, 00000010\n
    </span><span style="color:#323232;">3, 00000000, 00000100\n
    </span><span style="color:#323232;">.\n
    </span><span style="color:#323232;">.\n
    </span><span style="color:#323232;">.\n
    </span><span style="color:#323232;">16, 10000000, 00000000\n
    </span>\n
    ```\n
    \n
    Note: Lemmy has a bug where it doesn’t format some symbols correctly, so the left angle bracket gets formatted as `&lt;`. The same issue exists for the right angle bracket, the ampersand, and I would presume others.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1695882894 {#1769
    date: 2023-09-28 08:34:54.0 +02:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@quiescentcurrent@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#1379 …}
  +nested: Doctrine\ORM\PersistentCollection {#1367 …}
  +votes: Doctrine\ORM\PersistentCollection {#2444 …}
  +reports: Doctrine\ORM\PersistentCollection {#1956 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1359 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2485 …}
  -id: 29950
  -bodyTs: "'0000':55,56,57,59,60,62,64,65,67 '00000000':152,155,158,162 '00000001':153 '00000010':156 '00000100':159 '0b1':108 '0x00ff':20 '0xff':63 '1':111,126,151 '1000':54,61,66 '10000000':161 '16':113,160 '2':154 '3':157 '8':14,35,58 'accomplish':24 'ampersand':194 'angl':179,191 'anyth':25 'bin':13,19,53 'bit':30 'bitwis':40 'bracket':180,192 'bug':167 'byte':9,11,15,17,90,93 'correct':132,175 'count':144 'cycl':75 'doesn':170 'everi':69 'exampl':49 'exist':187 'first':2,27 'follow':142 'format':172,182 'get':181 'go':72 'high':121 'input':12,18,52 'instead':102 'interperet':131 'issu':186 'latch':114,120 'left':178 'lemmi':164 'like':105 'line':4,28 'll':81,101 'loop':8,79 'low':115 'lower':16,92,148 'note':163 'other':199 'output':96,106,118,122,124,140,143 'presum':198 'realli':23 'regist':138,147,150 'result':43 'right':34,190 'sequenti':95 'shift':31,98,116,137,146,149 'someth':104 'start':50,83 'symbol':174 'thing':47 'time':70 'two':3 'upper':10,89,145 'valu':87,99,107,119,123,125 'want':103,135 'would':197"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/4055088"
  +editedAt: DateTimeImmutable @1695883315 {#1941
    date: 2023-09-28 08:41:55.0 +02:00
  }
  +createdAt: DateTimeImmutable @1695856746 {#1396
    date: 2023-09-28 01:19:06.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\EntryComment {#1370
  +user: Proxies\__CG__\App\Entity\User {#1375 …}
  +entry: App\Entity\Entry {#1849 …}
  +magazine: App\Entity\Magazine {#312
    +icon: Proxies\__CG__\App\Entity\Image {#293 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#320
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#284 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
    +entries: Doctrine\ORM\PersistentCollection {#227 …}
    +posts: Doctrine\ORM\PersistentCollection {#185 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
    +bans: Doctrine\ORM\PersistentCollection {#164 …}
    +reports: Doctrine\ORM\PersistentCollection {#150 …}
    +badges: Doctrine\ORM\PersistentCollection {#128 …}
    +logs: Doctrine\ORM\PersistentCollection {#118 …}
    +awards: Doctrine\ORM\PersistentCollection {#107 …}
    +categories: Doctrine\ORM\PersistentCollection {#94 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#321
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#315
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +parent: null
  +root: null
  +body: """
    The first two lines of the for loop,\n
    \n
    ```\n
    \n
    <span style="color:#323232;">byte upper_byte = input_bin >> 8;\n
    </span><span style="color:#323232;">byte lower_byte = input_bin &amp; 0x00FF;\n
    </span>\n
    ```\n
    \n
    don’t really accomplish anything. The first line is bit shifting to the right 8, and then you just bitwise and it resulting in the same thing. For example, starting with `input_bin`:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">1000 0000 0000 0000\n
    </span><span style="color:#323232;">>> 8\n
    </span><span style="color:#323232;">0000 0000 1000 0000\n
    </span><span style="color:#323232;">&amp; 0xFF\n
    </span><span style="color:#323232;">0000 0000 1000 0000\n
    </span>\n
    ```\n
    \n
    So, every time you go through a cycle of the for loop, you’ll just start with the same values in `upper_byte`, and `lower_byte`. To sequentially output each shifted value, you’ll instead want something like:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">output_value = 0b1\n
    </span><span style="color:#323232;">for i = 1 to 16:\n
    </span><span style="color:#323232;">    latch(low)\n
    </span><span style="color:#323232;">    shift_out(output_value)\n
    </span><span style="color:#323232;">    latch(high)\n
    </span><span style="color:#323232;">    output_value = output_value &lt;&lt; 1\n
    </span>\n
    ```\n
    \n
    That is, if I interpereted correctly that you want the shift registers to output the following:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">output_count, upper_shift_register, lower_shift_register\n
    </span><span style="color:#323232;">1, 00000000, 00000001\n
    </span><span style="color:#323232;">2, 00000000, 00000010\n
    </span><span style="color:#323232;">3, 00000000, 00000100\n
    </span><span style="color:#323232;">.\n
    </span><span style="color:#323232;">.\n
    </span><span style="color:#323232;">.\n
    </span><span style="color:#323232;">16, 10000000, 00000000\n
    </span>\n
    ```\n
    \n
    Note: Lemmy has a bug where it doesn’t format some symbols correctly, so the left angle bracket gets formatted as `&lt;`. The same issue exists for the right angle bracket, the ampersand, and I would presume others.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1695882894 {#1769
    date: 2023-09-28 08:34:54.0 +02:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@quiescentcurrent@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#1379 …}
  +nested: Doctrine\ORM\PersistentCollection {#1367 …}
  +votes: Doctrine\ORM\PersistentCollection {#2444 …}
  +reports: Doctrine\ORM\PersistentCollection {#1956 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1359 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2485 …}
  -id: 29950
  -bodyTs: "'0000':55,56,57,59,60,62,64,65,67 '00000000':152,155,158,162 '00000001':153 '00000010':156 '00000100':159 '0b1':108 '0x00ff':20 '0xff':63 '1':111,126,151 '1000':54,61,66 '10000000':161 '16':113,160 '2':154 '3':157 '8':14,35,58 'accomplish':24 'ampersand':194 'angl':179,191 'anyth':25 'bin':13,19,53 'bit':30 'bitwis':40 'bracket':180,192 'bug':167 'byte':9,11,15,17,90,93 'correct':132,175 'count':144 'cycl':75 'doesn':170 'everi':69 'exampl':49 'exist':187 'first':2,27 'follow':142 'format':172,182 'get':181 'go':72 'high':121 'input':12,18,52 'instead':102 'interperet':131 'issu':186 'latch':114,120 'left':178 'lemmi':164 'like':105 'line':4,28 'll':81,101 'loop':8,79 'low':115 'lower':16,92,148 'note':163 'other':199 'output':96,106,118,122,124,140,143 'presum':198 'realli':23 'regist':138,147,150 'result':43 'right':34,190 'sequenti':95 'shift':31,98,116,137,146,149 'someth':104 'start':50,83 'symbol':174 'thing':47 'time':70 'two':3 'upper':10,89,145 'valu':87,99,107,119,123,125 'want':103,135 'would':197"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/4055088"
  +editedAt: DateTimeImmutable @1695883315 {#1941
    date: 2023-09-28 08:41:55.0 +02:00
  }
  +createdAt: DateTimeImmutable @1695856746 {#1396
    date: 2023-09-28 01:19:06.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\EntryComment {#1370
  +user: Proxies\__CG__\App\Entity\User {#1375 …}
  +entry: App\Entity\Entry {#1849 …}
  +magazine: App\Entity\Magazine {#312
    +icon: Proxies\__CG__\App\Entity\Image {#293 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#320
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#284 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
    +entries: Doctrine\ORM\PersistentCollection {#227 …}
    +posts: Doctrine\ORM\PersistentCollection {#185 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
    +bans: Doctrine\ORM\PersistentCollection {#164 …}
    +reports: Doctrine\ORM\PersistentCollection {#150 …}
    +badges: Doctrine\ORM\PersistentCollection {#128 …}
    +logs: Doctrine\ORM\PersistentCollection {#118 …}
    +awards: Doctrine\ORM\PersistentCollection {#107 …}
    +categories: Doctrine\ORM\PersistentCollection {#94 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#321
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#315
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +parent: null
  +root: null
  +body: """
    The first two lines of the for loop,\n
    \n
    ```\n
    \n
    <span style="color:#323232;">byte upper_byte = input_bin >> 8;\n
    </span><span style="color:#323232;">byte lower_byte = input_bin &amp; 0x00FF;\n
    </span>\n
    ```\n
    \n
    don’t really accomplish anything. The first line is bit shifting to the right 8, and then you just bitwise and it resulting in the same thing. For example, starting with `input_bin`:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">1000 0000 0000 0000\n
    </span><span style="color:#323232;">>> 8\n
    </span><span style="color:#323232;">0000 0000 1000 0000\n
    </span><span style="color:#323232;">&amp; 0xFF\n
    </span><span style="color:#323232;">0000 0000 1000 0000\n
    </span>\n
    ```\n
    \n
    So, every time you go through a cycle of the for loop, you’ll just start with the same values in `upper_byte`, and `lower_byte`. To sequentially output each shifted value, you’ll instead want something like:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">output_value = 0b1\n
    </span><span style="color:#323232;">for i = 1 to 16:\n
    </span><span style="color:#323232;">    latch(low)\n
    </span><span style="color:#323232;">    shift_out(output_value)\n
    </span><span style="color:#323232;">    latch(high)\n
    </span><span style="color:#323232;">    output_value = output_value &lt;&lt; 1\n
    </span>\n
    ```\n
    \n
    That is, if I interpereted correctly that you want the shift registers to output the following:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">output_count, upper_shift_register, lower_shift_register\n
    </span><span style="color:#323232;">1, 00000000, 00000001\n
    </span><span style="color:#323232;">2, 00000000, 00000010\n
    </span><span style="color:#323232;">3, 00000000, 00000100\n
    </span><span style="color:#323232;">.\n
    </span><span style="color:#323232;">.\n
    </span><span style="color:#323232;">.\n
    </span><span style="color:#323232;">16, 10000000, 00000000\n
    </span>\n
    ```\n
    \n
    Note: Lemmy has a bug where it doesn’t format some symbols correctly, so the left angle bracket gets formatted as `&lt;`. The same issue exists for the right angle bracket, the ampersand, and I would presume others.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1695882894 {#1769
    date: 2023-09-28 08:34:54.0 +02:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@quiescentcurrent@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#1379 …}
  +nested: Doctrine\ORM\PersistentCollection {#1367 …}
  +votes: Doctrine\ORM\PersistentCollection {#2444 …}
  +reports: Doctrine\ORM\PersistentCollection {#1956 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1359 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2485 …}
  -id: 29950
  -bodyTs: "'0000':55,56,57,59,60,62,64,65,67 '00000000':152,155,158,162 '00000001':153 '00000010':156 '00000100':159 '0b1':108 '0x00ff':20 '0xff':63 '1':111,126,151 '1000':54,61,66 '10000000':161 '16':113,160 '2':154 '3':157 '8':14,35,58 'accomplish':24 'ampersand':194 'angl':179,191 'anyth':25 'bin':13,19,53 'bit':30 'bitwis':40 'bracket':180,192 'bug':167 'byte':9,11,15,17,90,93 'correct':132,175 'count':144 'cycl':75 'doesn':170 'everi':69 'exampl':49 'exist':187 'first':2,27 'follow':142 'format':172,182 'get':181 'go':72 'high':121 'input':12,18,52 'instead':102 'interperet':131 'issu':186 'latch':114,120 'left':178 'lemmi':164 'like':105 'line':4,28 'll':81,101 'loop':8,79 'low':115 'lower':16,92,148 'note':163 'other':199 'output':96,106,118,122,124,140,143 'presum':198 'realli':23 'regist':138,147,150 'result':43 'right':34,190 'sequenti':95 'shift':31,98,116,137,146,149 'someth':104 'start':50,83 'symbol':174 'thing':47 'time':70 'two':3 'upper':10,89,145 'valu':87,99,107,119,123,125 'want':103,135 'would':197"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/4055088"
  +editedAt: DateTimeImmutable @1695883315 {#1941
    date: 2023-09-28 08:41:55.0 +02:00
  }
  +createdAt: DateTimeImmutable @1695856746 {#1396
    date: 2023-09-28 01:19:06.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED edit
App\Entity\Magazine {#312
  +icon: Proxies\__CG__\App\Entity\Image {#293 …}
  +name: "askelectronics@discuss.tchncs.de"
  +title: "askelectronics"
  +description: """
    **For questions about component-level electronic circuits, tools and equipment.**\n
    \n
    Rules\n
    -----\n
    \n
    1: Be nice.\n
    \n
    2: Be on-topic (eg: *Electronic*, not *electrical*).\n
    \n
    3: No commercial stuff, buying, selling or valuations.\n
    \n
    4: Be safe.\n
    \n
    ---
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 154
  +entryCommentCount: 1230
  +postCount: 1
  +postCommentCount: 4
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729413608 {#320
    date: 2024-10-20 10:40:08.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#284 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
  +entries: Doctrine\ORM\PersistentCollection {#227 …}
  +posts: Doctrine\ORM\PersistentCollection {#185 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
  +bans: Doctrine\ORM\PersistentCollection {#164 …}
  +reports: Doctrine\ORM\PersistentCollection {#150 …}
  +badges: Doctrine\ORM\PersistentCollection {#128 …}
  +logs: Doctrine\ORM\PersistentCollection {#118 …}
  +awards: Doctrine\ORM\PersistentCollection {#107 …}
  +categories: Doctrine\ORM\PersistentCollection {#94 …}
  -id: 11
  +apId: "askelectronics@discuss.tchncs.de"
  +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
  +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
  +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
  +apInboxUrl: "https://discuss.tchncs.de/inbox"
  +apDomain: "discuss.tchncs.de"
  +apPreferredUsername: "askelectronics"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1727247714 {#321
    date: 2024-09-25 09:01:54.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1687144409 {#315
    date: 2023-06-19 05:13:29.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details