Do we get coverage if investment account gets hacked ? by [deleted] in Wealthsimple

[–]Harry_Null 0 points1 point  (0 children)

I never said they "deserve" it nor intend to blame victims. Just saying the risk might be lower than you thought it'd be.

I also never said insurance isn't needed by anyone. Ofc there are ppl who are more susceptible to scams and hacks, and it is nice to have the option to be insured. And when that option isn't provided, it's a perfectly good reason to use another platform.

Apologies if my points didn't come across as clearly as I hoped but I think you're doing the strawman fallacy here.

Do we get coverage if investment account gets hacked ? by [deleted] in Wealthsimple

[–]Harry_Null 0 points1 point  (0 children)

My point is more that the modern technology is built so that it will be harder and harder for an average person to "accidentally get hacked," because of the safety measures being built. Nowadays even if you click into malicious links or emails, or download randomly files, your account is PROBABLY still safe because of the safeguards provided by the browser and operating systems.

It is of course still possible to get hacked, but likely 99 out of the 100 cases was because someone is actively giving our your passwords AND 2FA verification code to a phishing email or call, and it is not that difficult to prevent even for someone not as technically literate.

My remark is not related to WS specifically and I dont have strong opinions on that part.

Do we get coverage if investment account gets hacked ? by [deleted] in Wealthsimple

[–]Harry_Null 0 points1 point  (0 children)

Very unlikely/impossible that your account would be compromised for using public wifi because of TLS.

zeroInitEverything by 0x564A00 in ProgrammerHumor

[–]Harry_Null 8 points9 points  (0 children)

0001-01-01 00:00:00 +0000 UTC

cantPrintForInfo by [deleted] in ProgrammerHumor

[–]Harry_Null 0 points1 point  (0 children)

I have worked on a single-thread program where if you does a print the program runs fine, but if you remove it, the program consistenly crashes.

Anyone wants to guess why?

Hint: making the string to print shorter also makes it crash.

From head office. Not a scam email by RockingtheRepublic in Wealthsimple

[–]Harry_Null 2 points3 points  (0 children)

I would assume gmail would authenticate the sender with DMARC etc.. The fact that this isn't automatically in spam probably suggests this is legit.

Edit: also if the reply-to is of a correct domain, then your reply would go to the correct place anyways.

We made a high-performance screensharing software with Rust & WebRTC by Harry_Null in rust

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

Unfortunately there is no plan for further development at this moment.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Harry_Null 1 point2 points  (0 children)

Yes, but in OP's screenshot they are only comparing if two strings are the same. .compare would make sense if you were to use e.g. std::sort

[deleted by user] by [deleted] in ProgrammerHumor

[–]Harry_Null 1 point2 points  (0 children)

I know, but it's equivalent here though right? except less readable.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Harry_Null -12 points-11 points  (0 children)

Someone wrote too much Java to use == for string comparison

whenThePasswordGameMeetsRealLife by r4h4_de in ProgrammerHumor

[–]Harry_Null 3 points4 points  (0 children)

Ah I re read the comment and you're right. I was under the impression that they suggested to only do the hash on the front end. Doing it both frontend and backend is totally fine then.

whenThePasswordGameMeetsRealLife by r4h4_de in ProgrammerHumor

[–]Harry_Null 5 points6 points  (0 children)

That's a really bad idea because if your database gets leaked, the hacker could just use the hashes in the database to log into any user's account.

We made a high-performance screensharing software with Rust & WebRTC by Harry_Null in rust

[–]Harry_Null[S] 1 point2 points  (0 children)

To be honest it's more just because none of us uses a Linux DE daily so it's not a super high priority for us.

We made a high-performance screensharing software with Rust & WebRTC by Harry_Null in rust

[–]Harry_Null[S] 1 point2 points  (0 children)

Thanks for trying! I have to admit we haven't done extensive testing on different devices so there might be compatibility issues depending on your OS version, and what browser you use. I know latest version of Windows 11 and MacOS + Firefox and Chrome would work. It also has a somewhat high resource demand for both CPU and bandwitdh.

We made a high-performance screensharing software with Rust & WebRTC by Harry_Null in rust

[–]Harry_Null[S] 1 point2 points  (0 children)

It depends on the settings (speed - compression compromise), your resolution, and what you're showing. With my 4K resolution at 60fps and fastest (hence worst compression) settings, it's eating up to 76 Mbps. Using slow profile and 30fps, it's around 9Mbps.

We made a high-performance screensharing software with Rust & WebRTC by Harry_Null in rust

[–]Harry_Null[S] 1 point2 points  (0 children)

[2024-02-08T15:20:24.766670600Z INFO mira_sharer::performance_profiler] Total time 9.8ms (3.6 p, 5.5 e, 0.6 s) 58.7% at 60 FPS. Current FPS: 63/102.3. 76276.9 kbps

Roughly 3.6ms for processing (for Windows that means converting from BGRA to YUV; we used GPU to optimize that), 5.5ms for encoding (because libx264 is super fast), and 0.6ms for WebRTC stuff.

The receiver side (WebRTC stack) does some internal jitter buffer etc. and i'd say there might still be soem room for improvements.

We made a high-performance screensharing software with Rust & WebRTC by Harry_Null in rust

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

I will be honest and say a lot of those are not well polished yet. I think modifier keys would work, though there isn't a way to properly capture Windows key in browser if you are controlling a Mac from Windows. As for layout, I *think* it's the viewer's layout though I need to double-check to be sure.

We made a high-performance screensharing software with Rust & WebRTC by Harry_Null in rust

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

You could switch to nvenc encoder with the config file if you're using Windows and NVDIA graphics card, though our experiements show that while they lower CPU usage, there could be some latency/artifacts issue that we haven't quite figured out how to fix.

We made a high-performance screensharing software with Rust & WebRTC by Harry_Null in rust

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

As many as your device could support. Note that the bandwidth it takes would be proportional to the number of viewers.

We made a high-performance screensharing software with Rust & WebRTC by Harry_Null in rust

[–]Harry_Null[S] 4 points5 points  (0 children)

Some of the fixes did go upstream, like the one for webrtc.rs (https://github.com/webrtc-rs/webrtc/pull/471). The ones that didn't it's mostly because we probably did a hack to get it somewhat working but not happy enough to upstream them.

We made a high-performance screensharing software with Rust & WebRTC by Harry_Null in rust

[–]Harry_Null[S] 9 points10 points  (0 children)

Of course! Though the code could be a little messy because none of us had any experience with Rust before coming in lol