Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Kalcifer, to lemmy_support in lemmy app that hides posts I've read/ voted on?

Thunder has an option to dim read posts.

Kalcifer, to linux in Mullvad has Deb and RPM repositories now!

Does your network not support UPnP? You shouldn’t normally need to port forward in order to seed a torrent, unless your network prevents NAT traversal.

Kalcifer, (edited ) to lemmy_support in The user numbers in Lemmy communities don't add up

That’s because, currently, the community stats that you see in the sidebar are only from your instance – community stats are currently not federated. Afaik, federated community stats are going to be implemented in 0.19.

Kalcifer, to lemmy_support in Is it possible to see exactly which users liked, and disliked a post?

and see people upvote their own comment.

Upvoting one’s own comment is default behaviour on Lemmy. When a user makes a post, or comment on Lemmy, it gets automatically upvoted by that user.

Kalcifer, (edited ) to privacyguides in (Please see comments)Alternatives to Signal if they exit EU due to ending E2EE

I have little to comment on regarding the motivation for your post – I am not up to date with what’s happening in the EU – but, for an encrypted messaging-app alternative to Signal, I can recommend Matrix.

Kalcifer, to askelectronics in Shift register missing bits

2nd line of what? Oh you are completely right. My bad. Idk why I wrote that. I’ll fix my comment.

Kalcifer, to askelectronics in Shift register missing bits

I don’t follow what you mean.

Kalcifer, (edited ) to askelectronics in Shift register missing bits

The first two lines of the for loop,


<span style="color:#323232;">byte upper_byte = input_bin >> 8;
</span><span style="color:#323232;">byte lower_byte = input_bin &amp; 0x00FF;
</span>

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:


<span style="color:#323232;">1000 0000 0000 0000
</span><span style="color:#323232;">>> 8
</span><span style="color:#323232;">0000 0000 1000 0000
</span><span style="color:#323232;">&amp; 0xFF
</span><span style="color:#323232;">0000 0000 1000 0000
</span>

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:


<span style="color:#323232;">output_value = 0b1
</span><span style="color:#323232;">for i = 1 to 16:
</span><span style="color:#323232;">    latch(low)
</span><span style="color:#323232;">    shift_out(output_value)
</span><span style="color:#323232;">    latch(high)
</span><span style="color:#323232;">    output_value = output_value &lt;&lt; 1
</span>

That is, if I interpereted correctly that you want the shift registers to output the following:


<span style="color:#323232;">output_count, upper_shift_register, lower_shift_register
</span><span style="color:#323232;">1, 00000000, 00000001
</span><span style="color:#323232;">2, 00000000, 00000010
</span><span style="color:#323232;">3, 00000000, 00000100
</span><span style="color:#323232;">.
</span><span style="color:#323232;">.
</span><span style="color:#323232;">.
</span><span style="color:#323232;">16, 10000000, 00000000
</span>

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.

Kalcifer, to askelectronics in Shift register missing bits

Would you not want to shift out the upper byte first? I could be misinterpreting your setup.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #