flaghacker_

u/flaghacker_


r/FPGA•

The AXI4 specification has the following paragraphs (that point to each other):

A5.3.3 AXI3 write data interleaving
AXI4 removes support for write data interleaving. In AXI4, all of the write data for a transaction must be provided in consecutive transfers on the write data channel. See Removal of write interleaving support on page A5-81.

A5.4 Removal of write interleaving support
As stated in AXI3 write data interleaving on page A5-79, AXI4 removes support for write data interleaving. In AXI4, all write data for a transaction must be provided in consecutive transfers on t

184

r/rust•

https://github.com/KarelPeeters/Kyanite/
The Kyanite project consists of a set of crates that can load Neural network graphs from ONNX files, and then run inference on them either on the CPU (although this is not yet particularly optimized) or on Cuda GPUs. It uses a combination of cuDNN, cuBLAS and runtime-generated kernels for the latter. See the readme for a short code example and more details about the internals. Apart from the cuda libraries there are no external dependencies, everything is written in Rust or uses other crates where applicable.

The main goals are:

  • minimize overhead compared to calling cuda directly
  • support arbitrary ne
16


r/PowerShell•

A few days ago Powershell suddenly started showing autocomplete suggestions. For example, here I only typed git and it suggests checkout master: https://i.imgur.com/m2Y1rUJ.png. It seems to be unrelated to the Ctrl+R history lookup feature.

I'm using Powershell version 7.3.0 in Windows Terminal Version: 1.15.2875.0. I checked both the Powershell and Windows Terminal release notes, but couldn't find anything relevant.

Where did this feature suddenly come from? And is there a shortcut to accept a suggestion so I don't actually have to type it?

Thanks in advance!

3619

r/haskell•

I'm looking for a blog post I read a couple of years ago, I think it references Haskell quite a bit but it wasn't primarily about the language itself. I've been trying to find it for a while now, hopefully someone here remembers it.

The core idea was that when devs compare programming languages, when they look down towards lower level languages they see obvious deficiencies, but when they look up towards higher level languages they don't see the advantages and just think "huh, that's strange". For example, a Python dev would look at C and think "Clearly it's missing a GC and classes" but then look at Haskell and think "What a strange language, why would I want Monads?". But similarly, a C d

132

r/rust•

I'm working on a project that requires lots of small simulations to share a big shared resource: a GPU. Each similation repeatedly has a small job it wants to run, but it's more efficient if these jobs are batched before being sent off. Each simulation also has some CPU runtime cost to prepare the next job, so these should be run on a small threadpool. The GPU processing is a lot like IO, the CPU just has to sit around and wait for the result.

For some sense of scale, there are about 8 CPU cores running a total of 4000 jobs, and the GPU thread waits until there are 1024 jobs ready to go. I've got this system to work by manually writing out state machines and a bunch of crossbeam channel com

5721

r/windows•

I'm talking about this popup window that opens when you press Windows+; on your keyboard: https://i.imgur.com/6Jny3L8.png

I remember being able to start typing the name of an emoji and it would search for it. This made it very easy to quickly type an emoji without having to take your hands of the keyboard.

Was that feature removed at some point? Or did I just imagine it? And more importantly, is there a way to get this behavior to work again? Are there maybe alternative programs that do this?

15

r/tipofmytongue•

I watched this movie ~8 years ago, It felt like it was made somewhere in 2000-2010. It's an action movie about a male taxi driver with a white car with crazy features like parachutes. Whenever something was going to happen he would take off his steering wheel and replace it with a more "racy" one, eg from something standard to this all while continuing to drive.

I don't know what actually happens in the movie, but I think it starts with someone calling a taxi for their pregnant wife, and he tries to get them to the hospital as fast as possible. The husband asks if it's safe to drive like this, he answers something smug

210

r/AskElectronics•

I want to build some logic gates with CMOS transistors on breadboards, mostly for fun. I'm talking about the textbook examples, for example a not gate with an N-channel and a P-channel transistor, see this wikipedia image. I know it's more efficient to use actual gate chips from something like the 74HC series, but that's not what I'm looking for. The gates I build will be used to drive some leds, nothing high-power.

I'm trying to find good transistors to use for this, and the subreddit wiki and some other places seem to recom

15

r/MLQuestions•

A bit of background: I'm having some fun with neural networks, reading some wikipedia/blogs/papers and writing the low level code to make sure I fully understand what's going on.

My actual question: The input data is a grid of numbers that's completely symmetric, ie. if it's flipped horizontally, vertically or rotated the end result of the neural network should stay exactly the same. Is there a way to force this property onto the neural network somehow?

I could flip and rotate all of my training data, causing it to increase by a factor of 8 and train that way, but that feels really inneficient. Is there a better way to do this?

I'm having trouble coming up with good search keywords, "symm

19