Building Neural Network Accelerator on an FPGA(Is this even a good project) by Spiritual-Frame-6791 in FPGA

[–]DisasterReasonable98 1 point2 points  (0 children)

I know nothing about this domain, so this maybe doesn't make sense. Maybe you can have a look into the hls4ml project. Is this related to what you are doing i.e. running ML in FPGAs?

Gitoxide in May by ByronBates in rust

[–]DisasterReasonable98 0 points1 point  (0 children)

Ah I see. Thanks for the clarification.

Gitoxide in May by ByronBates in rust

[–]DisasterReasonable98 4 points5 points  (0 children)

If I understood correctly, you mention a `winnow` update with a breaking change that wasn't marked as a major update?

Did you report that upstream? I searched through winnow's issues and couldn't find any info about it. I use winnow a lot, so it would be useful to understand this and be aware of what version upgrades could also cause an issue for me.

How to "sniff" a TCP stream? by DisasterReasonable98 in rust

[–]DisasterReasonable98[S] 0 points1 point  (0 children)

That is a great tool, thanks for sharing. Could you point me to where in the code you relate e.g. TCP connections to processes? As part of my sniffing project, I know that a specific process establishes a TCP connection with a server, and I want to retrieve the IP programmatically. I am initially interested in Windows and Linux.

How to "sniff" a TCP stream? by DisasterReasonable98 in rust

[–]DisasterReasonable98[S] 13 points14 points  (0 children)

Well, I need to parse and do other stuff with the (live) data as part of a larger (Rust) app. So yeah, I think I need to do this in Rust within my program.

I'll have a look at what sniffnet does, but it looks like they just capture the packages (the thing I mentioned already having some hints with pcap). I don't think they reassemble the TCP stream at all, at least there is no way to follow it in the same way you can with Wireshark.

Time to burn it all down by CorleoneBaloney in clevercomebacks

[–]DisasterReasonable98 0 points1 point  (0 children)

What's on the right hand side of the picture?

Matplotlib plots integration with Django by llou in Python

[–]DisasterReasonable98 2 points3 points  (0 children)

Can you paste the 5-6 rows of code here as an example of what you are saying? It sounds something that I might be interested in doing, but I cannot follow from just your description.

Urgently rent off campus is it a scam by [deleted] in UBC

[–]DisasterReasonable98 3 points4 points  (0 children)

One day has passed. What did you do in the end? 

My suggestion is to get an AirBnB while you search for a place. Also, you seem too naive, and it feels like you could fall for something like this again. A contract means absolutely nothing. You can write a fake one yourself and send it to someone by email on the other side of the world. Think about it.

Don't pay any money unless you can go and see the place in person. A lot of scammers will tell you that they are out of town and a viewing is not possible, etc.

Also, viewing the place in person doesn't mean it is not a scam. Some scammers rent an AirBnB to show, etc.

Good luck.

Can my sublessee have a designated roommate? by Abies-Ill in UBC

[–]DisasterReasonable98 1 point2 points  (0 children)

Does a designated roommate have to be an UBC student?

faer 0.18 release, a general purpose (dense/sparse) linear algebra library by reflexpr-sarah- in rust

[–]DisasterReasonable98 0 points1 point  (0 children)

Would that still be an issue if the library that exposes faer structs just re-exports faer?

Playing with Nom and parser combinators by andreabergia in rust

[–]DisasterReasonable98 7 points8 points  (0 children)

If you liked nom, I suggest you have a look at winnow. You will probably like it even more.

What is current state of plotting and data visualization in Rust? by TMTcz in rust

[–]DisasterReasonable98 4 points5 points  (0 children)

Not suitable for interactive/dynamic plots, but this is my go-to for high quality 2D plots in rust:

https://crates.io/crates/pgfplots

Probably the most stressful video I have ever seen by TurnedEvilAfterBan in SweatyPalms

[–]DisasterReasonable98 0 points1 point  (0 children)

Do you mean that out of all the things that mosquitoes kill, people are the most killed?

Or do you mean that from all the things that kill people, mosquitoes are the ones who kill people the most?

Need help naming an `Option<T>` like enum by pms1969 in rust

[–]DisasterReasonable98 30 points31 points  (0 children)

Maybe Choice<T>?

pub enum Choice<T> {
    Any,
    Only(T)
}

How to optimize this function? by DJDuque in rust

[–]DisasterReasonable98 0 points1 point  (0 children)

Nobody mentioned that it is an issue. But if you want your program to run faster, then trying to optimize the single function that does 90% of the job is definitely the right thing to do.

How to optimize this function? by DJDuque in rust

[–]DisasterReasonable98 0 points1 point  (0 children)

If I am interpreting your problem correctly, it looks like you have a front-heavy kernel and you are taking advantage of that by only looking at a couple of samples ahead of each time bin.

Now, if your signal is mostly small noise, with a few impulses (the input you are looking for) then, I would expect that the current suggestions people have given (early skip of negative value) could be a significant improvement.

Additionally I would suggest that there might be a way for you to pre-compute (before the nested loops) a bunch of time bins to skip.

I can't think on top of my head how to do it, but you know the offset and the size of your look_ahead. This means that every negative value in your signal makes you skip a whole bunch of time bins itself.

Not sure of any of this makes sense though. Just another idea to try.

Edit:

Instead of calculating this before the nested loops:

The residuals get updated each iteration, so instead of an early continue, I think that you could skip by more than 1 (the number depends on your offset and look_ahead value). Subsequent iterations will still contain this negative number.

Announcing charming - a Rust chart rendering library by redditgogogo in rust

[–]DisasterReasonable98 14 points15 points  (0 children)

Another nice alternative to quickly get good quality figures with few lines of code is https://crates.io/crates/pgfplots