exocortex

@exocortex@discuss.tchncs.de

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

exocortex,

“conservative”

Today people who self-identify as conservative are basically all assholes with a deep hatret towards dignity, humanity, society and nature. They’re proud to be assholes, they’re vice-signalling.

But the actual word - “conservative” - it has lost all meaning. What are they “conserving”? They’re against environmentalism. I’d like to “conserve” nature so that future generations may still live on it. Am I now conservative? They want to burn everything down even the things they claim to uphold. They yell about freedom of speech and ban books at the same time. They shit on rules and all long-standing conventions, norms and just basic human tactfulness. What things are they “conserving”? The word has lost all meaning and means just bigoted loud asshole today.

exocortex,

Generell hat die reddit-situatiin dazu geführt, dass ich einfach weniger Zeit damit (reddit+lemmy) verwende. Auch nicht unbedingt schlecht, denn ehrlich gesagt ist nur ein geringer Zeitanteil davon wirklich sinnvoll. Vielleicht ist das auch bei anderen so. Ist nicht unbedingt schlechter.

Feature request: A way to move to another server while keeping subscriptions.

Lemmy (and by extension the fediverse) is theoretically more robust against powerhungry individuals because people can move to another server. But if users loose all their data (their liked / saved posts and subscribed communities) when moving to another server they are less likely to do so, which increases the power of the...

exocortex,

Hey! Thank you very much! It’s very cool to see that there’s still people around here :-)

Yes, i am using the rp-pico-hal. I guess I have to somehow activate the spi-funcrtonality first then, right?

I found an example where someone uses a Max7219-attached 8x8 Matrix with a Pico in rust. But in this example the MAX7219-crate isn’t used. Instead some SPI-structs/functionality is written directly in the main. This example managed to write stuff on my LED-matrix.

I will read more into the stuff you mentioned. Thanks a lot!

exocortex,

I realize that I mixed two things together. Or misunderstood what spi is. I thought using the pins to communicate to another chip (the max7219) is the same as “spi”. But it isn’t.

The sd-card example is a little too big for me to understand right now. I see that apparently I can use the max7219 via pins or via spi. Does this mean, that SPI is preferrable? ( im imagine with the pins I have to set the pin high and low manually, whereas with the spi i can use more abstract commands like “send out this byte”.

exocortex,

Hey! Thank you very much! I’ve actually managed to get the SPI to work with the max7219. I initialized it with <,,16> as template args. It only compiled when i changed the 16 to 8. (it was 16 in another example). It took me a long time to figure out, because i couldn’t find documentation about what this parameter means - it’s simply called “DS” which i interpreted as “Data Size” but I could be wrong.

I guess the main difficulty in the HAL-Code is reading the heavily generic types used.

i don’t want to get on your nerves, so don’t answer if it’s annoying, I will find some answers eventually. But I think I will continue to ask questions here, maybe some other people will see it and frequent this community more often.

I’ve got some weird issues now that it isn’t behaving like i would expect, but that may have to do with power or something else. Maybe some transmission errors? Could a lower SPI-frequency reduce errors in transmission… (my example uses 1MHz, yours 400kHz).

exocortex,

Hey! Thank you very much! This is an incredibly well made, probably labor-intensive and (nice!) comment! (and yeah a few code-pieces seem to disappear, but i think i understand the original meaning.

that cleared a lot up to be honest. I have been using rust for a while now, but i think all the more advanced features that i didn’t really have to deep-dive into before are now used all at once in the embedded context. it’s all very dense to read when only looking into the source code (or the docs). But your explanations helped tremendously (i will read them again tomorrow though.

It’s really fascinating what rust makes possible here. I haven’t really programmed too much in c++ in the embedded context, but i guess i would have to basically rewrite a lot of software if i want to use it on a different device, right?

Regarding the 8 or 16 values of the DS-values, i am not quite sure myself. I’ve found two examples where a Max7219-chip is used together with a raspberry Pi pico with Rust. One implemented the max7219-struct itself and didn’t use the max7219-crate and used the value 16 for DS… This example works on my setup.

The other example is using the max7219 and it needs DS=8 otherwise it doesn’t compile. It kinda works, but there seems to be some errors when i use it: if I use write_raw to set all the pixels on the display certain values seem to change the display’s state. at a certain point it changes its intensity and changes into all-pixels-on-mode suddenly. This shouldn’t happen if i only use wrote_raw.

But with your explanations i might understand a little more of the stuff that i used in the code. Thank you very much!

exocortex,

Hey thank you! it might actually be that the driver has an error. For me somebody pointing that out is actually very helpful, as I always suspect that I’m doing something wrong. But playing around with the other example that kind of implemented the max7219 interface from scratch (using the u16 for the data send) was pretty fun!

I guess I will try changing the original max719-crate from u8 to u16 tomorrow and see what happens. I also posted an issue about that on the GitHub.

exocortex,

Hi, Thank you. It took me a while, but I experimented around a little bit. I have not yet tried to fix the max7219-library though. I think it is from_be_bytes (the other one didn’t work).

But one thing that I am not understanding (I think this is a “can’t tell the forest from the trees”-situation) is how exactly multiple 8x8-matrices are connected i.e. how the data-stream looks exactly.

In your example (from the max7219-library) it seems like if I use 4 devices I send 4 times a u16 out and the 4 connected Max7219’s figure out themselves which one is meant?

exocortex,

Thank you.

Ive actually read the section you quoted a few times and my brain just couldn’t parse it. But i finally understand how the max7219 makes this. I’ve thought about it completely wrong. It just shifting through all the bits from chip to chip so obvious now.

I think i will go a step back and not use spi for a while and just do the bit-banging -thingy first to get more familiar first.

I’ve read somewhere that Is faster and I guess it’s cheaper for the cpu to use as the cpu doesn’t have to set the pin outs high or low with each cycle. Instead (i guess) the cpu can simply call a spi-out-funtctio one time and the spi does its thing for a while while the cpu can do other things.

But right now I don’t do much yet on the rest of the CPU, so i can afford to do it manually.

Just one other question regarding multiple displays: as e.g. 4 displays requires 4x16bits does this mean that there would have to be a Write-trait implemented somewhere (or Write<[u16;4]>)?

could it be that the max7219-crate is incomplete here? The write-funtion you corrected seems like it was copied 1to1 from the cpp-lib (LedControl).

exocortex,

Wow! Congratulations! It’s really weird - I feel like going back to reddit, because it looks and feels exactly like when I used Reddit back when it was awesome to do - through sync… But it’s not reddit. Kinda tells me how much of my “Reddit experience” was actually not Reddit, but sync.

Die Finanzialisierung der Gesundheit (Was-Tun-Podcast) (was-tun.podigee.io) German

Super krasses Thema. Unbedingt mal anhören und mit beschäftigen! Undurchsichtige internationale Private Equity Management-Firmen kaufen gerade massenhaft Arztpraxen. Was das für uns alle bedeutet wird in dem Podcast ein bisschen erklärt. Ziemlich krass....

exocortex,

Dann bist du besser informiert, als ich. Dass so etwas passiert, war mir dunkel bekannt, aber wie das gerade los geht hat mich doch schockiert. Daher wollte ich es teilen.

exocortex,

I’m with you. I liked it too. It was essentially. war movie.

Just one thing: The last Terminator movie was actually OK.

exocortex,

It’s amazing! It’s funny, has a great cast, is visually stunning AND unique. it’s just that some people think movies have to be only about plot.

I happen to own an orange telephone like the one in the movie, an old “Telefon der deutschen Post”.

exocortex, (edited )

How does that work? Is threads using a protocol compatible to lemmy? (And I fully agree with the preemptive blocking of any facebook stuff).

Edit: thanks for all the detailled answers.

So Facebook tries the old EEE - Embrace Extend Extinguish. 1.A big company is Embracing an open source standard ("we’re friendly, see?) They get a lot of users that way - even the open source savvy types. 2.they start Extending that standard “to make it even better” - but not talking about these changes with the rest of the community first. They cannot react quickly enough and become incompatible with the new version of this standard. 3.Extinguish. When all the users are effectively using the big companies platform with something that isn’t the original standard anymore they change it so much that it isn’t compatible at all anymore or replace it completely.

exocortex,

very nice to read Nautilus is getting some development done. I’m curious if it will be possible to simply type letters or combinations of letters and by doing that jump directly to the files that match the these letters. (like it works on windows - one of the things windows does well).

I also hope this weird issue when opening a very large folder with lots of images gets fixed (where while loading the images everything is moving around).

exocortex,

I downvoted this post. One thing that made Reddit better than other social networks was that it focused on content and not on users. The mere fact that Reddit is called a social network now instead of a link aggregation platform is IMHO the result of adding more and more personalization features.

On other networks the look of a user or their public image is always front and center and is almost more important than the content.

Hacker news is in its own way the better reddit (again: IMHO) as the only thing that distinguishes users is their username. So we always have to engage with a users content.

I hope lemmy will not go the way that Reddit did in adding all these personalization features. They didn’t make Reddit better, they simply increased the dopamine hits that people get. Reddit didn’t improve because engaging with it was becoming more satisfying in the psycho-chemical department. It just became more profitable in the ad-revenue department.

Lemmy doesn’t need to be optimized for ad-revenue. It can be optimized for thoughtful, civil discussions instead.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • cisconetworking
  • khanakhh
  • mdbf
  • magazineikmin
  • modclub
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • Durango
  • tacticalgear
  • megavids
  • ngwrru68w68
  • everett
  • tester
  • cubers
  • normalnudes
  • thenastyranch
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • lostlight
  • All magazines