discuss.tchncs.de

glibg10b, to electronics in Inductively powered LED thing

Are you using the BJT to create an AC signal? If so, how?

nothacking, (edited )

Just a blocking occilstor based on a 2N3904. I later found that adding a capacitor across the coil connected to the transistors emiter and operating it at resonance, greatly improves the power consumption. (30mA to 1mA)

waldyrious, to linuxmemes in Don't judge me I know that frequently they represent almost the same softwares but is just a matter of principles.

IMO both of these ended up being poor names.

“Open source” can be co-opted to mean any project with public source code even if it’s not open contribution (think SQLite, and many of the projects effectively run by major tech corporations).

“Free software” falls victim to the eternal mixup with freeware, requiring the endless repetition of the “beer vs. speech” analogy.

I personally think “Libre software” is the term that best encapsulates the intended meaning while being unambiguous and not vulnerable to misinterpretation.

mister_monster, to linuxmemes in Tesla's competitor

I would drive the shit out of that car

Hubi,

The good news is: It’s free

The bad news is: You have to compile it yourself

LinkOpensChest_wav, to privacyguides in Reflectacles to escape Facial Recognition

I doubt they work, and they’re definitely not worth the price imo

I can get a pair of prescription sunglasses for less than that

chemicalwonka,
@chemicalwonka@discuss.tchncs.de avatar

Idk if regular sunglasses will prevent your face from being captured by facial recognition systems.

LinkOpensChest_wav,

I don’t believe the glasses you linked will do so either lol

Anticorp, to privacyguides in Reflectacles to escape Facial Recognition

Worth the price is subjective. Are you a wanted criminal, or planning a heist? Then probably yes. Otherwise, probably no.

newIdentity,

Maybe you just want to look sick at the next rave.

Not their intended purpose, but that’s the only one that doesn’t sound stupid

Edit: looking at their website, that might be their intended target audience.

Bendavisunlv6, to science_memes in research

Ironically, doing research is the best way to be right. What people want is to feel right without having to think very hard. Feelings don’t really require energy in the same way that thinking does.

agent_flounder,

More than just research is needed and that’s what many miss. One must be able to reliably evaluate the quality of evidence to sort fact from baloney. Doing so requires critical thinking, the ability to be able to poke holes in theories regardless of whether you like them or not, and the willingness to be wrong and, above all else, the mental flexibility to update your knowledge when proven so. Not everyone is able to do that.

I am used to being wrong a lot so it comes naturally lol.

some_guy, to science_memes in research

Someone, somewhere, will misrepresent this to give credence to the “do your own research” crowd.

Which is not to discredit the message. They misrepresent everything.

HiddenLayer5, to science_memes in research
@HiddenLayer5@lemmy.ml avatar

Third option: they’ve fallen into a pattern recognition fallacy and think it’s a number when it’s a completely different symbol. This happens a lot more often than most realize and even knowing about it, it can be difficult to go against the human instinct to find patterns that may or may not exist and then fit the data to it.

BurnedDonutHole, to science_memes in void

I mean technically it’s not in your heart. It’s the arteries that gets filed with cholesterol plaques. You die due to the lack of blood in your heart which is ironically causing a bigger void that causes you to die.

ShranTheWaterPoloFan, to linuxmemes in be root

Mastering? It’s an OS not a skill.

Are really looking down on people because you open the terminal often instead of being able to click something?

synae, to memes in Be there or be square
@synae@lemmy.sdf.org avatar

This is actually amazing and uplifting. Rock on

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.

quiescentcurrent,

You’re probably right, but that should only change the order of the outputs right?

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.

quiescentcurrent,

You’re 100% right, I’ve lost ‘i’ somewhere in my debugging process

byte upper_byte = input_bin >> (8+i) ; byte lower_byte = (input_bin >> i) & 0x00FF;

mvirts,

I think you got and and or switched, first two lines should be fine for shifting the top 8 bits down.

Kalcifer,

I don’t follow what you mean.

FuzzChef,

I think what he refers to is that you seem to do a bitwise or for the second line instead of the bitwise and.

Kalcifer,

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

mvirts,

Yes that’s what I was thinking

mvirts, to askelectronics in Shift register missing bits

Would it work if you made that delay 1000?

mvirts,

Also try upping the usleep call?

mvirts,

Hmmmm do you want to write to both shift register at the same time? I say this because you’re looping 16 times, but seem to be sending the high and low bytes out 16 times over rather than one bit each time, although you are shifting the input.

mvirts,

Maybe I’m getting ahead of myself, but maybe try using digitalWrite for a single bit instead of shiftDataOut?

quiescentcurrent,

Good idea, I’ve tried usleep after all lines, but no change…

FuzzChef, to askelectronics in Shift register missing bits

What does shiftDataOut do? You loop over it but you give the whole byte to it anyway in each loop.

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