Readit News logoReadit News
akamoonknight commented on Alibaba cloud FPGA: the $200 Kintex UltraScale+   essenceia.github.io/proje... · Posted by u/signa11
jhallenworld · 2 months ago
I just used the Raspberry-PI V to bring up the PCIe interface on a Lattice Certus-Pro NX "Versa" board, it's very convenient.

What's cool is that the Raspberry-PI V is just fast enough to run modern desktop software, including (ack!) Microsoft Teams. I was able to give a live demo of my FPGA design by sharing the desktop during a conference call.

My only complaint is, of course, lack of SoC documentation from Broadcom.

Say what you will about Intel, but they do provide full chip documentation if you go through their NDA process. With it, I made a very nice FPGA PCIe environment on Xeon Ivy Bridge: it let me save all of the PCI config registers, then reconfigure the FPGA, then reprogram them and have the chip show up on the bus without having to reboot the server or re-enumerate. The trick is to temporarily set the root complex bit to disable PCIe error detection during the reconfiguration process.

(Was using Altera Stratix-IIgx at the time).

There is possibly another way to this, but haven't tried it:

https://stackoverflow.com/questions/32334870/how-to-do-a-tru...

But even aside from that, with the documentation you have access to a lot of error reporting which is extremely useful during PCIe bring-up.

akamoonknight · 2 months ago
Ah, that's a fancy trick! I remember many a time making Linux real angry with my PCIe fiddling. I believe in the end we got Partial Reconfiguration set up, where the PCIe portion of the device would not be reprogrammed but we could reload the rest. It was definitely a trade off though in terms of layout planning and space reservation.
akamoonknight commented on API design note: Beware of adding an "Other" enum value   devblogs.microsoft.com/ol... · Posted by u/luu
akamoonknight · 10 months ago
One of the tactics I end up using in Verilog, for better or worse, is to define enums with a'0 value (repeat 0s for the size of the variable), and '1 value (repeat 1s for the size of the value)

'0 stays as "null"-like (e.g INVALID), and '1 (which would be 0xFF in an 8 bit byte for instance) becomes "something, but I'm not sure what" (e.g. UNKNOWN).

Definitely has the same issues as referenced when needing to grow the variable, and the times where it's useful aren't super common, but I do feel like the general concept of an unknown-but-not-invalid value can help with tracking down errors in processing chains Definitely do run into the need to "beware" though with enums for sure.

akamoonknight commented on Computer scientists invent an efficient new way to count   quantamagazine.org/comput... · Posted by u/jasondavies
akamoonknight · 2 years ago
I don't know a word or phrase for this, but I really enjoy any examples of "thinking outside the box" like this because it's something I struggle with in my professional career. Learning not only the right ways to solve problems, but figuring out the questions to ask that make solving the problems you have easier or even in some cases possible. In this case, it's hey, we don't need exact numbers if we can define a probabilistic range given defined parameters. Other problems are gonna have other questions. I guess my hope is that if I see enough examples I'll be able to eventually internalize the thought process and apply it correctly.
akamoonknight commented on Be more lucky   newsletter.pnote.eu/p/be-... · Posted by u/przem8k
antisthenes · 2 years ago
So they just didn't know what luck was and invented their own definition to sound smart?

2 and 3 are definitely not luck, because it's affected by your actions. 4 can have partial luck, because people sometimes view you better or worse than you expect, and you can't predict your complete reputational outreach.

1 is the only definite piece of luck here, like being born to the right parents, or a stranger that you held the door for being the CEO that offers you a job.

akamoonknight · 2 years ago
It's funny because in that last sentence I think you're describing something like in the article. "Holding the door open" might not be something that people do to strictly have the potential to hold the door open for a CEO, but they definitely hit on that possibility more often than those who don't hold the door open at all. So is that "blind luck", or in the parent example (and i think sort of the articles) is that more along the lines of "stirring the pot"?
akamoonknight commented on Disney unveils the HoloTile floor   ign.com/articles/disney-u... · Posted by u/wallflower
akamoonknight · 2 years ago
One thing my mom (an occupational therapist) brought up when seeing this was the potential applications for therapy. I'm not sure of the nuances, but one concept that comes to mind is that you could increase force on a user such that you can get a persons strength increasing without them even noticing it.

I'm not really sure what types of solutions currently exist in these spaces, and I'm sure that this would be a very expensive solution for this topic, but future thinking possibilities of this type of thing seem like they could have applications outside of just VR.

akamoonknight commented on Zeiss's "Holocam" turns glass windows into cameras   digitalcameraworld.com/ne... · Posted by u/toss1
WhackyIdeas · 2 years ago
I agree. I had this worrying idea (realisation..?) that one day, maybe triple digit years away, maybe sooner, that tiny cameras and mics the size of grains of salt will be everywhere. They will cost nothing to produce, be self-charging, interconnected to each other and created to ‘reduce crime’ or ‘make you safer’. And in the same way as forever chemicals, you can’t get rid of them. Trillions of them, in fields, the ground. Spreading around stuck to your shoes, on your car tires.

Just a crazy idea, but I think that if they could make that happen today then they would. And that part is the main point - There is no limit to surveillance anymore. I live in the UK, that realisation is in my face every day. Can’t even take a trip to Tesco without being run through facial recognition.

There is no care for the concept of privacy anymore. All the richest companies in the world don’t make their money from caring about our privacy.

akamoonknight · 2 years ago
I believe I read a science fiction book around this topic. Postsingular by Rudy Rucker I believe, related to nanotechnology. Can't remember most of it, but delved a little into how it affects relationships re: every thing being visible always to everyone. Not sure I'd entirely recommend it, but still interesting to see the thoughts and outcomes others come up with in regard to these types of potential technological changes.
akamoonknight commented on How VSCode made bracket pair colorization faster (2021)   code.visualstudio.com/blo... · Posted by u/s3arch
cubefox · 2 years ago
I recently switched from an old VScode version, which has only the click dependent matching, to the new version which has it with color highlighting. The difference is that you can match brackets pretty much immediately by glancing at them. It's convenient because it is quicker.
akamoonknight · 2 years ago
Gotchagotcha, so yeah, to some extent eliminates the time taken to highlight individual brackets at the cost of adding some visual complexity. Thanks.
akamoonknight commented on How VSCode made bracket pair colorization faster (2021)   code.visualstudio.com/blo... · Posted by u/s3arch
cubefox · 2 years ago
It's very useful when trying to find matching brackets in code!
akamoonknight · 2 years ago
In just basic Vim, there's highlighting such that if the cursor is over a start bracket (or end bracket), the opposite bracket is highlighted. I do find that very helpful indeed to find matching brackets (or where a bracket is missing), but I can't quite see why I'd need to have the colorization as well. Essentially I guess I can see colorization as 'highlighting' multiple brackets at once. Any way you could convince me that having this multiple identification has been preferable to the single identification?
akamoonknight commented on A Bayesian view of Amazon resellers (2011)   johndcook.com/blog/2011/0... · Posted by u/DantesKite
akamoonknight · 2 years ago
Is there an adaptation of Bayesian statistics that also takes into account timeliness of the data ? e.g. a more recent string of negative reviews would potentially indicate something compared to a more smooth distribution
akamoonknight commented on Show HN: My solar-powered, ePaper digital photo frame   jamez.it/blog/2023/05/16/... · Posted by u/jamez
akamoonknight · 3 years ago
That white, black, and red image is amazing! I remember a post here about optimizing 1 bit black and white images some time ago, which also was amazing, but it's crazy the colors that seem to pop out of that image when just adding red as an additional option.

u/akamoonknight

KarmaCake day418December 16, 2018View Original