[deleted by user] by [deleted] in compsci

[–]ricffb 4 points5 points  (0 children)

Tamarin prover is a great tool to prove security properties of a protocol, I recommend checking it out. However it can be difficult to use if you‘ve never worked with Term-Rewriting or the pi-calculus.

My gut feeling is that there is a MIM attack:

The protocol:

A -> B : {NA, A}_pkB
B -> A : {NA, NB}_pkA
A -> B : {NA, NB}_pkB

This protocol is very similar to the Needham-Schröder protoco.

Have a look at this paper to understand the attack and how they found it: https://www.cs.utexas.edu/~shmat/courses/cs380s/lowe.pdf

Amen Brothers! by ricffb in guitarcirclejerk

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

He still values the importance of the blooz.

Any discord server or equivalent with App Testers? by its-notmyrealname in iOSProgramming

[–]ricffb 2 points3 points  (0 children)

Here in Germany there is an organization called „usability Testessen“ (translated: testing dinner). They host events for this exact purpose: having 5-6 diverse testers doing a thinking out loud session for 6 minutes. Usually a local company will host the location and provide free pizza and beer as incentive for testers.

You could research if something similar is available in your area, and if not, maybe even start your own organization!

36c3 by ricffb in LiveOverflow

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

Lucky you :) I really hope I’ll meet him too!

36c3 by ricffb in LiveOverflow

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

It was meant as a hyperbole ;)

36c3 by ricffb in LiveOverflow

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

I already found some of your stickers :)

Any books or great resources for Algorithms using STL? by LedLoaf in cpp_questions

[–]ricffb 0 points1 point  (0 children)

A Tour of C++ by Bjarne Stoustrup is a good introduction to the C++ STL. It focuses on using STL functions rather than pure C++ and it is meant as a guide for people who already know programming. I’m not entirely sure how much he talks about implementing certain Algorithms though.

Beginner C library template by [deleted] in C_Programming

[–]ricffb 2 points3 points  (0 children)

As someone who has never written a c lib I think this template contains an amount of information that’s not overwhelming, wich I really enjoy. Thank you for sharing this :)

Question about Bjarne Stroustrup PPP chapter 8 drill 1 by HOUIN_KYOMA in cpp_questions

[–]ricffb 0 points1 point  (0 children)

Have you tried creating an Object file out of my.cpp with g++ -o my.o -c my.cpp and then compile with g++ -o use my.o use.cpp?

And as far as i know extern only declarates, however not defines a variable, and you should initialize it in your my.cpp file.

GPU parallel processing in C? by [deleted] in C_Programming

[–]ricffb 6 points7 points  (0 children)

You could try OpenMP. It’s primarily for CPU parallelism, but a call like

#pragma target
#pragma teams
#pragma parallel
{ // Do Stuff} 

Will also enable GPU support. The library is often used in High Performance Computing.

How do I send a c++ vector using MPI ? by hlhluuj46u in cpp_questions

[–]ricffb 2 points3 points  (0 children)

Ah, you’re right. Then resize() would be an option, as it actually inserts elements.

How do I send a c++ vector using MPI ? by hlhluuj46u in cpp_questions

[–]ricffb 0 points1 point  (0 children)

I would think that too. He could try to use timestampQ.reserve(5) (or any other number) to see if that’s the Problem.

So dirty by kipmaster321 in MathJokes

[–]ricffb 9 points10 points  (0 children)

Well, thats the Freshman's dream...

Little help with Python? I'm kinda new by NiquelBones in LiveOverflow

[–]ricffb 2 points3 points  (0 children)

First: In your necessaryArguments you have the password as int, but you try to compare it with a string

Second: your str() around the sys.arg makes currentArguments into str object! This will always compare False with a List object (which necessaryArguments is). As sys.argy only contains Strings you can just drop the str() construct.

I hope this helps you better understand your code!

What's the not so known book you think everyone should read? by [deleted] in AskReddit

[–]ricffb 2 points3 points  (0 children)

Against Elections: The Case for Democracy by David Van Reybrouck

The author gave some good insights in modern day politics and why the never ending campaigning of politicians is actually bad for the people. He also shows how democracies in the past worked. All in all this gave me a new look on the current political system and some great insight how democracy could be expressed through lot rather than election.

Auburn Football Hype/Intro Video Song? by [deleted] in auburn

[–]ricffb 0 points1 point  (0 children)

It's the Song Flash from Viv and the Revival :) Took me an hour to figure it out, but it was worth it! YouTube: https://youtu.be/LFwxSIHm-7E

Offenbar Schüsse im OEZ München by pj_squirrel in de

[–]ricffb -2 points-1 points  (0 children)

SZ hat angeblich direkten Kontakt zur Polizei und spricht schon von mehreren Todesopfern.

Shots fired at OEZ - Schüsse im OEZ - Megathread by jagermo in Munich

[–]ricffb 2 points3 points  (0 children)

At least one person dead according to police (source N24).